github.com/datastax/go-cassandra-native-protocol@v0.0.0-20220706104457-5e8aad05cf90/message/deepcopy_generated.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // Copyright 2022 DataStax 5 // 6 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // you may not use this file except in compliance with the License. 8 // You may obtain a copy of the License at 9 // 10 // http://www.apache.org/licenses/LICENSE-2.0 11 // 12 // Unless required by applicable law or agreed to in writing, software 13 // distributed under the License is distributed on an "AS IS" BASIS, 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 // See the License for the specific language governing permissions and 16 // limitations under the License. 17 18 // Code generated by deepcopy-gen. DO NOT EDIT. 19 20 package message 21 22 import ( 23 primitive "github.com/datastax/go-cassandra-native-protocol/primitive" 24 ) 25 26 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 27 func (in *AlreadyExists) DeepCopyInto(out *AlreadyExists) { 28 *out = *in 29 return 30 } 31 32 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlreadyExists. 33 func (in *AlreadyExists) DeepCopy() *AlreadyExists { 34 if in == nil { 35 return nil 36 } 37 out := new(AlreadyExists) 38 in.DeepCopyInto(out) 39 return out 40 } 41 42 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 43 func (in *AlreadyExists) DeepCopyMessage() Message { 44 if c := in.DeepCopy(); c != nil { 45 return c 46 } 47 return nil 48 } 49 50 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 51 func (in *AuthChallenge) DeepCopyInto(out *AuthChallenge) { 52 *out = *in 53 if in.Token != nil { 54 in, out := &in.Token, &out.Token 55 *out = make([]byte, len(*in)) 56 copy(*out, *in) 57 } 58 return 59 } 60 61 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthChallenge. 62 func (in *AuthChallenge) DeepCopy() *AuthChallenge { 63 if in == nil { 64 return nil 65 } 66 out := new(AuthChallenge) 67 in.DeepCopyInto(out) 68 return out 69 } 70 71 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 72 func (in *AuthChallenge) DeepCopyMessage() Message { 73 if c := in.DeepCopy(); c != nil { 74 return c 75 } 76 return nil 77 } 78 79 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 80 func (in *AuthResponse) DeepCopyInto(out *AuthResponse) { 81 *out = *in 82 if in.Token != nil { 83 in, out := &in.Token, &out.Token 84 *out = make([]byte, len(*in)) 85 copy(*out, *in) 86 } 87 return 88 } 89 90 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthResponse. 91 func (in *AuthResponse) DeepCopy() *AuthResponse { 92 if in == nil { 93 return nil 94 } 95 out := new(AuthResponse) 96 in.DeepCopyInto(out) 97 return out 98 } 99 100 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 101 func (in *AuthResponse) DeepCopyMessage() Message { 102 if c := in.DeepCopy(); c != nil { 103 return c 104 } 105 return nil 106 } 107 108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 109 func (in *AuthSuccess) DeepCopyInto(out *AuthSuccess) { 110 *out = *in 111 if in.Token != nil { 112 in, out := &in.Token, &out.Token 113 *out = make([]byte, len(*in)) 114 copy(*out, *in) 115 } 116 return 117 } 118 119 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSuccess. 120 func (in *AuthSuccess) DeepCopy() *AuthSuccess { 121 if in == nil { 122 return nil 123 } 124 out := new(AuthSuccess) 125 in.DeepCopyInto(out) 126 return out 127 } 128 129 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 130 func (in *AuthSuccess) DeepCopyMessage() Message { 131 if c := in.DeepCopy(); c != nil { 132 return c 133 } 134 return nil 135 } 136 137 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 138 func (in *Authenticate) DeepCopyInto(out *Authenticate) { 139 *out = *in 140 return 141 } 142 143 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authenticate. 144 func (in *Authenticate) DeepCopy() *Authenticate { 145 if in == nil { 146 return nil 147 } 148 out := new(Authenticate) 149 in.DeepCopyInto(out) 150 return out 151 } 152 153 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 154 func (in *Authenticate) DeepCopyMessage() Message { 155 if c := in.DeepCopy(); c != nil { 156 return c 157 } 158 return nil 159 } 160 161 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 162 func (in *AuthenticationError) DeepCopyInto(out *AuthenticationError) { 163 *out = *in 164 return 165 } 166 167 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationError. 168 func (in *AuthenticationError) DeepCopy() *AuthenticationError { 169 if in == nil { 170 return nil 171 } 172 out := new(AuthenticationError) 173 in.DeepCopyInto(out) 174 return out 175 } 176 177 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 178 func (in *AuthenticationError) DeepCopyMessage() Message { 179 if c := in.DeepCopy(); c != nil { 180 return c 181 } 182 return nil 183 } 184 185 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 186 func (in *Batch) DeepCopyInto(out *Batch) { 187 *out = *in 188 if in.Children != nil { 189 in, out := &in.Children, &out.Children 190 *out = make([]*BatchChild, len(*in)) 191 for i := range *in { 192 if (*in)[i] != nil { 193 in, out := &(*in)[i], &(*out)[i] 194 *out = new(BatchChild) 195 (*in).DeepCopyInto(*out) 196 } 197 } 198 } 199 if in.SerialConsistency != nil { 200 in, out := &in.SerialConsistency, &out.SerialConsistency 201 *out = new(primitive.ConsistencyLevel) 202 **out = **in 203 } 204 if in.DefaultTimestamp != nil { 205 in, out := &in.DefaultTimestamp, &out.DefaultTimestamp 206 *out = new(int64) 207 **out = **in 208 } 209 if in.NowInSeconds != nil { 210 in, out := &in.NowInSeconds, &out.NowInSeconds 211 *out = new(int32) 212 **out = **in 213 } 214 return 215 } 216 217 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Batch. 218 func (in *Batch) DeepCopy() *Batch { 219 if in == nil { 220 return nil 221 } 222 out := new(Batch) 223 in.DeepCopyInto(out) 224 return out 225 } 226 227 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 228 func (in *Batch) DeepCopyMessage() Message { 229 if c := in.DeepCopy(); c != nil { 230 return c 231 } 232 return nil 233 } 234 235 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 236 func (in *BatchChild) DeepCopyInto(out *BatchChild) { 237 *out = *in 238 if in.Id != nil { 239 in, out := &in.Id, &out.Id 240 *out = make([]byte, len(*in)) 241 copy(*out, *in) 242 } 243 if in.Values != nil { 244 in, out := &in.Values, &out.Values 245 *out = make([]*primitive.Value, len(*in)) 246 for i := range *in { 247 if (*in)[i] != nil { 248 in, out := &(*in)[i], &(*out)[i] 249 *out = new(primitive.Value) 250 (*in).DeepCopyInto(*out) 251 } 252 } 253 } 254 return 255 } 256 257 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchChild. 258 func (in *BatchChild) DeepCopy() *BatchChild { 259 if in == nil { 260 return nil 261 } 262 out := new(BatchChild) 263 in.DeepCopyInto(out) 264 return out 265 } 266 267 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 268 func (in *ColumnMetadata) DeepCopyInto(out *ColumnMetadata) { 269 *out = *in 270 if in.Type != nil { 271 out.Type = in.Type.DeepCopyDataType() 272 } 273 return 274 } 275 276 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColumnMetadata. 277 func (in *ColumnMetadata) DeepCopy() *ColumnMetadata { 278 if in == nil { 279 return nil 280 } 281 out := new(ColumnMetadata) 282 in.DeepCopyInto(out) 283 return out 284 } 285 286 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 287 func (in *ConfigError) DeepCopyInto(out *ConfigError) { 288 *out = *in 289 return 290 } 291 292 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigError. 293 func (in *ConfigError) DeepCopy() *ConfigError { 294 if in == nil { 295 return nil 296 } 297 out := new(ConfigError) 298 in.DeepCopyInto(out) 299 return out 300 } 301 302 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 303 func (in *ConfigError) DeepCopyMessage() Message { 304 if c := in.DeepCopy(); c != nil { 305 return c 306 } 307 return nil 308 } 309 310 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 311 func (in *ContinuousPagingOptions) DeepCopyInto(out *ContinuousPagingOptions) { 312 *out = *in 313 return 314 } 315 316 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousPagingOptions. 317 func (in *ContinuousPagingOptions) DeepCopy() *ContinuousPagingOptions { 318 if in == nil { 319 return nil 320 } 321 out := new(ContinuousPagingOptions) 322 in.DeepCopyInto(out) 323 return out 324 } 325 326 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 327 func (in *Execute) DeepCopyInto(out *Execute) { 328 *out = *in 329 if in.QueryId != nil { 330 in, out := &in.QueryId, &out.QueryId 331 *out = make([]byte, len(*in)) 332 copy(*out, *in) 333 } 334 if in.ResultMetadataId != nil { 335 in, out := &in.ResultMetadataId, &out.ResultMetadataId 336 *out = make([]byte, len(*in)) 337 copy(*out, *in) 338 } 339 if in.Options != nil { 340 in, out := &in.Options, &out.Options 341 *out = new(QueryOptions) 342 (*in).DeepCopyInto(*out) 343 } 344 return 345 } 346 347 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Execute. 348 func (in *Execute) DeepCopy() *Execute { 349 if in == nil { 350 return nil 351 } 352 out := new(Execute) 353 in.DeepCopyInto(out) 354 return out 355 } 356 357 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 358 func (in *Execute) DeepCopyMessage() Message { 359 if c := in.DeepCopy(); c != nil { 360 return c 361 } 362 return nil 363 } 364 365 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 366 func (in *FunctionFailure) DeepCopyInto(out *FunctionFailure) { 367 *out = *in 368 if in.Arguments != nil { 369 in, out := &in.Arguments, &out.Arguments 370 *out = make([]string, len(*in)) 371 copy(*out, *in) 372 } 373 return 374 } 375 376 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionFailure. 377 func (in *FunctionFailure) DeepCopy() *FunctionFailure { 378 if in == nil { 379 return nil 380 } 381 out := new(FunctionFailure) 382 in.DeepCopyInto(out) 383 return out 384 } 385 386 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 387 func (in *FunctionFailure) DeepCopyMessage() Message { 388 if c := in.DeepCopy(); c != nil { 389 return c 390 } 391 return nil 392 } 393 394 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 395 func (in *Invalid) DeepCopyInto(out *Invalid) { 396 *out = *in 397 return 398 } 399 400 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Invalid. 401 func (in *Invalid) DeepCopy() *Invalid { 402 if in == nil { 403 return nil 404 } 405 out := new(Invalid) 406 in.DeepCopyInto(out) 407 return out 408 } 409 410 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 411 func (in *Invalid) DeepCopyMessage() Message { 412 if c := in.DeepCopy(); c != nil { 413 return c 414 } 415 return nil 416 } 417 418 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 419 func (in *IsBootstrapping) DeepCopyInto(out *IsBootstrapping) { 420 *out = *in 421 return 422 } 423 424 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IsBootstrapping. 425 func (in *IsBootstrapping) DeepCopy() *IsBootstrapping { 426 if in == nil { 427 return nil 428 } 429 out := new(IsBootstrapping) 430 in.DeepCopyInto(out) 431 return out 432 } 433 434 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 435 func (in *IsBootstrapping) DeepCopyMessage() Message { 436 if c := in.DeepCopy(); c != nil { 437 return c 438 } 439 return nil 440 } 441 442 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 443 func (in *Options) DeepCopyInto(out *Options) { 444 *out = *in 445 return 446 } 447 448 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Options. 449 func (in *Options) DeepCopy() *Options { 450 if in == nil { 451 return nil 452 } 453 out := new(Options) 454 in.DeepCopyInto(out) 455 return out 456 } 457 458 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 459 func (in *Options) DeepCopyMessage() Message { 460 if c := in.DeepCopy(); c != nil { 461 return c 462 } 463 return nil 464 } 465 466 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 467 func (in *Overloaded) DeepCopyInto(out *Overloaded) { 468 *out = *in 469 return 470 } 471 472 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Overloaded. 473 func (in *Overloaded) DeepCopy() *Overloaded { 474 if in == nil { 475 return nil 476 } 477 out := new(Overloaded) 478 in.DeepCopyInto(out) 479 return out 480 } 481 482 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 483 func (in *Overloaded) DeepCopyMessage() Message { 484 if c := in.DeepCopy(); c != nil { 485 return c 486 } 487 return nil 488 } 489 490 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 491 func (in *Prepare) DeepCopyInto(out *Prepare) { 492 *out = *in 493 return 494 } 495 496 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prepare. 497 func (in *Prepare) DeepCopy() *Prepare { 498 if in == nil { 499 return nil 500 } 501 out := new(Prepare) 502 in.DeepCopyInto(out) 503 return out 504 } 505 506 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 507 func (in *Prepare) DeepCopyMessage() Message { 508 if c := in.DeepCopy(); c != nil { 509 return c 510 } 511 return nil 512 } 513 514 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 515 func (in *PreparedResult) DeepCopyInto(out *PreparedResult) { 516 *out = *in 517 if in.PreparedQueryId != nil { 518 in, out := &in.PreparedQueryId, &out.PreparedQueryId 519 *out = make([]byte, len(*in)) 520 copy(*out, *in) 521 } 522 if in.ResultMetadataId != nil { 523 in, out := &in.ResultMetadataId, &out.ResultMetadataId 524 *out = make([]byte, len(*in)) 525 copy(*out, *in) 526 } 527 if in.VariablesMetadata != nil { 528 in, out := &in.VariablesMetadata, &out.VariablesMetadata 529 *out = new(VariablesMetadata) 530 (*in).DeepCopyInto(*out) 531 } 532 if in.ResultMetadata != nil { 533 in, out := &in.ResultMetadata, &out.ResultMetadata 534 *out = new(RowsMetadata) 535 (*in).DeepCopyInto(*out) 536 } 537 return 538 } 539 540 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreparedResult. 541 func (in *PreparedResult) DeepCopy() *PreparedResult { 542 if in == nil { 543 return nil 544 } 545 out := new(PreparedResult) 546 in.DeepCopyInto(out) 547 return out 548 } 549 550 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 551 func (in *PreparedResult) DeepCopyMessage() Message { 552 if c := in.DeepCopy(); c != nil { 553 return c 554 } 555 return nil 556 } 557 558 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 559 func (in *ProtocolError) DeepCopyInto(out *ProtocolError) { 560 *out = *in 561 return 562 } 563 564 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtocolError. 565 func (in *ProtocolError) DeepCopy() *ProtocolError { 566 if in == nil { 567 return nil 568 } 569 out := new(ProtocolError) 570 in.DeepCopyInto(out) 571 return out 572 } 573 574 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 575 func (in *ProtocolError) DeepCopyMessage() Message { 576 if c := in.DeepCopy(); c != nil { 577 return c 578 } 579 return nil 580 } 581 582 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 583 func (in *Query) DeepCopyInto(out *Query) { 584 *out = *in 585 if in.Options != nil { 586 in, out := &in.Options, &out.Options 587 *out = new(QueryOptions) 588 (*in).DeepCopyInto(*out) 589 } 590 return 591 } 592 593 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Query. 594 func (in *Query) DeepCopy() *Query { 595 if in == nil { 596 return nil 597 } 598 out := new(Query) 599 in.DeepCopyInto(out) 600 return out 601 } 602 603 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 604 func (in *Query) DeepCopyMessage() Message { 605 if c := in.DeepCopy(); c != nil { 606 return c 607 } 608 return nil 609 } 610 611 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 612 func (in *QueryOptions) DeepCopyInto(out *QueryOptions) { 613 *out = *in 614 if in.PositionalValues != nil { 615 in, out := &in.PositionalValues, &out.PositionalValues 616 *out = make([]*primitive.Value, len(*in)) 617 for i := range *in { 618 if (*in)[i] != nil { 619 in, out := &(*in)[i], &(*out)[i] 620 *out = new(primitive.Value) 621 (*in).DeepCopyInto(*out) 622 } 623 } 624 } 625 if in.NamedValues != nil { 626 in, out := &in.NamedValues, &out.NamedValues 627 *out = make(map[string]*primitive.Value, len(*in)) 628 for key, val := range *in { 629 var outVal *primitive.Value 630 if val == nil { 631 (*out)[key] = nil 632 } else { 633 in, out := &val, &outVal 634 *out = new(primitive.Value) 635 (*in).DeepCopyInto(*out) 636 } 637 (*out)[key] = outVal 638 } 639 } 640 if in.PagingState != nil { 641 in, out := &in.PagingState, &out.PagingState 642 *out = make([]byte, len(*in)) 643 copy(*out, *in) 644 } 645 if in.SerialConsistency != nil { 646 in, out := &in.SerialConsistency, &out.SerialConsistency 647 *out = new(primitive.ConsistencyLevel) 648 **out = **in 649 } 650 if in.DefaultTimestamp != nil { 651 in, out := &in.DefaultTimestamp, &out.DefaultTimestamp 652 *out = new(int64) 653 **out = **in 654 } 655 if in.NowInSeconds != nil { 656 in, out := &in.NowInSeconds, &out.NowInSeconds 657 *out = new(int32) 658 **out = **in 659 } 660 if in.ContinuousPagingOptions != nil { 661 in, out := &in.ContinuousPagingOptions, &out.ContinuousPagingOptions 662 *out = new(ContinuousPagingOptions) 663 **out = **in 664 } 665 return 666 } 667 668 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryOptions. 669 func (in *QueryOptions) DeepCopy() *QueryOptions { 670 if in == nil { 671 return nil 672 } 673 out := new(QueryOptions) 674 in.DeepCopyInto(out) 675 return out 676 } 677 678 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 679 func (in *ReadFailure) DeepCopyInto(out *ReadFailure) { 680 *out = *in 681 if in.FailureReasons != nil { 682 in, out := &in.FailureReasons, &out.FailureReasons 683 *out = make([]*primitive.FailureReason, len(*in)) 684 for i := range *in { 685 if (*in)[i] != nil { 686 in, out := &(*in)[i], &(*out)[i] 687 *out = new(primitive.FailureReason) 688 (*in).DeepCopyInto(*out) 689 } 690 } 691 } 692 return 693 } 694 695 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadFailure. 696 func (in *ReadFailure) DeepCopy() *ReadFailure { 697 if in == nil { 698 return nil 699 } 700 out := new(ReadFailure) 701 in.DeepCopyInto(out) 702 return out 703 } 704 705 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 706 func (in *ReadFailure) DeepCopyMessage() Message { 707 if c := in.DeepCopy(); c != nil { 708 return c 709 } 710 return nil 711 } 712 713 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 714 func (in *ReadTimeout) DeepCopyInto(out *ReadTimeout) { 715 *out = *in 716 return 717 } 718 719 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadTimeout. 720 func (in *ReadTimeout) DeepCopy() *ReadTimeout { 721 if in == nil { 722 return nil 723 } 724 out := new(ReadTimeout) 725 in.DeepCopyInto(out) 726 return out 727 } 728 729 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 730 func (in *ReadTimeout) DeepCopyMessage() Message { 731 if c := in.DeepCopy(); c != nil { 732 return c 733 } 734 return nil 735 } 736 737 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 738 func (in *Ready) DeepCopyInto(out *Ready) { 739 *out = *in 740 return 741 } 742 743 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ready. 744 func (in *Ready) DeepCopy() *Ready { 745 if in == nil { 746 return nil 747 } 748 out := new(Ready) 749 in.DeepCopyInto(out) 750 return out 751 } 752 753 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 754 func (in *Ready) DeepCopyMessage() Message { 755 if c := in.DeepCopy(); c != nil { 756 return c 757 } 758 return nil 759 } 760 761 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 762 func (in *Register) DeepCopyInto(out *Register) { 763 *out = *in 764 if in.EventTypes != nil { 765 in, out := &in.EventTypes, &out.EventTypes 766 *out = make([]primitive.EventType, len(*in)) 767 copy(*out, *in) 768 } 769 return 770 } 771 772 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Register. 773 func (in *Register) DeepCopy() *Register { 774 if in == nil { 775 return nil 776 } 777 out := new(Register) 778 in.DeepCopyInto(out) 779 return out 780 } 781 782 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 783 func (in *Register) DeepCopyMessage() Message { 784 if c := in.DeepCopy(); c != nil { 785 return c 786 } 787 return nil 788 } 789 790 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 791 func (in *Revise) DeepCopyInto(out *Revise) { 792 *out = *in 793 return 794 } 795 796 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Revise. 797 func (in *Revise) DeepCopy() *Revise { 798 if in == nil { 799 return nil 800 } 801 out := new(Revise) 802 in.DeepCopyInto(out) 803 return out 804 } 805 806 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 807 func (in *Revise) DeepCopyMessage() Message { 808 if c := in.DeepCopy(); c != nil { 809 return c 810 } 811 return nil 812 } 813 814 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 815 func (in *RowsMetadata) DeepCopyInto(out *RowsMetadata) { 816 *out = *in 817 if in.PagingState != nil { 818 in, out := &in.PagingState, &out.PagingState 819 *out = make([]byte, len(*in)) 820 copy(*out, *in) 821 } 822 if in.NewResultMetadataId != nil { 823 in, out := &in.NewResultMetadataId, &out.NewResultMetadataId 824 *out = make([]byte, len(*in)) 825 copy(*out, *in) 826 } 827 if in.Columns != nil { 828 in, out := &in.Columns, &out.Columns 829 *out = make([]*ColumnMetadata, len(*in)) 830 for i := range *in { 831 if (*in)[i] != nil { 832 in, out := &(*in)[i], &(*out)[i] 833 *out = new(ColumnMetadata) 834 (*in).DeepCopyInto(*out) 835 } 836 } 837 } 838 return 839 } 840 841 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RowsMetadata. 842 func (in *RowsMetadata) DeepCopy() *RowsMetadata { 843 if in == nil { 844 return nil 845 } 846 out := new(RowsMetadata) 847 in.DeepCopyInto(out) 848 return out 849 } 850 851 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 852 func (in *RowsResult) DeepCopyInto(out *RowsResult) { 853 *out = *in 854 if in.Metadata != nil { 855 in, out := &in.Metadata, &out.Metadata 856 *out = new(RowsMetadata) 857 (*in).DeepCopyInto(*out) 858 } 859 if in.Data != nil { 860 in, out := &in.Data, &out.Data 861 *out = make([][][]byte, len(*in)) 862 for i := range *in { 863 if (*in)[i] != nil { 864 in, out := &(*in)[i], &(*out)[i] 865 *out = make([][]byte, len(*in)) 866 for i := range *in { 867 if (*in)[i] != nil { 868 in, out := &(*in)[i], &(*out)[i] 869 *out = make([]byte, len(*in)) 870 copy(*out, *in) 871 } 872 } 873 } 874 } 875 } 876 return 877 } 878 879 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RowsResult. 880 func (in *RowsResult) DeepCopy() *RowsResult { 881 if in == nil { 882 return nil 883 } 884 out := new(RowsResult) 885 in.DeepCopyInto(out) 886 return out 887 } 888 889 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 890 func (in *RowsResult) DeepCopyMessage() Message { 891 if c := in.DeepCopy(); c != nil { 892 return c 893 } 894 return nil 895 } 896 897 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 898 func (in *SchemaChangeEvent) DeepCopyInto(out *SchemaChangeEvent) { 899 *out = *in 900 if in.Arguments != nil { 901 in, out := &in.Arguments, &out.Arguments 902 *out = make([]string, len(*in)) 903 copy(*out, *in) 904 } 905 return 906 } 907 908 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaChangeEvent. 909 func (in *SchemaChangeEvent) DeepCopy() *SchemaChangeEvent { 910 if in == nil { 911 return nil 912 } 913 out := new(SchemaChangeEvent) 914 in.DeepCopyInto(out) 915 return out 916 } 917 918 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 919 func (in *SchemaChangeEvent) DeepCopyMessage() Message { 920 if c := in.DeepCopy(); c != nil { 921 return c 922 } 923 return nil 924 } 925 926 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 927 func (in *SchemaChangeResult) DeepCopyInto(out *SchemaChangeResult) { 928 *out = *in 929 if in.Arguments != nil { 930 in, out := &in.Arguments, &out.Arguments 931 *out = make([]string, len(*in)) 932 copy(*out, *in) 933 } 934 return 935 } 936 937 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaChangeResult. 938 func (in *SchemaChangeResult) DeepCopy() *SchemaChangeResult { 939 if in == nil { 940 return nil 941 } 942 out := new(SchemaChangeResult) 943 in.DeepCopyInto(out) 944 return out 945 } 946 947 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 948 func (in *SchemaChangeResult) DeepCopyMessage() Message { 949 if c := in.DeepCopy(); c != nil { 950 return c 951 } 952 return nil 953 } 954 955 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 956 func (in *ServerError) DeepCopyInto(out *ServerError) { 957 *out = *in 958 return 959 } 960 961 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerError. 962 func (in *ServerError) DeepCopy() *ServerError { 963 if in == nil { 964 return nil 965 } 966 out := new(ServerError) 967 in.DeepCopyInto(out) 968 return out 969 } 970 971 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 972 func (in *ServerError) DeepCopyMessage() Message { 973 if c := in.DeepCopy(); c != nil { 974 return c 975 } 976 return nil 977 } 978 979 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 980 func (in *SetKeyspaceResult) DeepCopyInto(out *SetKeyspaceResult) { 981 *out = *in 982 return 983 } 984 985 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetKeyspaceResult. 986 func (in *SetKeyspaceResult) DeepCopy() *SetKeyspaceResult { 987 if in == nil { 988 return nil 989 } 990 out := new(SetKeyspaceResult) 991 in.DeepCopyInto(out) 992 return out 993 } 994 995 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 996 func (in *SetKeyspaceResult) DeepCopyMessage() Message { 997 if c := in.DeepCopy(); c != nil { 998 return c 999 } 1000 return nil 1001 } 1002 1003 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1004 func (in *Startup) DeepCopyInto(out *Startup) { 1005 *out = *in 1006 if in.Options != nil { 1007 in, out := &in.Options, &out.Options 1008 *out = make(map[string]string, len(*in)) 1009 for key, val := range *in { 1010 (*out)[key] = val 1011 } 1012 } 1013 return 1014 } 1015 1016 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Startup. 1017 func (in *Startup) DeepCopy() *Startup { 1018 if in == nil { 1019 return nil 1020 } 1021 out := new(Startup) 1022 in.DeepCopyInto(out) 1023 return out 1024 } 1025 1026 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1027 func (in *Startup) DeepCopyMessage() Message { 1028 if c := in.DeepCopy(); c != nil { 1029 return c 1030 } 1031 return nil 1032 } 1033 1034 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1035 func (in *StatusChangeEvent) DeepCopyInto(out *StatusChangeEvent) { 1036 *out = *in 1037 if in.Address != nil { 1038 in, out := &in.Address, &out.Address 1039 *out = new(primitive.Inet) 1040 (*in).DeepCopyInto(*out) 1041 } 1042 return 1043 } 1044 1045 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusChangeEvent. 1046 func (in *StatusChangeEvent) DeepCopy() *StatusChangeEvent { 1047 if in == nil { 1048 return nil 1049 } 1050 out := new(StatusChangeEvent) 1051 in.DeepCopyInto(out) 1052 return out 1053 } 1054 1055 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1056 func (in *StatusChangeEvent) DeepCopyMessage() Message { 1057 if c := in.DeepCopy(); c != nil { 1058 return c 1059 } 1060 return nil 1061 } 1062 1063 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1064 func (in *Supported) DeepCopyInto(out *Supported) { 1065 *out = *in 1066 if in.Options != nil { 1067 in, out := &in.Options, &out.Options 1068 *out = make(map[string][]string, len(*in)) 1069 for key, val := range *in { 1070 var outVal []string 1071 if val == nil { 1072 (*out)[key] = nil 1073 } else { 1074 in, out := &val, &outVal 1075 *out = make([]string, len(*in)) 1076 copy(*out, *in) 1077 } 1078 (*out)[key] = outVal 1079 } 1080 } 1081 return 1082 } 1083 1084 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Supported. 1085 func (in *Supported) DeepCopy() *Supported { 1086 if in == nil { 1087 return nil 1088 } 1089 out := new(Supported) 1090 in.DeepCopyInto(out) 1091 return out 1092 } 1093 1094 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1095 func (in *Supported) DeepCopyMessage() Message { 1096 if c := in.DeepCopy(); c != nil { 1097 return c 1098 } 1099 return nil 1100 } 1101 1102 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1103 func (in *SyntaxError) DeepCopyInto(out *SyntaxError) { 1104 *out = *in 1105 return 1106 } 1107 1108 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyntaxError. 1109 func (in *SyntaxError) DeepCopy() *SyntaxError { 1110 if in == nil { 1111 return nil 1112 } 1113 out := new(SyntaxError) 1114 in.DeepCopyInto(out) 1115 return out 1116 } 1117 1118 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1119 func (in *SyntaxError) DeepCopyMessage() Message { 1120 if c := in.DeepCopy(); c != nil { 1121 return c 1122 } 1123 return nil 1124 } 1125 1126 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1127 func (in *TopologyChangeEvent) DeepCopyInto(out *TopologyChangeEvent) { 1128 *out = *in 1129 if in.Address != nil { 1130 in, out := &in.Address, &out.Address 1131 *out = new(primitive.Inet) 1132 (*in).DeepCopyInto(*out) 1133 } 1134 return 1135 } 1136 1137 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologyChangeEvent. 1138 func (in *TopologyChangeEvent) DeepCopy() *TopologyChangeEvent { 1139 if in == nil { 1140 return nil 1141 } 1142 out := new(TopologyChangeEvent) 1143 in.DeepCopyInto(out) 1144 return out 1145 } 1146 1147 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1148 func (in *TopologyChangeEvent) DeepCopyMessage() Message { 1149 if c := in.DeepCopy(); c != nil { 1150 return c 1151 } 1152 return nil 1153 } 1154 1155 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1156 func (in *TruncateError) DeepCopyInto(out *TruncateError) { 1157 *out = *in 1158 return 1159 } 1160 1161 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TruncateError. 1162 func (in *TruncateError) DeepCopy() *TruncateError { 1163 if in == nil { 1164 return nil 1165 } 1166 out := new(TruncateError) 1167 in.DeepCopyInto(out) 1168 return out 1169 } 1170 1171 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1172 func (in *TruncateError) DeepCopyMessage() Message { 1173 if c := in.DeepCopy(); c != nil { 1174 return c 1175 } 1176 return nil 1177 } 1178 1179 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1180 func (in *Unauthorized) DeepCopyInto(out *Unauthorized) { 1181 *out = *in 1182 return 1183 } 1184 1185 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unauthorized. 1186 func (in *Unauthorized) DeepCopy() *Unauthorized { 1187 if in == nil { 1188 return nil 1189 } 1190 out := new(Unauthorized) 1191 in.DeepCopyInto(out) 1192 return out 1193 } 1194 1195 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1196 func (in *Unauthorized) DeepCopyMessage() Message { 1197 if c := in.DeepCopy(); c != nil { 1198 return c 1199 } 1200 return nil 1201 } 1202 1203 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1204 func (in *Unavailable) DeepCopyInto(out *Unavailable) { 1205 *out = *in 1206 return 1207 } 1208 1209 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unavailable. 1210 func (in *Unavailable) DeepCopy() *Unavailable { 1211 if in == nil { 1212 return nil 1213 } 1214 out := new(Unavailable) 1215 in.DeepCopyInto(out) 1216 return out 1217 } 1218 1219 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1220 func (in *Unavailable) DeepCopyMessage() Message { 1221 if c := in.DeepCopy(); c != nil { 1222 return c 1223 } 1224 return nil 1225 } 1226 1227 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1228 func (in *Unprepared) DeepCopyInto(out *Unprepared) { 1229 *out = *in 1230 if in.Id != nil { 1231 in, out := &in.Id, &out.Id 1232 *out = make([]byte, len(*in)) 1233 copy(*out, *in) 1234 } 1235 return 1236 } 1237 1238 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unprepared. 1239 func (in *Unprepared) DeepCopy() *Unprepared { 1240 if in == nil { 1241 return nil 1242 } 1243 out := new(Unprepared) 1244 in.DeepCopyInto(out) 1245 return out 1246 } 1247 1248 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1249 func (in *Unprepared) DeepCopyMessage() Message { 1250 if c := in.DeepCopy(); c != nil { 1251 return c 1252 } 1253 return nil 1254 } 1255 1256 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1257 func (in *VariablesMetadata) DeepCopyInto(out *VariablesMetadata) { 1258 *out = *in 1259 if in.PkIndices != nil { 1260 in, out := &in.PkIndices, &out.PkIndices 1261 *out = make([]uint16, len(*in)) 1262 copy(*out, *in) 1263 } 1264 if in.Columns != nil { 1265 in, out := &in.Columns, &out.Columns 1266 *out = make([]*ColumnMetadata, len(*in)) 1267 for i := range *in { 1268 if (*in)[i] != nil { 1269 in, out := &(*in)[i], &(*out)[i] 1270 *out = new(ColumnMetadata) 1271 (*in).DeepCopyInto(*out) 1272 } 1273 } 1274 } 1275 return 1276 } 1277 1278 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariablesMetadata. 1279 func (in *VariablesMetadata) DeepCopy() *VariablesMetadata { 1280 if in == nil { 1281 return nil 1282 } 1283 out := new(VariablesMetadata) 1284 in.DeepCopyInto(out) 1285 return out 1286 } 1287 1288 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1289 func (in *VoidResult) DeepCopyInto(out *VoidResult) { 1290 *out = *in 1291 return 1292 } 1293 1294 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VoidResult. 1295 func (in *VoidResult) DeepCopy() *VoidResult { 1296 if in == nil { 1297 return nil 1298 } 1299 out := new(VoidResult) 1300 in.DeepCopyInto(out) 1301 return out 1302 } 1303 1304 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1305 func (in *VoidResult) DeepCopyMessage() Message { 1306 if c := in.DeepCopy(); c != nil { 1307 return c 1308 } 1309 return nil 1310 } 1311 1312 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1313 func (in *WriteFailure) DeepCopyInto(out *WriteFailure) { 1314 *out = *in 1315 if in.FailureReasons != nil { 1316 in, out := &in.FailureReasons, &out.FailureReasons 1317 *out = make([]*primitive.FailureReason, len(*in)) 1318 for i := range *in { 1319 if (*in)[i] != nil { 1320 in, out := &(*in)[i], &(*out)[i] 1321 *out = new(primitive.FailureReason) 1322 (*in).DeepCopyInto(*out) 1323 } 1324 } 1325 } 1326 return 1327 } 1328 1329 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WriteFailure. 1330 func (in *WriteFailure) DeepCopy() *WriteFailure { 1331 if in == nil { 1332 return nil 1333 } 1334 out := new(WriteFailure) 1335 in.DeepCopyInto(out) 1336 return out 1337 } 1338 1339 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1340 func (in *WriteFailure) DeepCopyMessage() Message { 1341 if c := in.DeepCopy(); c != nil { 1342 return c 1343 } 1344 return nil 1345 } 1346 1347 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1348 func (in *WriteTimeout) DeepCopyInto(out *WriteTimeout) { 1349 *out = *in 1350 return 1351 } 1352 1353 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WriteTimeout. 1354 func (in *WriteTimeout) DeepCopy() *WriteTimeout { 1355 if in == nil { 1356 return nil 1357 } 1358 out := new(WriteTimeout) 1359 in.DeepCopyInto(out) 1360 return out 1361 } 1362 1363 // DeepCopyMessage is an autogenerated deepcopy function, copying the receiver, creating a new Message. 1364 func (in *WriteTimeout) DeepCopyMessage() Message { 1365 if c := in.DeepCopy(); c != nil { 1366 return c 1367 } 1368 return nil 1369 }