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/cloud/redis/v1beta1/cloud_redis.proto 20 21package redis 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 timestamp "github.com/golang/protobuf/ptypes/timestamp" 30 _ "google.golang.org/genproto/googleapis/api/annotations" 31 longrunning "google.golang.org/genproto/googleapis/longrunning" 32 field_mask "google.golang.org/genproto/protobuf/field_mask" 33 grpc "google.golang.org/grpc" 34 codes "google.golang.org/grpc/codes" 35 status "google.golang.org/grpc/status" 36 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 37 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 38) 39 40const ( 41 // Verify that this generated code is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 43 // Verify that runtime/protoimpl is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 45) 46 47// This is a compile-time assertion that a sufficiently up-to-date version 48// of the legacy proto package is being used. 49const _ = proto.ProtoPackageIsVersion4 50 51// Represents the different states of a Redis instance. 52type Instance_State int32 53 54const ( 55 // Not set. 56 Instance_STATE_UNSPECIFIED Instance_State = 0 57 // Redis instance is being created. 58 Instance_CREATING Instance_State = 1 59 // Redis instance has been created and is fully usable. 60 Instance_READY Instance_State = 2 61 // Redis instance configuration is being updated. Certain kinds of updates 62 // may cause the instance to become unusable while the update is in 63 // progress. 64 Instance_UPDATING Instance_State = 3 65 // Redis instance is being deleted. 66 Instance_DELETING Instance_State = 4 67 // Redis instance is being repaired and may be unusable. 68 Instance_REPAIRING Instance_State = 5 69 // Maintenance is being performed on this Redis instance. 70 Instance_MAINTENANCE Instance_State = 6 71 // Redis instance is importing data (availability may be affected). 72 Instance_IMPORTING Instance_State = 8 73 // Redis instance is failing over (availability may be affected). 74 Instance_FAILING_OVER Instance_State = 10 75) 76 77// Enum value maps for Instance_State. 78var ( 79 Instance_State_name = map[int32]string{ 80 0: "STATE_UNSPECIFIED", 81 1: "CREATING", 82 2: "READY", 83 3: "UPDATING", 84 4: "DELETING", 85 5: "REPAIRING", 86 6: "MAINTENANCE", 87 8: "IMPORTING", 88 10: "FAILING_OVER", 89 } 90 Instance_State_value = map[string]int32{ 91 "STATE_UNSPECIFIED": 0, 92 "CREATING": 1, 93 "READY": 2, 94 "UPDATING": 3, 95 "DELETING": 4, 96 "REPAIRING": 5, 97 "MAINTENANCE": 6, 98 "IMPORTING": 8, 99 "FAILING_OVER": 10, 100 } 101) 102 103func (x Instance_State) Enum() *Instance_State { 104 p := new(Instance_State) 105 *p = x 106 return p 107} 108 109func (x Instance_State) String() string { 110 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 111} 112 113func (Instance_State) Descriptor() protoreflect.EnumDescriptor { 114 return file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes[0].Descriptor() 115} 116 117func (Instance_State) Type() protoreflect.EnumType { 118 return &file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes[0] 119} 120 121func (x Instance_State) Number() protoreflect.EnumNumber { 122 return protoreflect.EnumNumber(x) 123} 124 125// Deprecated: Use Instance_State.Descriptor instead. 126func (Instance_State) EnumDescriptor() ([]byte, []int) { 127 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{0, 0} 128} 129 130// Available service tiers to choose from 131type Instance_Tier int32 132 133const ( 134 // Not set. 135 Instance_TIER_UNSPECIFIED Instance_Tier = 0 136 // BASIC tier: standalone instance 137 Instance_BASIC Instance_Tier = 1 138 // STANDARD_HA tier: highly available primary/replica instances 139 Instance_STANDARD_HA Instance_Tier = 3 140) 141 142// Enum value maps for Instance_Tier. 143var ( 144 Instance_Tier_name = map[int32]string{ 145 0: "TIER_UNSPECIFIED", 146 1: "BASIC", 147 3: "STANDARD_HA", 148 } 149 Instance_Tier_value = map[string]int32{ 150 "TIER_UNSPECIFIED": 0, 151 "BASIC": 1, 152 "STANDARD_HA": 3, 153 } 154) 155 156func (x Instance_Tier) Enum() *Instance_Tier { 157 p := new(Instance_Tier) 158 *p = x 159 return p 160} 161 162func (x Instance_Tier) String() string { 163 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 164} 165 166func (Instance_Tier) Descriptor() protoreflect.EnumDescriptor { 167 return file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes[1].Descriptor() 168} 169 170func (Instance_Tier) Type() protoreflect.EnumType { 171 return &file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes[1] 172} 173 174func (x Instance_Tier) Number() protoreflect.EnumNumber { 175 return protoreflect.EnumNumber(x) 176} 177 178// Deprecated: Use Instance_Tier.Descriptor instead. 179func (Instance_Tier) EnumDescriptor() ([]byte, []int) { 180 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{0, 1} 181} 182 183// Available connection modes. 184type Instance_ConnectMode int32 185 186const ( 187 // Not set. 188 Instance_CONNECT_MODE_UNSPECIFIED Instance_ConnectMode = 0 189 // Connect via directly peering with memorystore redis hosted service. 190 Instance_DIRECT_PEERING Instance_ConnectMode = 1 191 // Connect with google via private service access and share connection 192 // across google managed services. 193 Instance_PRIVATE_SERVICE_ACCESS Instance_ConnectMode = 2 194) 195 196// Enum value maps for Instance_ConnectMode. 197var ( 198 Instance_ConnectMode_name = map[int32]string{ 199 0: "CONNECT_MODE_UNSPECIFIED", 200 1: "DIRECT_PEERING", 201 2: "PRIVATE_SERVICE_ACCESS", 202 } 203 Instance_ConnectMode_value = map[string]int32{ 204 "CONNECT_MODE_UNSPECIFIED": 0, 205 "DIRECT_PEERING": 1, 206 "PRIVATE_SERVICE_ACCESS": 2, 207 } 208) 209 210func (x Instance_ConnectMode) Enum() *Instance_ConnectMode { 211 p := new(Instance_ConnectMode) 212 *p = x 213 return p 214} 215 216func (x Instance_ConnectMode) String() string { 217 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 218} 219 220func (Instance_ConnectMode) Descriptor() protoreflect.EnumDescriptor { 221 return file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes[2].Descriptor() 222} 223 224func (Instance_ConnectMode) Type() protoreflect.EnumType { 225 return &file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes[2] 226} 227 228func (x Instance_ConnectMode) Number() protoreflect.EnumNumber { 229 return protoreflect.EnumNumber(x) 230} 231 232// Deprecated: Use Instance_ConnectMode.Descriptor instead. 233func (Instance_ConnectMode) EnumDescriptor() ([]byte, []int) { 234 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{0, 2} 235} 236 237// Specifies different modes of operation in relation to the data retention. 238type FailoverInstanceRequest_DataProtectionMode int32 239 240const ( 241 // Defaults to LIMITED_DATA_LOSS if a data protection mode is not 242 // specified. 243 FailoverInstanceRequest_DATA_PROTECTION_MODE_UNSPECIFIED FailoverInstanceRequest_DataProtectionMode = 0 244 // Instance failover will be protected with data loss control. More 245 // specifically, the failover will only be performed if the current 246 // replication offset diff between master and replica is under a certain 247 // threshold. 248 FailoverInstanceRequest_LIMITED_DATA_LOSS FailoverInstanceRequest_DataProtectionMode = 1 249 // Instance failover will be performed without data loss control. 250 FailoverInstanceRequest_FORCE_DATA_LOSS FailoverInstanceRequest_DataProtectionMode = 2 251) 252 253// Enum value maps for FailoverInstanceRequest_DataProtectionMode. 254var ( 255 FailoverInstanceRequest_DataProtectionMode_name = map[int32]string{ 256 0: "DATA_PROTECTION_MODE_UNSPECIFIED", 257 1: "LIMITED_DATA_LOSS", 258 2: "FORCE_DATA_LOSS", 259 } 260 FailoverInstanceRequest_DataProtectionMode_value = map[string]int32{ 261 "DATA_PROTECTION_MODE_UNSPECIFIED": 0, 262 "LIMITED_DATA_LOSS": 1, 263 "FORCE_DATA_LOSS": 2, 264 } 265) 266 267func (x FailoverInstanceRequest_DataProtectionMode) Enum() *FailoverInstanceRequest_DataProtectionMode { 268 p := new(FailoverInstanceRequest_DataProtectionMode) 269 *p = x 270 return p 271} 272 273func (x FailoverInstanceRequest_DataProtectionMode) String() string { 274 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 275} 276 277func (FailoverInstanceRequest_DataProtectionMode) Descriptor() protoreflect.EnumDescriptor { 278 return file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes[3].Descriptor() 279} 280 281func (FailoverInstanceRequest_DataProtectionMode) Type() protoreflect.EnumType { 282 return &file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes[3] 283} 284 285func (x FailoverInstanceRequest_DataProtectionMode) Number() protoreflect.EnumNumber { 286 return protoreflect.EnumNumber(x) 287} 288 289// Deprecated: Use FailoverInstanceRequest_DataProtectionMode.Descriptor instead. 290func (FailoverInstanceRequest_DataProtectionMode) EnumDescriptor() ([]byte, []int) { 291 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{14, 0} 292} 293 294// A Google Cloud Redis instance. 295type Instance struct { 296 state protoimpl.MessageState 297 sizeCache protoimpl.SizeCache 298 unknownFields protoimpl.UnknownFields 299 300 // Required. Unique name of the resource in this scope including project and 301 // location using the form: 302 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` 303 // 304 // Note: Redis instances are managed and addressed at regional level so 305 // location_id here refers to a GCP region; however, users may choose which 306 // specific zone (or collection of zones for cross-zone instances) an instance 307 // should be provisioned in. Refer to [location_id][google.cloud.redis.v1beta1.Instance.location_id] and 308 // [alternative_location_id][google.cloud.redis.v1beta1.Instance.alternative_location_id] fields for more details. 309 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 310 // An arbitrary and optional user-provided name for the instance. 311 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 312 // Resource labels to represent user provided metadata 313 Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 314 // Optional. The zone where the instance will be provisioned. If not provided, 315 // the service will choose a zone for the instance. For STANDARD_HA tier, 316 // instances will be created across two zones for protection against zonal 317 // failures. If [alternative_location_id][google.cloud.redis.v1beta1.Instance.alternative_location_id] is also provided, it must be 318 // different from [location_id][google.cloud.redis.v1beta1.Instance.location_id]. 319 LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` 320 // Optional. Only applicable to STANDARD_HA tier which protects the instance 321 // against zonal failures by provisioning it across two zones. If provided, it 322 // must be a different zone from the one provided in [location_id][google.cloud.redis.v1beta1.Instance.location_id]. 323 AlternativeLocationId string `protobuf:"bytes,5,opt,name=alternative_location_id,json=alternativeLocationId,proto3" json:"alternative_location_id,omitempty"` 324 // Optional. The version of Redis software. 325 // If not provided, latest supported version will be used. Currently, the 326 // supported values are: 327 // 328 // * `REDIS_3_2` for Redis 3.2 compatibility 329 // * `REDIS_4_0` for Redis 4.0 compatibility (default) 330 // * `REDIS_5_0` for Redis 5.0 compatibility 331 RedisVersion string `protobuf:"bytes,7,opt,name=redis_version,json=redisVersion,proto3" json:"redis_version,omitempty"` 332 // Optional. The CIDR range of internal addresses that are reserved for this 333 // instance. If not provided, the service will choose an unused /29 block, 334 // for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique 335 // and non-overlapping with existing subnets in an authorized network. 336 ReservedIpRange string `protobuf:"bytes,9,opt,name=reserved_ip_range,json=reservedIpRange,proto3" json:"reserved_ip_range,omitempty"` 337 // Output only. Hostname or IP address of the exposed Redis endpoint used by 338 // clients to connect to the service. 339 Host string `protobuf:"bytes,10,opt,name=host,proto3" json:"host,omitempty"` 340 // Output only. The port number of the exposed Redis endpoint. 341 Port int32 `protobuf:"varint,11,opt,name=port,proto3" json:"port,omitempty"` 342 // Output only. The current zone where the Redis endpoint is placed. For Basic 343 // Tier instances, this will always be the same as the [location_id][google.cloud.redis.v1beta1.Instance.location_id] 344 // provided by the user at creation time. For Standard Tier instances, 345 // this can be either [location_id][google.cloud.redis.v1beta1.Instance.location_id] or [alternative_location_id][google.cloud.redis.v1beta1.Instance.alternative_location_id] and can 346 // change after a failover event. 347 CurrentLocationId string `protobuf:"bytes,12,opt,name=current_location_id,json=currentLocationId,proto3" json:"current_location_id,omitempty"` 348 // Output only. The time the instance was created. 349 CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 350 // Output only. The current state of this instance. 351 State Instance_State `protobuf:"varint,14,opt,name=state,proto3,enum=google.cloud.redis.v1beta1.Instance_State" json:"state,omitempty"` 352 // Output only. Additional information about the current status of this 353 // instance, if available. 354 StatusMessage string `protobuf:"bytes,15,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` 355 // Optional. Redis configuration parameters, according to 356 // http://redis.io/topics/config. Currently, the only supported parameters 357 // are: 358 // 359 // Redis version 3.2 and newer: 360 // 361 // * maxmemory-policy 362 // * notify-keyspace-events 363 // 364 // Redis version 4.0 and newer: 365 // 366 // * activedefrag 367 // * lfu-decay-time 368 // * lfu-log-factor 369 // * maxmemory-gb 370 // 371 // Redis version 5.0 and newer: 372 // 373 // * stream-node-max-bytes 374 // * stream-node-max-entries 375 RedisConfigs map[string]string `protobuf:"bytes,16,rep,name=redis_configs,json=redisConfigs,proto3" json:"redis_configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 376 // Required. The service tier of the instance. 377 Tier Instance_Tier `protobuf:"varint,17,opt,name=tier,proto3,enum=google.cloud.redis.v1beta1.Instance_Tier" json:"tier,omitempty"` 378 // Required. Redis memory size in GiB. 379 MemorySizeGb int32 `protobuf:"varint,18,opt,name=memory_size_gb,json=memorySizeGb,proto3" json:"memory_size_gb,omitempty"` 380 // Optional. The full name of the Google Compute Engine 381 // [network](/compute/docs/networks-and-firewalls#networks) to which the 382 // instance is connected. If left unspecified, the `default` network 383 // will be used. 384 AuthorizedNetwork string `protobuf:"bytes,20,opt,name=authorized_network,json=authorizedNetwork,proto3" json:"authorized_network,omitempty"` 385 // Output only. Cloud IAM identity used by import / export operations to 386 // transfer data to/from Cloud Storage. Format is 387 // "serviceAccount:<service_account_email>". The value may change over time 388 // for a given instance so should be checked before each import/export 389 // operation. 390 PersistenceIamIdentity string `protobuf:"bytes,21,opt,name=persistence_iam_identity,json=persistenceIamIdentity,proto3" json:"persistence_iam_identity,omitempty"` 391 // Optional. The connect mode of Redis instance. 392 // If not provided, default one will be used. 393 // Current default: DIRECT_PEERING. 394 ConnectMode Instance_ConnectMode `protobuf:"varint,22,opt,name=connect_mode,json=connectMode,proto3,enum=google.cloud.redis.v1beta1.Instance_ConnectMode" json:"connect_mode,omitempty"` 395} 396 397func (x *Instance) Reset() { 398 *x = Instance{} 399 if protoimpl.UnsafeEnabled { 400 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[0] 401 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 402 ms.StoreMessageInfo(mi) 403 } 404} 405 406func (x *Instance) String() string { 407 return protoimpl.X.MessageStringOf(x) 408} 409 410func (*Instance) ProtoMessage() {} 411 412func (x *Instance) ProtoReflect() protoreflect.Message { 413 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[0] 414 if protoimpl.UnsafeEnabled && x != nil { 415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 416 if ms.LoadMessageInfo() == nil { 417 ms.StoreMessageInfo(mi) 418 } 419 return ms 420 } 421 return mi.MessageOf(x) 422} 423 424// Deprecated: Use Instance.ProtoReflect.Descriptor instead. 425func (*Instance) Descriptor() ([]byte, []int) { 426 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{0} 427} 428 429func (x *Instance) GetName() string { 430 if x != nil { 431 return x.Name 432 } 433 return "" 434} 435 436func (x *Instance) GetDisplayName() string { 437 if x != nil { 438 return x.DisplayName 439 } 440 return "" 441} 442 443func (x *Instance) GetLabels() map[string]string { 444 if x != nil { 445 return x.Labels 446 } 447 return nil 448} 449 450func (x *Instance) GetLocationId() string { 451 if x != nil { 452 return x.LocationId 453 } 454 return "" 455} 456 457func (x *Instance) GetAlternativeLocationId() string { 458 if x != nil { 459 return x.AlternativeLocationId 460 } 461 return "" 462} 463 464func (x *Instance) GetRedisVersion() string { 465 if x != nil { 466 return x.RedisVersion 467 } 468 return "" 469} 470 471func (x *Instance) GetReservedIpRange() string { 472 if x != nil { 473 return x.ReservedIpRange 474 } 475 return "" 476} 477 478func (x *Instance) GetHost() string { 479 if x != nil { 480 return x.Host 481 } 482 return "" 483} 484 485func (x *Instance) GetPort() int32 { 486 if x != nil { 487 return x.Port 488 } 489 return 0 490} 491 492func (x *Instance) GetCurrentLocationId() string { 493 if x != nil { 494 return x.CurrentLocationId 495 } 496 return "" 497} 498 499func (x *Instance) GetCreateTime() *timestamp.Timestamp { 500 if x != nil { 501 return x.CreateTime 502 } 503 return nil 504} 505 506func (x *Instance) GetState() Instance_State { 507 if x != nil { 508 return x.State 509 } 510 return Instance_STATE_UNSPECIFIED 511} 512 513func (x *Instance) GetStatusMessage() string { 514 if x != nil { 515 return x.StatusMessage 516 } 517 return "" 518} 519 520func (x *Instance) GetRedisConfigs() map[string]string { 521 if x != nil { 522 return x.RedisConfigs 523 } 524 return nil 525} 526 527func (x *Instance) GetTier() Instance_Tier { 528 if x != nil { 529 return x.Tier 530 } 531 return Instance_TIER_UNSPECIFIED 532} 533 534func (x *Instance) GetMemorySizeGb() int32 { 535 if x != nil { 536 return x.MemorySizeGb 537 } 538 return 0 539} 540 541func (x *Instance) GetAuthorizedNetwork() string { 542 if x != nil { 543 return x.AuthorizedNetwork 544 } 545 return "" 546} 547 548func (x *Instance) GetPersistenceIamIdentity() string { 549 if x != nil { 550 return x.PersistenceIamIdentity 551 } 552 return "" 553} 554 555func (x *Instance) GetConnectMode() Instance_ConnectMode { 556 if x != nil { 557 return x.ConnectMode 558 } 559 return Instance_CONNECT_MODE_UNSPECIFIED 560} 561 562// Request for [ListInstances][google.cloud.redis.v1beta1.CloudRedis.ListInstances]. 563type ListInstancesRequest struct { 564 state protoimpl.MessageState 565 sizeCache protoimpl.SizeCache 566 unknownFields protoimpl.UnknownFields 567 568 // Required. The resource name of the instance location using the form: 569 // `projects/{project_id}/locations/{location_id}` 570 // where `location_id` refers to a GCP region. 571 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 572 // The maximum number of items to return. 573 // 574 // If not specified, a default value of 1000 will be used by the service. 575 // Regardless of the page_size value, the response may include a partial list 576 // and a caller should only rely on response's 577 // [`next_page_token`][google.cloud.redis.v1beta1.ListInstancesResponse.next_page_token] 578 // to determine if there are more instances left to be queried. 579 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 580 // The `next_page_token` value returned from a previous 581 // [ListInstances][google.cloud.redis.v1beta1.CloudRedis.ListInstances] request, if any. 582 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 583} 584 585func (x *ListInstancesRequest) Reset() { 586 *x = ListInstancesRequest{} 587 if protoimpl.UnsafeEnabled { 588 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[1] 589 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 590 ms.StoreMessageInfo(mi) 591 } 592} 593 594func (x *ListInstancesRequest) String() string { 595 return protoimpl.X.MessageStringOf(x) 596} 597 598func (*ListInstancesRequest) ProtoMessage() {} 599 600func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message { 601 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[1] 602 if protoimpl.UnsafeEnabled && x != nil { 603 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 604 if ms.LoadMessageInfo() == nil { 605 ms.StoreMessageInfo(mi) 606 } 607 return ms 608 } 609 return mi.MessageOf(x) 610} 611 612// Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead. 613func (*ListInstancesRequest) Descriptor() ([]byte, []int) { 614 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{1} 615} 616 617func (x *ListInstancesRequest) GetParent() string { 618 if x != nil { 619 return x.Parent 620 } 621 return "" 622} 623 624func (x *ListInstancesRequest) GetPageSize() int32 { 625 if x != nil { 626 return x.PageSize 627 } 628 return 0 629} 630 631func (x *ListInstancesRequest) GetPageToken() string { 632 if x != nil { 633 return x.PageToken 634 } 635 return "" 636} 637 638// Response for [ListInstances][google.cloud.redis.v1beta1.CloudRedis.ListInstances]. 639type ListInstancesResponse struct { 640 state protoimpl.MessageState 641 sizeCache protoimpl.SizeCache 642 unknownFields protoimpl.UnknownFields 643 644 // A list of Redis instances in the project in the specified location, 645 // or across all locations. 646 // 647 // If the `location_id` in the parent field of the request is "-", all regions 648 // available to the project are queried, and the results aggregated. 649 // If in such an aggregated query a location is unavailable, a dummy Redis 650 // entry is included in the response with the `name` field set to a value of 651 // the form `projects/{project_id}/locations/{location_id}/instances/`- and 652 // the `status` field set to ERROR and `status_message` field set to "location 653 // not available for ListInstances". 654 Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` 655 // Token to retrieve the next page of results, or empty if there are no more 656 // results in the list. 657 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 658 // Locations that could not be reached. 659 Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` 660} 661 662func (x *ListInstancesResponse) Reset() { 663 *x = ListInstancesResponse{} 664 if protoimpl.UnsafeEnabled { 665 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[2] 666 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 667 ms.StoreMessageInfo(mi) 668 } 669} 670 671func (x *ListInstancesResponse) String() string { 672 return protoimpl.X.MessageStringOf(x) 673} 674 675func (*ListInstancesResponse) ProtoMessage() {} 676 677func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message { 678 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[2] 679 if protoimpl.UnsafeEnabled && x != nil { 680 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 681 if ms.LoadMessageInfo() == nil { 682 ms.StoreMessageInfo(mi) 683 } 684 return ms 685 } 686 return mi.MessageOf(x) 687} 688 689// Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead. 690func (*ListInstancesResponse) Descriptor() ([]byte, []int) { 691 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{2} 692} 693 694func (x *ListInstancesResponse) GetInstances() []*Instance { 695 if x != nil { 696 return x.Instances 697 } 698 return nil 699} 700 701func (x *ListInstancesResponse) GetNextPageToken() string { 702 if x != nil { 703 return x.NextPageToken 704 } 705 return "" 706} 707 708func (x *ListInstancesResponse) GetUnreachable() []string { 709 if x != nil { 710 return x.Unreachable 711 } 712 return nil 713} 714 715// Request for [GetInstance][google.cloud.redis.v1beta1.CloudRedis.GetInstance]. 716type GetInstanceRequest struct { 717 state protoimpl.MessageState 718 sizeCache protoimpl.SizeCache 719 unknownFields protoimpl.UnknownFields 720 721 // Required. Redis instance resource name using the form: 722 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` 723 // where `location_id` refers to a GCP region. 724 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 725} 726 727func (x *GetInstanceRequest) Reset() { 728 *x = GetInstanceRequest{} 729 if protoimpl.UnsafeEnabled { 730 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[3] 731 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 732 ms.StoreMessageInfo(mi) 733 } 734} 735 736func (x *GetInstanceRequest) String() string { 737 return protoimpl.X.MessageStringOf(x) 738} 739 740func (*GetInstanceRequest) ProtoMessage() {} 741 742func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message { 743 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[3] 744 if protoimpl.UnsafeEnabled && x != nil { 745 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 746 if ms.LoadMessageInfo() == nil { 747 ms.StoreMessageInfo(mi) 748 } 749 return ms 750 } 751 return mi.MessageOf(x) 752} 753 754// Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead. 755func (*GetInstanceRequest) Descriptor() ([]byte, []int) { 756 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{3} 757} 758 759func (x *GetInstanceRequest) GetName() string { 760 if x != nil { 761 return x.Name 762 } 763 return "" 764} 765 766// Request for [CreateInstance][google.cloud.redis.v1beta1.CloudRedis.CreateInstance]. 767type CreateInstanceRequest struct { 768 state protoimpl.MessageState 769 sizeCache protoimpl.SizeCache 770 unknownFields protoimpl.UnknownFields 771 772 // Required. The resource name of the instance location using the form: 773 // `projects/{project_id}/locations/{location_id}` 774 // where `location_id` refers to a GCP region. 775 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 776 // Required. The logical name of the Redis instance in the customer project 777 // with the following restrictions: 778 // 779 // * Must contain only lowercase letters, numbers, and hyphens. 780 // * Must start with a letter. 781 // * Must be between 1-40 characters. 782 // * Must end with a number or a letter. 783 // * Must be unique within the customer project / location 784 InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` 785 // Required. A Redis [Instance] resource 786 Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` 787} 788 789func (x *CreateInstanceRequest) Reset() { 790 *x = CreateInstanceRequest{} 791 if protoimpl.UnsafeEnabled { 792 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[4] 793 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 794 ms.StoreMessageInfo(mi) 795 } 796} 797 798func (x *CreateInstanceRequest) String() string { 799 return protoimpl.X.MessageStringOf(x) 800} 801 802func (*CreateInstanceRequest) ProtoMessage() {} 803 804func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message { 805 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[4] 806 if protoimpl.UnsafeEnabled && x != nil { 807 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 808 if ms.LoadMessageInfo() == nil { 809 ms.StoreMessageInfo(mi) 810 } 811 return ms 812 } 813 return mi.MessageOf(x) 814} 815 816// Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead. 817func (*CreateInstanceRequest) Descriptor() ([]byte, []int) { 818 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{4} 819} 820 821func (x *CreateInstanceRequest) GetParent() string { 822 if x != nil { 823 return x.Parent 824 } 825 return "" 826} 827 828func (x *CreateInstanceRequest) GetInstanceId() string { 829 if x != nil { 830 return x.InstanceId 831 } 832 return "" 833} 834 835func (x *CreateInstanceRequest) GetInstance() *Instance { 836 if x != nil { 837 return x.Instance 838 } 839 return nil 840} 841 842// Request for [UpdateInstance][google.cloud.redis.v1beta1.CloudRedis.UpdateInstance]. 843type UpdateInstanceRequest struct { 844 state protoimpl.MessageState 845 sizeCache protoimpl.SizeCache 846 unknownFields protoimpl.UnknownFields 847 848 // Required. Mask of fields to update. At least one path must be supplied in 849 // this field. The elements of the repeated paths field may only include these 850 // fields from [Instance][google.cloud.redis.v1beta1.Instance]: 851 // 852 // * `displayName` 853 // * `labels` 854 // * `memorySizeGb` 855 // * `redisConfig` 856 UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 857 // Required. Update description. 858 // Only fields specified in update_mask are updated. 859 Instance *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` 860} 861 862func (x *UpdateInstanceRequest) Reset() { 863 *x = UpdateInstanceRequest{} 864 if protoimpl.UnsafeEnabled { 865 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[5] 866 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 867 ms.StoreMessageInfo(mi) 868 } 869} 870 871func (x *UpdateInstanceRequest) String() string { 872 return protoimpl.X.MessageStringOf(x) 873} 874 875func (*UpdateInstanceRequest) ProtoMessage() {} 876 877func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Message { 878 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[5] 879 if protoimpl.UnsafeEnabled && x != nil { 880 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 881 if ms.LoadMessageInfo() == nil { 882 ms.StoreMessageInfo(mi) 883 } 884 return ms 885 } 886 return mi.MessageOf(x) 887} 888 889// Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead. 890func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) { 891 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{5} 892} 893 894func (x *UpdateInstanceRequest) GetUpdateMask() *field_mask.FieldMask { 895 if x != nil { 896 return x.UpdateMask 897 } 898 return nil 899} 900 901func (x *UpdateInstanceRequest) GetInstance() *Instance { 902 if x != nil { 903 return x.Instance 904 } 905 return nil 906} 907 908// Request for [UpgradeInstance][google.cloud.redis.v1beta1.CloudRedis.UpgradeInstance]. 909type UpgradeInstanceRequest struct { 910 state protoimpl.MessageState 911 sizeCache protoimpl.SizeCache 912 unknownFields protoimpl.UnknownFields 913 914 // Required. Redis instance resource name using the form: 915 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` 916 // where `location_id` refers to a GCP region. 917 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 918 // Required. Specifies the target version of Redis software to upgrade to. 919 RedisVersion string `protobuf:"bytes,2,opt,name=redis_version,json=redisVersion,proto3" json:"redis_version,omitempty"` 920} 921 922func (x *UpgradeInstanceRequest) Reset() { 923 *x = UpgradeInstanceRequest{} 924 if protoimpl.UnsafeEnabled { 925 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[6] 926 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 927 ms.StoreMessageInfo(mi) 928 } 929} 930 931func (x *UpgradeInstanceRequest) String() string { 932 return protoimpl.X.MessageStringOf(x) 933} 934 935func (*UpgradeInstanceRequest) ProtoMessage() {} 936 937func (x *UpgradeInstanceRequest) ProtoReflect() protoreflect.Message { 938 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[6] 939 if protoimpl.UnsafeEnabled && x != nil { 940 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 941 if ms.LoadMessageInfo() == nil { 942 ms.StoreMessageInfo(mi) 943 } 944 return ms 945 } 946 return mi.MessageOf(x) 947} 948 949// Deprecated: Use UpgradeInstanceRequest.ProtoReflect.Descriptor instead. 950func (*UpgradeInstanceRequest) Descriptor() ([]byte, []int) { 951 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{6} 952} 953 954func (x *UpgradeInstanceRequest) GetName() string { 955 if x != nil { 956 return x.Name 957 } 958 return "" 959} 960 961func (x *UpgradeInstanceRequest) GetRedisVersion() string { 962 if x != nil { 963 return x.RedisVersion 964 } 965 return "" 966} 967 968// Request for [DeleteInstance][google.cloud.redis.v1beta1.CloudRedis.DeleteInstance]. 969type DeleteInstanceRequest struct { 970 state protoimpl.MessageState 971 sizeCache protoimpl.SizeCache 972 unknownFields protoimpl.UnknownFields 973 974 // Required. Redis instance resource name using the form: 975 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` 976 // where `location_id` refers to a GCP region. 977 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 978} 979 980func (x *DeleteInstanceRequest) Reset() { 981 *x = DeleteInstanceRequest{} 982 if protoimpl.UnsafeEnabled { 983 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[7] 984 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 985 ms.StoreMessageInfo(mi) 986 } 987} 988 989func (x *DeleteInstanceRequest) String() string { 990 return protoimpl.X.MessageStringOf(x) 991} 992 993func (*DeleteInstanceRequest) ProtoMessage() {} 994 995func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message { 996 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[7] 997 if protoimpl.UnsafeEnabled && x != nil { 998 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 999 if ms.LoadMessageInfo() == nil { 1000 ms.StoreMessageInfo(mi) 1001 } 1002 return ms 1003 } 1004 return mi.MessageOf(x) 1005} 1006 1007// Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead. 1008func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { 1009 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{7} 1010} 1011 1012func (x *DeleteInstanceRequest) GetName() string { 1013 if x != nil { 1014 return x.Name 1015 } 1016 return "" 1017} 1018 1019// The Cloud Storage location for the input content 1020type GcsSource struct { 1021 state protoimpl.MessageState 1022 sizeCache protoimpl.SizeCache 1023 unknownFields protoimpl.UnknownFields 1024 1025 // Required. Source data URI. (e.g. 'gs://my_bucket/my_object'). 1026 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` 1027} 1028 1029func (x *GcsSource) Reset() { 1030 *x = GcsSource{} 1031 if protoimpl.UnsafeEnabled { 1032 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[8] 1033 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1034 ms.StoreMessageInfo(mi) 1035 } 1036} 1037 1038func (x *GcsSource) String() string { 1039 return protoimpl.X.MessageStringOf(x) 1040} 1041 1042func (*GcsSource) ProtoMessage() {} 1043 1044func (x *GcsSource) ProtoReflect() protoreflect.Message { 1045 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[8] 1046 if protoimpl.UnsafeEnabled && x != nil { 1047 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1048 if ms.LoadMessageInfo() == nil { 1049 ms.StoreMessageInfo(mi) 1050 } 1051 return ms 1052 } 1053 return mi.MessageOf(x) 1054} 1055 1056// Deprecated: Use GcsSource.ProtoReflect.Descriptor instead. 1057func (*GcsSource) Descriptor() ([]byte, []int) { 1058 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{8} 1059} 1060 1061func (x *GcsSource) GetUri() string { 1062 if x != nil { 1063 return x.Uri 1064 } 1065 return "" 1066} 1067 1068// The input content 1069type InputConfig struct { 1070 state protoimpl.MessageState 1071 sizeCache protoimpl.SizeCache 1072 unknownFields protoimpl.UnknownFields 1073 1074 // Required. Specify source location of input data 1075 // 1076 // Types that are assignable to Source: 1077 // *InputConfig_GcsSource 1078 Source isInputConfig_Source `protobuf_oneof:"source"` 1079} 1080 1081func (x *InputConfig) Reset() { 1082 *x = InputConfig{} 1083 if protoimpl.UnsafeEnabled { 1084 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[9] 1085 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1086 ms.StoreMessageInfo(mi) 1087 } 1088} 1089 1090func (x *InputConfig) String() string { 1091 return protoimpl.X.MessageStringOf(x) 1092} 1093 1094func (*InputConfig) ProtoMessage() {} 1095 1096func (x *InputConfig) ProtoReflect() protoreflect.Message { 1097 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[9] 1098 if protoimpl.UnsafeEnabled && x != nil { 1099 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1100 if ms.LoadMessageInfo() == nil { 1101 ms.StoreMessageInfo(mi) 1102 } 1103 return ms 1104 } 1105 return mi.MessageOf(x) 1106} 1107 1108// Deprecated: Use InputConfig.ProtoReflect.Descriptor instead. 1109func (*InputConfig) Descriptor() ([]byte, []int) { 1110 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{9} 1111} 1112 1113func (m *InputConfig) GetSource() isInputConfig_Source { 1114 if m != nil { 1115 return m.Source 1116 } 1117 return nil 1118} 1119 1120func (x *InputConfig) GetGcsSource() *GcsSource { 1121 if x, ok := x.GetSource().(*InputConfig_GcsSource); ok { 1122 return x.GcsSource 1123 } 1124 return nil 1125} 1126 1127type isInputConfig_Source interface { 1128 isInputConfig_Source() 1129} 1130 1131type InputConfig_GcsSource struct { 1132 // Google Cloud Storage location where input content is located. 1133 GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` 1134} 1135 1136func (*InputConfig_GcsSource) isInputConfig_Source() {} 1137 1138// Request for [Import][google.cloud.redis.v1beta1.CloudRedis.ImportInstance]. 1139type ImportInstanceRequest struct { 1140 state protoimpl.MessageState 1141 sizeCache protoimpl.SizeCache 1142 unknownFields protoimpl.UnknownFields 1143 1144 // Required. Redis instance resource name using the form: 1145 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` 1146 // where `location_id` refers to a GCP region. 1147 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1148 // Required. Specify data to be imported. 1149 InputConfig *InputConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` 1150} 1151 1152func (x *ImportInstanceRequest) Reset() { 1153 *x = ImportInstanceRequest{} 1154 if protoimpl.UnsafeEnabled { 1155 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[10] 1156 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1157 ms.StoreMessageInfo(mi) 1158 } 1159} 1160 1161func (x *ImportInstanceRequest) String() string { 1162 return protoimpl.X.MessageStringOf(x) 1163} 1164 1165func (*ImportInstanceRequest) ProtoMessage() {} 1166 1167func (x *ImportInstanceRequest) ProtoReflect() protoreflect.Message { 1168 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[10] 1169 if protoimpl.UnsafeEnabled && x != nil { 1170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1171 if ms.LoadMessageInfo() == nil { 1172 ms.StoreMessageInfo(mi) 1173 } 1174 return ms 1175 } 1176 return mi.MessageOf(x) 1177} 1178 1179// Deprecated: Use ImportInstanceRequest.ProtoReflect.Descriptor instead. 1180func (*ImportInstanceRequest) Descriptor() ([]byte, []int) { 1181 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{10} 1182} 1183 1184func (x *ImportInstanceRequest) GetName() string { 1185 if x != nil { 1186 return x.Name 1187 } 1188 return "" 1189} 1190 1191func (x *ImportInstanceRequest) GetInputConfig() *InputConfig { 1192 if x != nil { 1193 return x.InputConfig 1194 } 1195 return nil 1196} 1197 1198// The Cloud Storage location for the output content 1199type GcsDestination struct { 1200 state protoimpl.MessageState 1201 sizeCache protoimpl.SizeCache 1202 unknownFields protoimpl.UnknownFields 1203 1204 // Required. Data destination URI (e.g. 1205 // 'gs://my_bucket/my_object'). Existing files will be overwritten. 1206 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` 1207} 1208 1209func (x *GcsDestination) Reset() { 1210 *x = GcsDestination{} 1211 if protoimpl.UnsafeEnabled { 1212 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[11] 1213 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1214 ms.StoreMessageInfo(mi) 1215 } 1216} 1217 1218func (x *GcsDestination) String() string { 1219 return protoimpl.X.MessageStringOf(x) 1220} 1221 1222func (*GcsDestination) ProtoMessage() {} 1223 1224func (x *GcsDestination) ProtoReflect() protoreflect.Message { 1225 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[11] 1226 if protoimpl.UnsafeEnabled && x != nil { 1227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1228 if ms.LoadMessageInfo() == nil { 1229 ms.StoreMessageInfo(mi) 1230 } 1231 return ms 1232 } 1233 return mi.MessageOf(x) 1234} 1235 1236// Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead. 1237func (*GcsDestination) Descriptor() ([]byte, []int) { 1238 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{11} 1239} 1240 1241func (x *GcsDestination) GetUri() string { 1242 if x != nil { 1243 return x.Uri 1244 } 1245 return "" 1246} 1247 1248// The output content 1249type OutputConfig struct { 1250 state protoimpl.MessageState 1251 sizeCache protoimpl.SizeCache 1252 unknownFields protoimpl.UnknownFields 1253 1254 // Required. Specify destination location of output data 1255 // 1256 // Types that are assignable to Destination: 1257 // *OutputConfig_GcsDestination 1258 Destination isOutputConfig_Destination `protobuf_oneof:"destination"` 1259} 1260 1261func (x *OutputConfig) Reset() { 1262 *x = OutputConfig{} 1263 if protoimpl.UnsafeEnabled { 1264 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[12] 1265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1266 ms.StoreMessageInfo(mi) 1267 } 1268} 1269 1270func (x *OutputConfig) String() string { 1271 return protoimpl.X.MessageStringOf(x) 1272} 1273 1274func (*OutputConfig) ProtoMessage() {} 1275 1276func (x *OutputConfig) ProtoReflect() protoreflect.Message { 1277 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[12] 1278 if protoimpl.UnsafeEnabled && x != nil { 1279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1280 if ms.LoadMessageInfo() == nil { 1281 ms.StoreMessageInfo(mi) 1282 } 1283 return ms 1284 } 1285 return mi.MessageOf(x) 1286} 1287 1288// Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead. 1289func (*OutputConfig) Descriptor() ([]byte, []int) { 1290 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{12} 1291} 1292 1293func (m *OutputConfig) GetDestination() isOutputConfig_Destination { 1294 if m != nil { 1295 return m.Destination 1296 } 1297 return nil 1298} 1299 1300func (x *OutputConfig) GetGcsDestination() *GcsDestination { 1301 if x, ok := x.GetDestination().(*OutputConfig_GcsDestination); ok { 1302 return x.GcsDestination 1303 } 1304 return nil 1305} 1306 1307type isOutputConfig_Destination interface { 1308 isOutputConfig_Destination() 1309} 1310 1311type OutputConfig_GcsDestination struct { 1312 // Google Cloud Storage destination for output content. 1313 GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"` 1314} 1315 1316func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {} 1317 1318// Request for [Export][google.cloud.redis.v1beta1.CloudRedis.ExportInstance]. 1319type ExportInstanceRequest struct { 1320 state protoimpl.MessageState 1321 sizeCache protoimpl.SizeCache 1322 unknownFields protoimpl.UnknownFields 1323 1324 // Required. Redis instance resource name using the form: 1325 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` 1326 // where `location_id` refers to a GCP region. 1327 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1328 // Required. Specify data to be exported. 1329 OutputConfig *OutputConfig `protobuf:"bytes,3,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` 1330} 1331 1332func (x *ExportInstanceRequest) Reset() { 1333 *x = ExportInstanceRequest{} 1334 if protoimpl.UnsafeEnabled { 1335 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[13] 1336 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1337 ms.StoreMessageInfo(mi) 1338 } 1339} 1340 1341func (x *ExportInstanceRequest) String() string { 1342 return protoimpl.X.MessageStringOf(x) 1343} 1344 1345func (*ExportInstanceRequest) ProtoMessage() {} 1346 1347func (x *ExportInstanceRequest) ProtoReflect() protoreflect.Message { 1348 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[13] 1349 if protoimpl.UnsafeEnabled && x != nil { 1350 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1351 if ms.LoadMessageInfo() == nil { 1352 ms.StoreMessageInfo(mi) 1353 } 1354 return ms 1355 } 1356 return mi.MessageOf(x) 1357} 1358 1359// Deprecated: Use ExportInstanceRequest.ProtoReflect.Descriptor instead. 1360func (*ExportInstanceRequest) Descriptor() ([]byte, []int) { 1361 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{13} 1362} 1363 1364func (x *ExportInstanceRequest) GetName() string { 1365 if x != nil { 1366 return x.Name 1367 } 1368 return "" 1369} 1370 1371func (x *ExportInstanceRequest) GetOutputConfig() *OutputConfig { 1372 if x != nil { 1373 return x.OutputConfig 1374 } 1375 return nil 1376} 1377 1378// Request for [Failover][google.cloud.redis.v1beta1.CloudRedis.FailoverInstance]. 1379type FailoverInstanceRequest struct { 1380 state protoimpl.MessageState 1381 sizeCache protoimpl.SizeCache 1382 unknownFields protoimpl.UnknownFields 1383 1384 // Required. Redis instance resource name using the form: 1385 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` 1386 // where `location_id` refers to a GCP region. 1387 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1388 // Optional. Available data protection modes that the user can choose. If it's 1389 // unspecified, data protection mode will be LIMITED_DATA_LOSS by default. 1390 DataProtectionMode FailoverInstanceRequest_DataProtectionMode `protobuf:"varint,2,opt,name=data_protection_mode,json=dataProtectionMode,proto3,enum=google.cloud.redis.v1beta1.FailoverInstanceRequest_DataProtectionMode" json:"data_protection_mode,omitempty"` 1391} 1392 1393func (x *FailoverInstanceRequest) Reset() { 1394 *x = FailoverInstanceRequest{} 1395 if protoimpl.UnsafeEnabled { 1396 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[14] 1397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1398 ms.StoreMessageInfo(mi) 1399 } 1400} 1401 1402func (x *FailoverInstanceRequest) String() string { 1403 return protoimpl.X.MessageStringOf(x) 1404} 1405 1406func (*FailoverInstanceRequest) ProtoMessage() {} 1407 1408func (x *FailoverInstanceRequest) ProtoReflect() protoreflect.Message { 1409 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[14] 1410 if protoimpl.UnsafeEnabled && x != nil { 1411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1412 if ms.LoadMessageInfo() == nil { 1413 ms.StoreMessageInfo(mi) 1414 } 1415 return ms 1416 } 1417 return mi.MessageOf(x) 1418} 1419 1420// Deprecated: Use FailoverInstanceRequest.ProtoReflect.Descriptor instead. 1421func (*FailoverInstanceRequest) Descriptor() ([]byte, []int) { 1422 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{14} 1423} 1424 1425func (x *FailoverInstanceRequest) GetName() string { 1426 if x != nil { 1427 return x.Name 1428 } 1429 return "" 1430} 1431 1432func (x *FailoverInstanceRequest) GetDataProtectionMode() FailoverInstanceRequest_DataProtectionMode { 1433 if x != nil { 1434 return x.DataProtectionMode 1435 } 1436 return FailoverInstanceRequest_DATA_PROTECTION_MODE_UNSPECIFIED 1437} 1438 1439// This location metadata represents additional configuration options for a 1440// given location where a Redis instance may be created. All fields are output 1441// only. It is returned as content of the 1442// `google.cloud.location.Location.metadata` field. 1443type LocationMetadata struct { 1444 state protoimpl.MessageState 1445 sizeCache protoimpl.SizeCache 1446 unknownFields protoimpl.UnknownFields 1447 1448 // Output only. The set of available zones in the location. The map is keyed 1449 // by the lowercase ID of each zone, as defined by GCE. These keys can be 1450 // specified in `location_id` or `alternative_location_id` fields when 1451 // creating a Redis instance. 1452 AvailableZones map[string]*ZoneMetadata `protobuf:"bytes,1,rep,name=available_zones,json=availableZones,proto3" json:"available_zones,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1453} 1454 1455func (x *LocationMetadata) Reset() { 1456 *x = LocationMetadata{} 1457 if protoimpl.UnsafeEnabled { 1458 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[15] 1459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1460 ms.StoreMessageInfo(mi) 1461 } 1462} 1463 1464func (x *LocationMetadata) String() string { 1465 return protoimpl.X.MessageStringOf(x) 1466} 1467 1468func (*LocationMetadata) ProtoMessage() {} 1469 1470func (x *LocationMetadata) ProtoReflect() protoreflect.Message { 1471 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[15] 1472 if protoimpl.UnsafeEnabled && x != nil { 1473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1474 if ms.LoadMessageInfo() == nil { 1475 ms.StoreMessageInfo(mi) 1476 } 1477 return ms 1478 } 1479 return mi.MessageOf(x) 1480} 1481 1482// Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead. 1483func (*LocationMetadata) Descriptor() ([]byte, []int) { 1484 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{15} 1485} 1486 1487func (x *LocationMetadata) GetAvailableZones() map[string]*ZoneMetadata { 1488 if x != nil { 1489 return x.AvailableZones 1490 } 1491 return nil 1492} 1493 1494// Defines specific information for a particular zone. Currently empty and 1495// reserved for future use only. 1496type ZoneMetadata struct { 1497 state protoimpl.MessageState 1498 sizeCache protoimpl.SizeCache 1499 unknownFields protoimpl.UnknownFields 1500} 1501 1502func (x *ZoneMetadata) Reset() { 1503 *x = ZoneMetadata{} 1504 if protoimpl.UnsafeEnabled { 1505 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[16] 1506 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1507 ms.StoreMessageInfo(mi) 1508 } 1509} 1510 1511func (x *ZoneMetadata) String() string { 1512 return protoimpl.X.MessageStringOf(x) 1513} 1514 1515func (*ZoneMetadata) ProtoMessage() {} 1516 1517func (x *ZoneMetadata) ProtoReflect() protoreflect.Message { 1518 mi := &file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[16] 1519 if protoimpl.UnsafeEnabled && x != nil { 1520 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1521 if ms.LoadMessageInfo() == nil { 1522 ms.StoreMessageInfo(mi) 1523 } 1524 return ms 1525 } 1526 return mi.MessageOf(x) 1527} 1528 1529// Deprecated: Use ZoneMetadata.ProtoReflect.Descriptor instead. 1530func (*ZoneMetadata) Descriptor() ([]byte, []int) { 1531 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP(), []int{16} 1532} 1533 1534var File_google_cloud_redis_v1beta1_cloud_redis_proto protoreflect.FileDescriptor 1535 1536var file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDesc = []byte{ 1537 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 1538 0x65, 0x64, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 1539 0x75, 0x64, 0x5f, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 1540 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 1541 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 1542 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 1543 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1544 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1545 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 1546 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 1547 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 1548 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 1549 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 1550 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 1551 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1552 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 1553 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 1554 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 1555 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x0c, 0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 1556 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1557 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 1558 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1559 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 1560 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 1561 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 1562 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 1563 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 1564 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 1565 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 1566 0x41, 0x01, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3b, 1567 0x0a, 0x17, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6c, 0x6f, 1568 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 1569 0x03, 0xe0, 0x41, 0x01, 0x52, 0x15, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 1570 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0d, 0x72, 1571 0x65, 0x64, 0x69, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 1572 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x73, 0x56, 0x65, 1573 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 1574 0x64, 0x5f, 0x69, 0x70, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 1575 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x49, 1576 0x70, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x0a, 1577 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 1578 0x17, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 1579 0x41, 0x03, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x33, 0x0a, 0x13, 0x63, 0x75, 0x72, 0x72, 1580 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 1581 0x0c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x63, 0x75, 0x72, 0x72, 1582 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x40, 0x0a, 1583 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 1584 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1585 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 1586 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 1587 0x45, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 1588 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 1589 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 1590 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 1591 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 1592 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 1593 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 1594 0x67, 0x65, 0x12, 0x60, 0x0a, 0x0d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 1595 0x69, 0x67, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1596 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 1597 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 1598 0x52, 0x65, 0x64, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 1599 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x73, 0x43, 0x6f, 0x6e, 1600 0x66, 0x69, 0x67, 0x73, 0x12, 0x42, 0x0a, 0x04, 0x74, 0x69, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 1601 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1602 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1603 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x69, 0x65, 0x72, 0x42, 0x03, 0xe0, 1604 0x41, 0x02, 0x52, 0x04, 0x74, 0x69, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0e, 0x6d, 0x65, 0x6d, 0x6f, 1605 0x72, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x62, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 1606 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 1607 0x65, 0x47, 0x62, 0x12, 0x32, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 1608 0x64, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x42, 1609 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 1610 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x3d, 0x0a, 0x18, 0x70, 0x65, 0x72, 0x73, 0x69, 1611 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 1612 0x69, 0x74, 0x79, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x16, 1613 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x61, 0x6d, 0x49, 0x64, 1614 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x58, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 1615 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 1616 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 1617 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 1618 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x03, 1619 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x6f, 0x64, 0x65, 1620 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 1621 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 1622 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1623 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x52, 1624 0x65, 0x64, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 1625 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 1626 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1627 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x94, 0x01, 0x0a, 1628 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 1629 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 1630 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x52, 1631 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, 1632 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 1633 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x50, 0x41, 0x49, 0x52, 0x49, 0x4e, 0x47, 0x10, 1634 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 1635 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 1636 0x08, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x41, 0x49, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x56, 0x45, 1637 0x52, 0x10, 0x0a, 0x22, 0x38, 0x0a, 0x04, 0x54, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x10, 0x54, 1638 0x49, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 1639 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 1640 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x10, 0x03, 0x22, 0x5b, 0x0a, 1641 0x0b, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x18, 1642 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 1643 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x49, 1644 0x52, 0x45, 0x43, 0x54, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1a, 1645 0x0a, 0x16, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 1646 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x02, 0x3a, 0x60, 0xea, 0x41, 0x5d, 0x0a, 1647 0x1d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 1648 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x3c, 1649 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 1650 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 1651 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 1652 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x22, 0x95, 0x01, 0x0a, 1653 0x14, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 1654 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 1655 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 1656 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1657 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1658 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 1659 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 1660 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 1661 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 1662 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa5, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 1663 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 1664 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 1665 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1666 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 1667 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 1668 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 1669 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 1670 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 1671 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 1672 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x4f, 0x0a, 0x12, 1673 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 1674 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1675 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 1676 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 1677 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc7, 0x01, 1678 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 1679 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 1680 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 1681 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1682 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1683 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x69, 0x6e, 1684 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 1685 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 1686 0x12, 0x45, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 1687 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1688 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 1689 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x69, 1690 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 1691 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1692 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 1693 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1694 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 1695 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 1696 0x61, 0x73, 0x6b, 0x12, 0x45, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 1697 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1698 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 1699 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 1700 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x16, 0x55, 0x70, 1701 0x67, 0x72, 0x61, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 1702 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 1703 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x64, 0x69, 1704 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 1705 0x2f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1706 0x28, 0x0a, 0x0d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 1707 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x72, 0x65, 0x64, 1708 0x69, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x52, 0x0a, 0x15, 0x44, 0x65, 0x6c, 1709 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 1710 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1711 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 1712 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 1713 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x22, 0x0a, 1714 0x09, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 1715 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 1716 0x69, 0x22, 0x5f, 0x0a, 0x0b, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1717 0x12, 0x46, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 1718 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1719 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1720 0x31, 0x2e, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 1721 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 1722 0x63, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x15, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x73, 1723 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 1724 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 1725 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 1726 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 1727 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 1728 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 1729 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 1730 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x27, 0x0a, 0x0e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 1731 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 1732 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 1733 0x74, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 1734 0x55, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 1735 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1736 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 1737 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 1738 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x67, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 1739 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 1740 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x15, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 1741 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1742 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 1743 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 1744 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 1745 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 1746 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x75, 0x74, 1747 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 1748 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xbb, 0x02, 0x0a, 1749 0x17, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 1750 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1751 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 1752 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1753 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x04, 0x6e, 1754 0x61, 0x6d, 0x65, 0x12, 0x7d, 0x0a, 0x14, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 1755 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1756 0x0e, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1757 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 1758 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 1759 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x65, 1760 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 1761 0x64, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 1762 0x64, 0x65, 0x22, 0x66, 0x0a, 0x12, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 1763 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x44, 0x41, 0x54, 0x41, 1764 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 1765 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 1766 0x0a, 0x11, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4c, 1767 0x4f, 0x53, 0x53, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x44, 1768 0x41, 0x54, 0x41, 0x5f, 0x4c, 0x4f, 0x53, 0x53, 0x10, 0x02, 0x22, 0xef, 0x01, 0x0a, 0x10, 0x4c, 1769 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 1770 0x6e, 0x0a, 0x0f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 1771 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1772 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 1773 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 1774 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 1775 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 1776 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x1a, 1777 0x6b, 0x0a, 0x13, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 1778 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 1779 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 1780 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1781 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 1782 0x65, 0x74, 0x61, 0x31, 0x2e, 0x5a, 0x6f, 0x6e, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 1783 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x0e, 0x0a, 0x0c, 1784 0x5a, 0x6f, 0x6e, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0xa9, 0x11, 0x0a, 1785 0x0a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x52, 0x65, 0x64, 0x69, 0x73, 0x12, 0xb9, 0x01, 0x0a, 0x0d, 1786 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x30, 0x2e, 1787 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 1788 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 1789 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1790 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 1791 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 1792 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1793 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x76, 0x31, 0x62, 1794 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 1795 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1796 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0xda, 0x41, 1797 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xa6, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x49, 1798 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1799 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 1800 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 1801 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1802 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 1803 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x41, 0x82, 1804 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 1805 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 1806 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 1807 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1808 0x12, 0x84, 0x02, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 1809 0x6e, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1810 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1811 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 1812 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1813 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 1814 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9f, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x22, 0x32, 1815 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 1816 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 1817 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 1818 0x65, 0x73, 0x3a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xda, 0x41, 0x1b, 0x70, 1819 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 1820 0x64, 0x2c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xca, 0x41, 0x3a, 0x0a, 0x23, 0x67, 1821 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 1822 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 1823 0x63, 0x65, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1824 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x12, 0x86, 0x02, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 1825 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 1826 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 1827 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 1828 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 1829 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 1830 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa1, 0x01, 0x82, 1831 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x32, 0x3b, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 1832 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 1833 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1834 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 1835 0x2a, 0x7d, 0x3a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xda, 0x41, 0x14, 0x75, 1836 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2c, 0x69, 0x6e, 0x73, 0x74, 0x61, 1837 0x6e, 0x63, 0x65, 0xca, 0x41, 0x3a, 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1838 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 1839 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x13, 0x67, 0x6f, 0x6f, 1840 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 1841 0x12, 0xfe, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 1842 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1843 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1844 0x31, 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 1845 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1846 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 1847 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x97, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 1848 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 1849 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 1850 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 1851 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x3a, 0x01, 0x2a, 0xda, 1852 0x41, 0x12, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x76, 0x65, 0x72, 1853 0x73, 0x69, 0x6f, 0x6e, 0xca, 0x41, 0x3a, 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1854 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 1855 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x13, 0x67, 0x6f, 1856 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 1857 0x79, 0x12, 0xfa, 0x01, 0x0a, 0x0e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x73, 0x74, 1858 0x61, 0x6e, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1859 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 1860 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 1861 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1862 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 1863 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x95, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x22, 1864 0x39, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 1865 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 1866 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 1867 0x2f, 0x2a, 0x7d, 0x3a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x11, 1868 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 1869 0x67, 0xca, 0x41, 0x3a, 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1870 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1871 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1872 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x12, 0xfb, 1873 0x01, 0x0a, 0x0e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 1874 0x65, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1875 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 1876 0x78, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 1877 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 1878 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 1879 0x69, 0x6f, 0x6e, 0x22, 0x96, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x22, 0x39, 0x2f, 0x76, 1880 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 1881 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1882 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 1883 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x12, 0x6e, 0x61, 0x6d, 1884 0x65, 0x2c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xca, 1885 0x41, 0x3a, 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1886 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 1887 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1888 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x12, 0x88, 0x02, 0x0a, 1889 0x10, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 1890 0x65, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1891 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 1892 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 1893 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1894 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 1895 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9f, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x22, 0x3b, 1896 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 1897 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1898 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 1899 0x2a, 0x7d, 0x3a, 0x66, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0xda, 0x41, 1900 0x19, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 1901 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0xca, 0x41, 0x3a, 0x0a, 0x23, 0x67, 1902 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 1903 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 1904 0x63, 0x65, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1905 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x12, 0xd4, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 1906 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 1907 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 1908 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 1909 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 1910 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 1911 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x70, 0x82, 0xd3, 1912 0xe4, 0x93, 0x02, 0x34, 0x2a, 0x32, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 1913 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 1914 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 1915 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 1916 0x41, 0x2c, 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1917 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1918 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x1a, 0x48, 1919 0xca, 0x41, 0x14, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 1920 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 1921 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1922 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 1923 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x7f, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 1924 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 1925 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x1a, 0x43, 0x6c, 0x6f, 0x75, 1926 0x64, 0x52, 0x65, 0x64, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x65, 0x74, 1927 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1928 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 1929 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 1930 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 1931 0x74, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x64, 0x69, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1932 0x33, 1933} 1934 1935var ( 1936 file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescOnce sync.Once 1937 file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescData = file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDesc 1938) 1939 1940func file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescGZIP() []byte { 1941 file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescOnce.Do(func() { 1942 file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescData) 1943 }) 1944 return file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDescData 1945} 1946 1947var file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 1948var file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes = make([]protoimpl.MessageInfo, 20) 1949var file_google_cloud_redis_v1beta1_cloud_redis_proto_goTypes = []interface{}{ 1950 (Instance_State)(0), // 0: google.cloud.redis.v1beta1.Instance.State 1951 (Instance_Tier)(0), // 1: google.cloud.redis.v1beta1.Instance.Tier 1952 (Instance_ConnectMode)(0), // 2: google.cloud.redis.v1beta1.Instance.ConnectMode 1953 (FailoverInstanceRequest_DataProtectionMode)(0), // 3: google.cloud.redis.v1beta1.FailoverInstanceRequest.DataProtectionMode 1954 (*Instance)(nil), // 4: google.cloud.redis.v1beta1.Instance 1955 (*ListInstancesRequest)(nil), // 5: google.cloud.redis.v1beta1.ListInstancesRequest 1956 (*ListInstancesResponse)(nil), // 6: google.cloud.redis.v1beta1.ListInstancesResponse 1957 (*GetInstanceRequest)(nil), // 7: google.cloud.redis.v1beta1.GetInstanceRequest 1958 (*CreateInstanceRequest)(nil), // 8: google.cloud.redis.v1beta1.CreateInstanceRequest 1959 (*UpdateInstanceRequest)(nil), // 9: google.cloud.redis.v1beta1.UpdateInstanceRequest 1960 (*UpgradeInstanceRequest)(nil), // 10: google.cloud.redis.v1beta1.UpgradeInstanceRequest 1961 (*DeleteInstanceRequest)(nil), // 11: google.cloud.redis.v1beta1.DeleteInstanceRequest 1962 (*GcsSource)(nil), // 12: google.cloud.redis.v1beta1.GcsSource 1963 (*InputConfig)(nil), // 13: google.cloud.redis.v1beta1.InputConfig 1964 (*ImportInstanceRequest)(nil), // 14: google.cloud.redis.v1beta1.ImportInstanceRequest 1965 (*GcsDestination)(nil), // 15: google.cloud.redis.v1beta1.GcsDestination 1966 (*OutputConfig)(nil), // 16: google.cloud.redis.v1beta1.OutputConfig 1967 (*ExportInstanceRequest)(nil), // 17: google.cloud.redis.v1beta1.ExportInstanceRequest 1968 (*FailoverInstanceRequest)(nil), // 18: google.cloud.redis.v1beta1.FailoverInstanceRequest 1969 (*LocationMetadata)(nil), // 19: google.cloud.redis.v1beta1.LocationMetadata 1970 (*ZoneMetadata)(nil), // 20: google.cloud.redis.v1beta1.ZoneMetadata 1971 nil, // 21: google.cloud.redis.v1beta1.Instance.LabelsEntry 1972 nil, // 22: google.cloud.redis.v1beta1.Instance.RedisConfigsEntry 1973 nil, // 23: google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry 1974 (*timestamp.Timestamp)(nil), // 24: google.protobuf.Timestamp 1975 (*field_mask.FieldMask)(nil), // 25: google.protobuf.FieldMask 1976 (*longrunning.Operation)(nil), // 26: google.longrunning.Operation 1977} 1978var file_google_cloud_redis_v1beta1_cloud_redis_proto_depIdxs = []int32{ 1979 21, // 0: google.cloud.redis.v1beta1.Instance.labels:type_name -> google.cloud.redis.v1beta1.Instance.LabelsEntry 1980 24, // 1: google.cloud.redis.v1beta1.Instance.create_time:type_name -> google.protobuf.Timestamp 1981 0, // 2: google.cloud.redis.v1beta1.Instance.state:type_name -> google.cloud.redis.v1beta1.Instance.State 1982 22, // 3: google.cloud.redis.v1beta1.Instance.redis_configs:type_name -> google.cloud.redis.v1beta1.Instance.RedisConfigsEntry 1983 1, // 4: google.cloud.redis.v1beta1.Instance.tier:type_name -> google.cloud.redis.v1beta1.Instance.Tier 1984 2, // 5: google.cloud.redis.v1beta1.Instance.connect_mode:type_name -> google.cloud.redis.v1beta1.Instance.ConnectMode 1985 4, // 6: google.cloud.redis.v1beta1.ListInstancesResponse.instances:type_name -> google.cloud.redis.v1beta1.Instance 1986 4, // 7: google.cloud.redis.v1beta1.CreateInstanceRequest.instance:type_name -> google.cloud.redis.v1beta1.Instance 1987 25, // 8: google.cloud.redis.v1beta1.UpdateInstanceRequest.update_mask:type_name -> google.protobuf.FieldMask 1988 4, // 9: google.cloud.redis.v1beta1.UpdateInstanceRequest.instance:type_name -> google.cloud.redis.v1beta1.Instance 1989 12, // 10: google.cloud.redis.v1beta1.InputConfig.gcs_source:type_name -> google.cloud.redis.v1beta1.GcsSource 1990 13, // 11: google.cloud.redis.v1beta1.ImportInstanceRequest.input_config:type_name -> google.cloud.redis.v1beta1.InputConfig 1991 15, // 12: google.cloud.redis.v1beta1.OutputConfig.gcs_destination:type_name -> google.cloud.redis.v1beta1.GcsDestination 1992 16, // 13: google.cloud.redis.v1beta1.ExportInstanceRequest.output_config:type_name -> google.cloud.redis.v1beta1.OutputConfig 1993 3, // 14: google.cloud.redis.v1beta1.FailoverInstanceRequest.data_protection_mode:type_name -> google.cloud.redis.v1beta1.FailoverInstanceRequest.DataProtectionMode 1994 23, // 15: google.cloud.redis.v1beta1.LocationMetadata.available_zones:type_name -> google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry 1995 20, // 16: google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry.value:type_name -> google.cloud.redis.v1beta1.ZoneMetadata 1996 5, // 17: google.cloud.redis.v1beta1.CloudRedis.ListInstances:input_type -> google.cloud.redis.v1beta1.ListInstancesRequest 1997 7, // 18: google.cloud.redis.v1beta1.CloudRedis.GetInstance:input_type -> google.cloud.redis.v1beta1.GetInstanceRequest 1998 8, // 19: google.cloud.redis.v1beta1.CloudRedis.CreateInstance:input_type -> google.cloud.redis.v1beta1.CreateInstanceRequest 1999 9, // 20: google.cloud.redis.v1beta1.CloudRedis.UpdateInstance:input_type -> google.cloud.redis.v1beta1.UpdateInstanceRequest 2000 10, // 21: google.cloud.redis.v1beta1.CloudRedis.UpgradeInstance:input_type -> google.cloud.redis.v1beta1.UpgradeInstanceRequest 2001 14, // 22: google.cloud.redis.v1beta1.CloudRedis.ImportInstance:input_type -> google.cloud.redis.v1beta1.ImportInstanceRequest 2002 17, // 23: google.cloud.redis.v1beta1.CloudRedis.ExportInstance:input_type -> google.cloud.redis.v1beta1.ExportInstanceRequest 2003 18, // 24: google.cloud.redis.v1beta1.CloudRedis.FailoverInstance:input_type -> google.cloud.redis.v1beta1.FailoverInstanceRequest 2004 11, // 25: google.cloud.redis.v1beta1.CloudRedis.DeleteInstance:input_type -> google.cloud.redis.v1beta1.DeleteInstanceRequest 2005 6, // 26: google.cloud.redis.v1beta1.CloudRedis.ListInstances:output_type -> google.cloud.redis.v1beta1.ListInstancesResponse 2006 4, // 27: google.cloud.redis.v1beta1.CloudRedis.GetInstance:output_type -> google.cloud.redis.v1beta1.Instance 2007 26, // 28: google.cloud.redis.v1beta1.CloudRedis.CreateInstance:output_type -> google.longrunning.Operation 2008 26, // 29: google.cloud.redis.v1beta1.CloudRedis.UpdateInstance:output_type -> google.longrunning.Operation 2009 26, // 30: google.cloud.redis.v1beta1.CloudRedis.UpgradeInstance:output_type -> google.longrunning.Operation 2010 26, // 31: google.cloud.redis.v1beta1.CloudRedis.ImportInstance:output_type -> google.longrunning.Operation 2011 26, // 32: google.cloud.redis.v1beta1.CloudRedis.ExportInstance:output_type -> google.longrunning.Operation 2012 26, // 33: google.cloud.redis.v1beta1.CloudRedis.FailoverInstance:output_type -> google.longrunning.Operation 2013 26, // 34: google.cloud.redis.v1beta1.CloudRedis.DeleteInstance:output_type -> google.longrunning.Operation 2014 26, // [26:35] is the sub-list for method output_type 2015 17, // [17:26] is the sub-list for method input_type 2016 17, // [17:17] is the sub-list for extension type_name 2017 17, // [17:17] is the sub-list for extension extendee 2018 0, // [0:17] is the sub-list for field type_name 2019} 2020 2021func init() { file_google_cloud_redis_v1beta1_cloud_redis_proto_init() } 2022func file_google_cloud_redis_v1beta1_cloud_redis_proto_init() { 2023 if File_google_cloud_redis_v1beta1_cloud_redis_proto != nil { 2024 return 2025 } 2026 if !protoimpl.UnsafeEnabled { 2027 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2028 switch v := v.(*Instance); i { 2029 case 0: 2030 return &v.state 2031 case 1: 2032 return &v.sizeCache 2033 case 2: 2034 return &v.unknownFields 2035 default: 2036 return nil 2037 } 2038 } 2039 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2040 switch v := v.(*ListInstancesRequest); i { 2041 case 0: 2042 return &v.state 2043 case 1: 2044 return &v.sizeCache 2045 case 2: 2046 return &v.unknownFields 2047 default: 2048 return nil 2049 } 2050 } 2051 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2052 switch v := v.(*ListInstancesResponse); i { 2053 case 0: 2054 return &v.state 2055 case 1: 2056 return &v.sizeCache 2057 case 2: 2058 return &v.unknownFields 2059 default: 2060 return nil 2061 } 2062 } 2063 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2064 switch v := v.(*GetInstanceRequest); i { 2065 case 0: 2066 return &v.state 2067 case 1: 2068 return &v.sizeCache 2069 case 2: 2070 return &v.unknownFields 2071 default: 2072 return nil 2073 } 2074 } 2075 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2076 switch v := v.(*CreateInstanceRequest); i { 2077 case 0: 2078 return &v.state 2079 case 1: 2080 return &v.sizeCache 2081 case 2: 2082 return &v.unknownFields 2083 default: 2084 return nil 2085 } 2086 } 2087 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2088 switch v := v.(*UpdateInstanceRequest); i { 2089 case 0: 2090 return &v.state 2091 case 1: 2092 return &v.sizeCache 2093 case 2: 2094 return &v.unknownFields 2095 default: 2096 return nil 2097 } 2098 } 2099 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2100 switch v := v.(*UpgradeInstanceRequest); i { 2101 case 0: 2102 return &v.state 2103 case 1: 2104 return &v.sizeCache 2105 case 2: 2106 return &v.unknownFields 2107 default: 2108 return nil 2109 } 2110 } 2111 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2112 switch v := v.(*DeleteInstanceRequest); i { 2113 case 0: 2114 return &v.state 2115 case 1: 2116 return &v.sizeCache 2117 case 2: 2118 return &v.unknownFields 2119 default: 2120 return nil 2121 } 2122 } 2123 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2124 switch v := v.(*GcsSource); i { 2125 case 0: 2126 return &v.state 2127 case 1: 2128 return &v.sizeCache 2129 case 2: 2130 return &v.unknownFields 2131 default: 2132 return nil 2133 } 2134 } 2135 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2136 switch v := v.(*InputConfig); i { 2137 case 0: 2138 return &v.state 2139 case 1: 2140 return &v.sizeCache 2141 case 2: 2142 return &v.unknownFields 2143 default: 2144 return nil 2145 } 2146 } 2147 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2148 switch v := v.(*ImportInstanceRequest); i { 2149 case 0: 2150 return &v.state 2151 case 1: 2152 return &v.sizeCache 2153 case 2: 2154 return &v.unknownFields 2155 default: 2156 return nil 2157 } 2158 } 2159 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2160 switch v := v.(*GcsDestination); i { 2161 case 0: 2162 return &v.state 2163 case 1: 2164 return &v.sizeCache 2165 case 2: 2166 return &v.unknownFields 2167 default: 2168 return nil 2169 } 2170 } 2171 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2172 switch v := v.(*OutputConfig); i { 2173 case 0: 2174 return &v.state 2175 case 1: 2176 return &v.sizeCache 2177 case 2: 2178 return &v.unknownFields 2179 default: 2180 return nil 2181 } 2182 } 2183 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2184 switch v := v.(*ExportInstanceRequest); i { 2185 case 0: 2186 return &v.state 2187 case 1: 2188 return &v.sizeCache 2189 case 2: 2190 return &v.unknownFields 2191 default: 2192 return nil 2193 } 2194 } 2195 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2196 switch v := v.(*FailoverInstanceRequest); i { 2197 case 0: 2198 return &v.state 2199 case 1: 2200 return &v.sizeCache 2201 case 2: 2202 return &v.unknownFields 2203 default: 2204 return nil 2205 } 2206 } 2207 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2208 switch v := v.(*LocationMetadata); i { 2209 case 0: 2210 return &v.state 2211 case 1: 2212 return &v.sizeCache 2213 case 2: 2214 return &v.unknownFields 2215 default: 2216 return nil 2217 } 2218 } 2219 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2220 switch v := v.(*ZoneMetadata); i { 2221 case 0: 2222 return &v.state 2223 case 1: 2224 return &v.sizeCache 2225 case 2: 2226 return &v.unknownFields 2227 default: 2228 return nil 2229 } 2230 } 2231 } 2232 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[9].OneofWrappers = []interface{}{ 2233 (*InputConfig_GcsSource)(nil), 2234 } 2235 file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes[12].OneofWrappers = []interface{}{ 2236 (*OutputConfig_GcsDestination)(nil), 2237 } 2238 type x struct{} 2239 out := protoimpl.TypeBuilder{ 2240 File: protoimpl.DescBuilder{ 2241 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2242 RawDescriptor: file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDesc, 2243 NumEnums: 4, 2244 NumMessages: 20, 2245 NumExtensions: 0, 2246 NumServices: 1, 2247 }, 2248 GoTypes: file_google_cloud_redis_v1beta1_cloud_redis_proto_goTypes, 2249 DependencyIndexes: file_google_cloud_redis_v1beta1_cloud_redis_proto_depIdxs, 2250 EnumInfos: file_google_cloud_redis_v1beta1_cloud_redis_proto_enumTypes, 2251 MessageInfos: file_google_cloud_redis_v1beta1_cloud_redis_proto_msgTypes, 2252 }.Build() 2253 File_google_cloud_redis_v1beta1_cloud_redis_proto = out.File 2254 file_google_cloud_redis_v1beta1_cloud_redis_proto_rawDesc = nil 2255 file_google_cloud_redis_v1beta1_cloud_redis_proto_goTypes = nil 2256 file_google_cloud_redis_v1beta1_cloud_redis_proto_depIdxs = nil 2257} 2258 2259// Reference imports to suppress errors if they are not otherwise used. 2260var _ context.Context 2261var _ grpc.ClientConnInterface 2262 2263// This is a compile-time assertion to ensure that this generated file 2264// is compatible with the grpc package it is being compiled against. 2265const _ = grpc.SupportPackageIsVersion6 2266 2267// CloudRedisClient is the client API for CloudRedis service. 2268// 2269// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2270type CloudRedisClient interface { 2271 // Lists all Redis instances owned by a project in either the specified 2272 // location (region) or all locations. 2273 // 2274 // The location should have the following format: 2275 // 2276 // * `projects/{project_id}/locations/{location_id}` 2277 // 2278 // If `location_id` is specified as `-` (wildcard), then all regions 2279 // available to the project are queried, and the results are aggregated. 2280 ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) 2281 // Gets the details of a specific Redis instance. 2282 GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) 2283 // Creates a Redis instance based on the specified tier and memory size. 2284 // 2285 // By default, the instance is accessible from the project's 2286 // [default network](/compute/docs/networks-and-firewalls#networks). 2287 // 2288 // The creation is executed asynchronously and callers may check the returned 2289 // operation to track its progress. Once the operation is completed the Redis 2290 // instance will be fully functional. Completed longrunning.Operation will 2291 // contain the new instance object in the response field. 2292 // 2293 // The returned operation is automatically deleted after a few hours, so there 2294 // is no need to call DeleteOperation. 2295 CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2296 // Updates the metadata and configuration of a specific Redis instance. 2297 // 2298 // Completed longrunning.Operation will contain the new instance object 2299 // in the response field. The returned operation is automatically deleted 2300 // after a few hours, so there is no need to call DeleteOperation. 2301 UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2302 // Upgrades Redis instance to the newer Redis version specified in the 2303 // request. 2304 UpgradeInstance(ctx context.Context, in *UpgradeInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2305 // Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. 2306 // 2307 // Redis may stop serving during this operation. Instance state will be 2308 // IMPORTING for entire operation. When complete, the instance will contain 2309 // only data from the imported file. 2310 // 2311 // The returned operation is automatically deleted after a few hours, so 2312 // there is no need to call DeleteOperation. 2313 ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2314 // Export Redis instance data into a Redis RDB format file in Cloud Storage. 2315 // 2316 // Redis will continue serving during this operation. 2317 // 2318 // The returned operation is automatically deleted after a few hours, so 2319 // there is no need to call DeleteOperation. 2320 ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2321 // Initiates a failover of the master node to current replica node for a 2322 // specific STANDARD tier Cloud Memorystore for Redis instance. 2323 FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2324 // Deletes a specific Redis instance. Instance stops serving and data is 2325 // deleted. 2326 DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2327} 2328 2329type cloudRedisClient struct { 2330 cc grpc.ClientConnInterface 2331} 2332 2333func NewCloudRedisClient(cc grpc.ClientConnInterface) CloudRedisClient { 2334 return &cloudRedisClient{cc} 2335} 2336 2337func (c *cloudRedisClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) { 2338 out := new(ListInstancesResponse) 2339 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/ListInstances", in, out, opts...) 2340 if err != nil { 2341 return nil, err 2342 } 2343 return out, nil 2344} 2345 2346func (c *cloudRedisClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) { 2347 out := new(Instance) 2348 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/GetInstance", in, out, opts...) 2349 if err != nil { 2350 return nil, err 2351 } 2352 return out, nil 2353} 2354 2355func (c *cloudRedisClient) CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2356 out := new(longrunning.Operation) 2357 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/CreateInstance", in, out, opts...) 2358 if err != nil { 2359 return nil, err 2360 } 2361 return out, nil 2362} 2363 2364func (c *cloudRedisClient) UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2365 out := new(longrunning.Operation) 2366 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/UpdateInstance", in, out, opts...) 2367 if err != nil { 2368 return nil, err 2369 } 2370 return out, nil 2371} 2372 2373func (c *cloudRedisClient) UpgradeInstance(ctx context.Context, in *UpgradeInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2374 out := new(longrunning.Operation) 2375 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/UpgradeInstance", in, out, opts...) 2376 if err != nil { 2377 return nil, err 2378 } 2379 return out, nil 2380} 2381 2382func (c *cloudRedisClient) ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2383 out := new(longrunning.Operation) 2384 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/ImportInstance", in, out, opts...) 2385 if err != nil { 2386 return nil, err 2387 } 2388 return out, nil 2389} 2390 2391func (c *cloudRedisClient) ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2392 out := new(longrunning.Operation) 2393 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/ExportInstance", in, out, opts...) 2394 if err != nil { 2395 return nil, err 2396 } 2397 return out, nil 2398} 2399 2400func (c *cloudRedisClient) FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2401 out := new(longrunning.Operation) 2402 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/FailoverInstance", in, out, opts...) 2403 if err != nil { 2404 return nil, err 2405 } 2406 return out, nil 2407} 2408 2409func (c *cloudRedisClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2410 out := new(longrunning.Operation) 2411 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/DeleteInstance", in, out, opts...) 2412 if err != nil { 2413 return nil, err 2414 } 2415 return out, nil 2416} 2417 2418// CloudRedisServer is the server API for CloudRedis service. 2419type CloudRedisServer interface { 2420 // Lists all Redis instances owned by a project in either the specified 2421 // location (region) or all locations. 2422 // 2423 // The location should have the following format: 2424 // 2425 // * `projects/{project_id}/locations/{location_id}` 2426 // 2427 // If `location_id` is specified as `-` (wildcard), then all regions 2428 // available to the project are queried, and the results are aggregated. 2429 ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) 2430 // Gets the details of a specific Redis instance. 2431 GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) 2432 // Creates a Redis instance based on the specified tier and memory size. 2433 // 2434 // By default, the instance is accessible from the project's 2435 // [default network](/compute/docs/networks-and-firewalls#networks). 2436 // 2437 // The creation is executed asynchronously and callers may check the returned 2438 // operation to track its progress. Once the operation is completed the Redis 2439 // instance will be fully functional. Completed longrunning.Operation will 2440 // contain the new instance object in the response field. 2441 // 2442 // The returned operation is automatically deleted after a few hours, so there 2443 // is no need to call DeleteOperation. 2444 CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error) 2445 // Updates the metadata and configuration of a specific Redis instance. 2446 // 2447 // Completed longrunning.Operation will contain the new instance object 2448 // in the response field. The returned operation is automatically deleted 2449 // after a few hours, so there is no need to call DeleteOperation. 2450 UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error) 2451 // Upgrades Redis instance to the newer Redis version specified in the 2452 // request. 2453 UpgradeInstance(context.Context, *UpgradeInstanceRequest) (*longrunning.Operation, error) 2454 // Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. 2455 // 2456 // Redis may stop serving during this operation. Instance state will be 2457 // IMPORTING for entire operation. When complete, the instance will contain 2458 // only data from the imported file. 2459 // 2460 // The returned operation is automatically deleted after a few hours, so 2461 // there is no need to call DeleteOperation. 2462 ImportInstance(context.Context, *ImportInstanceRequest) (*longrunning.Operation, error) 2463 // Export Redis instance data into a Redis RDB format file in Cloud Storage. 2464 // 2465 // Redis will continue serving during this operation. 2466 // 2467 // The returned operation is automatically deleted after a few hours, so 2468 // there is no need to call DeleteOperation. 2469 ExportInstance(context.Context, *ExportInstanceRequest) (*longrunning.Operation, error) 2470 // Initiates a failover of the master node to current replica node for a 2471 // specific STANDARD tier Cloud Memorystore for Redis instance. 2472 FailoverInstance(context.Context, *FailoverInstanceRequest) (*longrunning.Operation, error) 2473 // Deletes a specific Redis instance. Instance stops serving and data is 2474 // deleted. 2475 DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) 2476} 2477 2478// UnimplementedCloudRedisServer can be embedded to have forward compatible implementations. 2479type UnimplementedCloudRedisServer struct { 2480} 2481 2482func (*UnimplementedCloudRedisServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) { 2483 return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") 2484} 2485func (*UnimplementedCloudRedisServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) { 2486 return nil, status.Errorf(codes.Unimplemented, "method GetInstance not implemented") 2487} 2488func (*UnimplementedCloudRedisServer) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error) { 2489 return nil, status.Errorf(codes.Unimplemented, "method CreateInstance not implemented") 2490} 2491func (*UnimplementedCloudRedisServer) UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error) { 2492 return nil, status.Errorf(codes.Unimplemented, "method UpdateInstance not implemented") 2493} 2494func (*UnimplementedCloudRedisServer) UpgradeInstance(context.Context, *UpgradeInstanceRequest) (*longrunning.Operation, error) { 2495 return nil, status.Errorf(codes.Unimplemented, "method UpgradeInstance not implemented") 2496} 2497func (*UnimplementedCloudRedisServer) ImportInstance(context.Context, *ImportInstanceRequest) (*longrunning.Operation, error) { 2498 return nil, status.Errorf(codes.Unimplemented, "method ImportInstance not implemented") 2499} 2500func (*UnimplementedCloudRedisServer) ExportInstance(context.Context, *ExportInstanceRequest) (*longrunning.Operation, error) { 2501 return nil, status.Errorf(codes.Unimplemented, "method ExportInstance not implemented") 2502} 2503func (*UnimplementedCloudRedisServer) FailoverInstance(context.Context, *FailoverInstanceRequest) (*longrunning.Operation, error) { 2504 return nil, status.Errorf(codes.Unimplemented, "method FailoverInstance not implemented") 2505} 2506func (*UnimplementedCloudRedisServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) { 2507 return nil, status.Errorf(codes.Unimplemented, "method DeleteInstance not implemented") 2508} 2509 2510func RegisterCloudRedisServer(s *grpc.Server, srv CloudRedisServer) { 2511 s.RegisterService(&_CloudRedis_serviceDesc, srv) 2512} 2513 2514func _CloudRedis_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2515 in := new(ListInstancesRequest) 2516 if err := dec(in); err != nil { 2517 return nil, err 2518 } 2519 if interceptor == nil { 2520 return srv.(CloudRedisServer).ListInstances(ctx, in) 2521 } 2522 info := &grpc.UnaryServerInfo{ 2523 Server: srv, 2524 FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/ListInstances", 2525 } 2526 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2527 return srv.(CloudRedisServer).ListInstances(ctx, req.(*ListInstancesRequest)) 2528 } 2529 return interceptor(ctx, in, info, handler) 2530} 2531 2532func _CloudRedis_GetInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2533 in := new(GetInstanceRequest) 2534 if err := dec(in); err != nil { 2535 return nil, err 2536 } 2537 if interceptor == nil { 2538 return srv.(CloudRedisServer).GetInstance(ctx, in) 2539 } 2540 info := &grpc.UnaryServerInfo{ 2541 Server: srv, 2542 FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/GetInstance", 2543 } 2544 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2545 return srv.(CloudRedisServer).GetInstance(ctx, req.(*GetInstanceRequest)) 2546 } 2547 return interceptor(ctx, in, info, handler) 2548} 2549 2550func _CloudRedis_CreateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2551 in := new(CreateInstanceRequest) 2552 if err := dec(in); err != nil { 2553 return nil, err 2554 } 2555 if interceptor == nil { 2556 return srv.(CloudRedisServer).CreateInstance(ctx, in) 2557 } 2558 info := &grpc.UnaryServerInfo{ 2559 Server: srv, 2560 FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/CreateInstance", 2561 } 2562 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2563 return srv.(CloudRedisServer).CreateInstance(ctx, req.(*CreateInstanceRequest)) 2564 } 2565 return interceptor(ctx, in, info, handler) 2566} 2567 2568func _CloudRedis_UpdateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2569 in := new(UpdateInstanceRequest) 2570 if err := dec(in); err != nil { 2571 return nil, err 2572 } 2573 if interceptor == nil { 2574 return srv.(CloudRedisServer).UpdateInstance(ctx, in) 2575 } 2576 info := &grpc.UnaryServerInfo{ 2577 Server: srv, 2578 FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/UpdateInstance", 2579 } 2580 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2581 return srv.(CloudRedisServer).UpdateInstance(ctx, req.(*UpdateInstanceRequest)) 2582 } 2583 return interceptor(ctx, in, info, handler) 2584} 2585 2586func _CloudRedis_UpgradeInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2587 in := new(UpgradeInstanceRequest) 2588 if err := dec(in); err != nil { 2589 return nil, err 2590 } 2591 if interceptor == nil { 2592 return srv.(CloudRedisServer).UpgradeInstance(ctx, in) 2593 } 2594 info := &grpc.UnaryServerInfo{ 2595 Server: srv, 2596 FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/UpgradeInstance", 2597 } 2598 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2599 return srv.(CloudRedisServer).UpgradeInstance(ctx, req.(*UpgradeInstanceRequest)) 2600 } 2601 return interceptor(ctx, in, info, handler) 2602} 2603 2604func _CloudRedis_ImportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2605 in := new(ImportInstanceRequest) 2606 if err := dec(in); err != nil { 2607 return nil, err 2608 } 2609 if interceptor == nil { 2610 return srv.(CloudRedisServer).ImportInstance(ctx, in) 2611 } 2612 info := &grpc.UnaryServerInfo{ 2613 Server: srv, 2614 FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/ImportInstance", 2615 } 2616 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2617 return srv.(CloudRedisServer).ImportInstance(ctx, req.(*ImportInstanceRequest)) 2618 } 2619 return interceptor(ctx, in, info, handler) 2620} 2621 2622func _CloudRedis_ExportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2623 in := new(ExportInstanceRequest) 2624 if err := dec(in); err != nil { 2625 return nil, err 2626 } 2627 if interceptor == nil { 2628 return srv.(CloudRedisServer).ExportInstance(ctx, in) 2629 } 2630 info := &grpc.UnaryServerInfo{ 2631 Server: srv, 2632 FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/ExportInstance", 2633 } 2634 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2635 return srv.(CloudRedisServer).ExportInstance(ctx, req.(*ExportInstanceRequest)) 2636 } 2637 return interceptor(ctx, in, info, handler) 2638} 2639 2640func _CloudRedis_FailoverInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2641 in := new(FailoverInstanceRequest) 2642 if err := dec(in); err != nil { 2643 return nil, err 2644 } 2645 if interceptor == nil { 2646 return srv.(CloudRedisServer).FailoverInstance(ctx, in) 2647 } 2648 info := &grpc.UnaryServerInfo{ 2649 Server: srv, 2650 FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/FailoverInstance", 2651 } 2652 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2653 return srv.(CloudRedisServer).FailoverInstance(ctx, req.(*FailoverInstanceRequest)) 2654 } 2655 return interceptor(ctx, in, info, handler) 2656} 2657 2658func _CloudRedis_DeleteInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2659 in := new(DeleteInstanceRequest) 2660 if err := dec(in); err != nil { 2661 return nil, err 2662 } 2663 if interceptor == nil { 2664 return srv.(CloudRedisServer).DeleteInstance(ctx, in) 2665 } 2666 info := &grpc.UnaryServerInfo{ 2667 Server: srv, 2668 FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/DeleteInstance", 2669 } 2670 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2671 return srv.(CloudRedisServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest)) 2672 } 2673 return interceptor(ctx, in, info, handler) 2674} 2675 2676var _CloudRedis_serviceDesc = grpc.ServiceDesc{ 2677 ServiceName: "google.cloud.redis.v1beta1.CloudRedis", 2678 HandlerType: (*CloudRedisServer)(nil), 2679 Methods: []grpc.MethodDesc{ 2680 { 2681 MethodName: "ListInstances", 2682 Handler: _CloudRedis_ListInstances_Handler, 2683 }, 2684 { 2685 MethodName: "GetInstance", 2686 Handler: _CloudRedis_GetInstance_Handler, 2687 }, 2688 { 2689 MethodName: "CreateInstance", 2690 Handler: _CloudRedis_CreateInstance_Handler, 2691 }, 2692 { 2693 MethodName: "UpdateInstance", 2694 Handler: _CloudRedis_UpdateInstance_Handler, 2695 }, 2696 { 2697 MethodName: "UpgradeInstance", 2698 Handler: _CloudRedis_UpgradeInstance_Handler, 2699 }, 2700 { 2701 MethodName: "ImportInstance", 2702 Handler: _CloudRedis_ImportInstance_Handler, 2703 }, 2704 { 2705 MethodName: "ExportInstance", 2706 Handler: _CloudRedis_ExportInstance_Handler, 2707 }, 2708 { 2709 MethodName: "FailoverInstance", 2710 Handler: _CloudRedis_FailoverInstance_Handler, 2711 }, 2712 { 2713 MethodName: "DeleteInstance", 2714 Handler: _CloudRedis_DeleteInstance_Handler, 2715 }, 2716 }, 2717 Streams: []grpc.StreamDesc{}, 2718 Metadata: "google/cloud/redis/v1beta1/cloud_redis.proto", 2719} 2720