1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/bigtable/admin/v2/instance.proto 20 21package admin 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30) 31 32const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37) 38 39// Possible states of an instance. 40type Instance_State int32 41 42const ( 43 // The state of the instance could not be determined. 44 Instance_STATE_NOT_KNOWN Instance_State = 0 45 // The instance has been successfully created and can serve requests 46 // to its tables. 47 Instance_READY Instance_State = 1 48 // The instance is currently being created, and may be destroyed 49 // if the creation process encounters an error. 50 Instance_CREATING Instance_State = 2 51) 52 53// Enum value maps for Instance_State. 54var ( 55 Instance_State_name = map[int32]string{ 56 0: "STATE_NOT_KNOWN", 57 1: "READY", 58 2: "CREATING", 59 } 60 Instance_State_value = map[string]int32{ 61 "STATE_NOT_KNOWN": 0, 62 "READY": 1, 63 "CREATING": 2, 64 } 65) 66 67func (x Instance_State) Enum() *Instance_State { 68 p := new(Instance_State) 69 *p = x 70 return p 71} 72 73func (x Instance_State) String() string { 74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 75} 76 77func (Instance_State) Descriptor() protoreflect.EnumDescriptor { 78 return file_google_bigtable_admin_v2_instance_proto_enumTypes[0].Descriptor() 79} 80 81func (Instance_State) Type() protoreflect.EnumType { 82 return &file_google_bigtable_admin_v2_instance_proto_enumTypes[0] 83} 84 85func (x Instance_State) Number() protoreflect.EnumNumber { 86 return protoreflect.EnumNumber(x) 87} 88 89// Deprecated: Use Instance_State.Descriptor instead. 90func (Instance_State) EnumDescriptor() ([]byte, []int) { 91 return file_google_bigtable_admin_v2_instance_proto_rawDescGZIP(), []int{0, 0} 92} 93 94// The type of the instance. 95type Instance_Type int32 96 97const ( 98 // The type of the instance is unspecified. If set when creating an 99 // instance, a `PRODUCTION` instance will be created. If set when updating 100 // an instance, the type will be left unchanged. 101 Instance_TYPE_UNSPECIFIED Instance_Type = 0 102 // An instance meant for production use. `serve_nodes` must be set 103 // on the cluster. 104 Instance_PRODUCTION Instance_Type = 1 105 // The instance is meant for development and testing purposes only; it has 106 // no performance or uptime guarantees and is not covered by SLA. 107 // After a development instance is created, it can be upgraded by 108 // updating the instance to type `PRODUCTION`. An instance created 109 // as a production instance cannot be changed to a development instance. 110 // When creating a development instance, `serve_nodes` on the cluster must 111 // not be set. 112 Instance_DEVELOPMENT Instance_Type = 2 113) 114 115// Enum value maps for Instance_Type. 116var ( 117 Instance_Type_name = map[int32]string{ 118 0: "TYPE_UNSPECIFIED", 119 1: "PRODUCTION", 120 2: "DEVELOPMENT", 121 } 122 Instance_Type_value = map[string]int32{ 123 "TYPE_UNSPECIFIED": 0, 124 "PRODUCTION": 1, 125 "DEVELOPMENT": 2, 126 } 127) 128 129func (x Instance_Type) Enum() *Instance_Type { 130 p := new(Instance_Type) 131 *p = x 132 return p 133} 134 135func (x Instance_Type) String() string { 136 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 137} 138 139func (Instance_Type) Descriptor() protoreflect.EnumDescriptor { 140 return file_google_bigtable_admin_v2_instance_proto_enumTypes[1].Descriptor() 141} 142 143func (Instance_Type) Type() protoreflect.EnumType { 144 return &file_google_bigtable_admin_v2_instance_proto_enumTypes[1] 145} 146 147func (x Instance_Type) Number() protoreflect.EnumNumber { 148 return protoreflect.EnumNumber(x) 149} 150 151// Deprecated: Use Instance_Type.Descriptor instead. 152func (Instance_Type) EnumDescriptor() ([]byte, []int) { 153 return file_google_bigtable_admin_v2_instance_proto_rawDescGZIP(), []int{0, 1} 154} 155 156// Possible states of a cluster. 157type Cluster_State int32 158 159const ( 160 // The state of the cluster could not be determined. 161 Cluster_STATE_NOT_KNOWN Cluster_State = 0 162 // The cluster has been successfully created and is ready to serve requests. 163 Cluster_READY Cluster_State = 1 164 // The cluster is currently being created, and may be destroyed 165 // if the creation process encounters an error. 166 // A cluster may not be able to serve requests while being created. 167 Cluster_CREATING Cluster_State = 2 168 // The cluster is currently being resized, and may revert to its previous 169 // node count if the process encounters an error. 170 // A cluster is still capable of serving requests while being resized, 171 // but may exhibit performance as if its number of allocated nodes is 172 // between the starting and requested states. 173 Cluster_RESIZING Cluster_State = 3 174 // The cluster has no backing nodes. The data (tables) still 175 // exist, but no operations can be performed on the cluster. 176 Cluster_DISABLED Cluster_State = 4 177) 178 179// Enum value maps for Cluster_State. 180var ( 181 Cluster_State_name = map[int32]string{ 182 0: "STATE_NOT_KNOWN", 183 1: "READY", 184 2: "CREATING", 185 3: "RESIZING", 186 4: "DISABLED", 187 } 188 Cluster_State_value = map[string]int32{ 189 "STATE_NOT_KNOWN": 0, 190 "READY": 1, 191 "CREATING": 2, 192 "RESIZING": 3, 193 "DISABLED": 4, 194 } 195) 196 197func (x Cluster_State) Enum() *Cluster_State { 198 p := new(Cluster_State) 199 *p = x 200 return p 201} 202 203func (x Cluster_State) String() string { 204 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 205} 206 207func (Cluster_State) Descriptor() protoreflect.EnumDescriptor { 208 return file_google_bigtable_admin_v2_instance_proto_enumTypes[2].Descriptor() 209} 210 211func (Cluster_State) Type() protoreflect.EnumType { 212 return &file_google_bigtable_admin_v2_instance_proto_enumTypes[2] 213} 214 215func (x Cluster_State) Number() protoreflect.EnumNumber { 216 return protoreflect.EnumNumber(x) 217} 218 219// Deprecated: Use Cluster_State.Descriptor instead. 220func (Cluster_State) EnumDescriptor() ([]byte, []int) { 221 return file_google_bigtable_admin_v2_instance_proto_rawDescGZIP(), []int{1, 0} 222} 223 224// A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and 225// the resources that serve them. 226// All tables in an instance are served from all 227// [Clusters][google.bigtable.admin.v2.Cluster] in the instance. 228type Instance struct { 229 state protoimpl.MessageState 230 sizeCache protoimpl.SizeCache 231 unknownFields protoimpl.UnknownFields 232 233 // The unique name of the instance. Values are of the form 234 // `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`. 235 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 236 // Required. The descriptive name for this instance as it appears in UIs. 237 // Can be changed at any time, but should be kept globally unique 238 // to avoid confusion. 239 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 240 // (`OutputOnly`) 241 // The current state of the instance. 242 State Instance_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.bigtable.admin.v2.Instance_State" json:"state,omitempty"` 243 // The type of the instance. Defaults to `PRODUCTION`. 244 Type Instance_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.bigtable.admin.v2.Instance_Type" json:"type,omitempty"` 245 // Labels are a flexible and lightweight mechanism for organizing cloud 246 // resources into groups that reflect a customer's organizational needs and 247 // deployment strategies. They can be used to filter resources and aggregate 248 // metrics. 249 // 250 // * Label keys must be between 1 and 63 characters long and must conform to 251 // the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`. 252 // * Label values must be between 0 and 63 characters long and must conform to 253 // the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`. 254 // * No more than 64 labels can be associated with a given resource. 255 // * Keys and values must both be under 128 bytes. 256 Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 257} 258 259func (x *Instance) Reset() { 260 *x = Instance{} 261 if protoimpl.UnsafeEnabled { 262 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[0] 263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 264 ms.StoreMessageInfo(mi) 265 } 266} 267 268func (x *Instance) String() string { 269 return protoimpl.X.MessageStringOf(x) 270} 271 272func (*Instance) ProtoMessage() {} 273 274func (x *Instance) ProtoReflect() protoreflect.Message { 275 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[0] 276 if protoimpl.UnsafeEnabled && x != nil { 277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 278 if ms.LoadMessageInfo() == nil { 279 ms.StoreMessageInfo(mi) 280 } 281 return ms 282 } 283 return mi.MessageOf(x) 284} 285 286// Deprecated: Use Instance.ProtoReflect.Descriptor instead. 287func (*Instance) Descriptor() ([]byte, []int) { 288 return file_google_bigtable_admin_v2_instance_proto_rawDescGZIP(), []int{0} 289} 290 291func (x *Instance) GetName() string { 292 if x != nil { 293 return x.Name 294 } 295 return "" 296} 297 298func (x *Instance) GetDisplayName() string { 299 if x != nil { 300 return x.DisplayName 301 } 302 return "" 303} 304 305func (x *Instance) GetState() Instance_State { 306 if x != nil { 307 return x.State 308 } 309 return Instance_STATE_NOT_KNOWN 310} 311 312func (x *Instance) GetType() Instance_Type { 313 if x != nil { 314 return x.Type 315 } 316 return Instance_TYPE_UNSPECIFIED 317} 318 319func (x *Instance) GetLabels() map[string]string { 320 if x != nil { 321 return x.Labels 322 } 323 return nil 324} 325 326// A resizable group of nodes in a particular cloud location, capable 327// of serving all [Tables][google.bigtable.admin.v2.Table] in the parent 328// [Instance][google.bigtable.admin.v2.Instance]. 329type Cluster struct { 330 state protoimpl.MessageState 331 sizeCache protoimpl.SizeCache 332 unknownFields protoimpl.UnknownFields 333 334 // The unique name of the cluster. Values are of the form 335 // `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`. 336 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 337 // (`CreationOnly`) 338 // The location where this cluster's nodes and storage reside. For best 339 // performance, clients should be located as close as possible to this 340 // cluster. Currently only zones are supported, so values should be of the 341 // form `projects/{project}/locations/{zone}`. 342 Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` 343 // The current state of the cluster. 344 State Cluster_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.bigtable.admin.v2.Cluster_State" json:"state,omitempty"` 345 // Required. The number of nodes allocated to this cluster. More nodes enable 346 // higher throughput and more consistent performance. 347 ServeNodes int32 `protobuf:"varint,4,opt,name=serve_nodes,json=serveNodes,proto3" json:"serve_nodes,omitempty"` 348 // (`CreationOnly`) 349 // The type of storage used by this cluster to serve its 350 // parent instance's tables, unless explicitly overridden. 351 DefaultStorageType StorageType `protobuf:"varint,5,opt,name=default_storage_type,json=defaultStorageType,proto3,enum=google.bigtable.admin.v2.StorageType" json:"default_storage_type,omitempty"` 352 // Immutable. The encryption configuration for CMEK-protected clusters. 353 EncryptionConfig *Cluster_EncryptionConfig `protobuf:"bytes,6,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"` 354} 355 356func (x *Cluster) Reset() { 357 *x = Cluster{} 358 if protoimpl.UnsafeEnabled { 359 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[1] 360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 361 ms.StoreMessageInfo(mi) 362 } 363} 364 365func (x *Cluster) String() string { 366 return protoimpl.X.MessageStringOf(x) 367} 368 369func (*Cluster) ProtoMessage() {} 370 371func (x *Cluster) ProtoReflect() protoreflect.Message { 372 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[1] 373 if protoimpl.UnsafeEnabled && x != nil { 374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 375 if ms.LoadMessageInfo() == nil { 376 ms.StoreMessageInfo(mi) 377 } 378 return ms 379 } 380 return mi.MessageOf(x) 381} 382 383// Deprecated: Use Cluster.ProtoReflect.Descriptor instead. 384func (*Cluster) Descriptor() ([]byte, []int) { 385 return file_google_bigtable_admin_v2_instance_proto_rawDescGZIP(), []int{1} 386} 387 388func (x *Cluster) GetName() string { 389 if x != nil { 390 return x.Name 391 } 392 return "" 393} 394 395func (x *Cluster) GetLocation() string { 396 if x != nil { 397 return x.Location 398 } 399 return "" 400} 401 402func (x *Cluster) GetState() Cluster_State { 403 if x != nil { 404 return x.State 405 } 406 return Cluster_STATE_NOT_KNOWN 407} 408 409func (x *Cluster) GetServeNodes() int32 { 410 if x != nil { 411 return x.ServeNodes 412 } 413 return 0 414} 415 416func (x *Cluster) GetDefaultStorageType() StorageType { 417 if x != nil { 418 return x.DefaultStorageType 419 } 420 return StorageType_STORAGE_TYPE_UNSPECIFIED 421} 422 423func (x *Cluster) GetEncryptionConfig() *Cluster_EncryptionConfig { 424 if x != nil { 425 return x.EncryptionConfig 426 } 427 return nil 428} 429 430// A configuration object describing how Cloud Bigtable should treat traffic 431// from a particular end user application. 432type AppProfile struct { 433 state protoimpl.MessageState 434 sizeCache protoimpl.SizeCache 435 unknownFields protoimpl.UnknownFields 436 437 // (`OutputOnly`) 438 // The unique name of the app profile. Values are of the form 439 // `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. 440 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 441 // Strongly validated etag for optimistic concurrency control. Preserve the 442 // value returned from `GetAppProfile` when calling `UpdateAppProfile` to 443 // fail the request if there has been a modification in the mean time. The 444 // `update_mask` of the request need not include `etag` for this protection 445 // to apply. 446 // See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and 447 // [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more 448 // details. 449 Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` 450 // Optional long form description of the use case for this AppProfile. 451 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 452 // The routing policy for all read/write requests that use this app profile. 453 // A value must be explicitly set. 454 // 455 // Types that are assignable to RoutingPolicy: 456 // *AppProfile_MultiClusterRoutingUseAny_ 457 // *AppProfile_SingleClusterRouting_ 458 RoutingPolicy isAppProfile_RoutingPolicy `protobuf_oneof:"routing_policy"` 459} 460 461func (x *AppProfile) Reset() { 462 *x = AppProfile{} 463 if protoimpl.UnsafeEnabled { 464 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[2] 465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 466 ms.StoreMessageInfo(mi) 467 } 468} 469 470func (x *AppProfile) String() string { 471 return protoimpl.X.MessageStringOf(x) 472} 473 474func (*AppProfile) ProtoMessage() {} 475 476func (x *AppProfile) ProtoReflect() protoreflect.Message { 477 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[2] 478 if protoimpl.UnsafeEnabled && x != nil { 479 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 480 if ms.LoadMessageInfo() == nil { 481 ms.StoreMessageInfo(mi) 482 } 483 return ms 484 } 485 return mi.MessageOf(x) 486} 487 488// Deprecated: Use AppProfile.ProtoReflect.Descriptor instead. 489func (*AppProfile) Descriptor() ([]byte, []int) { 490 return file_google_bigtable_admin_v2_instance_proto_rawDescGZIP(), []int{2} 491} 492 493func (x *AppProfile) GetName() string { 494 if x != nil { 495 return x.Name 496 } 497 return "" 498} 499 500func (x *AppProfile) GetEtag() string { 501 if x != nil { 502 return x.Etag 503 } 504 return "" 505} 506 507func (x *AppProfile) GetDescription() string { 508 if x != nil { 509 return x.Description 510 } 511 return "" 512} 513 514func (m *AppProfile) GetRoutingPolicy() isAppProfile_RoutingPolicy { 515 if m != nil { 516 return m.RoutingPolicy 517 } 518 return nil 519} 520 521func (x *AppProfile) GetMultiClusterRoutingUseAny() *AppProfile_MultiClusterRoutingUseAny { 522 if x, ok := x.GetRoutingPolicy().(*AppProfile_MultiClusterRoutingUseAny_); ok { 523 return x.MultiClusterRoutingUseAny 524 } 525 return nil 526} 527 528func (x *AppProfile) GetSingleClusterRouting() *AppProfile_SingleClusterRouting { 529 if x, ok := x.GetRoutingPolicy().(*AppProfile_SingleClusterRouting_); ok { 530 return x.SingleClusterRouting 531 } 532 return nil 533} 534 535type isAppProfile_RoutingPolicy interface { 536 isAppProfile_RoutingPolicy() 537} 538 539type AppProfile_MultiClusterRoutingUseAny_ struct { 540 // Use a multi-cluster routing policy. 541 MultiClusterRoutingUseAny *AppProfile_MultiClusterRoutingUseAny `protobuf:"bytes,5,opt,name=multi_cluster_routing_use_any,json=multiClusterRoutingUseAny,proto3,oneof"` 542} 543 544type AppProfile_SingleClusterRouting_ struct { 545 // Use a single-cluster routing policy. 546 SingleClusterRouting *AppProfile_SingleClusterRouting `protobuf:"bytes,6,opt,name=single_cluster_routing,json=singleClusterRouting,proto3,oneof"` 547} 548 549func (*AppProfile_MultiClusterRoutingUseAny_) isAppProfile_RoutingPolicy() {} 550 551func (*AppProfile_SingleClusterRouting_) isAppProfile_RoutingPolicy() {} 552 553// Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected 554// cluster. 555type Cluster_EncryptionConfig struct { 556 state protoimpl.MessageState 557 sizeCache protoimpl.SizeCache 558 unknownFields protoimpl.UnknownFields 559 560 // Describes the Cloud KMS encryption key that will be used to protect the 561 // destination Bigtable cluster. The requirements for this key are: 562 // 1) The Cloud Bigtable service account associated with the project that 563 // contains this cluster must be granted the 564 // `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 565 // 2) Only regional keys can be used and the region of the CMEK key must 566 // match the region of the cluster. 567 // 3) All clusters within an instance must use the same CMEK key. 568 KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` 569} 570 571func (x *Cluster_EncryptionConfig) Reset() { 572 *x = Cluster_EncryptionConfig{} 573 if protoimpl.UnsafeEnabled { 574 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[4] 575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 576 ms.StoreMessageInfo(mi) 577 } 578} 579 580func (x *Cluster_EncryptionConfig) String() string { 581 return protoimpl.X.MessageStringOf(x) 582} 583 584func (*Cluster_EncryptionConfig) ProtoMessage() {} 585 586func (x *Cluster_EncryptionConfig) ProtoReflect() protoreflect.Message { 587 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[4] 588 if protoimpl.UnsafeEnabled && x != nil { 589 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 590 if ms.LoadMessageInfo() == nil { 591 ms.StoreMessageInfo(mi) 592 } 593 return ms 594 } 595 return mi.MessageOf(x) 596} 597 598// Deprecated: Use Cluster_EncryptionConfig.ProtoReflect.Descriptor instead. 599func (*Cluster_EncryptionConfig) Descriptor() ([]byte, []int) { 600 return file_google_bigtable_admin_v2_instance_proto_rawDescGZIP(), []int{1, 0} 601} 602 603func (x *Cluster_EncryptionConfig) GetKmsKeyName() string { 604 if x != nil { 605 return x.KmsKeyName 606 } 607 return "" 608} 609 610// Read/write requests are routed to the nearest cluster in the instance, and 611// will fail over to the nearest cluster that is available in the event of 612// transient errors or delays. Clusters in a region are considered 613// equidistant. Choosing this option sacrifices read-your-writes consistency 614// to improve availability. 615type AppProfile_MultiClusterRoutingUseAny struct { 616 state protoimpl.MessageState 617 sizeCache protoimpl.SizeCache 618 unknownFields protoimpl.UnknownFields 619} 620 621func (x *AppProfile_MultiClusterRoutingUseAny) Reset() { 622 *x = AppProfile_MultiClusterRoutingUseAny{} 623 if protoimpl.UnsafeEnabled { 624 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[5] 625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 626 ms.StoreMessageInfo(mi) 627 } 628} 629 630func (x *AppProfile_MultiClusterRoutingUseAny) String() string { 631 return protoimpl.X.MessageStringOf(x) 632} 633 634func (*AppProfile_MultiClusterRoutingUseAny) ProtoMessage() {} 635 636func (x *AppProfile_MultiClusterRoutingUseAny) ProtoReflect() protoreflect.Message { 637 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[5] 638 if protoimpl.UnsafeEnabled && x != nil { 639 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 640 if ms.LoadMessageInfo() == nil { 641 ms.StoreMessageInfo(mi) 642 } 643 return ms 644 } 645 return mi.MessageOf(x) 646} 647 648// Deprecated: Use AppProfile_MultiClusterRoutingUseAny.ProtoReflect.Descriptor instead. 649func (*AppProfile_MultiClusterRoutingUseAny) Descriptor() ([]byte, []int) { 650 return file_google_bigtable_admin_v2_instance_proto_rawDescGZIP(), []int{2, 0} 651} 652 653// Unconditionally routes all read/write requests to a specific cluster. 654// This option preserves read-your-writes consistency but does not improve 655// availability. 656type AppProfile_SingleClusterRouting struct { 657 state protoimpl.MessageState 658 sizeCache protoimpl.SizeCache 659 unknownFields protoimpl.UnknownFields 660 661 // The cluster to which read/write requests should be routed. 662 ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` 663 // Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are 664 // allowed by this app profile. It is unsafe to send these requests to 665 // the same table/row/column in multiple clusters. 666 AllowTransactionalWrites bool `protobuf:"varint,2,opt,name=allow_transactional_writes,json=allowTransactionalWrites,proto3" json:"allow_transactional_writes,omitempty"` 667} 668 669func (x *AppProfile_SingleClusterRouting) Reset() { 670 *x = AppProfile_SingleClusterRouting{} 671 if protoimpl.UnsafeEnabled { 672 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[6] 673 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 674 ms.StoreMessageInfo(mi) 675 } 676} 677 678func (x *AppProfile_SingleClusterRouting) String() string { 679 return protoimpl.X.MessageStringOf(x) 680} 681 682func (*AppProfile_SingleClusterRouting) ProtoMessage() {} 683 684func (x *AppProfile_SingleClusterRouting) ProtoReflect() protoreflect.Message { 685 mi := &file_google_bigtable_admin_v2_instance_proto_msgTypes[6] 686 if protoimpl.UnsafeEnabled && x != nil { 687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 688 if ms.LoadMessageInfo() == nil { 689 ms.StoreMessageInfo(mi) 690 } 691 return ms 692 } 693 return mi.MessageOf(x) 694} 695 696// Deprecated: Use AppProfile_SingleClusterRouting.ProtoReflect.Descriptor instead. 697func (*AppProfile_SingleClusterRouting) Descriptor() ([]byte, []int) { 698 return file_google_bigtable_admin_v2_instance_proto_rawDescGZIP(), []int{2, 1} 699} 700 701func (x *AppProfile_SingleClusterRouting) GetClusterId() string { 702 if x != nil { 703 return x.ClusterId 704 } 705 return "" 706} 707 708func (x *AppProfile_SingleClusterRouting) GetAllowTransactionalWrites() bool { 709 if x != nil { 710 return x.AllowTransactionalWrites 711 } 712 return false 713} 714 715var File_google_bigtable_admin_v2_instance_proto protoreflect.FileDescriptor 716 717var file_google_bigtable_admin_v2_instance_proto_rawDesc = []byte{ 718 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 719 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 720 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 721 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 722 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 723 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 724 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 725 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 726 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 727 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 728 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x04, 0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74, 0x61, 729 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 730 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 731 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 732 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 733 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 734 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 735 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x49, 736 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 737 0x74, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 738 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 739 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6e, 740 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 741 0x65, 0x12, 0x46, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 742 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 743 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6e, 0x73, 744 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 745 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 746 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 747 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 748 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 749 0x3a, 0x02, 0x38, 0x01, 0x22, 0x35, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x13, 0x0a, 750 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 751 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a, 752 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x3d, 0x0a, 0x04, 0x54, 753 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 754 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 755 0x44, 0x55, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x45, 0x56, 756 0x45, 0x4c, 0x4f, 0x50, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x3a, 0x4e, 0xea, 0x41, 0x4b, 0x0a, 757 0x20, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 758 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 759 0x65, 0x12, 0x27, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 760 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 761 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x22, 0xa2, 0x05, 0x0a, 0x07, 0x43, 762 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 763 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 764 0x42, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 765 0x09, 0x42, 0x26, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 766 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 767 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 768 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 769 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 770 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 771 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 772 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 773 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 774 0x02, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x57, 0x0a, 775 0x14, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 776 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 777 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 778 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 779 0x70, 0x65, 0x52, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 780 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x64, 0x0a, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 781 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 782 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 783 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x75, 784 0x73, 0x74, 0x65, 0x72, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 785 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x10, 0x65, 0x6e, 0x63, 0x72, 786 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x5c, 0x0a, 0x10, 787 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 788 0x12, 0x48, 0x0a, 0x0c, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 789 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 790 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 791 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x52, 0x0a, 792 0x6b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x05, 0x53, 0x74, 793 0x61, 0x74, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 794 0x5f, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 795 0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 796 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 797 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x3a, 0x60, 0xea, 798 0x41, 0x5d, 0x0a, 0x1f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 799 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x75, 0x73, 800 0x74, 0x65, 0x72, 0x12, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 801 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 802 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 803 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x7d, 0x22, 804 0xde, 0x04, 0x0a, 0x0a, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x12, 805 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 806 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 807 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 808 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 809 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x1d, 0x6d, 0x75, 0x6c, 810 0x74, 0x69, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 811 0x6e, 0x67, 0x5f, 0x75, 0x73, 0x65, 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 812 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 813 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x70, 0x70, 0x50, 814 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73, 815 0x74, 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x65, 0x41, 0x6e, 0x79, 816 0x48, 0x00, 0x52, 0x19, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 817 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x65, 0x41, 0x6e, 0x79, 0x12, 0x71, 0x0a, 818 0x16, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 819 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 820 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 821 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x66, 822 0x69, 0x6c, 0x65, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 823 0x72, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x14, 0x73, 0x69, 0x6e, 0x67, 824 0x6c, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 825 0x1a, 0x1b, 0x0a, 0x19, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 826 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x65, 0x41, 0x6e, 0x79, 0x1a, 0x73, 0x0a, 827 0x14, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 828 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 829 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 830 0x65, 0x72, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x72, 831 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x77, 0x72, 0x69, 0x74, 832 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x54, 833 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x57, 0x72, 0x69, 0x74, 834 0x65, 0x73, 0x3a, 0x6a, 0xea, 0x41, 0x67, 0x0a, 0x22, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 835 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 836 0x2f, 0x41, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x41, 0x70, 0x72, 0x6f, 837 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 838 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 839 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x61, 0x70, 0x70, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 840 0x2f, 0x7b, 0x61, 0x70, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x7d, 0x42, 0x10, 841 0x0a, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 842 0x42, 0xd0, 0x02, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 843 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 844 0x32, 0x42, 0x0d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 845 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 846 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 847 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 848 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x3b, 0x61, 0x64, 0x6d, 0x69, 849 0x6e, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 850 0x2e, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 851 0x56, 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 852 0x64, 0x5c, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 853 0x5c, 0x56, 0x32, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 854 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3a, 0x3a, 0x41, 855 0x64, 0x6d, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x32, 0xea, 0x41, 0x78, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 856 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 857 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x12, 0x53, 858 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 859 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 860 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x52, 0x69, 0x6e, 0x67, 0x73, 861 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x7d, 0x2f, 0x63, 0x72, 0x79, 0x70, 862 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x6b, 863 0x65, 0x79, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 864} 865 866var ( 867 file_google_bigtable_admin_v2_instance_proto_rawDescOnce sync.Once 868 file_google_bigtable_admin_v2_instance_proto_rawDescData = file_google_bigtable_admin_v2_instance_proto_rawDesc 869) 870 871func file_google_bigtable_admin_v2_instance_proto_rawDescGZIP() []byte { 872 file_google_bigtable_admin_v2_instance_proto_rawDescOnce.Do(func() { 873 file_google_bigtable_admin_v2_instance_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_bigtable_admin_v2_instance_proto_rawDescData) 874 }) 875 return file_google_bigtable_admin_v2_instance_proto_rawDescData 876} 877 878var file_google_bigtable_admin_v2_instance_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 879var file_google_bigtable_admin_v2_instance_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 880var file_google_bigtable_admin_v2_instance_proto_goTypes = []interface{}{ 881 (Instance_State)(0), // 0: google.bigtable.admin.v2.Instance.State 882 (Instance_Type)(0), // 1: google.bigtable.admin.v2.Instance.Type 883 (Cluster_State)(0), // 2: google.bigtable.admin.v2.Cluster.State 884 (*Instance)(nil), // 3: google.bigtable.admin.v2.Instance 885 (*Cluster)(nil), // 4: google.bigtable.admin.v2.Cluster 886 (*AppProfile)(nil), // 5: google.bigtable.admin.v2.AppProfile 887 nil, // 6: google.bigtable.admin.v2.Instance.LabelsEntry 888 (*Cluster_EncryptionConfig)(nil), // 7: google.bigtable.admin.v2.Cluster.EncryptionConfig 889 (*AppProfile_MultiClusterRoutingUseAny)(nil), // 8: google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny 890 (*AppProfile_SingleClusterRouting)(nil), // 9: google.bigtable.admin.v2.AppProfile.SingleClusterRouting 891 (StorageType)(0), // 10: google.bigtable.admin.v2.StorageType 892} 893var file_google_bigtable_admin_v2_instance_proto_depIdxs = []int32{ 894 0, // 0: google.bigtable.admin.v2.Instance.state:type_name -> google.bigtable.admin.v2.Instance.State 895 1, // 1: google.bigtable.admin.v2.Instance.type:type_name -> google.bigtable.admin.v2.Instance.Type 896 6, // 2: google.bigtable.admin.v2.Instance.labels:type_name -> google.bigtable.admin.v2.Instance.LabelsEntry 897 2, // 3: google.bigtable.admin.v2.Cluster.state:type_name -> google.bigtable.admin.v2.Cluster.State 898 10, // 4: google.bigtable.admin.v2.Cluster.default_storage_type:type_name -> google.bigtable.admin.v2.StorageType 899 7, // 5: google.bigtable.admin.v2.Cluster.encryption_config:type_name -> google.bigtable.admin.v2.Cluster.EncryptionConfig 900 8, // 6: google.bigtable.admin.v2.AppProfile.multi_cluster_routing_use_any:type_name -> google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny 901 9, // 7: google.bigtable.admin.v2.AppProfile.single_cluster_routing:type_name -> google.bigtable.admin.v2.AppProfile.SingleClusterRouting 902 8, // [8:8] is the sub-list for method output_type 903 8, // [8:8] is the sub-list for method input_type 904 8, // [8:8] is the sub-list for extension type_name 905 8, // [8:8] is the sub-list for extension extendee 906 0, // [0:8] is the sub-list for field type_name 907} 908 909func init() { file_google_bigtable_admin_v2_instance_proto_init() } 910func file_google_bigtable_admin_v2_instance_proto_init() { 911 if File_google_bigtable_admin_v2_instance_proto != nil { 912 return 913 } 914 file_google_bigtable_admin_v2_common_proto_init() 915 if !protoimpl.UnsafeEnabled { 916 file_google_bigtable_admin_v2_instance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 917 switch v := v.(*Instance); i { 918 case 0: 919 return &v.state 920 case 1: 921 return &v.sizeCache 922 case 2: 923 return &v.unknownFields 924 default: 925 return nil 926 } 927 } 928 file_google_bigtable_admin_v2_instance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 929 switch v := v.(*Cluster); i { 930 case 0: 931 return &v.state 932 case 1: 933 return &v.sizeCache 934 case 2: 935 return &v.unknownFields 936 default: 937 return nil 938 } 939 } 940 file_google_bigtable_admin_v2_instance_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 941 switch v := v.(*AppProfile); i { 942 case 0: 943 return &v.state 944 case 1: 945 return &v.sizeCache 946 case 2: 947 return &v.unknownFields 948 default: 949 return nil 950 } 951 } 952 file_google_bigtable_admin_v2_instance_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 953 switch v := v.(*Cluster_EncryptionConfig); i { 954 case 0: 955 return &v.state 956 case 1: 957 return &v.sizeCache 958 case 2: 959 return &v.unknownFields 960 default: 961 return nil 962 } 963 } 964 file_google_bigtable_admin_v2_instance_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 965 switch v := v.(*AppProfile_MultiClusterRoutingUseAny); i { 966 case 0: 967 return &v.state 968 case 1: 969 return &v.sizeCache 970 case 2: 971 return &v.unknownFields 972 default: 973 return nil 974 } 975 } 976 file_google_bigtable_admin_v2_instance_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 977 switch v := v.(*AppProfile_SingleClusterRouting); i { 978 case 0: 979 return &v.state 980 case 1: 981 return &v.sizeCache 982 case 2: 983 return &v.unknownFields 984 default: 985 return nil 986 } 987 } 988 } 989 file_google_bigtable_admin_v2_instance_proto_msgTypes[2].OneofWrappers = []interface{}{ 990 (*AppProfile_MultiClusterRoutingUseAny_)(nil), 991 (*AppProfile_SingleClusterRouting_)(nil), 992 } 993 type x struct{} 994 out := protoimpl.TypeBuilder{ 995 File: protoimpl.DescBuilder{ 996 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 997 RawDescriptor: file_google_bigtable_admin_v2_instance_proto_rawDesc, 998 NumEnums: 3, 999 NumMessages: 7, 1000 NumExtensions: 0, 1001 NumServices: 0, 1002 }, 1003 GoTypes: file_google_bigtable_admin_v2_instance_proto_goTypes, 1004 DependencyIndexes: file_google_bigtable_admin_v2_instance_proto_depIdxs, 1005 EnumInfos: file_google_bigtable_admin_v2_instance_proto_enumTypes, 1006 MessageInfos: file_google_bigtable_admin_v2_instance_proto_msgTypes, 1007 }.Build() 1008 File_google_bigtable_admin_v2_instance_proto = out.File 1009 file_google_bigtable_admin_v2_instance_proto_rawDesc = nil 1010 file_google_bigtable_admin_v2_instance_proto_goTypes = nil 1011 file_google_bigtable_admin_v2_instance_proto_depIdxs = nil 1012} 1013