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