1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/spanner/admin/database/v1/backup.proto 20 21package database 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 longrunning "google.golang.org/genproto/googleapis/longrunning" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 32 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 33) 34 35const ( 36 // Verify that this generated code is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 38 // Verify that runtime/protoimpl is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 40) 41 42// Indicates the current state of the backup. 43type Backup_State int32 44 45const ( 46 // Not specified. 47 Backup_STATE_UNSPECIFIED Backup_State = 0 48 // The pending backup is still being created. Operations on the 49 // backup may fail with `FAILED_PRECONDITION` in this state. 50 Backup_CREATING Backup_State = 1 51 // The backup is complete and ready for use. 52 Backup_READY Backup_State = 2 53) 54 55// Enum value maps for Backup_State. 56var ( 57 Backup_State_name = map[int32]string{ 58 0: "STATE_UNSPECIFIED", 59 1: "CREATING", 60 2: "READY", 61 } 62 Backup_State_value = map[string]int32{ 63 "STATE_UNSPECIFIED": 0, 64 "CREATING": 1, 65 "READY": 2, 66 } 67) 68 69func (x Backup_State) Enum() *Backup_State { 70 p := new(Backup_State) 71 *p = x 72 return p 73} 74 75func (x Backup_State) String() string { 76 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 77} 78 79func (Backup_State) Descriptor() protoreflect.EnumDescriptor { 80 return file_google_spanner_admin_database_v1_backup_proto_enumTypes[0].Descriptor() 81} 82 83func (Backup_State) Type() protoreflect.EnumType { 84 return &file_google_spanner_admin_database_v1_backup_proto_enumTypes[0] 85} 86 87func (x Backup_State) Number() protoreflect.EnumNumber { 88 return protoreflect.EnumNumber(x) 89} 90 91// Deprecated: Use Backup_State.Descriptor instead. 92func (Backup_State) EnumDescriptor() ([]byte, []int) { 93 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{0, 0} 94} 95 96// Encryption types for the backup. 97type CreateBackupEncryptionConfig_EncryptionType int32 98 99const ( 100 // Unspecified. Do not use. 101 CreateBackupEncryptionConfig_ENCRYPTION_TYPE_UNSPECIFIED CreateBackupEncryptionConfig_EncryptionType = 0 102 // Use the same encryption configuration as the database. This is the 103 // default option when 104 // [encryption_config][google.spanner.admin.database.v1.CreateBackupEncryptionConfig] is empty. 105 // For example, if the database is using `Customer_Managed_Encryption`, the 106 // backup will be using the same Cloud KMS key as the database. 107 CreateBackupEncryptionConfig_USE_DATABASE_ENCRYPTION CreateBackupEncryptionConfig_EncryptionType = 1 108 // Use Google default encryption. 109 CreateBackupEncryptionConfig_GOOGLE_DEFAULT_ENCRYPTION CreateBackupEncryptionConfig_EncryptionType = 2 110 // Use customer managed encryption. If specified, `kms_key_name` 111 // must contain a valid Cloud KMS key. 112 CreateBackupEncryptionConfig_CUSTOMER_MANAGED_ENCRYPTION CreateBackupEncryptionConfig_EncryptionType = 3 113) 114 115// Enum value maps for CreateBackupEncryptionConfig_EncryptionType. 116var ( 117 CreateBackupEncryptionConfig_EncryptionType_name = map[int32]string{ 118 0: "ENCRYPTION_TYPE_UNSPECIFIED", 119 1: "USE_DATABASE_ENCRYPTION", 120 2: "GOOGLE_DEFAULT_ENCRYPTION", 121 3: "CUSTOMER_MANAGED_ENCRYPTION", 122 } 123 CreateBackupEncryptionConfig_EncryptionType_value = map[string]int32{ 124 "ENCRYPTION_TYPE_UNSPECIFIED": 0, 125 "USE_DATABASE_ENCRYPTION": 1, 126 "GOOGLE_DEFAULT_ENCRYPTION": 2, 127 "CUSTOMER_MANAGED_ENCRYPTION": 3, 128 } 129) 130 131func (x CreateBackupEncryptionConfig_EncryptionType) Enum() *CreateBackupEncryptionConfig_EncryptionType { 132 p := new(CreateBackupEncryptionConfig_EncryptionType) 133 *p = x 134 return p 135} 136 137func (x CreateBackupEncryptionConfig_EncryptionType) String() string { 138 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 139} 140 141func (CreateBackupEncryptionConfig_EncryptionType) Descriptor() protoreflect.EnumDescriptor { 142 return file_google_spanner_admin_database_v1_backup_proto_enumTypes[1].Descriptor() 143} 144 145func (CreateBackupEncryptionConfig_EncryptionType) Type() protoreflect.EnumType { 146 return &file_google_spanner_admin_database_v1_backup_proto_enumTypes[1] 147} 148 149func (x CreateBackupEncryptionConfig_EncryptionType) Number() protoreflect.EnumNumber { 150 return protoreflect.EnumNumber(x) 151} 152 153// Deprecated: Use CreateBackupEncryptionConfig_EncryptionType.Descriptor instead. 154func (CreateBackupEncryptionConfig_EncryptionType) EnumDescriptor() ([]byte, []int) { 155 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{11, 0} 156} 157 158// A backup of a Cloud Spanner database. 159type Backup struct { 160 state protoimpl.MessageState 161 sizeCache protoimpl.SizeCache 162 unknownFields protoimpl.UnknownFields 163 164 // Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. 165 // Name of the database from which this backup was 166 // created. This needs to be in the same instance as the backup. 167 // Values are of the form 168 // `projects/<project>/instances/<instance>/databases/<database>`. 169 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 170 // The backup will contain an externally consistent copy of the database at 171 // the timestamp specified by `version_time`. If `version_time` is not 172 // specified, the system will set `version_time` to the `create_time` of the 173 // backup. 174 VersionTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=version_time,json=versionTime,proto3" json:"version_time,omitempty"` 175 // Required for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] 176 // operation. The expiration time of the backup, with microseconds 177 // granularity that must be at least 6 hours and at most 366 days 178 // from the time the CreateBackup request is processed. Once the `expire_time` 179 // has passed, the backup is eligible to be automatically deleted by Cloud 180 // Spanner to free the resources used by the backup. 181 ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` 182 // Output only for the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. 183 // Required for the [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup] operation. 184 // 185 // A globally unique identifier for the backup which cannot be 186 // changed. Values are of the form 187 // `projects/<project>/instances/<instance>/backups/[a-z][a-z0-9_\-]*[a-z0-9]` 188 // The final segment of the name must be between 2 and 60 characters 189 // in length. 190 // 191 // The backup is stored in the location(s) specified in the instance 192 // configuration of the instance containing the backup, identified 193 // by the prefix of the backup name of the form 194 // `projects/<project>/instances/<instance>`. 195 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 196 // Output only. The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] 197 // request is received. If the request does not specify `version_time`, the 198 // `version_time` of the backup will be equivalent to the `create_time`. 199 CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 200 // Output only. Size of the backup in bytes. 201 SizeBytes int64 `protobuf:"varint,5,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` 202 // Output only. The current state of the backup. 203 State Backup_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.spanner.admin.database.v1.Backup_State" json:"state,omitempty"` 204 // Output only. The names of the restored databases that reference the backup. 205 // The database names are of 206 // the form `projects/<project>/instances/<instance>/databases/<database>`. 207 // Referencing databases may exist in different instances. The existence of 208 // any referencing database prevents the backup from being deleted. When a 209 // restored database from the backup enters the `READY` state, the reference 210 // to the backup is removed. 211 ReferencingDatabases []string `protobuf:"bytes,7,rep,name=referencing_databases,json=referencingDatabases,proto3" json:"referencing_databases,omitempty"` 212 // Output only. The encryption information for the backup. 213 EncryptionInfo *EncryptionInfo `protobuf:"bytes,8,opt,name=encryption_info,json=encryptionInfo,proto3" json:"encryption_info,omitempty"` 214} 215 216func (x *Backup) Reset() { 217 *x = Backup{} 218 if protoimpl.UnsafeEnabled { 219 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[0] 220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 221 ms.StoreMessageInfo(mi) 222 } 223} 224 225func (x *Backup) String() string { 226 return protoimpl.X.MessageStringOf(x) 227} 228 229func (*Backup) ProtoMessage() {} 230 231func (x *Backup) ProtoReflect() protoreflect.Message { 232 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[0] 233 if protoimpl.UnsafeEnabled && x != nil { 234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 235 if ms.LoadMessageInfo() == nil { 236 ms.StoreMessageInfo(mi) 237 } 238 return ms 239 } 240 return mi.MessageOf(x) 241} 242 243// Deprecated: Use Backup.ProtoReflect.Descriptor instead. 244func (*Backup) Descriptor() ([]byte, []int) { 245 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{0} 246} 247 248func (x *Backup) GetDatabase() string { 249 if x != nil { 250 return x.Database 251 } 252 return "" 253} 254 255func (x *Backup) GetVersionTime() *timestamppb.Timestamp { 256 if x != nil { 257 return x.VersionTime 258 } 259 return nil 260} 261 262func (x *Backup) GetExpireTime() *timestamppb.Timestamp { 263 if x != nil { 264 return x.ExpireTime 265 } 266 return nil 267} 268 269func (x *Backup) GetName() string { 270 if x != nil { 271 return x.Name 272 } 273 return "" 274} 275 276func (x *Backup) GetCreateTime() *timestamppb.Timestamp { 277 if x != nil { 278 return x.CreateTime 279 } 280 return nil 281} 282 283func (x *Backup) GetSizeBytes() int64 { 284 if x != nil { 285 return x.SizeBytes 286 } 287 return 0 288} 289 290func (x *Backup) GetState() Backup_State { 291 if x != nil { 292 return x.State 293 } 294 return Backup_STATE_UNSPECIFIED 295} 296 297func (x *Backup) GetReferencingDatabases() []string { 298 if x != nil { 299 return x.ReferencingDatabases 300 } 301 return nil 302} 303 304func (x *Backup) GetEncryptionInfo() *EncryptionInfo { 305 if x != nil { 306 return x.EncryptionInfo 307 } 308 return nil 309} 310 311// The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]. 312type CreateBackupRequest struct { 313 state protoimpl.MessageState 314 sizeCache protoimpl.SizeCache 315 unknownFields protoimpl.UnknownFields 316 317 // Required. The name of the instance in which the backup will be 318 // created. This must be the same instance that contains the database the 319 // backup will be created from. The backup will be stored in the 320 // location(s) specified in the instance configuration of this 321 // instance. Values are of the form 322 // `projects/<project>/instances/<instance>`. 323 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 324 // Required. The id of the backup to be created. The `backup_id` appended to 325 // `parent` forms the full backup name of the form 326 // `projects/<project>/instances/<instance>/backups/<backup_id>`. 327 BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` 328 // Required. The backup to create. 329 Backup *Backup `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"` 330 // Optional. The encryption configuration used to encrypt the backup. If this field is 331 // not specified, the backup will use the same 332 // encryption configuration as the database by default, namely 333 // [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] = 334 // `USE_DATABASE_ENCRYPTION`. 335 EncryptionConfig *CreateBackupEncryptionConfig `protobuf:"bytes,4,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"` 336} 337 338func (x *CreateBackupRequest) Reset() { 339 *x = CreateBackupRequest{} 340 if protoimpl.UnsafeEnabled { 341 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[1] 342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 343 ms.StoreMessageInfo(mi) 344 } 345} 346 347func (x *CreateBackupRequest) String() string { 348 return protoimpl.X.MessageStringOf(x) 349} 350 351func (*CreateBackupRequest) ProtoMessage() {} 352 353func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message { 354 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[1] 355 if protoimpl.UnsafeEnabled && x != nil { 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 if ms.LoadMessageInfo() == nil { 358 ms.StoreMessageInfo(mi) 359 } 360 return ms 361 } 362 return mi.MessageOf(x) 363} 364 365// Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead. 366func (*CreateBackupRequest) Descriptor() ([]byte, []int) { 367 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{1} 368} 369 370func (x *CreateBackupRequest) GetParent() string { 371 if x != nil { 372 return x.Parent 373 } 374 return "" 375} 376 377func (x *CreateBackupRequest) GetBackupId() string { 378 if x != nil { 379 return x.BackupId 380 } 381 return "" 382} 383 384func (x *CreateBackupRequest) GetBackup() *Backup { 385 if x != nil { 386 return x.Backup 387 } 388 return nil 389} 390 391func (x *CreateBackupRequest) GetEncryptionConfig() *CreateBackupEncryptionConfig { 392 if x != nil { 393 return x.EncryptionConfig 394 } 395 return nil 396} 397 398// Metadata type for the operation returned by 399// [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup]. 400type CreateBackupMetadata struct { 401 state protoimpl.MessageState 402 sizeCache protoimpl.SizeCache 403 unknownFields protoimpl.UnknownFields 404 405 // The name of the backup being created. 406 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 407 // The name of the database the backup is created from. 408 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 409 // The progress of the 410 // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] operation. 411 Progress *OperationProgress `protobuf:"bytes,3,opt,name=progress,proto3" json:"progress,omitempty"` 412 // The time at which cancellation of this operation was received. 413 // [Operations.CancelOperation][google.longrunning.Operations.CancelOperation] 414 // starts asynchronous cancellation on a long-running operation. The server 415 // makes a best effort to cancel the operation, but success is not guaranteed. 416 // Clients can use 417 // [Operations.GetOperation][google.longrunning.Operations.GetOperation] or 418 // other methods to check whether the cancellation succeeded or whether the 419 // operation completed despite cancellation. On successful cancellation, 420 // the operation is not deleted; instead, it becomes an operation with 421 // an [Operation.error][google.longrunning.Operation.error] value with a 422 // [google.rpc.Status.code][google.rpc.Status.code] of 1, 423 // corresponding to `Code.CANCELLED`. 424 CancelTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"` 425} 426 427func (x *CreateBackupMetadata) Reset() { 428 *x = CreateBackupMetadata{} 429 if protoimpl.UnsafeEnabled { 430 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[2] 431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 432 ms.StoreMessageInfo(mi) 433 } 434} 435 436func (x *CreateBackupMetadata) String() string { 437 return protoimpl.X.MessageStringOf(x) 438} 439 440func (*CreateBackupMetadata) ProtoMessage() {} 441 442func (x *CreateBackupMetadata) ProtoReflect() protoreflect.Message { 443 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[2] 444 if protoimpl.UnsafeEnabled && x != nil { 445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 446 if ms.LoadMessageInfo() == nil { 447 ms.StoreMessageInfo(mi) 448 } 449 return ms 450 } 451 return mi.MessageOf(x) 452} 453 454// Deprecated: Use CreateBackupMetadata.ProtoReflect.Descriptor instead. 455func (*CreateBackupMetadata) Descriptor() ([]byte, []int) { 456 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{2} 457} 458 459func (x *CreateBackupMetadata) GetName() string { 460 if x != nil { 461 return x.Name 462 } 463 return "" 464} 465 466func (x *CreateBackupMetadata) GetDatabase() string { 467 if x != nil { 468 return x.Database 469 } 470 return "" 471} 472 473func (x *CreateBackupMetadata) GetProgress() *OperationProgress { 474 if x != nil { 475 return x.Progress 476 } 477 return nil 478} 479 480func (x *CreateBackupMetadata) GetCancelTime() *timestamppb.Timestamp { 481 if x != nil { 482 return x.CancelTime 483 } 484 return nil 485} 486 487// The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup]. 488type UpdateBackupRequest struct { 489 state protoimpl.MessageState 490 sizeCache protoimpl.SizeCache 491 unknownFields protoimpl.UnknownFields 492 493 // Required. The backup to update. `backup.name`, and the fields to be updated 494 // as specified by `update_mask` are required. Other fields are ignored. 495 // Update is only supported for the following fields: 496 // * `backup.expire_time`. 497 Backup *Backup `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"` 498 // Required. A mask specifying which fields (e.g. `expire_time`) in the 499 // Backup resource should be updated. This mask is relative to the Backup 500 // resource, not to the request message. The field mask must always be 501 // specified; this prevents any future fields from being erased accidentally 502 // by clients that do not know about them. 503 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 504} 505 506func (x *UpdateBackupRequest) Reset() { 507 *x = UpdateBackupRequest{} 508 if protoimpl.UnsafeEnabled { 509 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[3] 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 ms.StoreMessageInfo(mi) 512 } 513} 514 515func (x *UpdateBackupRequest) String() string { 516 return protoimpl.X.MessageStringOf(x) 517} 518 519func (*UpdateBackupRequest) ProtoMessage() {} 520 521func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Message { 522 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[3] 523 if protoimpl.UnsafeEnabled && x != nil { 524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 525 if ms.LoadMessageInfo() == nil { 526 ms.StoreMessageInfo(mi) 527 } 528 return ms 529 } 530 return mi.MessageOf(x) 531} 532 533// Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead. 534func (*UpdateBackupRequest) Descriptor() ([]byte, []int) { 535 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{3} 536} 537 538func (x *UpdateBackupRequest) GetBackup() *Backup { 539 if x != nil { 540 return x.Backup 541 } 542 return nil 543} 544 545func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 546 if x != nil { 547 return x.UpdateMask 548 } 549 return nil 550} 551 552// The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup]. 553type GetBackupRequest struct { 554 state protoimpl.MessageState 555 sizeCache protoimpl.SizeCache 556 unknownFields protoimpl.UnknownFields 557 558 // Required. Name of the backup. 559 // Values are of the form 560 // `projects/<project>/instances/<instance>/backups/<backup>`. 561 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 562} 563 564func (x *GetBackupRequest) Reset() { 565 *x = GetBackupRequest{} 566 if protoimpl.UnsafeEnabled { 567 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[4] 568 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 569 ms.StoreMessageInfo(mi) 570 } 571} 572 573func (x *GetBackupRequest) String() string { 574 return protoimpl.X.MessageStringOf(x) 575} 576 577func (*GetBackupRequest) ProtoMessage() {} 578 579func (x *GetBackupRequest) ProtoReflect() protoreflect.Message { 580 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[4] 581 if protoimpl.UnsafeEnabled && x != nil { 582 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 583 if ms.LoadMessageInfo() == nil { 584 ms.StoreMessageInfo(mi) 585 } 586 return ms 587 } 588 return mi.MessageOf(x) 589} 590 591// Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead. 592func (*GetBackupRequest) Descriptor() ([]byte, []int) { 593 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{4} 594} 595 596func (x *GetBackupRequest) GetName() string { 597 if x != nil { 598 return x.Name 599 } 600 return "" 601} 602 603// The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup]. 604type DeleteBackupRequest struct { 605 state protoimpl.MessageState 606 sizeCache protoimpl.SizeCache 607 unknownFields protoimpl.UnknownFields 608 609 // Required. Name of the backup to delete. 610 // Values are of the form 611 // `projects/<project>/instances/<instance>/backups/<backup>`. 612 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 613} 614 615func (x *DeleteBackupRequest) Reset() { 616 *x = DeleteBackupRequest{} 617 if protoimpl.UnsafeEnabled { 618 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[5] 619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 620 ms.StoreMessageInfo(mi) 621 } 622} 623 624func (x *DeleteBackupRequest) String() string { 625 return protoimpl.X.MessageStringOf(x) 626} 627 628func (*DeleteBackupRequest) ProtoMessage() {} 629 630func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message { 631 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[5] 632 if protoimpl.UnsafeEnabled && x != nil { 633 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 634 if ms.LoadMessageInfo() == nil { 635 ms.StoreMessageInfo(mi) 636 } 637 return ms 638 } 639 return mi.MessageOf(x) 640} 641 642// Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead. 643func (*DeleteBackupRequest) Descriptor() ([]byte, []int) { 644 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{5} 645} 646 647func (x *DeleteBackupRequest) GetName() string { 648 if x != nil { 649 return x.Name 650 } 651 return "" 652} 653 654// The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. 655type ListBackupsRequest struct { 656 state protoimpl.MessageState 657 sizeCache protoimpl.SizeCache 658 unknownFields protoimpl.UnknownFields 659 660 // Required. The instance to list backups from. Values are of the 661 // form `projects/<project>/instances/<instance>`. 662 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 663 // An expression that filters the list of returned backups. 664 // 665 // A filter expression consists of a field name, a comparison operator, and a 666 // value for filtering. 667 // The value must be a string, a number, or a boolean. The comparison operator 668 // must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. 669 // Colon `:` is the contains operator. Filter rules are not case sensitive. 670 // 671 // The following fields in the [Backup][google.spanner.admin.database.v1.Backup] are eligible for filtering: 672 // 673 // * `name` 674 // * `database` 675 // * `state` 676 // * `create_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) 677 // * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) 678 // * `version_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) 679 // * `size_bytes` 680 // 681 // You can combine multiple expressions by enclosing each expression in 682 // parentheses. By default, expressions are combined with AND logic, but 683 // you can specify AND, OR, and NOT logic explicitly. 684 // 685 // Here are a few examples: 686 // 687 // * `name:Howl` - The backup's name contains the string "howl". 688 // * `database:prod` 689 // - The database's name contains the string "prod". 690 // * `state:CREATING` - The backup is pending creation. 691 // * `state:READY` - The backup is fully created and ready for use. 692 // * `(name:howl) AND (create_time < \"2018-03-28T14:50:00Z\")` 693 // - The backup name contains the string "howl" and `create_time` 694 // of the backup is before 2018-03-28T14:50:00Z. 695 // * `expire_time < \"2018-03-28T14:50:00Z\"` 696 // - The backup `expire_time` is before 2018-03-28T14:50:00Z. 697 // * `size_bytes > 10000000000` - The backup's size is greater than 10GB 698 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 699 // Number of backups to be returned in the response. If 0 or 700 // less, defaults to the server's maximum allowed page size. 701 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 702 // If non-empty, `page_token` should contain a 703 // [next_page_token][google.spanner.admin.database.v1.ListBackupsResponse.next_page_token] from a 704 // previous [ListBackupsResponse][google.spanner.admin.database.v1.ListBackupsResponse] to the same `parent` and with the same 705 // `filter`. 706 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 707} 708 709func (x *ListBackupsRequest) Reset() { 710 *x = ListBackupsRequest{} 711 if protoimpl.UnsafeEnabled { 712 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[6] 713 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 714 ms.StoreMessageInfo(mi) 715 } 716} 717 718func (x *ListBackupsRequest) String() string { 719 return protoimpl.X.MessageStringOf(x) 720} 721 722func (*ListBackupsRequest) ProtoMessage() {} 723 724func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message { 725 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[6] 726 if protoimpl.UnsafeEnabled && x != nil { 727 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 728 if ms.LoadMessageInfo() == nil { 729 ms.StoreMessageInfo(mi) 730 } 731 return ms 732 } 733 return mi.MessageOf(x) 734} 735 736// Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead. 737func (*ListBackupsRequest) Descriptor() ([]byte, []int) { 738 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{6} 739} 740 741func (x *ListBackupsRequest) GetParent() string { 742 if x != nil { 743 return x.Parent 744 } 745 return "" 746} 747 748func (x *ListBackupsRequest) GetFilter() string { 749 if x != nil { 750 return x.Filter 751 } 752 return "" 753} 754 755func (x *ListBackupsRequest) GetPageSize() int32 { 756 if x != nil { 757 return x.PageSize 758 } 759 return 0 760} 761 762func (x *ListBackupsRequest) GetPageToken() string { 763 if x != nil { 764 return x.PageToken 765 } 766 return "" 767} 768 769// The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups]. 770type ListBackupsResponse struct { 771 state protoimpl.MessageState 772 sizeCache protoimpl.SizeCache 773 unknownFields protoimpl.UnknownFields 774 775 // The list of matching backups. Backups returned are ordered by `create_time` 776 // in descending order, starting from the most recent `create_time`. 777 Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` 778 // `next_page_token` can be sent in a subsequent 779 // [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups] call to fetch more 780 // of the matching backups. 781 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 782} 783 784func (x *ListBackupsResponse) Reset() { 785 *x = ListBackupsResponse{} 786 if protoimpl.UnsafeEnabled { 787 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[7] 788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 789 ms.StoreMessageInfo(mi) 790 } 791} 792 793func (x *ListBackupsResponse) String() string { 794 return protoimpl.X.MessageStringOf(x) 795} 796 797func (*ListBackupsResponse) ProtoMessage() {} 798 799func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message { 800 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[7] 801 if protoimpl.UnsafeEnabled && x != nil { 802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 803 if ms.LoadMessageInfo() == nil { 804 ms.StoreMessageInfo(mi) 805 } 806 return ms 807 } 808 return mi.MessageOf(x) 809} 810 811// Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead. 812func (*ListBackupsResponse) Descriptor() ([]byte, []int) { 813 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{7} 814} 815 816func (x *ListBackupsResponse) GetBackups() []*Backup { 817 if x != nil { 818 return x.Backups 819 } 820 return nil 821} 822 823func (x *ListBackupsResponse) GetNextPageToken() string { 824 if x != nil { 825 return x.NextPageToken 826 } 827 return "" 828} 829 830// The request for 831// [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]. 832type ListBackupOperationsRequest struct { 833 state protoimpl.MessageState 834 sizeCache protoimpl.SizeCache 835 unknownFields protoimpl.UnknownFields 836 837 // Required. The instance of the backup operations. Values are of 838 // the form `projects/<project>/instances/<instance>`. 839 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 840 // An expression that filters the list of returned backup operations. 841 // 842 // A filter expression consists of a field name, a 843 // comparison operator, and a value for filtering. 844 // The value must be a string, a number, or a boolean. The comparison operator 845 // must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. 846 // Colon `:` is the contains operator. Filter rules are not case sensitive. 847 // 848 // The following fields in the [operation][google.longrunning.Operation] 849 // are eligible for filtering: 850 // 851 // * `name` - The name of the long-running operation 852 // * `done` - False if the operation is in progress, else true. 853 // * `metadata.@type` - the type of metadata. For example, the type string 854 // for [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata] is 855 // `type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata`. 856 // * `metadata.<field_name>` - any field in metadata.value. 857 // * `error` - Error associated with the long-running operation. 858 // * `response.@type` - the type of response. 859 // * `response.<field_name>` - any field in response.value. 860 // 861 // You can combine multiple expressions by enclosing each expression in 862 // parentheses. By default, expressions are combined with AND logic, but 863 // you can specify AND, OR, and NOT logic explicitly. 864 // 865 // Here are a few examples: 866 // 867 // * `done:true` - The operation is complete. 868 // * `metadata.database:prod` - The database the backup was taken from has 869 // a name containing the string "prod". 870 // * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND` \ 871 // `(metadata.name:howl) AND` \ 872 // `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ 873 // `(error:*)` - Returns operations where: 874 // * The operation's metadata type is [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. 875 // * The backup name contains the string "howl". 876 // * The operation started before 2018-03-28T14:50:00Z. 877 // * The operation resulted in an error. 878 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 879 // Number of operations to be returned in the response. If 0 or 880 // less, defaults to the server's maximum allowed page size. 881 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 882 // If non-empty, `page_token` should contain a 883 // [next_page_token][google.spanner.admin.database.v1.ListBackupOperationsResponse.next_page_token] 884 // from a previous [ListBackupOperationsResponse][google.spanner.admin.database.v1.ListBackupOperationsResponse] to the 885 // same `parent` and with the same `filter`. 886 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 887} 888 889func (x *ListBackupOperationsRequest) Reset() { 890 *x = ListBackupOperationsRequest{} 891 if protoimpl.UnsafeEnabled { 892 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[8] 893 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 894 ms.StoreMessageInfo(mi) 895 } 896} 897 898func (x *ListBackupOperationsRequest) String() string { 899 return protoimpl.X.MessageStringOf(x) 900} 901 902func (*ListBackupOperationsRequest) ProtoMessage() {} 903 904func (x *ListBackupOperationsRequest) ProtoReflect() protoreflect.Message { 905 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[8] 906 if protoimpl.UnsafeEnabled && x != nil { 907 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 908 if ms.LoadMessageInfo() == nil { 909 ms.StoreMessageInfo(mi) 910 } 911 return ms 912 } 913 return mi.MessageOf(x) 914} 915 916// Deprecated: Use ListBackupOperationsRequest.ProtoReflect.Descriptor instead. 917func (*ListBackupOperationsRequest) Descriptor() ([]byte, []int) { 918 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{8} 919} 920 921func (x *ListBackupOperationsRequest) GetParent() string { 922 if x != nil { 923 return x.Parent 924 } 925 return "" 926} 927 928func (x *ListBackupOperationsRequest) GetFilter() string { 929 if x != nil { 930 return x.Filter 931 } 932 return "" 933} 934 935func (x *ListBackupOperationsRequest) GetPageSize() int32 { 936 if x != nil { 937 return x.PageSize 938 } 939 return 0 940} 941 942func (x *ListBackupOperationsRequest) GetPageToken() string { 943 if x != nil { 944 return x.PageToken 945 } 946 return "" 947} 948 949// The response for 950// [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]. 951type ListBackupOperationsResponse struct { 952 state protoimpl.MessageState 953 sizeCache protoimpl.SizeCache 954 unknownFields protoimpl.UnknownFields 955 956 // The list of matching backup [long-running 957 // operations][google.longrunning.Operation]. Each operation's name will be 958 // prefixed by the backup's name and the operation's 959 // [metadata][google.longrunning.Operation.metadata] will be of type 960 // [CreateBackupMetadata][google.spanner.admin.database.v1.CreateBackupMetadata]. Operations returned include those that are 961 // pending or have completed/failed/canceled within the last 7 days. 962 // Operations returned are ordered by 963 // `operation.metadata.value.progress.start_time` in descending order starting 964 // from the most recently started operation. 965 Operations []*longrunning.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` 966 // `next_page_token` can be sent in a subsequent 967 // [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations] 968 // call to fetch more of the matching metadata. 969 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 970} 971 972func (x *ListBackupOperationsResponse) Reset() { 973 *x = ListBackupOperationsResponse{} 974 if protoimpl.UnsafeEnabled { 975 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[9] 976 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 977 ms.StoreMessageInfo(mi) 978 } 979} 980 981func (x *ListBackupOperationsResponse) String() string { 982 return protoimpl.X.MessageStringOf(x) 983} 984 985func (*ListBackupOperationsResponse) ProtoMessage() {} 986 987func (x *ListBackupOperationsResponse) ProtoReflect() protoreflect.Message { 988 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[9] 989 if protoimpl.UnsafeEnabled && x != nil { 990 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 991 if ms.LoadMessageInfo() == nil { 992 ms.StoreMessageInfo(mi) 993 } 994 return ms 995 } 996 return mi.MessageOf(x) 997} 998 999// Deprecated: Use ListBackupOperationsResponse.ProtoReflect.Descriptor instead. 1000func (*ListBackupOperationsResponse) Descriptor() ([]byte, []int) { 1001 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{9} 1002} 1003 1004func (x *ListBackupOperationsResponse) GetOperations() []*longrunning.Operation { 1005 if x != nil { 1006 return x.Operations 1007 } 1008 return nil 1009} 1010 1011func (x *ListBackupOperationsResponse) GetNextPageToken() string { 1012 if x != nil { 1013 return x.NextPageToken 1014 } 1015 return "" 1016} 1017 1018// Information about a backup. 1019type BackupInfo struct { 1020 state protoimpl.MessageState 1021 sizeCache protoimpl.SizeCache 1022 unknownFields protoimpl.UnknownFields 1023 1024 // Name of the backup. 1025 Backup string `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"` 1026 // The backup contains an externally consistent copy of `source_database` at 1027 // the timestamp specified by `version_time`. If the 1028 // [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify 1029 // `version_time`, the `version_time` of the backup is equivalent to the 1030 // `create_time`. 1031 VersionTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=version_time,json=versionTime,proto3" json:"version_time,omitempty"` 1032 // The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was 1033 // received. 1034 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 1035 // Name of the database the backup was created from. 1036 SourceDatabase string `protobuf:"bytes,3,opt,name=source_database,json=sourceDatabase,proto3" json:"source_database,omitempty"` 1037} 1038 1039func (x *BackupInfo) Reset() { 1040 *x = BackupInfo{} 1041 if protoimpl.UnsafeEnabled { 1042 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[10] 1043 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1044 ms.StoreMessageInfo(mi) 1045 } 1046} 1047 1048func (x *BackupInfo) String() string { 1049 return protoimpl.X.MessageStringOf(x) 1050} 1051 1052func (*BackupInfo) ProtoMessage() {} 1053 1054func (x *BackupInfo) ProtoReflect() protoreflect.Message { 1055 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[10] 1056 if protoimpl.UnsafeEnabled && x != nil { 1057 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1058 if ms.LoadMessageInfo() == nil { 1059 ms.StoreMessageInfo(mi) 1060 } 1061 return ms 1062 } 1063 return mi.MessageOf(x) 1064} 1065 1066// Deprecated: Use BackupInfo.ProtoReflect.Descriptor instead. 1067func (*BackupInfo) Descriptor() ([]byte, []int) { 1068 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{10} 1069} 1070 1071func (x *BackupInfo) GetBackup() string { 1072 if x != nil { 1073 return x.Backup 1074 } 1075 return "" 1076} 1077 1078func (x *BackupInfo) GetVersionTime() *timestamppb.Timestamp { 1079 if x != nil { 1080 return x.VersionTime 1081 } 1082 return nil 1083} 1084 1085func (x *BackupInfo) GetCreateTime() *timestamppb.Timestamp { 1086 if x != nil { 1087 return x.CreateTime 1088 } 1089 return nil 1090} 1091 1092func (x *BackupInfo) GetSourceDatabase() string { 1093 if x != nil { 1094 return x.SourceDatabase 1095 } 1096 return "" 1097} 1098 1099// Encryption configuration for the backup to create. 1100type CreateBackupEncryptionConfig struct { 1101 state protoimpl.MessageState 1102 sizeCache protoimpl.SizeCache 1103 unknownFields protoimpl.UnknownFields 1104 1105 // Required. The encryption type of the backup. 1106 EncryptionType CreateBackupEncryptionConfig_EncryptionType `protobuf:"varint,1,opt,name=encryption_type,json=encryptionType,proto3,enum=google.spanner.admin.database.v1.CreateBackupEncryptionConfig_EncryptionType" json:"encryption_type,omitempty"` 1107 // Optional. The Cloud KMS key that will be used to protect the backup. 1108 // This field should be set only when 1109 // [encryption_type][google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type] is 1110 // `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form 1111 // `projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>`. 1112 KmsKeyName string `protobuf:"bytes,2,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` 1113} 1114 1115func (x *CreateBackupEncryptionConfig) Reset() { 1116 *x = CreateBackupEncryptionConfig{} 1117 if protoimpl.UnsafeEnabled { 1118 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[11] 1119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1120 ms.StoreMessageInfo(mi) 1121 } 1122} 1123 1124func (x *CreateBackupEncryptionConfig) String() string { 1125 return protoimpl.X.MessageStringOf(x) 1126} 1127 1128func (*CreateBackupEncryptionConfig) ProtoMessage() {} 1129 1130func (x *CreateBackupEncryptionConfig) ProtoReflect() protoreflect.Message { 1131 mi := &file_google_spanner_admin_database_v1_backup_proto_msgTypes[11] 1132 if protoimpl.UnsafeEnabled && x != nil { 1133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1134 if ms.LoadMessageInfo() == nil { 1135 ms.StoreMessageInfo(mi) 1136 } 1137 return ms 1138 } 1139 return mi.MessageOf(x) 1140} 1141 1142// Deprecated: Use CreateBackupEncryptionConfig.ProtoReflect.Descriptor instead. 1143func (*CreateBackupEncryptionConfig) Descriptor() ([]byte, []int) { 1144 return file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP(), []int{11} 1145} 1146 1147func (x *CreateBackupEncryptionConfig) GetEncryptionType() CreateBackupEncryptionConfig_EncryptionType { 1148 if x != nil { 1149 return x.EncryptionType 1150 } 1151 return CreateBackupEncryptionConfig_ENCRYPTION_TYPE_UNSPECIFIED 1152} 1153 1154func (x *CreateBackupEncryptionConfig) GetKmsKeyName() string { 1155 if x != nil { 1156 return x.KmsKeyName 1157 } 1158 return "" 1159} 1160 1161var File_google_spanner_admin_database_v1_backup_proto protoreflect.FileDescriptor 1162 1163var file_google_spanner_admin_database_v1_backup_proto_rawDesc = []byte{ 1164 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 1165 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2f, 1166 0x76, 0x31, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 1167 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 1168 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 1169 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 1170 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 1171 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 1172 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 1173 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 1174 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 1175 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1176 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 1177 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 1178 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 1179 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x70, 1180 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x61, 0x74, 0x61, 1181 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 1182 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 1183 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 1184 0x74, 0x6f, 0x22, 0xe0, 0x05, 0x0a, 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x40, 0x0a, 1185 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 1186 0x24, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 1187 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 1188 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 1189 0x3d, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 1190 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 1191 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 1192 0x70, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 1193 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 1194 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1195 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 1196 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 1197 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1198 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 1199 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 1200 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 1201 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 1202 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 1203 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 1204 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 1205 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 1206 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x61, 0x74, 0x61, 1207 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x53, 1208 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 1209 0x12, 0x5c, 0x0a, 0x15, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 1210 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 1211 0x27, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 1212 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1213 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x14, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 1214 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x12, 0x5e, 1215 0x0a, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 1216 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1217 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 1218 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 1219 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 1220 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x37, 1221 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 1222 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 1223 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 1224 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x3a, 0x5c, 0xea, 0x41, 0x59, 0x0a, 0x1d, 0x73, 0x70, 1225 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1226 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x38, 0x70, 0x72, 0x6f, 1227 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 1228 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 1229 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x62, 0x61, 1230 0x63, 0x6b, 0x75, 0x70, 0x7d, 0x22, 0xb1, 0x02, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 1231 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 1232 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 1233 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 1234 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 1235 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 1236 0x0a, 0x09, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 1237 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x64, 1238 0x12, 0x45, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 1239 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 1240 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 1241 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 1242 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x70, 0x0a, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 1243 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 1244 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 1245 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 1246 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 1247 0x75, 0x70, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 1248 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 1249 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x9e, 0x02, 0x0a, 0x14, 0x43, 0x72, 1250 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 1251 0x74, 0x61, 0x12, 0x36, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1252 0x42, 0x22, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 1253 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 1254 0x63, 0x6b, 0x75, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x08, 0x64, 0x61, 1255 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xfa, 0x41, 1256 0x21, 0x0a, 0x1f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1257 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 1258 0x73, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x08, 1259 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 1260 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 1261 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 1262 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 1263 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3b, 0x0a, 1264 0x0b, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 1265 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1266 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 1267 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x13, 0x55, 1268 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 1269 0x73, 0x74, 0x12, 0x45, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 1270 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 1271 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 1272 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 1273 0x02, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 1274 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 1275 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 1276 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 1277 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x4d, 0x0a, 0x10, 0x47, 1278 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1279 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 1280 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 1281 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 1282 0x63, 0x6b, 0x75, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x50, 0x0a, 0x13, 0x44, 0x65, 1283 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1284 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 1285 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 1286 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 1287 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa9, 0x01, 0x0a, 1288 0x12, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 1289 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 1290 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x73, 0x70, 0x61, 1291 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 1292 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x06, 0x70, 0x61, 1293 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 1294 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 1295 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 1296 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 1297 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 1298 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 1299 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1300 0x12, 0x42, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 1301 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 1302 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 1303 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x07, 0x62, 0x61, 0x63, 1304 0x6b, 0x75, 0x70, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 1305 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 1306 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb2, 0x01, 0x0a, 1307 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4f, 0x70, 0x65, 0x72, 0x61, 1308 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 1309 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 1310 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 1311 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 1312 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 1313 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 1314 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 1315 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 1316 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 1317 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 1318 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 1319 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1320 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1321 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1322 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 1323 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1324 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 1325 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 1326 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x93, 0x02, 0x0a, 0x0a, 0x42, 0x61, 1327 0x63, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 1328 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x22, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x73, 1329 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 1330 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x06, 0x62, 0x61, 1331 0x63, 0x6b, 0x75, 0x70, 0x12, 0x3d, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 1332 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 1333 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 1334 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x54, 1335 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 1336 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1337 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 1338 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 1339 0x12, 0x4d, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 1340 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 1341 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 1342 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 1343 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 1344 0xf9, 0x02, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 1345 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1346 0x12, 0x7b, 0x0a, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 1347 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1348 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 1349 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 1350 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 1351 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 1352 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x65, 1353 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4b, 0x0a, 1354 0x0c, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 1355 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 1356 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1357 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x52, 0x0a, 1358 0x6b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x0e, 0x45, 1359 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 1360 0x1b, 0x45, 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 1361 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 1362 0x0a, 0x17, 0x55, 0x53, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x45, 1363 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x47, 1364 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x45, 0x4e, 1365 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x55, 1366 0x53, 0x54, 0x4f, 0x4d, 0x45, 0x52, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x44, 0x5f, 0x45, 1367 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x42, 0xff, 0x01, 0x0a, 0x24, 1368 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x70, 0x61, 0x6e, 0x6e, 1369 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 1370 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74, 1371 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 1372 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 1373 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x6e, 1374 0x65, 0x72, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 1375 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0xaa, 0x02, 0x26, 1376 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x70, 0x61, 1377 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 1378 0x61, 0x73, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 1379 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x5c, 0x41, 0x64, 1380 0x6d, 0x69, 0x6e, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0xea, 1381 0x02, 0x2b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 1382 0x3a, 0x53, 0x70, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x3a, 1383 0x3a, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 1384 0x72, 0x6f, 0x74, 0x6f, 0x33, 1385} 1386 1387var ( 1388 file_google_spanner_admin_database_v1_backup_proto_rawDescOnce sync.Once 1389 file_google_spanner_admin_database_v1_backup_proto_rawDescData = file_google_spanner_admin_database_v1_backup_proto_rawDesc 1390) 1391 1392func file_google_spanner_admin_database_v1_backup_proto_rawDescGZIP() []byte { 1393 file_google_spanner_admin_database_v1_backup_proto_rawDescOnce.Do(func() { 1394 file_google_spanner_admin_database_v1_backup_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_spanner_admin_database_v1_backup_proto_rawDescData) 1395 }) 1396 return file_google_spanner_admin_database_v1_backup_proto_rawDescData 1397} 1398 1399var file_google_spanner_admin_database_v1_backup_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 1400var file_google_spanner_admin_database_v1_backup_proto_msgTypes = make([]protoimpl.MessageInfo, 12) 1401var file_google_spanner_admin_database_v1_backup_proto_goTypes = []interface{}{ 1402 (Backup_State)(0), // 0: google.spanner.admin.database.v1.Backup.State 1403 (CreateBackupEncryptionConfig_EncryptionType)(0), // 1: google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType 1404 (*Backup)(nil), // 2: google.spanner.admin.database.v1.Backup 1405 (*CreateBackupRequest)(nil), // 3: google.spanner.admin.database.v1.CreateBackupRequest 1406 (*CreateBackupMetadata)(nil), // 4: google.spanner.admin.database.v1.CreateBackupMetadata 1407 (*UpdateBackupRequest)(nil), // 5: google.spanner.admin.database.v1.UpdateBackupRequest 1408 (*GetBackupRequest)(nil), // 6: google.spanner.admin.database.v1.GetBackupRequest 1409 (*DeleteBackupRequest)(nil), // 7: google.spanner.admin.database.v1.DeleteBackupRequest 1410 (*ListBackupsRequest)(nil), // 8: google.spanner.admin.database.v1.ListBackupsRequest 1411 (*ListBackupsResponse)(nil), // 9: google.spanner.admin.database.v1.ListBackupsResponse 1412 (*ListBackupOperationsRequest)(nil), // 10: google.spanner.admin.database.v1.ListBackupOperationsRequest 1413 (*ListBackupOperationsResponse)(nil), // 11: google.spanner.admin.database.v1.ListBackupOperationsResponse 1414 (*BackupInfo)(nil), // 12: google.spanner.admin.database.v1.BackupInfo 1415 (*CreateBackupEncryptionConfig)(nil), // 13: google.spanner.admin.database.v1.CreateBackupEncryptionConfig 1416 (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp 1417 (*EncryptionInfo)(nil), // 15: google.spanner.admin.database.v1.EncryptionInfo 1418 (*OperationProgress)(nil), // 16: google.spanner.admin.database.v1.OperationProgress 1419 (*fieldmaskpb.FieldMask)(nil), // 17: google.protobuf.FieldMask 1420 (*longrunning.Operation)(nil), // 18: google.longrunning.Operation 1421} 1422var file_google_spanner_admin_database_v1_backup_proto_depIdxs = []int32{ 1423 14, // 0: google.spanner.admin.database.v1.Backup.version_time:type_name -> google.protobuf.Timestamp 1424 14, // 1: google.spanner.admin.database.v1.Backup.expire_time:type_name -> google.protobuf.Timestamp 1425 14, // 2: google.spanner.admin.database.v1.Backup.create_time:type_name -> google.protobuf.Timestamp 1426 0, // 3: google.spanner.admin.database.v1.Backup.state:type_name -> google.spanner.admin.database.v1.Backup.State 1427 15, // 4: google.spanner.admin.database.v1.Backup.encryption_info:type_name -> google.spanner.admin.database.v1.EncryptionInfo 1428 2, // 5: google.spanner.admin.database.v1.CreateBackupRequest.backup:type_name -> google.spanner.admin.database.v1.Backup 1429 13, // 6: google.spanner.admin.database.v1.CreateBackupRequest.encryption_config:type_name -> google.spanner.admin.database.v1.CreateBackupEncryptionConfig 1430 16, // 7: google.spanner.admin.database.v1.CreateBackupMetadata.progress:type_name -> google.spanner.admin.database.v1.OperationProgress 1431 14, // 8: google.spanner.admin.database.v1.CreateBackupMetadata.cancel_time:type_name -> google.protobuf.Timestamp 1432 2, // 9: google.spanner.admin.database.v1.UpdateBackupRequest.backup:type_name -> google.spanner.admin.database.v1.Backup 1433 17, // 10: google.spanner.admin.database.v1.UpdateBackupRequest.update_mask:type_name -> google.protobuf.FieldMask 1434 2, // 11: google.spanner.admin.database.v1.ListBackupsResponse.backups:type_name -> google.spanner.admin.database.v1.Backup 1435 18, // 12: google.spanner.admin.database.v1.ListBackupOperationsResponse.operations:type_name -> google.longrunning.Operation 1436 14, // 13: google.spanner.admin.database.v1.BackupInfo.version_time:type_name -> google.protobuf.Timestamp 1437 14, // 14: google.spanner.admin.database.v1.BackupInfo.create_time:type_name -> google.protobuf.Timestamp 1438 1, // 15: google.spanner.admin.database.v1.CreateBackupEncryptionConfig.encryption_type:type_name -> google.spanner.admin.database.v1.CreateBackupEncryptionConfig.EncryptionType 1439 16, // [16:16] is the sub-list for method output_type 1440 16, // [16:16] is the sub-list for method input_type 1441 16, // [16:16] is the sub-list for extension type_name 1442 16, // [16:16] is the sub-list for extension extendee 1443 0, // [0:16] is the sub-list for field type_name 1444} 1445 1446func init() { file_google_spanner_admin_database_v1_backup_proto_init() } 1447func file_google_spanner_admin_database_v1_backup_proto_init() { 1448 if File_google_spanner_admin_database_v1_backup_proto != nil { 1449 return 1450 } 1451 file_google_spanner_admin_database_v1_common_proto_init() 1452 if !protoimpl.UnsafeEnabled { 1453 file_google_spanner_admin_database_v1_backup_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1454 switch v := v.(*Backup); i { 1455 case 0: 1456 return &v.state 1457 case 1: 1458 return &v.sizeCache 1459 case 2: 1460 return &v.unknownFields 1461 default: 1462 return nil 1463 } 1464 } 1465 file_google_spanner_admin_database_v1_backup_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1466 switch v := v.(*CreateBackupRequest); i { 1467 case 0: 1468 return &v.state 1469 case 1: 1470 return &v.sizeCache 1471 case 2: 1472 return &v.unknownFields 1473 default: 1474 return nil 1475 } 1476 } 1477 file_google_spanner_admin_database_v1_backup_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1478 switch v := v.(*CreateBackupMetadata); i { 1479 case 0: 1480 return &v.state 1481 case 1: 1482 return &v.sizeCache 1483 case 2: 1484 return &v.unknownFields 1485 default: 1486 return nil 1487 } 1488 } 1489 file_google_spanner_admin_database_v1_backup_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1490 switch v := v.(*UpdateBackupRequest); i { 1491 case 0: 1492 return &v.state 1493 case 1: 1494 return &v.sizeCache 1495 case 2: 1496 return &v.unknownFields 1497 default: 1498 return nil 1499 } 1500 } 1501 file_google_spanner_admin_database_v1_backup_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1502 switch v := v.(*GetBackupRequest); i { 1503 case 0: 1504 return &v.state 1505 case 1: 1506 return &v.sizeCache 1507 case 2: 1508 return &v.unknownFields 1509 default: 1510 return nil 1511 } 1512 } 1513 file_google_spanner_admin_database_v1_backup_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1514 switch v := v.(*DeleteBackupRequest); i { 1515 case 0: 1516 return &v.state 1517 case 1: 1518 return &v.sizeCache 1519 case 2: 1520 return &v.unknownFields 1521 default: 1522 return nil 1523 } 1524 } 1525 file_google_spanner_admin_database_v1_backup_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1526 switch v := v.(*ListBackupsRequest); i { 1527 case 0: 1528 return &v.state 1529 case 1: 1530 return &v.sizeCache 1531 case 2: 1532 return &v.unknownFields 1533 default: 1534 return nil 1535 } 1536 } 1537 file_google_spanner_admin_database_v1_backup_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1538 switch v := v.(*ListBackupsResponse); i { 1539 case 0: 1540 return &v.state 1541 case 1: 1542 return &v.sizeCache 1543 case 2: 1544 return &v.unknownFields 1545 default: 1546 return nil 1547 } 1548 } 1549 file_google_spanner_admin_database_v1_backup_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1550 switch v := v.(*ListBackupOperationsRequest); i { 1551 case 0: 1552 return &v.state 1553 case 1: 1554 return &v.sizeCache 1555 case 2: 1556 return &v.unknownFields 1557 default: 1558 return nil 1559 } 1560 } 1561 file_google_spanner_admin_database_v1_backup_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1562 switch v := v.(*ListBackupOperationsResponse); i { 1563 case 0: 1564 return &v.state 1565 case 1: 1566 return &v.sizeCache 1567 case 2: 1568 return &v.unknownFields 1569 default: 1570 return nil 1571 } 1572 } 1573 file_google_spanner_admin_database_v1_backup_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1574 switch v := v.(*BackupInfo); i { 1575 case 0: 1576 return &v.state 1577 case 1: 1578 return &v.sizeCache 1579 case 2: 1580 return &v.unknownFields 1581 default: 1582 return nil 1583 } 1584 } 1585 file_google_spanner_admin_database_v1_backup_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1586 switch v := v.(*CreateBackupEncryptionConfig); i { 1587 case 0: 1588 return &v.state 1589 case 1: 1590 return &v.sizeCache 1591 case 2: 1592 return &v.unknownFields 1593 default: 1594 return nil 1595 } 1596 } 1597 } 1598 type x struct{} 1599 out := protoimpl.TypeBuilder{ 1600 File: protoimpl.DescBuilder{ 1601 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1602 RawDescriptor: file_google_spanner_admin_database_v1_backup_proto_rawDesc, 1603 NumEnums: 2, 1604 NumMessages: 12, 1605 NumExtensions: 0, 1606 NumServices: 0, 1607 }, 1608 GoTypes: file_google_spanner_admin_database_v1_backup_proto_goTypes, 1609 DependencyIndexes: file_google_spanner_admin_database_v1_backup_proto_depIdxs, 1610 EnumInfos: file_google_spanner_admin_database_v1_backup_proto_enumTypes, 1611 MessageInfos: file_google_spanner_admin_database_v1_backup_proto_msgTypes, 1612 }.Build() 1613 File_google_spanner_admin_database_v1_backup_proto = out.File 1614 file_google_spanner_admin_database_v1_backup_proto_rawDesc = nil 1615 file_google_spanner_admin_database_v1_backup_proto_goTypes = nil 1616 file_google_spanner_admin_database_v1_backup_proto_depIdxs = nil 1617} 1618