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/v1/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 = 9 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 9: "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": 9, 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_v1_cloud_redis_proto_enumTypes[0].Descriptor() 115} 116 117func (Instance_State) Type() protoreflect.EnumType { 118 return &file_google_cloud_redis_v1_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_v1_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_v1_cloud_redis_proto_enumTypes[1].Descriptor() 168} 169 170func (Instance_Tier) Type() protoreflect.EnumType { 171 return &file_google_cloud_redis_v1_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_v1_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_v1_cloud_redis_proto_enumTypes[2].Descriptor() 222} 223 224func (Instance_ConnectMode) Type() protoreflect.EnumType { 225 return &file_google_cloud_redis_v1_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_v1_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_v1_cloud_redis_proto_enumTypes[3].Descriptor() 279} 280 281func (FailoverInstanceRequest_DataProtectionMode) Type() protoreflect.EnumType { 282 return &file_google_cloud_redis_v1_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_v1_cloud_redis_proto_rawDescGZIP(), []int{13, 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.v1.Instance.location_id] and 308 // [alternative_location_id][google.cloud.redis.v1.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.v1.Instance.alternative_location_id] is also provided, it must be 318 // different from [location_id][google.cloud.redis.v1.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.v1.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.v1.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.v1.Instance.location_id] or [alternative_location_id][google.cloud.redis.v1.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.v1.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.v1.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.v1.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_v1_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_v1_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_v1_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.v1.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.v1.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.v1.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_v1_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_v1_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_v1_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.v1.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_v1_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_v1_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_v1_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.v1.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_v1_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_v1_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_v1_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.v1.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_v1_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_v1_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_v1_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.v1.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.v1.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_v1_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_v1_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_v1_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 [DeleteInstance][google.cloud.redis.v1.CloudRedis.DeleteInstance]. 909type DeleteInstanceRequest 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} 919 920func (x *DeleteInstanceRequest) Reset() { 921 *x = DeleteInstanceRequest{} 922 if protoimpl.UnsafeEnabled { 923 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[6] 924 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 925 ms.StoreMessageInfo(mi) 926 } 927} 928 929func (x *DeleteInstanceRequest) String() string { 930 return protoimpl.X.MessageStringOf(x) 931} 932 933func (*DeleteInstanceRequest) ProtoMessage() {} 934 935func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message { 936 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[6] 937 if protoimpl.UnsafeEnabled && x != nil { 938 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 939 if ms.LoadMessageInfo() == nil { 940 ms.StoreMessageInfo(mi) 941 } 942 return ms 943 } 944 return mi.MessageOf(x) 945} 946 947// Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead. 948func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { 949 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{6} 950} 951 952func (x *DeleteInstanceRequest) GetName() string { 953 if x != nil { 954 return x.Name 955 } 956 return "" 957} 958 959// The Cloud Storage location for the input content 960type GcsSource struct { 961 state protoimpl.MessageState 962 sizeCache protoimpl.SizeCache 963 unknownFields protoimpl.UnknownFields 964 965 // Required. Source data URI. (e.g. 'gs://my_bucket/my_object'). 966 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` 967} 968 969func (x *GcsSource) Reset() { 970 *x = GcsSource{} 971 if protoimpl.UnsafeEnabled { 972 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[7] 973 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 974 ms.StoreMessageInfo(mi) 975 } 976} 977 978func (x *GcsSource) String() string { 979 return protoimpl.X.MessageStringOf(x) 980} 981 982func (*GcsSource) ProtoMessage() {} 983 984func (x *GcsSource) ProtoReflect() protoreflect.Message { 985 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[7] 986 if protoimpl.UnsafeEnabled && x != nil { 987 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 988 if ms.LoadMessageInfo() == nil { 989 ms.StoreMessageInfo(mi) 990 } 991 return ms 992 } 993 return mi.MessageOf(x) 994} 995 996// Deprecated: Use GcsSource.ProtoReflect.Descriptor instead. 997func (*GcsSource) Descriptor() ([]byte, []int) { 998 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{7} 999} 1000 1001func (x *GcsSource) GetUri() string { 1002 if x != nil { 1003 return x.Uri 1004 } 1005 return "" 1006} 1007 1008// The input content 1009type InputConfig struct { 1010 state protoimpl.MessageState 1011 sizeCache protoimpl.SizeCache 1012 unknownFields protoimpl.UnknownFields 1013 1014 // Required. Specify source location of input data 1015 // 1016 // Types that are assignable to Source: 1017 // *InputConfig_GcsSource 1018 Source isInputConfig_Source `protobuf_oneof:"source"` 1019} 1020 1021func (x *InputConfig) Reset() { 1022 *x = InputConfig{} 1023 if protoimpl.UnsafeEnabled { 1024 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[8] 1025 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1026 ms.StoreMessageInfo(mi) 1027 } 1028} 1029 1030func (x *InputConfig) String() string { 1031 return protoimpl.X.MessageStringOf(x) 1032} 1033 1034func (*InputConfig) ProtoMessage() {} 1035 1036func (x *InputConfig) ProtoReflect() protoreflect.Message { 1037 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[8] 1038 if protoimpl.UnsafeEnabled && x != nil { 1039 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1040 if ms.LoadMessageInfo() == nil { 1041 ms.StoreMessageInfo(mi) 1042 } 1043 return ms 1044 } 1045 return mi.MessageOf(x) 1046} 1047 1048// Deprecated: Use InputConfig.ProtoReflect.Descriptor instead. 1049func (*InputConfig) Descriptor() ([]byte, []int) { 1050 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{8} 1051} 1052 1053func (m *InputConfig) GetSource() isInputConfig_Source { 1054 if m != nil { 1055 return m.Source 1056 } 1057 return nil 1058} 1059 1060func (x *InputConfig) GetGcsSource() *GcsSource { 1061 if x, ok := x.GetSource().(*InputConfig_GcsSource); ok { 1062 return x.GcsSource 1063 } 1064 return nil 1065} 1066 1067type isInputConfig_Source interface { 1068 isInputConfig_Source() 1069} 1070 1071type InputConfig_GcsSource struct { 1072 // Google Cloud Storage location where input content is located. 1073 GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` 1074} 1075 1076func (*InputConfig_GcsSource) isInputConfig_Source() {} 1077 1078// Request for [Import][google.cloud.redis.v1.CloudRedis.ImportInstance]. 1079type ImportInstanceRequest struct { 1080 state protoimpl.MessageState 1081 sizeCache protoimpl.SizeCache 1082 unknownFields protoimpl.UnknownFields 1083 1084 // Required. Redis instance resource name using the form: 1085 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` 1086 // where `location_id` refers to a GCP region. 1087 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1088 // Required. Specify data to be imported. 1089 InputConfig *InputConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` 1090} 1091 1092func (x *ImportInstanceRequest) Reset() { 1093 *x = ImportInstanceRequest{} 1094 if protoimpl.UnsafeEnabled { 1095 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[9] 1096 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1097 ms.StoreMessageInfo(mi) 1098 } 1099} 1100 1101func (x *ImportInstanceRequest) String() string { 1102 return protoimpl.X.MessageStringOf(x) 1103} 1104 1105func (*ImportInstanceRequest) ProtoMessage() {} 1106 1107func (x *ImportInstanceRequest) ProtoReflect() protoreflect.Message { 1108 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[9] 1109 if protoimpl.UnsafeEnabled && x != nil { 1110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1111 if ms.LoadMessageInfo() == nil { 1112 ms.StoreMessageInfo(mi) 1113 } 1114 return ms 1115 } 1116 return mi.MessageOf(x) 1117} 1118 1119// Deprecated: Use ImportInstanceRequest.ProtoReflect.Descriptor instead. 1120func (*ImportInstanceRequest) Descriptor() ([]byte, []int) { 1121 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{9} 1122} 1123 1124func (x *ImportInstanceRequest) GetName() string { 1125 if x != nil { 1126 return x.Name 1127 } 1128 return "" 1129} 1130 1131func (x *ImportInstanceRequest) GetInputConfig() *InputConfig { 1132 if x != nil { 1133 return x.InputConfig 1134 } 1135 return nil 1136} 1137 1138// The Cloud Storage location for the output content 1139type GcsDestination struct { 1140 state protoimpl.MessageState 1141 sizeCache protoimpl.SizeCache 1142 unknownFields protoimpl.UnknownFields 1143 1144 // Required. Data destination URI (e.g. 1145 // 'gs://my_bucket/my_object'). Existing files will be overwritten. 1146 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` 1147} 1148 1149func (x *GcsDestination) Reset() { 1150 *x = GcsDestination{} 1151 if protoimpl.UnsafeEnabled { 1152 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[10] 1153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1154 ms.StoreMessageInfo(mi) 1155 } 1156} 1157 1158func (x *GcsDestination) String() string { 1159 return protoimpl.X.MessageStringOf(x) 1160} 1161 1162func (*GcsDestination) ProtoMessage() {} 1163 1164func (x *GcsDestination) ProtoReflect() protoreflect.Message { 1165 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[10] 1166 if protoimpl.UnsafeEnabled && x != nil { 1167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1168 if ms.LoadMessageInfo() == nil { 1169 ms.StoreMessageInfo(mi) 1170 } 1171 return ms 1172 } 1173 return mi.MessageOf(x) 1174} 1175 1176// Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead. 1177func (*GcsDestination) Descriptor() ([]byte, []int) { 1178 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{10} 1179} 1180 1181func (x *GcsDestination) GetUri() string { 1182 if x != nil { 1183 return x.Uri 1184 } 1185 return "" 1186} 1187 1188// The output content 1189type OutputConfig struct { 1190 state protoimpl.MessageState 1191 sizeCache protoimpl.SizeCache 1192 unknownFields protoimpl.UnknownFields 1193 1194 // Required. Specify destination location of output data 1195 // 1196 // Types that are assignable to Destination: 1197 // *OutputConfig_GcsDestination 1198 Destination isOutputConfig_Destination `protobuf_oneof:"destination"` 1199} 1200 1201func (x *OutputConfig) Reset() { 1202 *x = OutputConfig{} 1203 if protoimpl.UnsafeEnabled { 1204 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[11] 1205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1206 ms.StoreMessageInfo(mi) 1207 } 1208} 1209 1210func (x *OutputConfig) String() string { 1211 return protoimpl.X.MessageStringOf(x) 1212} 1213 1214func (*OutputConfig) ProtoMessage() {} 1215 1216func (x *OutputConfig) ProtoReflect() protoreflect.Message { 1217 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[11] 1218 if protoimpl.UnsafeEnabled && x != nil { 1219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1220 if ms.LoadMessageInfo() == nil { 1221 ms.StoreMessageInfo(mi) 1222 } 1223 return ms 1224 } 1225 return mi.MessageOf(x) 1226} 1227 1228// Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead. 1229func (*OutputConfig) Descriptor() ([]byte, []int) { 1230 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{11} 1231} 1232 1233func (m *OutputConfig) GetDestination() isOutputConfig_Destination { 1234 if m != nil { 1235 return m.Destination 1236 } 1237 return nil 1238} 1239 1240func (x *OutputConfig) GetGcsDestination() *GcsDestination { 1241 if x, ok := x.GetDestination().(*OutputConfig_GcsDestination); ok { 1242 return x.GcsDestination 1243 } 1244 return nil 1245} 1246 1247type isOutputConfig_Destination interface { 1248 isOutputConfig_Destination() 1249} 1250 1251type OutputConfig_GcsDestination struct { 1252 // Google Cloud Storage destination for output content. 1253 GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"` 1254} 1255 1256func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {} 1257 1258// Request for [Export][google.cloud.redis.v1.CloudRedis.ExportInstance]. 1259type ExportInstanceRequest struct { 1260 state protoimpl.MessageState 1261 sizeCache protoimpl.SizeCache 1262 unknownFields protoimpl.UnknownFields 1263 1264 // Required. Redis instance resource name using the form: 1265 // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` 1266 // where `location_id` refers to a GCP region. 1267 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1268 // Required. Specify data to be exported. 1269 OutputConfig *OutputConfig `protobuf:"bytes,3,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` 1270} 1271 1272func (x *ExportInstanceRequest) Reset() { 1273 *x = ExportInstanceRequest{} 1274 if protoimpl.UnsafeEnabled { 1275 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[12] 1276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1277 ms.StoreMessageInfo(mi) 1278 } 1279} 1280 1281func (x *ExportInstanceRequest) String() string { 1282 return protoimpl.X.MessageStringOf(x) 1283} 1284 1285func (*ExportInstanceRequest) ProtoMessage() {} 1286 1287func (x *ExportInstanceRequest) ProtoReflect() protoreflect.Message { 1288 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[12] 1289 if protoimpl.UnsafeEnabled && x != nil { 1290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1291 if ms.LoadMessageInfo() == nil { 1292 ms.StoreMessageInfo(mi) 1293 } 1294 return ms 1295 } 1296 return mi.MessageOf(x) 1297} 1298 1299// Deprecated: Use ExportInstanceRequest.ProtoReflect.Descriptor instead. 1300func (*ExportInstanceRequest) Descriptor() ([]byte, []int) { 1301 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{12} 1302} 1303 1304func (x *ExportInstanceRequest) GetName() string { 1305 if x != nil { 1306 return x.Name 1307 } 1308 return "" 1309} 1310 1311func (x *ExportInstanceRequest) GetOutputConfig() *OutputConfig { 1312 if x != nil { 1313 return x.OutputConfig 1314 } 1315 return nil 1316} 1317 1318// Request for [Failover][google.cloud.redis.v1.CloudRedis.FailoverInstance]. 1319type FailoverInstanceRequest 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 // Optional. Available data protection modes that the user can choose. If it's 1329 // unspecified, data protection mode will be LIMITED_DATA_LOSS by default. 1330 DataProtectionMode FailoverInstanceRequest_DataProtectionMode `protobuf:"varint,2,opt,name=data_protection_mode,json=dataProtectionMode,proto3,enum=google.cloud.redis.v1.FailoverInstanceRequest_DataProtectionMode" json:"data_protection_mode,omitempty"` 1331} 1332 1333func (x *FailoverInstanceRequest) Reset() { 1334 *x = FailoverInstanceRequest{} 1335 if protoimpl.UnsafeEnabled { 1336 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[13] 1337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1338 ms.StoreMessageInfo(mi) 1339 } 1340} 1341 1342func (x *FailoverInstanceRequest) String() string { 1343 return protoimpl.X.MessageStringOf(x) 1344} 1345 1346func (*FailoverInstanceRequest) ProtoMessage() {} 1347 1348func (x *FailoverInstanceRequest) ProtoReflect() protoreflect.Message { 1349 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[13] 1350 if protoimpl.UnsafeEnabled && x != nil { 1351 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1352 if ms.LoadMessageInfo() == nil { 1353 ms.StoreMessageInfo(mi) 1354 } 1355 return ms 1356 } 1357 return mi.MessageOf(x) 1358} 1359 1360// Deprecated: Use FailoverInstanceRequest.ProtoReflect.Descriptor instead. 1361func (*FailoverInstanceRequest) Descriptor() ([]byte, []int) { 1362 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{13} 1363} 1364 1365func (x *FailoverInstanceRequest) GetName() string { 1366 if x != nil { 1367 return x.Name 1368 } 1369 return "" 1370} 1371 1372func (x *FailoverInstanceRequest) GetDataProtectionMode() FailoverInstanceRequest_DataProtectionMode { 1373 if x != nil { 1374 return x.DataProtectionMode 1375 } 1376 return FailoverInstanceRequest_DATA_PROTECTION_MODE_UNSPECIFIED 1377} 1378 1379// Represents the v1 metadata of the long-running operation. 1380type OperationMetadata struct { 1381 state protoimpl.MessageState 1382 sizeCache protoimpl.SizeCache 1383 unknownFields protoimpl.UnknownFields 1384 1385 // Creation timestamp. 1386 CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 1387 // End timestamp. 1388 EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` 1389 // Operation target. 1390 Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` 1391 // Operation verb. 1392 Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` 1393 // Operation status details. 1394 StatusDetail string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"` 1395 // Specifies if cancellation was requested for the operation. 1396 CancelRequested bool `protobuf:"varint,6,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"` 1397 // API version. 1398 ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` 1399} 1400 1401func (x *OperationMetadata) Reset() { 1402 *x = OperationMetadata{} 1403 if protoimpl.UnsafeEnabled { 1404 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[14] 1405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1406 ms.StoreMessageInfo(mi) 1407 } 1408} 1409 1410func (x *OperationMetadata) String() string { 1411 return protoimpl.X.MessageStringOf(x) 1412} 1413 1414func (*OperationMetadata) ProtoMessage() {} 1415 1416func (x *OperationMetadata) ProtoReflect() protoreflect.Message { 1417 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[14] 1418 if protoimpl.UnsafeEnabled && x != nil { 1419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1420 if ms.LoadMessageInfo() == nil { 1421 ms.StoreMessageInfo(mi) 1422 } 1423 return ms 1424 } 1425 return mi.MessageOf(x) 1426} 1427 1428// Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead. 1429func (*OperationMetadata) Descriptor() ([]byte, []int) { 1430 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{14} 1431} 1432 1433func (x *OperationMetadata) GetCreateTime() *timestamp.Timestamp { 1434 if x != nil { 1435 return x.CreateTime 1436 } 1437 return nil 1438} 1439 1440func (x *OperationMetadata) GetEndTime() *timestamp.Timestamp { 1441 if x != nil { 1442 return x.EndTime 1443 } 1444 return nil 1445} 1446 1447func (x *OperationMetadata) GetTarget() string { 1448 if x != nil { 1449 return x.Target 1450 } 1451 return "" 1452} 1453 1454func (x *OperationMetadata) GetVerb() string { 1455 if x != nil { 1456 return x.Verb 1457 } 1458 return "" 1459} 1460 1461func (x *OperationMetadata) GetStatusDetail() string { 1462 if x != nil { 1463 return x.StatusDetail 1464 } 1465 return "" 1466} 1467 1468func (x *OperationMetadata) GetCancelRequested() bool { 1469 if x != nil { 1470 return x.CancelRequested 1471 } 1472 return false 1473} 1474 1475func (x *OperationMetadata) GetApiVersion() string { 1476 if x != nil { 1477 return x.ApiVersion 1478 } 1479 return "" 1480} 1481 1482// This location metadata represents additional configuration options for a 1483// given location where a Redis instance may be created. All fields are output 1484// only. It is returned as content of the 1485// `google.cloud.location.Location.metadata` field. 1486type LocationMetadata struct { 1487 state protoimpl.MessageState 1488 sizeCache protoimpl.SizeCache 1489 unknownFields protoimpl.UnknownFields 1490 1491 // Output only. The set of available zones in the location. The map is keyed 1492 // by the lowercase ID of each zone, as defined by GCE. These keys can be 1493 // specified in `location_id` or `alternative_location_id` fields when 1494 // creating a Redis instance. 1495 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"` 1496} 1497 1498func (x *LocationMetadata) Reset() { 1499 *x = LocationMetadata{} 1500 if protoimpl.UnsafeEnabled { 1501 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[15] 1502 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1503 ms.StoreMessageInfo(mi) 1504 } 1505} 1506 1507func (x *LocationMetadata) String() string { 1508 return protoimpl.X.MessageStringOf(x) 1509} 1510 1511func (*LocationMetadata) ProtoMessage() {} 1512 1513func (x *LocationMetadata) ProtoReflect() protoreflect.Message { 1514 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[15] 1515 if protoimpl.UnsafeEnabled && x != nil { 1516 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1517 if ms.LoadMessageInfo() == nil { 1518 ms.StoreMessageInfo(mi) 1519 } 1520 return ms 1521 } 1522 return mi.MessageOf(x) 1523} 1524 1525// Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead. 1526func (*LocationMetadata) Descriptor() ([]byte, []int) { 1527 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{15} 1528} 1529 1530func (x *LocationMetadata) GetAvailableZones() map[string]*ZoneMetadata { 1531 if x != nil { 1532 return x.AvailableZones 1533 } 1534 return nil 1535} 1536 1537// Defines specific information for a particular zone. Currently empty and 1538// reserved for future use only. 1539type ZoneMetadata struct { 1540 state protoimpl.MessageState 1541 sizeCache protoimpl.SizeCache 1542 unknownFields protoimpl.UnknownFields 1543} 1544 1545func (x *ZoneMetadata) Reset() { 1546 *x = ZoneMetadata{} 1547 if protoimpl.UnsafeEnabled { 1548 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[16] 1549 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1550 ms.StoreMessageInfo(mi) 1551 } 1552} 1553 1554func (x *ZoneMetadata) String() string { 1555 return protoimpl.X.MessageStringOf(x) 1556} 1557 1558func (*ZoneMetadata) ProtoMessage() {} 1559 1560func (x *ZoneMetadata) ProtoReflect() protoreflect.Message { 1561 mi := &file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[16] 1562 if protoimpl.UnsafeEnabled && x != nil { 1563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1564 if ms.LoadMessageInfo() == nil { 1565 ms.StoreMessageInfo(mi) 1566 } 1567 return ms 1568 } 1569 return mi.MessageOf(x) 1570} 1571 1572// Deprecated: Use ZoneMetadata.ProtoReflect.Descriptor instead. 1573func (*ZoneMetadata) Descriptor() ([]byte, []int) { 1574 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP(), []int{16} 1575} 1576 1577var File_google_cloud_redis_v1_cloud_redis_proto protoreflect.FileDescriptor 1578 1579var file_google_cloud_redis_v1_cloud_redis_proto_rawDesc = []byte{ 1580 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 1581 0x65, 0x64, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x72, 0x65, 1582 0x64, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1583 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 1584 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 1585 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 1586 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 1587 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 1588 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 1589 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1590 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 1591 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 1592 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 1593 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1594 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 1595 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 1596 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 1597 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x0b, 0x0a, 0x08, 1598 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1599 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 1600 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 1601 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 1602 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 1603 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1604 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 1605 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 1606 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 1607 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 1608 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 1609 0x3b, 0x0a, 0x17, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6c, 1610 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 1611 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x15, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 1612 0x76, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0d, 1613 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 1614 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x73, 0x56, 1615 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 1616 0x65, 0x64, 0x5f, 0x69, 0x70, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 1617 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 1618 0x49, 0x70, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 1619 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 1620 0x12, 0x17, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 1621 0xe0, 0x41, 0x03, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x33, 0x0a, 0x13, 0x63, 0x75, 0x72, 1622 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 1623 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x63, 0x75, 0x72, 1624 0x72, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x40, 1625 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 1626 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1627 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 1628 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 1629 0x12, 0x40, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 1630 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 1631 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 1632 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 1633 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 1634 0x73, 0x61, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 1635 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x5b, 1636 0x0a, 0x0d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 1637 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1638 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 1639 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 1640 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x72, 1641 0x65, 0x64, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x3d, 0x0a, 0x04, 0x74, 1642 0x69, 0x65, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1643 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 1644 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x69, 0x65, 0x72, 0x42, 1645 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x69, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x0e, 0x6d, 0x65, 1646 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x62, 0x18, 0x12, 0x20, 0x01, 1647 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 1648 0x69, 0x7a, 0x65, 0x47, 0x62, 0x12, 0x32, 0x0a, 0x12, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 1649 0x7a, 0x65, 0x64, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x14, 0x20, 0x01, 0x28, 1650 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 1651 0x65, 0x64, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x3d, 0x0a, 0x18, 0x70, 0x65, 0x72, 1652 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x65, 1653 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 1654 0x52, 0x16, 0x70, 0x65, 0x72, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x61, 0x6d, 1655 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x53, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 1656 0x65, 0x63, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 1657 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 1658 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 1659 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 1660 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x1a, 0x39, 0x0a, 1661 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 1662 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 1663 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 1664 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x52, 0x65, 0x64, 0x69, 1665 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 1666 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 1667 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 1668 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x94, 0x01, 0x0a, 0x05, 0x53, 0x74, 1669 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 1670 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 1671 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 1672 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 1673 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 1674 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x50, 0x41, 0x49, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x0f, 1675 0x0a, 0x0b, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x06, 0x12, 1676 0x0d, 0x0a, 0x09, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x10, 1677 0x0a, 0x0c, 0x46, 0x41, 0x49, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x10, 0x09, 1678 0x22, 0x38, 0x0a, 0x04, 0x54, 0x69, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x45, 0x52, 1679 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 1680 0x0a, 0x05, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x41, 1681 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x48, 0x41, 0x10, 0x03, 0x22, 0x5b, 0x0a, 0x0b, 0x43, 0x6f, 1682 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4e, 1683 0x4e, 0x45, 0x43, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 1684 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x49, 0x52, 0x45, 0x43, 1685 0x54, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x50, 1686 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 1687 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x02, 0x3a, 0x60, 0xea, 0x41, 0x5d, 0x0a, 0x1d, 0x72, 0x65, 1688 0x64, 0x69, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 1689 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x3c, 0x70, 0x72, 0x6f, 1690 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 1691 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 1692 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 1693 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x22, 0x95, 0x01, 0x0a, 0x14, 0x4c, 0x69, 1694 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 1695 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 1696 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 1697 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 1698 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 1699 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 1700 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 1701 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 1702 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 1703 0x6e, 0x22, 0xa0, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 1704 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x69, 1705 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 1706 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 1707 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 1708 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 1709 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 1710 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 1711 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 1712 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 1713 0x61, 0x62, 0x6c, 0x65, 0x22, 0x4f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 1714 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 1715 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 1716 0x0a, 0x1d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 1717 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 1718 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 1719 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1720 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 1721 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 1722 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 1723 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 1724 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 1725 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x69, 0x6e, 1726 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 1727 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 1728 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 1729 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 1730 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x15, 0x55, 1731 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 1732 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 1733 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1734 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 1735 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 1736 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 1737 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1738 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 1739 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 1740 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x52, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 1741 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1742 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 1743 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x67, 1744 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 1745 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x22, 0x0a, 0x09, 1746 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 1747 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 1748 0x22, 0x5a, 0x0a, 0x0b, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 1749 0x41, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 1750 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1751 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x53, 1752 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 1753 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x7c, 0x0a, 0x15, 1754 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 1755 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 1756 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4a, 1757 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 1758 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1759 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x70, 1760 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x69, 1761 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x27, 0x0a, 0x0e, 0x47, 0x63, 1762 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x03, 1763 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 1764 0x75, 0x72, 0x69, 0x22, 0x6f, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 1765 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 1766 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 1767 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 1768 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 1769 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x67, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 1770 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 1771 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7f, 0x0a, 0x15, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 1772 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 1773 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 1774 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 1775 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 1776 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 1777 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 1778 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x43, 1779 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xb6, 0x02, 0x0a, 0x17, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 1780 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1781 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 1782 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x67, 1783 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 1784 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x78, 0x0a, 0x14, 1785 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 1786 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 1787 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 1788 0x76, 0x31, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 1789 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x50, 1790 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 1791 0x41, 0x01, 0x52, 0x12, 0x64, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 1792 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x66, 0x0a, 0x12, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 1793 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x20, 1794 0x44, 0x41, 0x54, 0x41, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 1795 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 1796 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x5f, 0x44, 0x41, 1797 0x54, 0x41, 0x5f, 0x4c, 0x4f, 0x53, 0x53, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x4f, 0x52, 1798 0x43, 0x45, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4c, 0x4f, 0x53, 0x53, 0x10, 0x02, 0x22, 0xa4, 1799 0x02, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 1800 0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 1801 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1802 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 1803 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 1804 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 1805 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 1806 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 1807 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 1808 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 1809 0x12, 0x12, 0x0a, 0x04, 0x76, 0x65, 0x72, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 1810 0x76, 0x65, 0x72, 0x62, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x64, 1811 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 1812 0x74, 0x75, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x61, 0x6e, 1813 0x63, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 1814 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 1815 0x73, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 1816 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 1817 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xe5, 0x01, 0x0a, 0x10, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1818 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x69, 0x0a, 0x0f, 0x61, 0x76, 1819 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x73, 0x18, 0x01, 0x20, 1820 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1821 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 1822 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x76, 0x61, 1823 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 1824 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 1825 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x1a, 0x66, 0x0a, 0x13, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 1826 0x6c, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 1827 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x39, 1828 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 1829 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 1830 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x5a, 0x6f, 0x6e, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 1831 0x74, 0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x0e, 0x0a, 1832 0x0c, 0x5a, 0x6f, 0x6e, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0xad, 0x0f, 1833 0x0a, 0x0a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x52, 0x65, 0x64, 0x69, 0x73, 0x12, 0xaa, 0x01, 0x0a, 1834 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2b, 1835 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 1836 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 1837 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x6f, 1838 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 1839 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 1840 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 1841 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 1842 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 1843 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 1844 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x97, 0x01, 0x0a, 0x0b, 0x47, 0x65, 1845 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1846 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 1847 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 1848 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 1849 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 1850 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 1851 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 1852 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 1853 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 1854 0x61, 0x6d, 0x65, 0x12, 0x89, 0x02, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 1855 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1856 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 1857 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 1858 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 1859 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 1860 0x69, 0x6f, 0x6e, 0x22, 0xa9, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x2d, 0x2f, 0x76, 1861 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 1862 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 1863 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x3a, 0x08, 0x69, 0x6e, 0x73, 1864 0x74, 0x61, 0x6e, 0x63, 0x65, 0xda, 0x41, 0x1b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x69, 1865 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x2c, 0x69, 0x6e, 0x73, 0x74, 0x61, 1866 0x6e, 0x63, 0x65, 0xca, 0x41, 0x49, 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1867 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 1868 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1869 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 1870 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 1871 0x8b, 0x02, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 1872 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1873 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 1874 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1875 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 1876 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 1877 0xab, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x32, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x69, 1878 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 1879 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1880 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 1881 0x3a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0xda, 0x41, 0x14, 0x75, 0x70, 0x64, 1882 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 1883 0x65, 0xca, 0x41, 0x49, 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1884 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 1885 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 1886 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 1887 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xff, 0x01, 1888 0x0a, 0x0e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 1889 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 1890 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x49, 1891 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 1892 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 1893 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9f, 0x01, 1894 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 1895 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 1896 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 1897 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0xda, 1898 0x41, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 1899 0x66, 0x69, 0x67, 0xca, 0x41, 0x49, 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1900 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 1901 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1902 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 1903 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 1904 0x80, 0x02, 0x0a, 0x0e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 1905 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1906 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 1907 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1908 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 1909 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 1910 0xa0, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 1911 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 1912 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 1913 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 1914 0x2a, 0xda, 0x41, 0x12, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 1915 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xca, 0x41, 0x49, 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1916 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 1917 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1918 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 1919 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 1920 0x74, 0x61, 0x12, 0x8d, 0x02, 0x0a, 0x10, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x49, 1921 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1922 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 1923 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 1924 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1925 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 1926 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa9, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 1927 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 1928 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1929 0x2a, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x66, 1930 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x19, 0x6e, 0x61, 0x6d, 1931 0x65, 0x2c, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 1932 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0xca, 0x41, 0x49, 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1933 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 1934 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1935 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 1936 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 1937 0x74, 0x61, 0x12, 0xde, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 1938 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 1939 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 1940 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 1941 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 1942 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 1943 0x6f, 0x6e, 0x22, 0x7f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x2a, 0x2d, 0x2f, 0x76, 0x31, 0x2f, 1944 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 1945 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x73, 1946 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1947 0xca, 0x41, 0x40, 0x0a, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1948 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 1949 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 1950 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 1951 0x61, 0x74, 0x61, 0x1a, 0x48, 0xca, 0x41, 0x14, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x67, 0x6f, 1952 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 1953 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1954 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 1955 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x73, 0x0a, 1956 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 1957 0x64, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x43, 0x6c, 0x6f, 0x75, 1958 0x64, 0x52, 0x65, 0x64, 0x69, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x56, 0x31, 0x50, 1959 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 1960 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 1961 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 1962 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, 0x64, 1963 0x69, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1964} 1965 1966var ( 1967 file_google_cloud_redis_v1_cloud_redis_proto_rawDescOnce sync.Once 1968 file_google_cloud_redis_v1_cloud_redis_proto_rawDescData = file_google_cloud_redis_v1_cloud_redis_proto_rawDesc 1969) 1970 1971func file_google_cloud_redis_v1_cloud_redis_proto_rawDescGZIP() []byte { 1972 file_google_cloud_redis_v1_cloud_redis_proto_rawDescOnce.Do(func() { 1973 file_google_cloud_redis_v1_cloud_redis_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_redis_v1_cloud_redis_proto_rawDescData) 1974 }) 1975 return file_google_cloud_redis_v1_cloud_redis_proto_rawDescData 1976} 1977 1978var file_google_cloud_redis_v1_cloud_redis_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 1979var file_google_cloud_redis_v1_cloud_redis_proto_msgTypes = make([]protoimpl.MessageInfo, 20) 1980var file_google_cloud_redis_v1_cloud_redis_proto_goTypes = []interface{}{ 1981 (Instance_State)(0), // 0: google.cloud.redis.v1.Instance.State 1982 (Instance_Tier)(0), // 1: google.cloud.redis.v1.Instance.Tier 1983 (Instance_ConnectMode)(0), // 2: google.cloud.redis.v1.Instance.ConnectMode 1984 (FailoverInstanceRequest_DataProtectionMode)(0), // 3: google.cloud.redis.v1.FailoverInstanceRequest.DataProtectionMode 1985 (*Instance)(nil), // 4: google.cloud.redis.v1.Instance 1986 (*ListInstancesRequest)(nil), // 5: google.cloud.redis.v1.ListInstancesRequest 1987 (*ListInstancesResponse)(nil), // 6: google.cloud.redis.v1.ListInstancesResponse 1988 (*GetInstanceRequest)(nil), // 7: google.cloud.redis.v1.GetInstanceRequest 1989 (*CreateInstanceRequest)(nil), // 8: google.cloud.redis.v1.CreateInstanceRequest 1990 (*UpdateInstanceRequest)(nil), // 9: google.cloud.redis.v1.UpdateInstanceRequest 1991 (*DeleteInstanceRequest)(nil), // 10: google.cloud.redis.v1.DeleteInstanceRequest 1992 (*GcsSource)(nil), // 11: google.cloud.redis.v1.GcsSource 1993 (*InputConfig)(nil), // 12: google.cloud.redis.v1.InputConfig 1994 (*ImportInstanceRequest)(nil), // 13: google.cloud.redis.v1.ImportInstanceRequest 1995 (*GcsDestination)(nil), // 14: google.cloud.redis.v1.GcsDestination 1996 (*OutputConfig)(nil), // 15: google.cloud.redis.v1.OutputConfig 1997 (*ExportInstanceRequest)(nil), // 16: google.cloud.redis.v1.ExportInstanceRequest 1998 (*FailoverInstanceRequest)(nil), // 17: google.cloud.redis.v1.FailoverInstanceRequest 1999 (*OperationMetadata)(nil), // 18: google.cloud.redis.v1.OperationMetadata 2000 (*LocationMetadata)(nil), // 19: google.cloud.redis.v1.LocationMetadata 2001 (*ZoneMetadata)(nil), // 20: google.cloud.redis.v1.ZoneMetadata 2002 nil, // 21: google.cloud.redis.v1.Instance.LabelsEntry 2003 nil, // 22: google.cloud.redis.v1.Instance.RedisConfigsEntry 2004 nil, // 23: google.cloud.redis.v1.LocationMetadata.AvailableZonesEntry 2005 (*timestamp.Timestamp)(nil), // 24: google.protobuf.Timestamp 2006 (*field_mask.FieldMask)(nil), // 25: google.protobuf.FieldMask 2007 (*longrunning.Operation)(nil), // 26: google.longrunning.Operation 2008} 2009var file_google_cloud_redis_v1_cloud_redis_proto_depIdxs = []int32{ 2010 21, // 0: google.cloud.redis.v1.Instance.labels:type_name -> google.cloud.redis.v1.Instance.LabelsEntry 2011 24, // 1: google.cloud.redis.v1.Instance.create_time:type_name -> google.protobuf.Timestamp 2012 0, // 2: google.cloud.redis.v1.Instance.state:type_name -> google.cloud.redis.v1.Instance.State 2013 22, // 3: google.cloud.redis.v1.Instance.redis_configs:type_name -> google.cloud.redis.v1.Instance.RedisConfigsEntry 2014 1, // 4: google.cloud.redis.v1.Instance.tier:type_name -> google.cloud.redis.v1.Instance.Tier 2015 2, // 5: google.cloud.redis.v1.Instance.connect_mode:type_name -> google.cloud.redis.v1.Instance.ConnectMode 2016 4, // 6: google.cloud.redis.v1.ListInstancesResponse.instances:type_name -> google.cloud.redis.v1.Instance 2017 4, // 7: google.cloud.redis.v1.CreateInstanceRequest.instance:type_name -> google.cloud.redis.v1.Instance 2018 25, // 8: google.cloud.redis.v1.UpdateInstanceRequest.update_mask:type_name -> google.protobuf.FieldMask 2019 4, // 9: google.cloud.redis.v1.UpdateInstanceRequest.instance:type_name -> google.cloud.redis.v1.Instance 2020 11, // 10: google.cloud.redis.v1.InputConfig.gcs_source:type_name -> google.cloud.redis.v1.GcsSource 2021 12, // 11: google.cloud.redis.v1.ImportInstanceRequest.input_config:type_name -> google.cloud.redis.v1.InputConfig 2022 14, // 12: google.cloud.redis.v1.OutputConfig.gcs_destination:type_name -> google.cloud.redis.v1.GcsDestination 2023 15, // 13: google.cloud.redis.v1.ExportInstanceRequest.output_config:type_name -> google.cloud.redis.v1.OutputConfig 2024 3, // 14: google.cloud.redis.v1.FailoverInstanceRequest.data_protection_mode:type_name -> google.cloud.redis.v1.FailoverInstanceRequest.DataProtectionMode 2025 24, // 15: google.cloud.redis.v1.OperationMetadata.create_time:type_name -> google.protobuf.Timestamp 2026 24, // 16: google.cloud.redis.v1.OperationMetadata.end_time:type_name -> google.protobuf.Timestamp 2027 23, // 17: google.cloud.redis.v1.LocationMetadata.available_zones:type_name -> google.cloud.redis.v1.LocationMetadata.AvailableZonesEntry 2028 20, // 18: google.cloud.redis.v1.LocationMetadata.AvailableZonesEntry.value:type_name -> google.cloud.redis.v1.ZoneMetadata 2029 5, // 19: google.cloud.redis.v1.CloudRedis.ListInstances:input_type -> google.cloud.redis.v1.ListInstancesRequest 2030 7, // 20: google.cloud.redis.v1.CloudRedis.GetInstance:input_type -> google.cloud.redis.v1.GetInstanceRequest 2031 8, // 21: google.cloud.redis.v1.CloudRedis.CreateInstance:input_type -> google.cloud.redis.v1.CreateInstanceRequest 2032 9, // 22: google.cloud.redis.v1.CloudRedis.UpdateInstance:input_type -> google.cloud.redis.v1.UpdateInstanceRequest 2033 13, // 23: google.cloud.redis.v1.CloudRedis.ImportInstance:input_type -> google.cloud.redis.v1.ImportInstanceRequest 2034 16, // 24: google.cloud.redis.v1.CloudRedis.ExportInstance:input_type -> google.cloud.redis.v1.ExportInstanceRequest 2035 17, // 25: google.cloud.redis.v1.CloudRedis.FailoverInstance:input_type -> google.cloud.redis.v1.FailoverInstanceRequest 2036 10, // 26: google.cloud.redis.v1.CloudRedis.DeleteInstance:input_type -> google.cloud.redis.v1.DeleteInstanceRequest 2037 6, // 27: google.cloud.redis.v1.CloudRedis.ListInstances:output_type -> google.cloud.redis.v1.ListInstancesResponse 2038 4, // 28: google.cloud.redis.v1.CloudRedis.GetInstance:output_type -> google.cloud.redis.v1.Instance 2039 26, // 29: google.cloud.redis.v1.CloudRedis.CreateInstance:output_type -> google.longrunning.Operation 2040 26, // 30: google.cloud.redis.v1.CloudRedis.UpdateInstance:output_type -> google.longrunning.Operation 2041 26, // 31: google.cloud.redis.v1.CloudRedis.ImportInstance:output_type -> google.longrunning.Operation 2042 26, // 32: google.cloud.redis.v1.CloudRedis.ExportInstance:output_type -> google.longrunning.Operation 2043 26, // 33: google.cloud.redis.v1.CloudRedis.FailoverInstance:output_type -> google.longrunning.Operation 2044 26, // 34: google.cloud.redis.v1.CloudRedis.DeleteInstance:output_type -> google.longrunning.Operation 2045 27, // [27:35] is the sub-list for method output_type 2046 19, // [19:27] is the sub-list for method input_type 2047 19, // [19:19] is the sub-list for extension type_name 2048 19, // [19:19] is the sub-list for extension extendee 2049 0, // [0:19] is the sub-list for field type_name 2050} 2051 2052func init() { file_google_cloud_redis_v1_cloud_redis_proto_init() } 2053func file_google_cloud_redis_v1_cloud_redis_proto_init() { 2054 if File_google_cloud_redis_v1_cloud_redis_proto != nil { 2055 return 2056 } 2057 if !protoimpl.UnsafeEnabled { 2058 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2059 switch v := v.(*Instance); i { 2060 case 0: 2061 return &v.state 2062 case 1: 2063 return &v.sizeCache 2064 case 2: 2065 return &v.unknownFields 2066 default: 2067 return nil 2068 } 2069 } 2070 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2071 switch v := v.(*ListInstancesRequest); i { 2072 case 0: 2073 return &v.state 2074 case 1: 2075 return &v.sizeCache 2076 case 2: 2077 return &v.unknownFields 2078 default: 2079 return nil 2080 } 2081 } 2082 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2083 switch v := v.(*ListInstancesResponse); i { 2084 case 0: 2085 return &v.state 2086 case 1: 2087 return &v.sizeCache 2088 case 2: 2089 return &v.unknownFields 2090 default: 2091 return nil 2092 } 2093 } 2094 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2095 switch v := v.(*GetInstanceRequest); i { 2096 case 0: 2097 return &v.state 2098 case 1: 2099 return &v.sizeCache 2100 case 2: 2101 return &v.unknownFields 2102 default: 2103 return nil 2104 } 2105 } 2106 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2107 switch v := v.(*CreateInstanceRequest); i { 2108 case 0: 2109 return &v.state 2110 case 1: 2111 return &v.sizeCache 2112 case 2: 2113 return &v.unknownFields 2114 default: 2115 return nil 2116 } 2117 } 2118 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2119 switch v := v.(*UpdateInstanceRequest); i { 2120 case 0: 2121 return &v.state 2122 case 1: 2123 return &v.sizeCache 2124 case 2: 2125 return &v.unknownFields 2126 default: 2127 return nil 2128 } 2129 } 2130 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2131 switch v := v.(*DeleteInstanceRequest); i { 2132 case 0: 2133 return &v.state 2134 case 1: 2135 return &v.sizeCache 2136 case 2: 2137 return &v.unknownFields 2138 default: 2139 return nil 2140 } 2141 } 2142 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2143 switch v := v.(*GcsSource); i { 2144 case 0: 2145 return &v.state 2146 case 1: 2147 return &v.sizeCache 2148 case 2: 2149 return &v.unknownFields 2150 default: 2151 return nil 2152 } 2153 } 2154 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2155 switch v := v.(*InputConfig); i { 2156 case 0: 2157 return &v.state 2158 case 1: 2159 return &v.sizeCache 2160 case 2: 2161 return &v.unknownFields 2162 default: 2163 return nil 2164 } 2165 } 2166 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2167 switch v := v.(*ImportInstanceRequest); i { 2168 case 0: 2169 return &v.state 2170 case 1: 2171 return &v.sizeCache 2172 case 2: 2173 return &v.unknownFields 2174 default: 2175 return nil 2176 } 2177 } 2178 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2179 switch v := v.(*GcsDestination); i { 2180 case 0: 2181 return &v.state 2182 case 1: 2183 return &v.sizeCache 2184 case 2: 2185 return &v.unknownFields 2186 default: 2187 return nil 2188 } 2189 } 2190 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2191 switch v := v.(*OutputConfig); i { 2192 case 0: 2193 return &v.state 2194 case 1: 2195 return &v.sizeCache 2196 case 2: 2197 return &v.unknownFields 2198 default: 2199 return nil 2200 } 2201 } 2202 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2203 switch v := v.(*ExportInstanceRequest); i { 2204 case 0: 2205 return &v.state 2206 case 1: 2207 return &v.sizeCache 2208 case 2: 2209 return &v.unknownFields 2210 default: 2211 return nil 2212 } 2213 } 2214 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2215 switch v := v.(*FailoverInstanceRequest); i { 2216 case 0: 2217 return &v.state 2218 case 1: 2219 return &v.sizeCache 2220 case 2: 2221 return &v.unknownFields 2222 default: 2223 return nil 2224 } 2225 } 2226 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2227 switch v := v.(*OperationMetadata); i { 2228 case 0: 2229 return &v.state 2230 case 1: 2231 return &v.sizeCache 2232 case 2: 2233 return &v.unknownFields 2234 default: 2235 return nil 2236 } 2237 } 2238 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2239 switch v := v.(*LocationMetadata); i { 2240 case 0: 2241 return &v.state 2242 case 1: 2243 return &v.sizeCache 2244 case 2: 2245 return &v.unknownFields 2246 default: 2247 return nil 2248 } 2249 } 2250 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2251 switch v := v.(*ZoneMetadata); i { 2252 case 0: 2253 return &v.state 2254 case 1: 2255 return &v.sizeCache 2256 case 2: 2257 return &v.unknownFields 2258 default: 2259 return nil 2260 } 2261 } 2262 } 2263 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[8].OneofWrappers = []interface{}{ 2264 (*InputConfig_GcsSource)(nil), 2265 } 2266 file_google_cloud_redis_v1_cloud_redis_proto_msgTypes[11].OneofWrappers = []interface{}{ 2267 (*OutputConfig_GcsDestination)(nil), 2268 } 2269 type x struct{} 2270 out := protoimpl.TypeBuilder{ 2271 File: protoimpl.DescBuilder{ 2272 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2273 RawDescriptor: file_google_cloud_redis_v1_cloud_redis_proto_rawDesc, 2274 NumEnums: 4, 2275 NumMessages: 20, 2276 NumExtensions: 0, 2277 NumServices: 1, 2278 }, 2279 GoTypes: file_google_cloud_redis_v1_cloud_redis_proto_goTypes, 2280 DependencyIndexes: file_google_cloud_redis_v1_cloud_redis_proto_depIdxs, 2281 EnumInfos: file_google_cloud_redis_v1_cloud_redis_proto_enumTypes, 2282 MessageInfos: file_google_cloud_redis_v1_cloud_redis_proto_msgTypes, 2283 }.Build() 2284 File_google_cloud_redis_v1_cloud_redis_proto = out.File 2285 file_google_cloud_redis_v1_cloud_redis_proto_rawDesc = nil 2286 file_google_cloud_redis_v1_cloud_redis_proto_goTypes = nil 2287 file_google_cloud_redis_v1_cloud_redis_proto_depIdxs = nil 2288} 2289 2290// Reference imports to suppress errors if they are not otherwise used. 2291var _ context.Context 2292var _ grpc.ClientConnInterface 2293 2294// This is a compile-time assertion to ensure that this generated file 2295// is compatible with the grpc package it is being compiled against. 2296const _ = grpc.SupportPackageIsVersion6 2297 2298// CloudRedisClient is the client API for CloudRedis service. 2299// 2300// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2301type CloudRedisClient interface { 2302 // Lists all Redis instances owned by a project in either the specified 2303 // location (region) or all locations. 2304 // 2305 // The location should have the following format: 2306 // 2307 // * `projects/{project_id}/locations/{location_id}` 2308 // 2309 // If `location_id` is specified as `-` (wildcard), then all regions 2310 // available to the project are queried, and the results are aggregated. 2311 ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) 2312 // Gets the details of a specific Redis instance. 2313 GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) 2314 // Creates a Redis instance based on the specified tier and memory size. 2315 // 2316 // By default, the instance is accessible from the project's 2317 // [default network](/compute/docs/networks-and-firewalls#networks). 2318 // 2319 // The creation is executed asynchronously and callers may check the returned 2320 // operation to track its progress. Once the operation is completed the Redis 2321 // instance will be fully functional. Completed longrunning.Operation will 2322 // contain the new instance object in the response field. 2323 // 2324 // The returned operation is automatically deleted after a few hours, so there 2325 // is no need to call DeleteOperation. 2326 CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2327 // Updates the metadata and configuration of a specific Redis instance. 2328 // 2329 // Completed longrunning.Operation will contain the new instance object 2330 // in the response field. The returned operation is automatically deleted 2331 // after a few hours, so there is no need to call DeleteOperation. 2332 UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2333 // Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. 2334 // 2335 // Redis may stop serving during this operation. Instance state will be 2336 // IMPORTING for entire operation. When complete, the instance will contain 2337 // only data from the imported file. 2338 // 2339 // The returned operation is automatically deleted after a few hours, so 2340 // there is no need to call DeleteOperation. 2341 ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2342 // Export Redis instance data into a Redis RDB format file in Cloud Storage. 2343 // 2344 // Redis will continue serving during this operation. 2345 // 2346 // The returned operation is automatically deleted after a few hours, so 2347 // there is no need to call DeleteOperation. 2348 ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2349 // Initiates a failover of the master node to current replica node for a 2350 // specific STANDARD tier Cloud Memorystore for Redis instance. 2351 FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2352 // Deletes a specific Redis instance. Instance stops serving and data is 2353 // deleted. 2354 DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 2355} 2356 2357type cloudRedisClient struct { 2358 cc grpc.ClientConnInterface 2359} 2360 2361func NewCloudRedisClient(cc grpc.ClientConnInterface) CloudRedisClient { 2362 return &cloudRedisClient{cc} 2363} 2364 2365func (c *cloudRedisClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) { 2366 out := new(ListInstancesResponse) 2367 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/ListInstances", in, out, opts...) 2368 if err != nil { 2369 return nil, err 2370 } 2371 return out, nil 2372} 2373 2374func (c *cloudRedisClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) { 2375 out := new(Instance) 2376 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/GetInstance", in, out, opts...) 2377 if err != nil { 2378 return nil, err 2379 } 2380 return out, nil 2381} 2382 2383func (c *cloudRedisClient) CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2384 out := new(longrunning.Operation) 2385 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/CreateInstance", in, out, opts...) 2386 if err != nil { 2387 return nil, err 2388 } 2389 return out, nil 2390} 2391 2392func (c *cloudRedisClient) UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2393 out := new(longrunning.Operation) 2394 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/UpdateInstance", in, out, opts...) 2395 if err != nil { 2396 return nil, err 2397 } 2398 return out, nil 2399} 2400 2401func (c *cloudRedisClient) ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2402 out := new(longrunning.Operation) 2403 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/ImportInstance", in, out, opts...) 2404 if err != nil { 2405 return nil, err 2406 } 2407 return out, nil 2408} 2409 2410func (c *cloudRedisClient) ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2411 out := new(longrunning.Operation) 2412 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/ExportInstance", in, out, opts...) 2413 if err != nil { 2414 return nil, err 2415 } 2416 return out, nil 2417} 2418 2419func (c *cloudRedisClient) FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2420 out := new(longrunning.Operation) 2421 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/FailoverInstance", in, out, opts...) 2422 if err != nil { 2423 return nil, err 2424 } 2425 return out, nil 2426} 2427 2428func (c *cloudRedisClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 2429 out := new(longrunning.Operation) 2430 err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/DeleteInstance", in, out, opts...) 2431 if err != nil { 2432 return nil, err 2433 } 2434 return out, nil 2435} 2436 2437// CloudRedisServer is the server API for CloudRedis service. 2438type CloudRedisServer interface { 2439 // Lists all Redis instances owned by a project in either the specified 2440 // location (region) or all locations. 2441 // 2442 // The location should have the following format: 2443 // 2444 // * `projects/{project_id}/locations/{location_id}` 2445 // 2446 // If `location_id` is specified as `-` (wildcard), then all regions 2447 // available to the project are queried, and the results are aggregated. 2448 ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) 2449 // Gets the details of a specific Redis instance. 2450 GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) 2451 // Creates a Redis instance based on the specified tier and memory size. 2452 // 2453 // By default, the instance is accessible from the project's 2454 // [default network](/compute/docs/networks-and-firewalls#networks). 2455 // 2456 // The creation is executed asynchronously and callers may check the returned 2457 // operation to track its progress. Once the operation is completed the Redis 2458 // instance will be fully functional. Completed longrunning.Operation will 2459 // contain the new instance object in the response field. 2460 // 2461 // The returned operation is automatically deleted after a few hours, so there 2462 // is no need to call DeleteOperation. 2463 CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error) 2464 // Updates the metadata and configuration of a specific Redis instance. 2465 // 2466 // Completed longrunning.Operation will contain the new instance object 2467 // in the response field. The returned operation is automatically deleted 2468 // after a few hours, so there is no need to call DeleteOperation. 2469 UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error) 2470 // Import a Redis RDB snapshot file from Cloud Storage into a Redis instance. 2471 // 2472 // Redis may stop serving during this operation. Instance state will be 2473 // IMPORTING for entire operation. When complete, the instance will contain 2474 // only data from the imported file. 2475 // 2476 // The returned operation is automatically deleted after a few hours, so 2477 // there is no need to call DeleteOperation. 2478 ImportInstance(context.Context, *ImportInstanceRequest) (*longrunning.Operation, error) 2479 // Export Redis instance data into a Redis RDB format file in Cloud Storage. 2480 // 2481 // Redis will continue serving during this operation. 2482 // 2483 // The returned operation is automatically deleted after a few hours, so 2484 // there is no need to call DeleteOperation. 2485 ExportInstance(context.Context, *ExportInstanceRequest) (*longrunning.Operation, error) 2486 // Initiates a failover of the master node to current replica node for a 2487 // specific STANDARD tier Cloud Memorystore for Redis instance. 2488 FailoverInstance(context.Context, *FailoverInstanceRequest) (*longrunning.Operation, error) 2489 // Deletes a specific Redis instance. Instance stops serving and data is 2490 // deleted. 2491 DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) 2492} 2493 2494// UnimplementedCloudRedisServer can be embedded to have forward compatible implementations. 2495type UnimplementedCloudRedisServer struct { 2496} 2497 2498func (*UnimplementedCloudRedisServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) { 2499 return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented") 2500} 2501func (*UnimplementedCloudRedisServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) { 2502 return nil, status.Errorf(codes.Unimplemented, "method GetInstance not implemented") 2503} 2504func (*UnimplementedCloudRedisServer) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error) { 2505 return nil, status.Errorf(codes.Unimplemented, "method CreateInstance not implemented") 2506} 2507func (*UnimplementedCloudRedisServer) UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error) { 2508 return nil, status.Errorf(codes.Unimplemented, "method UpdateInstance not implemented") 2509} 2510func (*UnimplementedCloudRedisServer) ImportInstance(context.Context, *ImportInstanceRequest) (*longrunning.Operation, error) { 2511 return nil, status.Errorf(codes.Unimplemented, "method ImportInstance not implemented") 2512} 2513func (*UnimplementedCloudRedisServer) ExportInstance(context.Context, *ExportInstanceRequest) (*longrunning.Operation, error) { 2514 return nil, status.Errorf(codes.Unimplemented, "method ExportInstance not implemented") 2515} 2516func (*UnimplementedCloudRedisServer) FailoverInstance(context.Context, *FailoverInstanceRequest) (*longrunning.Operation, error) { 2517 return nil, status.Errorf(codes.Unimplemented, "method FailoverInstance not implemented") 2518} 2519func (*UnimplementedCloudRedisServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) { 2520 return nil, status.Errorf(codes.Unimplemented, "method DeleteInstance not implemented") 2521} 2522 2523func RegisterCloudRedisServer(s *grpc.Server, srv CloudRedisServer) { 2524 s.RegisterService(&_CloudRedis_serviceDesc, srv) 2525} 2526 2527func _CloudRedis_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2528 in := new(ListInstancesRequest) 2529 if err := dec(in); err != nil { 2530 return nil, err 2531 } 2532 if interceptor == nil { 2533 return srv.(CloudRedisServer).ListInstances(ctx, in) 2534 } 2535 info := &grpc.UnaryServerInfo{ 2536 Server: srv, 2537 FullMethod: "/google.cloud.redis.v1.CloudRedis/ListInstances", 2538 } 2539 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2540 return srv.(CloudRedisServer).ListInstances(ctx, req.(*ListInstancesRequest)) 2541 } 2542 return interceptor(ctx, in, info, handler) 2543} 2544 2545func _CloudRedis_GetInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2546 in := new(GetInstanceRequest) 2547 if err := dec(in); err != nil { 2548 return nil, err 2549 } 2550 if interceptor == nil { 2551 return srv.(CloudRedisServer).GetInstance(ctx, in) 2552 } 2553 info := &grpc.UnaryServerInfo{ 2554 Server: srv, 2555 FullMethod: "/google.cloud.redis.v1.CloudRedis/GetInstance", 2556 } 2557 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2558 return srv.(CloudRedisServer).GetInstance(ctx, req.(*GetInstanceRequest)) 2559 } 2560 return interceptor(ctx, in, info, handler) 2561} 2562 2563func _CloudRedis_CreateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2564 in := new(CreateInstanceRequest) 2565 if err := dec(in); err != nil { 2566 return nil, err 2567 } 2568 if interceptor == nil { 2569 return srv.(CloudRedisServer).CreateInstance(ctx, in) 2570 } 2571 info := &grpc.UnaryServerInfo{ 2572 Server: srv, 2573 FullMethod: "/google.cloud.redis.v1.CloudRedis/CreateInstance", 2574 } 2575 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2576 return srv.(CloudRedisServer).CreateInstance(ctx, req.(*CreateInstanceRequest)) 2577 } 2578 return interceptor(ctx, in, info, handler) 2579} 2580 2581func _CloudRedis_UpdateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2582 in := new(UpdateInstanceRequest) 2583 if err := dec(in); err != nil { 2584 return nil, err 2585 } 2586 if interceptor == nil { 2587 return srv.(CloudRedisServer).UpdateInstance(ctx, in) 2588 } 2589 info := &grpc.UnaryServerInfo{ 2590 Server: srv, 2591 FullMethod: "/google.cloud.redis.v1.CloudRedis/UpdateInstance", 2592 } 2593 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2594 return srv.(CloudRedisServer).UpdateInstance(ctx, req.(*UpdateInstanceRequest)) 2595 } 2596 return interceptor(ctx, in, info, handler) 2597} 2598 2599func _CloudRedis_ImportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2600 in := new(ImportInstanceRequest) 2601 if err := dec(in); err != nil { 2602 return nil, err 2603 } 2604 if interceptor == nil { 2605 return srv.(CloudRedisServer).ImportInstance(ctx, in) 2606 } 2607 info := &grpc.UnaryServerInfo{ 2608 Server: srv, 2609 FullMethod: "/google.cloud.redis.v1.CloudRedis/ImportInstance", 2610 } 2611 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2612 return srv.(CloudRedisServer).ImportInstance(ctx, req.(*ImportInstanceRequest)) 2613 } 2614 return interceptor(ctx, in, info, handler) 2615} 2616 2617func _CloudRedis_ExportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2618 in := new(ExportInstanceRequest) 2619 if err := dec(in); err != nil { 2620 return nil, err 2621 } 2622 if interceptor == nil { 2623 return srv.(CloudRedisServer).ExportInstance(ctx, in) 2624 } 2625 info := &grpc.UnaryServerInfo{ 2626 Server: srv, 2627 FullMethod: "/google.cloud.redis.v1.CloudRedis/ExportInstance", 2628 } 2629 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2630 return srv.(CloudRedisServer).ExportInstance(ctx, req.(*ExportInstanceRequest)) 2631 } 2632 return interceptor(ctx, in, info, handler) 2633} 2634 2635func _CloudRedis_FailoverInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2636 in := new(FailoverInstanceRequest) 2637 if err := dec(in); err != nil { 2638 return nil, err 2639 } 2640 if interceptor == nil { 2641 return srv.(CloudRedisServer).FailoverInstance(ctx, in) 2642 } 2643 info := &grpc.UnaryServerInfo{ 2644 Server: srv, 2645 FullMethod: "/google.cloud.redis.v1.CloudRedis/FailoverInstance", 2646 } 2647 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2648 return srv.(CloudRedisServer).FailoverInstance(ctx, req.(*FailoverInstanceRequest)) 2649 } 2650 return interceptor(ctx, in, info, handler) 2651} 2652 2653func _CloudRedis_DeleteInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2654 in := new(DeleteInstanceRequest) 2655 if err := dec(in); err != nil { 2656 return nil, err 2657 } 2658 if interceptor == nil { 2659 return srv.(CloudRedisServer).DeleteInstance(ctx, in) 2660 } 2661 info := &grpc.UnaryServerInfo{ 2662 Server: srv, 2663 FullMethod: "/google.cloud.redis.v1.CloudRedis/DeleteInstance", 2664 } 2665 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2666 return srv.(CloudRedisServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest)) 2667 } 2668 return interceptor(ctx, in, info, handler) 2669} 2670 2671var _CloudRedis_serviceDesc = grpc.ServiceDesc{ 2672 ServiceName: "google.cloud.redis.v1.CloudRedis", 2673 HandlerType: (*CloudRedisServer)(nil), 2674 Methods: []grpc.MethodDesc{ 2675 { 2676 MethodName: "ListInstances", 2677 Handler: _CloudRedis_ListInstances_Handler, 2678 }, 2679 { 2680 MethodName: "GetInstance", 2681 Handler: _CloudRedis_GetInstance_Handler, 2682 }, 2683 { 2684 MethodName: "CreateInstance", 2685 Handler: _CloudRedis_CreateInstance_Handler, 2686 }, 2687 { 2688 MethodName: "UpdateInstance", 2689 Handler: _CloudRedis_UpdateInstance_Handler, 2690 }, 2691 { 2692 MethodName: "ImportInstance", 2693 Handler: _CloudRedis_ImportInstance_Handler, 2694 }, 2695 { 2696 MethodName: "ExportInstance", 2697 Handler: _CloudRedis_ExportInstance_Handler, 2698 }, 2699 { 2700 MethodName: "FailoverInstance", 2701 Handler: _CloudRedis_FailoverInstance_Handler, 2702 }, 2703 { 2704 MethodName: "DeleteInstance", 2705 Handler: _CloudRedis_DeleteInstance_Handler, 2706 }, 2707 }, 2708 Streams: []grpc.StreamDesc{}, 2709 Metadata: "google/cloud/redis/v1/cloud_redis.proto", 2710} 2711