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