1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/redis/v1beta1/cloud_redis.proto
3
4package redis
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	timestamp "github.com/golang/protobuf/ptypes/timestamp"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14	longrunning "google.golang.org/genproto/googleapis/longrunning"
15	field_mask "google.golang.org/genproto/protobuf/field_mask"
16	grpc "google.golang.org/grpc"
17	codes "google.golang.org/grpc/codes"
18	status "google.golang.org/grpc/status"
19)
20
21// Reference imports to suppress errors if they are not otherwise used.
22var _ = proto.Marshal
23var _ = fmt.Errorf
24var _ = math.Inf
25
26// This is a compile-time assertion to ensure that this generated file
27// is compatible with the proto package it is being compiled against.
28// A compilation error at this line likely means your copy of the
29// proto package needs to be updated.
30const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
31
32// Represents the different states of a Redis instance.
33type Instance_State int32
34
35const (
36	// Not set.
37	Instance_STATE_UNSPECIFIED Instance_State = 0
38	// Redis instance is being created.
39	Instance_CREATING Instance_State = 1
40	// Redis instance has been created and is fully usable.
41	Instance_READY Instance_State = 2
42	// Redis instance configuration is being updated. Certain kinds of updates
43	// may cause the instance to become unusable while the update is in
44	// progress.
45	Instance_UPDATING Instance_State = 3
46	// Redis instance is being deleted.
47	Instance_DELETING Instance_State = 4
48	// Redis instance is being repaired and may be unusable.
49	Instance_REPAIRING Instance_State = 5
50	// Maintenance is being performed on this Redis instance.
51	Instance_MAINTENANCE Instance_State = 6
52	// Redis instance is importing data (availability may be affected).
53	Instance_IMPORTING Instance_State = 8
54	// Redis instance is failing over (availability may be affected).
55	Instance_FAILING_OVER Instance_State = 10
56)
57
58var Instance_State_name = map[int32]string{
59	0:  "STATE_UNSPECIFIED",
60	1:  "CREATING",
61	2:  "READY",
62	3:  "UPDATING",
63	4:  "DELETING",
64	5:  "REPAIRING",
65	6:  "MAINTENANCE",
66	8:  "IMPORTING",
67	10: "FAILING_OVER",
68}
69
70var Instance_State_value = map[string]int32{
71	"STATE_UNSPECIFIED": 0,
72	"CREATING":          1,
73	"READY":             2,
74	"UPDATING":          3,
75	"DELETING":          4,
76	"REPAIRING":         5,
77	"MAINTENANCE":       6,
78	"IMPORTING":         8,
79	"FAILING_OVER":      10,
80}
81
82func (x Instance_State) String() string {
83	return proto.EnumName(Instance_State_name, int32(x))
84}
85
86func (Instance_State) EnumDescriptor() ([]byte, []int) {
87	return fileDescriptor_522f9b2de914b9c5, []int{0, 0}
88}
89
90// Available service tiers to choose from
91type Instance_Tier int32
92
93const (
94	// Not set.
95	Instance_TIER_UNSPECIFIED Instance_Tier = 0
96	// BASIC tier: standalone instance
97	Instance_BASIC Instance_Tier = 1
98	// STANDARD_HA tier: highly available primary/replica instances
99	Instance_STANDARD_HA Instance_Tier = 3
100)
101
102var Instance_Tier_name = map[int32]string{
103	0: "TIER_UNSPECIFIED",
104	1: "BASIC",
105	3: "STANDARD_HA",
106}
107
108var Instance_Tier_value = map[string]int32{
109	"TIER_UNSPECIFIED": 0,
110	"BASIC":            1,
111	"STANDARD_HA":      3,
112}
113
114func (x Instance_Tier) String() string {
115	return proto.EnumName(Instance_Tier_name, int32(x))
116}
117
118func (Instance_Tier) EnumDescriptor() ([]byte, []int) {
119	return fileDescriptor_522f9b2de914b9c5, []int{0, 1}
120}
121
122// Available connection modes.
123type Instance_ConnectMode int32
124
125const (
126	// Not set.
127	Instance_CONNECT_MODE_UNSPECIFIED Instance_ConnectMode = 0
128	// Connect via directly peering with memorystore redis hosted service.
129	Instance_DIRECT_PEERING Instance_ConnectMode = 1
130	// Connect with google via private service access and share connection
131	// across google managed services.
132	Instance_PRIVATE_SERVICE_ACCESS Instance_ConnectMode = 2
133)
134
135var Instance_ConnectMode_name = map[int32]string{
136	0: "CONNECT_MODE_UNSPECIFIED",
137	1: "DIRECT_PEERING",
138	2: "PRIVATE_SERVICE_ACCESS",
139}
140
141var Instance_ConnectMode_value = map[string]int32{
142	"CONNECT_MODE_UNSPECIFIED": 0,
143	"DIRECT_PEERING":           1,
144	"PRIVATE_SERVICE_ACCESS":   2,
145}
146
147func (x Instance_ConnectMode) String() string {
148	return proto.EnumName(Instance_ConnectMode_name, int32(x))
149}
150
151func (Instance_ConnectMode) EnumDescriptor() ([]byte, []int) {
152	return fileDescriptor_522f9b2de914b9c5, []int{0, 2}
153}
154
155// Specifies different modes of operation in relation to the data retention.
156type FailoverInstanceRequest_DataProtectionMode int32
157
158const (
159	// Defaults to LIMITED_DATA_LOSS if a data protection mode is not
160	// specified.
161	FailoverInstanceRequest_DATA_PROTECTION_MODE_UNSPECIFIED FailoverInstanceRequest_DataProtectionMode = 0
162	// Instance failover will be protected with data loss control. More
163	// specifically, the failover will only be performed if the current
164	// replication offset diff between master and replica is under a certain
165	// threshold.
166	FailoverInstanceRequest_LIMITED_DATA_LOSS FailoverInstanceRequest_DataProtectionMode = 1
167	// Instance failover will be performed without data loss control.
168	FailoverInstanceRequest_FORCE_DATA_LOSS FailoverInstanceRequest_DataProtectionMode = 2
169)
170
171var FailoverInstanceRequest_DataProtectionMode_name = map[int32]string{
172	0: "DATA_PROTECTION_MODE_UNSPECIFIED",
173	1: "LIMITED_DATA_LOSS",
174	2: "FORCE_DATA_LOSS",
175}
176
177var FailoverInstanceRequest_DataProtectionMode_value = map[string]int32{
178	"DATA_PROTECTION_MODE_UNSPECIFIED": 0,
179	"LIMITED_DATA_LOSS":                1,
180	"FORCE_DATA_LOSS":                  2,
181}
182
183func (x FailoverInstanceRequest_DataProtectionMode) String() string {
184	return proto.EnumName(FailoverInstanceRequest_DataProtectionMode_name, int32(x))
185}
186
187func (FailoverInstanceRequest_DataProtectionMode) EnumDescriptor() ([]byte, []int) {
188	return fileDescriptor_522f9b2de914b9c5, []int{14, 0}
189}
190
191// A Google Cloud Redis instance.
192type Instance struct {
193	// Required. Unique name of the resource in this scope including project and
194	// location using the form:
195	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
196	//
197	// Note: Redis instances are managed and addressed at regional level so
198	// location_id here refers to a GCP region; however, users may choose which
199	// specific zone (or collection of zones for cross-zone instances) an instance
200	// should be provisioned in. Refer to [location_id][google.cloud.redis.v1beta1.Instance.location_id] and
201	// [alternative_location_id][google.cloud.redis.v1beta1.Instance.alternative_location_id] fields for more details.
202	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
203	// An arbitrary and optional user-provided name for the instance.
204	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
205	// Resource labels to represent user provided metadata
206	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"`
207	// Optional. The zone where the instance will be provisioned. If not provided,
208	// the service will choose a zone for the instance. For STANDARD_HA tier,
209	// instances will be created across two zones for protection against zonal
210	// failures. If [alternative_location_id][google.cloud.redis.v1beta1.Instance.alternative_location_id] is also provided, it must be
211	// different from [location_id][google.cloud.redis.v1beta1.Instance.location_id].
212	LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
213	// Optional. Only applicable to STANDARD_HA tier which protects the instance
214	// against zonal failures by provisioning it across two zones. If provided, it
215	// must be a different zone from the one provided in [location_id][google.cloud.redis.v1beta1.Instance.location_id].
216	AlternativeLocationId string `protobuf:"bytes,5,opt,name=alternative_location_id,json=alternativeLocationId,proto3" json:"alternative_location_id,omitempty"`
217	// Optional. The version of Redis software.
218	// If not provided, latest supported version will be used. Currently, the
219	// supported values are:
220	//
221	//  *   `REDIS_4_0` for Redis 4.0 compatibility (default)
222	//  *   `REDIS_3_2` for Redis 3.2 compatibility
223	RedisVersion string `protobuf:"bytes,7,opt,name=redis_version,json=redisVersion,proto3" json:"redis_version,omitempty"`
224	// Optional. The CIDR range of internal addresses that are reserved for this
225	// instance. If not provided, the service will choose an unused /29 block,
226	// for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
227	// and non-overlapping with existing subnets in an authorized network.
228	ReservedIpRange string `protobuf:"bytes,9,opt,name=reserved_ip_range,json=reservedIpRange,proto3" json:"reserved_ip_range,omitempty"`
229	// Output only. Hostname or IP address of the exposed Redis endpoint used by
230	// clients to connect to the service.
231	Host string `protobuf:"bytes,10,opt,name=host,proto3" json:"host,omitempty"`
232	// Output only. The port number of the exposed Redis endpoint.
233	Port int32 `protobuf:"varint,11,opt,name=port,proto3" json:"port,omitempty"`
234	// Output only. The current zone where the Redis endpoint is placed. For Basic
235	// Tier instances, this will always be the same as the [location_id][google.cloud.redis.v1beta1.Instance.location_id]
236	// provided by the user at creation time. For Standard Tier instances,
237	// this can be either [location_id][google.cloud.redis.v1beta1.Instance.location_id] or [alternative_location_id][google.cloud.redis.v1beta1.Instance.alternative_location_id] and can
238	// change after a failover event.
239	CurrentLocationId string `protobuf:"bytes,12,opt,name=current_location_id,json=currentLocationId,proto3" json:"current_location_id,omitempty"`
240	// Output only. The time the instance was created.
241	CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
242	// Output only. The current state of this instance.
243	State Instance_State `protobuf:"varint,14,opt,name=state,proto3,enum=google.cloud.redis.v1beta1.Instance_State" json:"state,omitempty"`
244	// Output only. Additional information about the current status of this
245	// instance, if available.
246	StatusMessage string `protobuf:"bytes,15,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
247	// Optional. Redis configuration parameters, according to
248	// http://redis.io/topics/config. Currently, the only supported parameters
249	// are:
250	//
251	//  Redis 3.2 and above:
252	//
253	//  *   maxmemory-policy
254	//  *   notify-keyspace-events
255	//
256	//  Redis 4.0 and above:
257	//
258	//  *   activedefrag
259	//  *   lfu-log-factor
260	//  *   lfu-decay-time
261	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"`
262	// Required. The service tier of the instance.
263	Tier Instance_Tier `protobuf:"varint,17,opt,name=tier,proto3,enum=google.cloud.redis.v1beta1.Instance_Tier" json:"tier,omitempty"`
264	// Required. Redis memory size in GiB.
265	MemorySizeGb int32 `protobuf:"varint,18,opt,name=memory_size_gb,json=memorySizeGb,proto3" json:"memory_size_gb,omitempty"`
266	// Optional. The full name of the Google Compute Engine
267	// [network](/compute/docs/networks-and-firewalls#networks) to which the
268	// instance is connected. If left unspecified, the `default` network
269	// will be used.
270	AuthorizedNetwork string `protobuf:"bytes,20,opt,name=authorized_network,json=authorizedNetwork,proto3" json:"authorized_network,omitempty"`
271	// Output only. Cloud IAM identity used by import / export operations to
272	// transfer data to/from Cloud Storage. Format is
273	// "serviceAccount:<service_account_email>". The value may change over time
274	// for a given instance so should be checked before each import/export
275	// operation.
276	PersistenceIamIdentity string `protobuf:"bytes,21,opt,name=persistence_iam_identity,json=persistenceIamIdentity,proto3" json:"persistence_iam_identity,omitempty"`
277	// Optional. The connect mode of Redis instance.
278	// If not provided, default one will be used.
279	// Current default: DIRECT_PEERING.
280	ConnectMode          Instance_ConnectMode `protobuf:"varint,22,opt,name=connect_mode,json=connectMode,proto3,enum=google.cloud.redis.v1beta1.Instance_ConnectMode" json:"connect_mode,omitempty"`
281	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
282	XXX_unrecognized     []byte               `json:"-"`
283	XXX_sizecache        int32                `json:"-"`
284}
285
286func (m *Instance) Reset()         { *m = Instance{} }
287func (m *Instance) String() string { return proto.CompactTextString(m) }
288func (*Instance) ProtoMessage()    {}
289func (*Instance) Descriptor() ([]byte, []int) {
290	return fileDescriptor_522f9b2de914b9c5, []int{0}
291}
292
293func (m *Instance) XXX_Unmarshal(b []byte) error {
294	return xxx_messageInfo_Instance.Unmarshal(m, b)
295}
296func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
297	return xxx_messageInfo_Instance.Marshal(b, m, deterministic)
298}
299func (m *Instance) XXX_Merge(src proto.Message) {
300	xxx_messageInfo_Instance.Merge(m, src)
301}
302func (m *Instance) XXX_Size() int {
303	return xxx_messageInfo_Instance.Size(m)
304}
305func (m *Instance) XXX_DiscardUnknown() {
306	xxx_messageInfo_Instance.DiscardUnknown(m)
307}
308
309var xxx_messageInfo_Instance proto.InternalMessageInfo
310
311func (m *Instance) GetName() string {
312	if m != nil {
313		return m.Name
314	}
315	return ""
316}
317
318func (m *Instance) GetDisplayName() string {
319	if m != nil {
320		return m.DisplayName
321	}
322	return ""
323}
324
325func (m *Instance) GetLabels() map[string]string {
326	if m != nil {
327		return m.Labels
328	}
329	return nil
330}
331
332func (m *Instance) GetLocationId() string {
333	if m != nil {
334		return m.LocationId
335	}
336	return ""
337}
338
339func (m *Instance) GetAlternativeLocationId() string {
340	if m != nil {
341		return m.AlternativeLocationId
342	}
343	return ""
344}
345
346func (m *Instance) GetRedisVersion() string {
347	if m != nil {
348		return m.RedisVersion
349	}
350	return ""
351}
352
353func (m *Instance) GetReservedIpRange() string {
354	if m != nil {
355		return m.ReservedIpRange
356	}
357	return ""
358}
359
360func (m *Instance) GetHost() string {
361	if m != nil {
362		return m.Host
363	}
364	return ""
365}
366
367func (m *Instance) GetPort() int32 {
368	if m != nil {
369		return m.Port
370	}
371	return 0
372}
373
374func (m *Instance) GetCurrentLocationId() string {
375	if m != nil {
376		return m.CurrentLocationId
377	}
378	return ""
379}
380
381func (m *Instance) GetCreateTime() *timestamp.Timestamp {
382	if m != nil {
383		return m.CreateTime
384	}
385	return nil
386}
387
388func (m *Instance) GetState() Instance_State {
389	if m != nil {
390		return m.State
391	}
392	return Instance_STATE_UNSPECIFIED
393}
394
395func (m *Instance) GetStatusMessage() string {
396	if m != nil {
397		return m.StatusMessage
398	}
399	return ""
400}
401
402func (m *Instance) GetRedisConfigs() map[string]string {
403	if m != nil {
404		return m.RedisConfigs
405	}
406	return nil
407}
408
409func (m *Instance) GetTier() Instance_Tier {
410	if m != nil {
411		return m.Tier
412	}
413	return Instance_TIER_UNSPECIFIED
414}
415
416func (m *Instance) GetMemorySizeGb() int32 {
417	if m != nil {
418		return m.MemorySizeGb
419	}
420	return 0
421}
422
423func (m *Instance) GetAuthorizedNetwork() string {
424	if m != nil {
425		return m.AuthorizedNetwork
426	}
427	return ""
428}
429
430func (m *Instance) GetPersistenceIamIdentity() string {
431	if m != nil {
432		return m.PersistenceIamIdentity
433	}
434	return ""
435}
436
437func (m *Instance) GetConnectMode() Instance_ConnectMode {
438	if m != nil {
439		return m.ConnectMode
440	}
441	return Instance_CONNECT_MODE_UNSPECIFIED
442}
443
444// Request for [ListInstances][google.cloud.redis.v1beta1.CloudRedis.ListInstances].
445type ListInstancesRequest struct {
446	// Required. The resource name of the instance location using the form:
447	//     `projects/{project_id}/locations/{location_id}`
448	// where `location_id` refers to a GCP region.
449	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
450	// The maximum number of items to return.
451	//
452	// If not specified, a default value of 1000 will be used by the service.
453	// Regardless of the page_size value, the response may include a partial list
454	// and a caller should only rely on response's
455	// [`next_page_token`][google.cloud.redis.v1beta1.ListInstancesResponse.next_page_token]
456	// to determine if there are more instances left to be queried.
457	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
458	// The `next_page_token` value returned from a previous
459	// [ListInstances][google.cloud.redis.v1beta1.CloudRedis.ListInstances] request, if any.
460	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
461	XXX_NoUnkeyedLiteral struct{} `json:"-"`
462	XXX_unrecognized     []byte   `json:"-"`
463	XXX_sizecache        int32    `json:"-"`
464}
465
466func (m *ListInstancesRequest) Reset()         { *m = ListInstancesRequest{} }
467func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) }
468func (*ListInstancesRequest) ProtoMessage()    {}
469func (*ListInstancesRequest) Descriptor() ([]byte, []int) {
470	return fileDescriptor_522f9b2de914b9c5, []int{1}
471}
472
473func (m *ListInstancesRequest) XXX_Unmarshal(b []byte) error {
474	return xxx_messageInfo_ListInstancesRequest.Unmarshal(m, b)
475}
476func (m *ListInstancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
477	return xxx_messageInfo_ListInstancesRequest.Marshal(b, m, deterministic)
478}
479func (m *ListInstancesRequest) XXX_Merge(src proto.Message) {
480	xxx_messageInfo_ListInstancesRequest.Merge(m, src)
481}
482func (m *ListInstancesRequest) XXX_Size() int {
483	return xxx_messageInfo_ListInstancesRequest.Size(m)
484}
485func (m *ListInstancesRequest) XXX_DiscardUnknown() {
486	xxx_messageInfo_ListInstancesRequest.DiscardUnknown(m)
487}
488
489var xxx_messageInfo_ListInstancesRequest proto.InternalMessageInfo
490
491func (m *ListInstancesRequest) GetParent() string {
492	if m != nil {
493		return m.Parent
494	}
495	return ""
496}
497
498func (m *ListInstancesRequest) GetPageSize() int32 {
499	if m != nil {
500		return m.PageSize
501	}
502	return 0
503}
504
505func (m *ListInstancesRequest) GetPageToken() string {
506	if m != nil {
507		return m.PageToken
508	}
509	return ""
510}
511
512// Response for [ListInstances][google.cloud.redis.v1beta1.CloudRedis.ListInstances].
513type ListInstancesResponse struct {
514	// A list of Redis instances in the project in the specified location,
515	// or across all locations.
516	//
517	// If the `location_id` in the parent field of the request is "-", all regions
518	// available to the project are queried, and the results aggregated.
519	// If in such an aggregated query a location is unavailable, a dummy Redis
520	// entry is included in the response with the `name` field set to a value of
521	// the form `projects/{project_id}/locations/{location_id}/instances/`- and
522	// the `status` field set to ERROR and `status_message` field set to "location
523	// not available for ListInstances".
524	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
525	// Token to retrieve the next page of results, or empty if there are no more
526	// results in the list.
527	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
528	// Locations that could not be reached.
529	Unreachable          []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
530	XXX_NoUnkeyedLiteral struct{} `json:"-"`
531	XXX_unrecognized     []byte   `json:"-"`
532	XXX_sizecache        int32    `json:"-"`
533}
534
535func (m *ListInstancesResponse) Reset()         { *m = ListInstancesResponse{} }
536func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) }
537func (*ListInstancesResponse) ProtoMessage()    {}
538func (*ListInstancesResponse) Descriptor() ([]byte, []int) {
539	return fileDescriptor_522f9b2de914b9c5, []int{2}
540}
541
542func (m *ListInstancesResponse) XXX_Unmarshal(b []byte) error {
543	return xxx_messageInfo_ListInstancesResponse.Unmarshal(m, b)
544}
545func (m *ListInstancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
546	return xxx_messageInfo_ListInstancesResponse.Marshal(b, m, deterministic)
547}
548func (m *ListInstancesResponse) XXX_Merge(src proto.Message) {
549	xxx_messageInfo_ListInstancesResponse.Merge(m, src)
550}
551func (m *ListInstancesResponse) XXX_Size() int {
552	return xxx_messageInfo_ListInstancesResponse.Size(m)
553}
554func (m *ListInstancesResponse) XXX_DiscardUnknown() {
555	xxx_messageInfo_ListInstancesResponse.DiscardUnknown(m)
556}
557
558var xxx_messageInfo_ListInstancesResponse proto.InternalMessageInfo
559
560func (m *ListInstancesResponse) GetInstances() []*Instance {
561	if m != nil {
562		return m.Instances
563	}
564	return nil
565}
566
567func (m *ListInstancesResponse) GetNextPageToken() string {
568	if m != nil {
569		return m.NextPageToken
570	}
571	return ""
572}
573
574func (m *ListInstancesResponse) GetUnreachable() []string {
575	if m != nil {
576		return m.Unreachable
577	}
578	return nil
579}
580
581// Request for [GetInstance][google.cloud.redis.v1beta1.CloudRedis.GetInstance].
582type GetInstanceRequest struct {
583	// Required. Redis instance resource name using the form:
584	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
585	// where `location_id` refers to a GCP region.
586	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
587	XXX_NoUnkeyedLiteral struct{} `json:"-"`
588	XXX_unrecognized     []byte   `json:"-"`
589	XXX_sizecache        int32    `json:"-"`
590}
591
592func (m *GetInstanceRequest) Reset()         { *m = GetInstanceRequest{} }
593func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) }
594func (*GetInstanceRequest) ProtoMessage()    {}
595func (*GetInstanceRequest) Descriptor() ([]byte, []int) {
596	return fileDescriptor_522f9b2de914b9c5, []int{3}
597}
598
599func (m *GetInstanceRequest) XXX_Unmarshal(b []byte) error {
600	return xxx_messageInfo_GetInstanceRequest.Unmarshal(m, b)
601}
602func (m *GetInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
603	return xxx_messageInfo_GetInstanceRequest.Marshal(b, m, deterministic)
604}
605func (m *GetInstanceRequest) XXX_Merge(src proto.Message) {
606	xxx_messageInfo_GetInstanceRequest.Merge(m, src)
607}
608func (m *GetInstanceRequest) XXX_Size() int {
609	return xxx_messageInfo_GetInstanceRequest.Size(m)
610}
611func (m *GetInstanceRequest) XXX_DiscardUnknown() {
612	xxx_messageInfo_GetInstanceRequest.DiscardUnknown(m)
613}
614
615var xxx_messageInfo_GetInstanceRequest proto.InternalMessageInfo
616
617func (m *GetInstanceRequest) GetName() string {
618	if m != nil {
619		return m.Name
620	}
621	return ""
622}
623
624// Request for [CreateInstance][google.cloud.redis.v1beta1.CloudRedis.CreateInstance].
625type CreateInstanceRequest struct {
626	// Required. The resource name of the instance location using the form:
627	//     `projects/{project_id}/locations/{location_id}`
628	// where `location_id` refers to a GCP region.
629	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
630	// Required. The logical name of the Redis instance in the customer project
631	// with the following restrictions:
632	//
633	// * Must contain only lowercase letters, numbers, and hyphens.
634	// * Must start with a letter.
635	// * Must be between 1-40 characters.
636	// * Must end with a number or a letter.
637	// * Must be unique within the customer project / location
638	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
639	// Required. A Redis [Instance] resource
640	Instance             *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
641	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
642	XXX_unrecognized     []byte    `json:"-"`
643	XXX_sizecache        int32     `json:"-"`
644}
645
646func (m *CreateInstanceRequest) Reset()         { *m = CreateInstanceRequest{} }
647func (m *CreateInstanceRequest) String() string { return proto.CompactTextString(m) }
648func (*CreateInstanceRequest) ProtoMessage()    {}
649func (*CreateInstanceRequest) Descriptor() ([]byte, []int) {
650	return fileDescriptor_522f9b2de914b9c5, []int{4}
651}
652
653func (m *CreateInstanceRequest) XXX_Unmarshal(b []byte) error {
654	return xxx_messageInfo_CreateInstanceRequest.Unmarshal(m, b)
655}
656func (m *CreateInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
657	return xxx_messageInfo_CreateInstanceRequest.Marshal(b, m, deterministic)
658}
659func (m *CreateInstanceRequest) XXX_Merge(src proto.Message) {
660	xxx_messageInfo_CreateInstanceRequest.Merge(m, src)
661}
662func (m *CreateInstanceRequest) XXX_Size() int {
663	return xxx_messageInfo_CreateInstanceRequest.Size(m)
664}
665func (m *CreateInstanceRequest) XXX_DiscardUnknown() {
666	xxx_messageInfo_CreateInstanceRequest.DiscardUnknown(m)
667}
668
669var xxx_messageInfo_CreateInstanceRequest proto.InternalMessageInfo
670
671func (m *CreateInstanceRequest) GetParent() string {
672	if m != nil {
673		return m.Parent
674	}
675	return ""
676}
677
678func (m *CreateInstanceRequest) GetInstanceId() string {
679	if m != nil {
680		return m.InstanceId
681	}
682	return ""
683}
684
685func (m *CreateInstanceRequest) GetInstance() *Instance {
686	if m != nil {
687		return m.Instance
688	}
689	return nil
690}
691
692// Request for [UpdateInstance][google.cloud.redis.v1beta1.CloudRedis.UpdateInstance].
693type UpdateInstanceRequest struct {
694	// Required. Mask of fields to update. At least one path must be supplied in
695	// this field. The elements of the repeated paths field may only include these
696	// fields from [Instance][google.cloud.redis.v1beta1.Instance]:
697	//
698	//  *   `displayName`
699	//  *   `labels`
700	//  *   `memorySizeGb`
701	//  *   `redisConfig`
702	UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
703	// Required. Update description.
704	// Only fields specified in update_mask are updated.
705	Instance             *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
706	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
707	XXX_unrecognized     []byte    `json:"-"`
708	XXX_sizecache        int32     `json:"-"`
709}
710
711func (m *UpdateInstanceRequest) Reset()         { *m = UpdateInstanceRequest{} }
712func (m *UpdateInstanceRequest) String() string { return proto.CompactTextString(m) }
713func (*UpdateInstanceRequest) ProtoMessage()    {}
714func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) {
715	return fileDescriptor_522f9b2de914b9c5, []int{5}
716}
717
718func (m *UpdateInstanceRequest) XXX_Unmarshal(b []byte) error {
719	return xxx_messageInfo_UpdateInstanceRequest.Unmarshal(m, b)
720}
721func (m *UpdateInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
722	return xxx_messageInfo_UpdateInstanceRequest.Marshal(b, m, deterministic)
723}
724func (m *UpdateInstanceRequest) XXX_Merge(src proto.Message) {
725	xxx_messageInfo_UpdateInstanceRequest.Merge(m, src)
726}
727func (m *UpdateInstanceRequest) XXX_Size() int {
728	return xxx_messageInfo_UpdateInstanceRequest.Size(m)
729}
730func (m *UpdateInstanceRequest) XXX_DiscardUnknown() {
731	xxx_messageInfo_UpdateInstanceRequest.DiscardUnknown(m)
732}
733
734var xxx_messageInfo_UpdateInstanceRequest proto.InternalMessageInfo
735
736func (m *UpdateInstanceRequest) GetUpdateMask() *field_mask.FieldMask {
737	if m != nil {
738		return m.UpdateMask
739	}
740	return nil
741}
742
743func (m *UpdateInstanceRequest) GetInstance() *Instance {
744	if m != nil {
745		return m.Instance
746	}
747	return nil
748}
749
750// Request for [UpgradeInstance][google.cloud.redis.v1beta1.CloudRedis.UpgradeInstance].
751type UpgradeInstanceRequest struct {
752	// Required. Redis instance resource name using the form:
753	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
754	// where `location_id` refers to a GCP region.
755	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
756	// Required. Specifies the target version of Redis software to upgrade to.
757	RedisVersion         string   `protobuf:"bytes,2,opt,name=redis_version,json=redisVersion,proto3" json:"redis_version,omitempty"`
758	XXX_NoUnkeyedLiteral struct{} `json:"-"`
759	XXX_unrecognized     []byte   `json:"-"`
760	XXX_sizecache        int32    `json:"-"`
761}
762
763func (m *UpgradeInstanceRequest) Reset()         { *m = UpgradeInstanceRequest{} }
764func (m *UpgradeInstanceRequest) String() string { return proto.CompactTextString(m) }
765func (*UpgradeInstanceRequest) ProtoMessage()    {}
766func (*UpgradeInstanceRequest) Descriptor() ([]byte, []int) {
767	return fileDescriptor_522f9b2de914b9c5, []int{6}
768}
769
770func (m *UpgradeInstanceRequest) XXX_Unmarshal(b []byte) error {
771	return xxx_messageInfo_UpgradeInstanceRequest.Unmarshal(m, b)
772}
773func (m *UpgradeInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
774	return xxx_messageInfo_UpgradeInstanceRequest.Marshal(b, m, deterministic)
775}
776func (m *UpgradeInstanceRequest) XXX_Merge(src proto.Message) {
777	xxx_messageInfo_UpgradeInstanceRequest.Merge(m, src)
778}
779func (m *UpgradeInstanceRequest) XXX_Size() int {
780	return xxx_messageInfo_UpgradeInstanceRequest.Size(m)
781}
782func (m *UpgradeInstanceRequest) XXX_DiscardUnknown() {
783	xxx_messageInfo_UpgradeInstanceRequest.DiscardUnknown(m)
784}
785
786var xxx_messageInfo_UpgradeInstanceRequest proto.InternalMessageInfo
787
788func (m *UpgradeInstanceRequest) GetName() string {
789	if m != nil {
790		return m.Name
791	}
792	return ""
793}
794
795func (m *UpgradeInstanceRequest) GetRedisVersion() string {
796	if m != nil {
797		return m.RedisVersion
798	}
799	return ""
800}
801
802// Request for [DeleteInstance][google.cloud.redis.v1beta1.CloudRedis.DeleteInstance].
803type DeleteInstanceRequest struct {
804	// Required. Redis instance resource name using the form:
805	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
806	// where `location_id` refers to a GCP region.
807	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
808	XXX_NoUnkeyedLiteral struct{} `json:"-"`
809	XXX_unrecognized     []byte   `json:"-"`
810	XXX_sizecache        int32    `json:"-"`
811}
812
813func (m *DeleteInstanceRequest) Reset()         { *m = DeleteInstanceRequest{} }
814func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) }
815func (*DeleteInstanceRequest) ProtoMessage()    {}
816func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) {
817	return fileDescriptor_522f9b2de914b9c5, []int{7}
818}
819
820func (m *DeleteInstanceRequest) XXX_Unmarshal(b []byte) error {
821	return xxx_messageInfo_DeleteInstanceRequest.Unmarshal(m, b)
822}
823func (m *DeleteInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
824	return xxx_messageInfo_DeleteInstanceRequest.Marshal(b, m, deterministic)
825}
826func (m *DeleteInstanceRequest) XXX_Merge(src proto.Message) {
827	xxx_messageInfo_DeleteInstanceRequest.Merge(m, src)
828}
829func (m *DeleteInstanceRequest) XXX_Size() int {
830	return xxx_messageInfo_DeleteInstanceRequest.Size(m)
831}
832func (m *DeleteInstanceRequest) XXX_DiscardUnknown() {
833	xxx_messageInfo_DeleteInstanceRequest.DiscardUnknown(m)
834}
835
836var xxx_messageInfo_DeleteInstanceRequest proto.InternalMessageInfo
837
838func (m *DeleteInstanceRequest) GetName() string {
839	if m != nil {
840		return m.Name
841	}
842	return ""
843}
844
845// The Cloud Storage location for the input content
846type GcsSource struct {
847	// Required. Source data URI. (e.g. 'gs://my_bucket/my_object').
848	Uri                  string   `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
849	XXX_NoUnkeyedLiteral struct{} `json:"-"`
850	XXX_unrecognized     []byte   `json:"-"`
851	XXX_sizecache        int32    `json:"-"`
852}
853
854func (m *GcsSource) Reset()         { *m = GcsSource{} }
855func (m *GcsSource) String() string { return proto.CompactTextString(m) }
856func (*GcsSource) ProtoMessage()    {}
857func (*GcsSource) Descriptor() ([]byte, []int) {
858	return fileDescriptor_522f9b2de914b9c5, []int{8}
859}
860
861func (m *GcsSource) XXX_Unmarshal(b []byte) error {
862	return xxx_messageInfo_GcsSource.Unmarshal(m, b)
863}
864func (m *GcsSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
865	return xxx_messageInfo_GcsSource.Marshal(b, m, deterministic)
866}
867func (m *GcsSource) XXX_Merge(src proto.Message) {
868	xxx_messageInfo_GcsSource.Merge(m, src)
869}
870func (m *GcsSource) XXX_Size() int {
871	return xxx_messageInfo_GcsSource.Size(m)
872}
873func (m *GcsSource) XXX_DiscardUnknown() {
874	xxx_messageInfo_GcsSource.DiscardUnknown(m)
875}
876
877var xxx_messageInfo_GcsSource proto.InternalMessageInfo
878
879func (m *GcsSource) GetUri() string {
880	if m != nil {
881		return m.Uri
882	}
883	return ""
884}
885
886// The input content
887type InputConfig struct {
888	// Required. Specify source location of input data
889	//
890	// Types that are valid to be assigned to Source:
891	//	*InputConfig_GcsSource
892	Source               isInputConfig_Source `protobuf_oneof:"source"`
893	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
894	XXX_unrecognized     []byte               `json:"-"`
895	XXX_sizecache        int32                `json:"-"`
896}
897
898func (m *InputConfig) Reset()         { *m = InputConfig{} }
899func (m *InputConfig) String() string { return proto.CompactTextString(m) }
900func (*InputConfig) ProtoMessage()    {}
901func (*InputConfig) Descriptor() ([]byte, []int) {
902	return fileDescriptor_522f9b2de914b9c5, []int{9}
903}
904
905func (m *InputConfig) XXX_Unmarshal(b []byte) error {
906	return xxx_messageInfo_InputConfig.Unmarshal(m, b)
907}
908func (m *InputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
909	return xxx_messageInfo_InputConfig.Marshal(b, m, deterministic)
910}
911func (m *InputConfig) XXX_Merge(src proto.Message) {
912	xxx_messageInfo_InputConfig.Merge(m, src)
913}
914func (m *InputConfig) XXX_Size() int {
915	return xxx_messageInfo_InputConfig.Size(m)
916}
917func (m *InputConfig) XXX_DiscardUnknown() {
918	xxx_messageInfo_InputConfig.DiscardUnknown(m)
919}
920
921var xxx_messageInfo_InputConfig proto.InternalMessageInfo
922
923type isInputConfig_Source interface {
924	isInputConfig_Source()
925}
926
927type InputConfig_GcsSource struct {
928	GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
929}
930
931func (*InputConfig_GcsSource) isInputConfig_Source() {}
932
933func (m *InputConfig) GetSource() isInputConfig_Source {
934	if m != nil {
935		return m.Source
936	}
937	return nil
938}
939
940func (m *InputConfig) GetGcsSource() *GcsSource {
941	if x, ok := m.GetSource().(*InputConfig_GcsSource); ok {
942		return x.GcsSource
943	}
944	return nil
945}
946
947// XXX_OneofWrappers is for the internal use of the proto package.
948func (*InputConfig) XXX_OneofWrappers() []interface{} {
949	return []interface{}{
950		(*InputConfig_GcsSource)(nil),
951	}
952}
953
954// Request for [Import][google.cloud.redis.v1beta1.CloudRedis.ImportInstance].
955type ImportInstanceRequest struct {
956	// Required. Redis instance resource name using the form:
957	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
958	// where `location_id` refers to a GCP region.
959	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
960	// Required. Specify data to be imported.
961	InputConfig          *InputConfig `protobuf:"bytes,3,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
962	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
963	XXX_unrecognized     []byte       `json:"-"`
964	XXX_sizecache        int32        `json:"-"`
965}
966
967func (m *ImportInstanceRequest) Reset()         { *m = ImportInstanceRequest{} }
968func (m *ImportInstanceRequest) String() string { return proto.CompactTextString(m) }
969func (*ImportInstanceRequest) ProtoMessage()    {}
970func (*ImportInstanceRequest) Descriptor() ([]byte, []int) {
971	return fileDescriptor_522f9b2de914b9c5, []int{10}
972}
973
974func (m *ImportInstanceRequest) XXX_Unmarshal(b []byte) error {
975	return xxx_messageInfo_ImportInstanceRequest.Unmarshal(m, b)
976}
977func (m *ImportInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
978	return xxx_messageInfo_ImportInstanceRequest.Marshal(b, m, deterministic)
979}
980func (m *ImportInstanceRequest) XXX_Merge(src proto.Message) {
981	xxx_messageInfo_ImportInstanceRequest.Merge(m, src)
982}
983func (m *ImportInstanceRequest) XXX_Size() int {
984	return xxx_messageInfo_ImportInstanceRequest.Size(m)
985}
986func (m *ImportInstanceRequest) XXX_DiscardUnknown() {
987	xxx_messageInfo_ImportInstanceRequest.DiscardUnknown(m)
988}
989
990var xxx_messageInfo_ImportInstanceRequest proto.InternalMessageInfo
991
992func (m *ImportInstanceRequest) GetName() string {
993	if m != nil {
994		return m.Name
995	}
996	return ""
997}
998
999func (m *ImportInstanceRequest) GetInputConfig() *InputConfig {
1000	if m != nil {
1001		return m.InputConfig
1002	}
1003	return nil
1004}
1005
1006// The Cloud Storage location for the output content
1007type GcsDestination struct {
1008	// Required. Data destination URI (e.g.
1009	// 'gs://my_bucket/my_object'). Existing files will be overwritten.
1010	Uri                  string   `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
1011	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1012	XXX_unrecognized     []byte   `json:"-"`
1013	XXX_sizecache        int32    `json:"-"`
1014}
1015
1016func (m *GcsDestination) Reset()         { *m = GcsDestination{} }
1017func (m *GcsDestination) String() string { return proto.CompactTextString(m) }
1018func (*GcsDestination) ProtoMessage()    {}
1019func (*GcsDestination) Descriptor() ([]byte, []int) {
1020	return fileDescriptor_522f9b2de914b9c5, []int{11}
1021}
1022
1023func (m *GcsDestination) XXX_Unmarshal(b []byte) error {
1024	return xxx_messageInfo_GcsDestination.Unmarshal(m, b)
1025}
1026func (m *GcsDestination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1027	return xxx_messageInfo_GcsDestination.Marshal(b, m, deterministic)
1028}
1029func (m *GcsDestination) XXX_Merge(src proto.Message) {
1030	xxx_messageInfo_GcsDestination.Merge(m, src)
1031}
1032func (m *GcsDestination) XXX_Size() int {
1033	return xxx_messageInfo_GcsDestination.Size(m)
1034}
1035func (m *GcsDestination) XXX_DiscardUnknown() {
1036	xxx_messageInfo_GcsDestination.DiscardUnknown(m)
1037}
1038
1039var xxx_messageInfo_GcsDestination proto.InternalMessageInfo
1040
1041func (m *GcsDestination) GetUri() string {
1042	if m != nil {
1043		return m.Uri
1044	}
1045	return ""
1046}
1047
1048// The output content
1049type OutputConfig struct {
1050	// Required. Specify destination location of output data
1051	//
1052	// Types that are valid to be assigned to Destination:
1053	//	*OutputConfig_GcsDestination
1054	Destination          isOutputConfig_Destination `protobuf_oneof:"destination"`
1055	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
1056	XXX_unrecognized     []byte                     `json:"-"`
1057	XXX_sizecache        int32                      `json:"-"`
1058}
1059
1060func (m *OutputConfig) Reset()         { *m = OutputConfig{} }
1061func (m *OutputConfig) String() string { return proto.CompactTextString(m) }
1062func (*OutputConfig) ProtoMessage()    {}
1063func (*OutputConfig) Descriptor() ([]byte, []int) {
1064	return fileDescriptor_522f9b2de914b9c5, []int{12}
1065}
1066
1067func (m *OutputConfig) XXX_Unmarshal(b []byte) error {
1068	return xxx_messageInfo_OutputConfig.Unmarshal(m, b)
1069}
1070func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1071	return xxx_messageInfo_OutputConfig.Marshal(b, m, deterministic)
1072}
1073func (m *OutputConfig) XXX_Merge(src proto.Message) {
1074	xxx_messageInfo_OutputConfig.Merge(m, src)
1075}
1076func (m *OutputConfig) XXX_Size() int {
1077	return xxx_messageInfo_OutputConfig.Size(m)
1078}
1079func (m *OutputConfig) XXX_DiscardUnknown() {
1080	xxx_messageInfo_OutputConfig.DiscardUnknown(m)
1081}
1082
1083var xxx_messageInfo_OutputConfig proto.InternalMessageInfo
1084
1085type isOutputConfig_Destination interface {
1086	isOutputConfig_Destination()
1087}
1088
1089type OutputConfig_GcsDestination struct {
1090	GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
1091}
1092
1093func (*OutputConfig_GcsDestination) isOutputConfig_Destination() {}
1094
1095func (m *OutputConfig) GetDestination() isOutputConfig_Destination {
1096	if m != nil {
1097		return m.Destination
1098	}
1099	return nil
1100}
1101
1102func (m *OutputConfig) GetGcsDestination() *GcsDestination {
1103	if x, ok := m.GetDestination().(*OutputConfig_GcsDestination); ok {
1104		return x.GcsDestination
1105	}
1106	return nil
1107}
1108
1109// XXX_OneofWrappers is for the internal use of the proto package.
1110func (*OutputConfig) XXX_OneofWrappers() []interface{} {
1111	return []interface{}{
1112		(*OutputConfig_GcsDestination)(nil),
1113	}
1114}
1115
1116// Request for [Export][google.cloud.redis.v1beta1.CloudRedis.ExportInstance].
1117type ExportInstanceRequest struct {
1118	// Required. Redis instance resource name using the form:
1119	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
1120	// where `location_id` refers to a GCP region.
1121	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1122	// Required. Specify data to be exported.
1123	OutputConfig         *OutputConfig `protobuf:"bytes,3,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
1124	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
1125	XXX_unrecognized     []byte        `json:"-"`
1126	XXX_sizecache        int32         `json:"-"`
1127}
1128
1129func (m *ExportInstanceRequest) Reset()         { *m = ExportInstanceRequest{} }
1130func (m *ExportInstanceRequest) String() string { return proto.CompactTextString(m) }
1131func (*ExportInstanceRequest) ProtoMessage()    {}
1132func (*ExportInstanceRequest) Descriptor() ([]byte, []int) {
1133	return fileDescriptor_522f9b2de914b9c5, []int{13}
1134}
1135
1136func (m *ExportInstanceRequest) XXX_Unmarshal(b []byte) error {
1137	return xxx_messageInfo_ExportInstanceRequest.Unmarshal(m, b)
1138}
1139func (m *ExportInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1140	return xxx_messageInfo_ExportInstanceRequest.Marshal(b, m, deterministic)
1141}
1142func (m *ExportInstanceRequest) XXX_Merge(src proto.Message) {
1143	xxx_messageInfo_ExportInstanceRequest.Merge(m, src)
1144}
1145func (m *ExportInstanceRequest) XXX_Size() int {
1146	return xxx_messageInfo_ExportInstanceRequest.Size(m)
1147}
1148func (m *ExportInstanceRequest) XXX_DiscardUnknown() {
1149	xxx_messageInfo_ExportInstanceRequest.DiscardUnknown(m)
1150}
1151
1152var xxx_messageInfo_ExportInstanceRequest proto.InternalMessageInfo
1153
1154func (m *ExportInstanceRequest) GetName() string {
1155	if m != nil {
1156		return m.Name
1157	}
1158	return ""
1159}
1160
1161func (m *ExportInstanceRequest) GetOutputConfig() *OutputConfig {
1162	if m != nil {
1163		return m.OutputConfig
1164	}
1165	return nil
1166}
1167
1168// Request for [Failover][google.cloud.redis.v1beta1.CloudRedis.FailoverInstance].
1169type FailoverInstanceRequest struct {
1170	// Required. Redis instance resource name using the form:
1171	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
1172	// where `location_id` refers to a GCP region.
1173	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1174	// Optional. Available data protection modes that the user can choose. If it's
1175	// unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
1176	DataProtectionMode   FailoverInstanceRequest_DataProtectionMode `protobuf:"varint,2,opt,name=data_protection_mode,json=dataProtectionMode,proto3,enum=google.cloud.redis.v1beta1.FailoverInstanceRequest_DataProtectionMode" json:"data_protection_mode,omitempty"`
1177	XXX_NoUnkeyedLiteral struct{}                                   `json:"-"`
1178	XXX_unrecognized     []byte                                     `json:"-"`
1179	XXX_sizecache        int32                                      `json:"-"`
1180}
1181
1182func (m *FailoverInstanceRequest) Reset()         { *m = FailoverInstanceRequest{} }
1183func (m *FailoverInstanceRequest) String() string { return proto.CompactTextString(m) }
1184func (*FailoverInstanceRequest) ProtoMessage()    {}
1185func (*FailoverInstanceRequest) Descriptor() ([]byte, []int) {
1186	return fileDescriptor_522f9b2de914b9c5, []int{14}
1187}
1188
1189func (m *FailoverInstanceRequest) XXX_Unmarshal(b []byte) error {
1190	return xxx_messageInfo_FailoverInstanceRequest.Unmarshal(m, b)
1191}
1192func (m *FailoverInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1193	return xxx_messageInfo_FailoverInstanceRequest.Marshal(b, m, deterministic)
1194}
1195func (m *FailoverInstanceRequest) XXX_Merge(src proto.Message) {
1196	xxx_messageInfo_FailoverInstanceRequest.Merge(m, src)
1197}
1198func (m *FailoverInstanceRequest) XXX_Size() int {
1199	return xxx_messageInfo_FailoverInstanceRequest.Size(m)
1200}
1201func (m *FailoverInstanceRequest) XXX_DiscardUnknown() {
1202	xxx_messageInfo_FailoverInstanceRequest.DiscardUnknown(m)
1203}
1204
1205var xxx_messageInfo_FailoverInstanceRequest proto.InternalMessageInfo
1206
1207func (m *FailoverInstanceRequest) GetName() string {
1208	if m != nil {
1209		return m.Name
1210	}
1211	return ""
1212}
1213
1214func (m *FailoverInstanceRequest) GetDataProtectionMode() FailoverInstanceRequest_DataProtectionMode {
1215	if m != nil {
1216		return m.DataProtectionMode
1217	}
1218	return FailoverInstanceRequest_DATA_PROTECTION_MODE_UNSPECIFIED
1219}
1220
1221// This location metadata represents additional configuration options for a
1222// given location where a Redis instance may be created. All fields are output
1223// only. It is returned as content of the
1224// `google.cloud.location.Location.metadata` field.
1225type LocationMetadata struct {
1226	// Output only. The set of available zones in the location. The map is keyed
1227	// by the lowercase ID of each zone, as defined by GCE. These keys can be
1228	// specified in `location_id` or `alternative_location_id` fields when
1229	// creating a Redis instance.
1230	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"`
1231	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
1232	XXX_unrecognized     []byte                   `json:"-"`
1233	XXX_sizecache        int32                    `json:"-"`
1234}
1235
1236func (m *LocationMetadata) Reset()         { *m = LocationMetadata{} }
1237func (m *LocationMetadata) String() string { return proto.CompactTextString(m) }
1238func (*LocationMetadata) ProtoMessage()    {}
1239func (*LocationMetadata) Descriptor() ([]byte, []int) {
1240	return fileDescriptor_522f9b2de914b9c5, []int{15}
1241}
1242
1243func (m *LocationMetadata) XXX_Unmarshal(b []byte) error {
1244	return xxx_messageInfo_LocationMetadata.Unmarshal(m, b)
1245}
1246func (m *LocationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1247	return xxx_messageInfo_LocationMetadata.Marshal(b, m, deterministic)
1248}
1249func (m *LocationMetadata) XXX_Merge(src proto.Message) {
1250	xxx_messageInfo_LocationMetadata.Merge(m, src)
1251}
1252func (m *LocationMetadata) XXX_Size() int {
1253	return xxx_messageInfo_LocationMetadata.Size(m)
1254}
1255func (m *LocationMetadata) XXX_DiscardUnknown() {
1256	xxx_messageInfo_LocationMetadata.DiscardUnknown(m)
1257}
1258
1259var xxx_messageInfo_LocationMetadata proto.InternalMessageInfo
1260
1261func (m *LocationMetadata) GetAvailableZones() map[string]*ZoneMetadata {
1262	if m != nil {
1263		return m.AvailableZones
1264	}
1265	return nil
1266}
1267
1268// Defines specific information for a particular zone. Currently empty and
1269// reserved for future use only.
1270type ZoneMetadata struct {
1271	XXX_NoUnkeyedLiteral struct{} `json:"-"`
1272	XXX_unrecognized     []byte   `json:"-"`
1273	XXX_sizecache        int32    `json:"-"`
1274}
1275
1276func (m *ZoneMetadata) Reset()         { *m = ZoneMetadata{} }
1277func (m *ZoneMetadata) String() string { return proto.CompactTextString(m) }
1278func (*ZoneMetadata) ProtoMessage()    {}
1279func (*ZoneMetadata) Descriptor() ([]byte, []int) {
1280	return fileDescriptor_522f9b2de914b9c5, []int{16}
1281}
1282
1283func (m *ZoneMetadata) XXX_Unmarshal(b []byte) error {
1284	return xxx_messageInfo_ZoneMetadata.Unmarshal(m, b)
1285}
1286func (m *ZoneMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1287	return xxx_messageInfo_ZoneMetadata.Marshal(b, m, deterministic)
1288}
1289func (m *ZoneMetadata) XXX_Merge(src proto.Message) {
1290	xxx_messageInfo_ZoneMetadata.Merge(m, src)
1291}
1292func (m *ZoneMetadata) XXX_Size() int {
1293	return xxx_messageInfo_ZoneMetadata.Size(m)
1294}
1295func (m *ZoneMetadata) XXX_DiscardUnknown() {
1296	xxx_messageInfo_ZoneMetadata.DiscardUnknown(m)
1297}
1298
1299var xxx_messageInfo_ZoneMetadata proto.InternalMessageInfo
1300
1301func init() {
1302	proto.RegisterEnum("google.cloud.redis.v1beta1.Instance_State", Instance_State_name, Instance_State_value)
1303	proto.RegisterEnum("google.cloud.redis.v1beta1.Instance_Tier", Instance_Tier_name, Instance_Tier_value)
1304	proto.RegisterEnum("google.cloud.redis.v1beta1.Instance_ConnectMode", Instance_ConnectMode_name, Instance_ConnectMode_value)
1305	proto.RegisterEnum("google.cloud.redis.v1beta1.FailoverInstanceRequest_DataProtectionMode", FailoverInstanceRequest_DataProtectionMode_name, FailoverInstanceRequest_DataProtectionMode_value)
1306	proto.RegisterType((*Instance)(nil), "google.cloud.redis.v1beta1.Instance")
1307	proto.RegisterMapType((map[string]string)(nil), "google.cloud.redis.v1beta1.Instance.LabelsEntry")
1308	proto.RegisterMapType((map[string]string)(nil), "google.cloud.redis.v1beta1.Instance.RedisConfigsEntry")
1309	proto.RegisterType((*ListInstancesRequest)(nil), "google.cloud.redis.v1beta1.ListInstancesRequest")
1310	proto.RegisterType((*ListInstancesResponse)(nil), "google.cloud.redis.v1beta1.ListInstancesResponse")
1311	proto.RegisterType((*GetInstanceRequest)(nil), "google.cloud.redis.v1beta1.GetInstanceRequest")
1312	proto.RegisterType((*CreateInstanceRequest)(nil), "google.cloud.redis.v1beta1.CreateInstanceRequest")
1313	proto.RegisterType((*UpdateInstanceRequest)(nil), "google.cloud.redis.v1beta1.UpdateInstanceRequest")
1314	proto.RegisterType((*UpgradeInstanceRequest)(nil), "google.cloud.redis.v1beta1.UpgradeInstanceRequest")
1315	proto.RegisterType((*DeleteInstanceRequest)(nil), "google.cloud.redis.v1beta1.DeleteInstanceRequest")
1316	proto.RegisterType((*GcsSource)(nil), "google.cloud.redis.v1beta1.GcsSource")
1317	proto.RegisterType((*InputConfig)(nil), "google.cloud.redis.v1beta1.InputConfig")
1318	proto.RegisterType((*ImportInstanceRequest)(nil), "google.cloud.redis.v1beta1.ImportInstanceRequest")
1319	proto.RegisterType((*GcsDestination)(nil), "google.cloud.redis.v1beta1.GcsDestination")
1320	proto.RegisterType((*OutputConfig)(nil), "google.cloud.redis.v1beta1.OutputConfig")
1321	proto.RegisterType((*ExportInstanceRequest)(nil), "google.cloud.redis.v1beta1.ExportInstanceRequest")
1322	proto.RegisterType((*FailoverInstanceRequest)(nil), "google.cloud.redis.v1beta1.FailoverInstanceRequest")
1323	proto.RegisterType((*LocationMetadata)(nil), "google.cloud.redis.v1beta1.LocationMetadata")
1324	proto.RegisterMapType((map[string]*ZoneMetadata)(nil), "google.cloud.redis.v1beta1.LocationMetadata.AvailableZonesEntry")
1325	proto.RegisterType((*ZoneMetadata)(nil), "google.cloud.redis.v1beta1.ZoneMetadata")
1326}
1327
1328func init() {
1329	proto.RegisterFile("google/cloud/redis/v1beta1/cloud_redis.proto", fileDescriptor_522f9b2de914b9c5)
1330}
1331
1332var fileDescriptor_522f9b2de914b9c5 = []byte{
1333	// 2048 bytes of a gzipped FileDescriptorProto
1334	0x1f, 0x8b, 0x08, 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0x9b, 0xfa, 0x6e, 0xad,
1390	0x32, 0x0a, 0x0e, 0x41, 0xb6, 0xa2, 0x6a, 0xcc, 0x59, 0x57, 0x14, 0xcd, 0x87, 0x58, 0x80, 0xeb,
1391	0x75, 0x4d, 0x7d, 0xc2, 0x98, 0x68, 0x28, 0xda, 0x13, 0xb5, 0xac, 0xe8, 0x72, 0xb9, 0xac, 0x34,
1392	0x1a, 0xb9, 0xc4, 0xfa, 0xa7, 0xff, 0x96, 0x7f, 0x0c, 0x37, 0xfd, 0x45, 0xf6, 0xd7, 0x1d, 0x3b,
1393	0xa6, 0x57, 0x34, 0xec, 0x6e, 0x69, 0x70, 0x97, 0x7f, 0xdf, 0x71, 0xed, 0x9f, 0x10, 0x83, 0x7a,
1394	0xa5, 0x17, 0xc1, 0xd3, 0x49, 0x29, 0xbc, 0x5e, 0xbc, 0xd2, 0x8b, 0xf0, 0xf1, 0xa4, 0x64, 0x06,
1395	0x19, 0x5e, 0xe9, 0x45, 0xf8, 0x78, 0x22, 0x7d, 0x21, 0xc0, 0xd2, 0x8e, 0xe9, 0xd1, 0xb0, 0x9c,
1396	0xa7, 0x91, 0x9f, 0xf6, 0x88, 0x47, 0x91, 0x0c, 0xb3, 0x0e, 0x66, 0x77, 0x51, 0x30, 0x24, 0xee,
1397	0x7c, 0x29, 0x27, 0xbe, 0x92, 0x6f, 0xc1, 0x7b, 0x83, 0xda, 0xa3, 0x1d, 0x85, 0x97, 0x96, 0x16,
1398	0x24, 0xa2, 0xb7, 0x21, 0xe5, 0xe0, 0x36, 0xe1, 0xa7, 0x8b, 0xef, 0x84, 0x19, 0x6d, 0x8e, 0x19,
1399	0xd8, 0x99, 0x42, 0x37, 0x01, 0xb8, 0x93, 0xda, 0x47, 0xc4, 0x12, 0x93, 0x7c, 0x9f, 0xf0, 0xf0,
1400	0x26, 0x33, 0x48, 0x7f, 0x14, 0x20, 0x3f, 0xd2, 0x97, 0xe7, 0xd8, 0x96, 0x47, 0xd0, 0x06, 0xa4,
1401	0x06, 0x48, 0x44, 0x81, 0xdf, 0x2b, 0xb7, 0xa7, 0x39, 0x14, 0x5a, 0x94, 0x86, 0xbe, 0x05, 0x0b,
1402	0x16, 0x79, 0x46, 0xf5, 0x58, 0x07, 0xfe, 0x4e, 0x9d, 0x67, 0xe6, 0x7a, 0xd8, 0x05, 0x5a, 0x86,
1403	0x74, 0xcf, 0x72, 0x09, 0x36, 0x0e, 0xf1, 0x7e, 0x87, 0xf0, 0x81, 0x97, 0xd2, 0xe2, 0x26, 0xa9,
1404	0x06, 0x68, 0x8b, 0x0c, 0xba, 0x0c, 0xc9, 0x7b, 0x30, 0x34, 0x5f, 0xdf, 0xe7, 0xd4, 0xbd, 0x7b,
1405	0xce, 0x42, 0xfa, 0x13, 0x58, 0xfa, 0x9b, 0x00, 0xf9, 0x32, 0xbf, 0xbc, 0x47, 0x8b, 0x5e, 0xc2,
1406	0x8a, 0xdc, 0x86, 0x74, 0x48, 0x02, 0x9b, 0x3c, 0x89, 0x68, 0xfc, 0x43, 0x68, 0x57, 0x5b, 0x48,
1407	0x81, 0xb9, 0xf0, 0x8d, 0x2f, 0xcc, 0x94, 0x04, 0xfb, 0x85, 0x06, 0xa9, 0xd2, 0xef, 0x05, 0xc8,
1408	0xef, 0x39, 0xad, 0x31, 0x48, 0x1e, 0x43, 0xba, 0xc7, 0x1d, 0x5c, 0xc1, 0x70, 0x38, 0xe3, 0x66,
1409	0xda, 0x26, 0x13, 0x39, 0xbb, 0xd8, 0x3b, 0x0a, 0x5a, 0xf4, 0x73, 0x98, 0x61, 0xa8, 0xc5, 0xc4,
1410	0xc5, 0x5b, 0x3c, 0x81, 0xeb, 0x7b, 0x4e, 0xdb, 0xc5, 0x2d, 0x72, 0x79, 0x2b, 0x78, 0x5a, 0x73,
1411	0xc4, 0x68, 0x1e, 0xd2, 0x1c, 0x92, 0x06, 0xf9, 0x0a, 0xe9, 0x10, 0x7a, 0x89, 0x5f, 0x97, 0x24,
1412	0x48, 0x6d, 0x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, 0x53, 0xac, 0xb3, 0xb3, 0x4c, 0x0c, 0xae, 0x74, 0xb9, 0x88, 0x49, 0x70, 0x11,
1424	0xb3, 0x39, 0xa9, 0xe3, 0x33, 0xba, 0x29, 0x56, 0x30, 0xc5, 0xf5, 0x41, 0xb9, 0x48, 0xda, 0xa0,
1425	0xd6, 0x29, 0x87, 0x74, 0x00, 0xe8, 0x74, 0x38, 0xba, 0x0d, 0xcb, 0x15, 0xb9, 0x29, 0xeb, 0x75,
1426	0xad, 0xd6, 0x54, 0xca, 0x4d, 0xb5, 0x56, 0x1d, 0x37, 0xa3, 0xf3, 0xb0, 0xb8, 0xa3, 0xee, 0xaa,
1427	0x4d, 0xa5, 0xa2, 0xf3, 0xe8, 0x9d, 0x5a, 0xa3, 0x91, 0x13, 0xd0, 0x35, 0x58, 0xd8, 0xac, 0x69,
1428	0x65, 0x25, 0x66, 0x4c, 0x48, 0xff, 0x11, 0x20, 0x17, 0x5e, 0xb2, 0xbb, 0x84, 0x62, 0xd6, 0x0a,
1429	0xb2, 0x60, 0x01, 0xf7, 0xb1, 0xd9, 0x61, 0xf3, 0x41, 0x7f, 0x6e, 0x5b, 0x83, 0x31, 0xf5, 0x78,
1430	0x12, 0xec, 0xd1, 0x32, 0x45, 0x39, 0xac, 0xf1, 0x09, 0x2b, 0x31, 0x10, 0xc2, 0x49, 0x2d, 0x8b,
1431	0x87, 0x3c, 0x85, 0x23, 0xb8, 0x36, 0x26, 0x76, 0x8c, 0x2a, 0xfb, 0x38, 0xae, 0xca, 0xce, 0xd9,
1432	0x37, 0xac, 0x50, 0xd8, 0x4a, 0x5c, 0xbf, 0x65, 0x21, 0x13, 0x77, 0xad, 0xfd, 0x79, 0x11, 0xa0,
1433	0xcc, 0xf2, 0xb9, 0x2c, 0x44, 0x7f, 0x11, 0x60, 0x7e, 0x68, 0x6c, 0xa3, 0x89, 0x82, 0x75, 0x9c,
1434	0xf2, 0x28, 0xdc, 0x7b, 0x8d, 0x0c, 0x5f, 0x13, 0x48, 0xe5, 0x57, 0x72, 0x30, 0xe2, 0x7e, 0xf1,
1435	0x8f, 0x7f, 0xfd, 0x3a, 0xf1, 0x5d, 0xb4, 0x36, 0xf8, 0x01, 0xe0, 0x85, 0x6f, 0xff, 0x68, 0xa0,
1436	0x92, 0x56, 0x63, 0xea, 0x68, 0x35, 0xa6, 0x8a, 0xd0, 0x9f, 0x04, 0x48, 0xc7, 0x66, 0x39, 0x2a,
1437	0x4e, 0x3c, 0xee, 0xa7, 0x86, 0x7e, 0x61, 0xaa, 0x09, 0x24, 0xc9, 0xaf, 0x64, 0x7e, 0x44, 0x4e,
1438	0x37, 0xca, 0xac, 0x67, 0xb4, 0x19, 0xd3, 0x6e, 0xab, 0x27, 0xe8, 0xb3, 0x04, 0x64, 0x87, 0x25,
1439	0x02, 0x9a, 0xc8, 0xd9, 0x58, 0x39, 0x51, 0xb8, 0x19, 0xa6, 0xc4, 0x7e, 0x79, 0x28, 0xd6, 0xc2,
1440	0x5f, 0x1e, 0xa4, 0xdf, 0x09, 0x2f, 0xe5, 0x75, 0xb8, 0x35, 0x05, 0x24, 0x74, 0x6d, 0x74, 0x70,
1441	0xcb, 0xd6, 0xf1, 0x2b, 0xf9, 0x6d, 0x9f, 0xf8, 0xbb, 0x31, 0xc1, 0x31, 0x78, 0xe6, 0xe0, 0x3f,
1442	0x96, 0x2e, 0xb0, 0x4a, 0xeb, 0x83, 0xe1, 0x8d, 0x7e, 0x99, 0x80, 0xec, 0xb0, 0xbe, 0x98, 0x4c,
1443	0xc3, 0x58, 0x2d, 0x72, 0x1e, 0x0d, 0x7f, 0x78, 0x53, 0x1a, 0x96, 0x62, 0x4a, 0x67, 0x18, 0xff,
1444	0xd6, 0xda, 0xc3, 0x08, 0x7f, 0xe8, 0x29, 0x4e, 0xbb, 0x0b, 0x62, 0x44, 0xfc, 0x4f, 0x80, 0x85,
1445	0x11, 0x19, 0x83, 0xd6, 0x26, 0x33, 0x31, 0x4e, 0xf3, 0x9c, 0x47, 0xc5, 0x6f, 0xdf, 0x94, 0x0a,
1446	0xc4, 0xb0, 0xdd, 0x1d, 0xd2, 0x46, 0x9c, 0x88, 0x47, 0xd2, 0xfa, 0xeb, 0x9f, 0x82, 0xf5, 0x9e,
1447	0x0f, 0x62, 0x5d, 0x58, 0x45, 0x5f, 0x09, 0x90, 0x1d, 0x96, 0x1b, 0x93, 0x77, 0xc2, 0x58, 0x69,
1448	0x72, 0x1e, 0xfc, 0x2f, 0xde, 0x14, 0xfe, 0x22, 0x87, 0x1f, 0x17, 0x39, 0xc1, 0x31, 0x78, 0x70,
1449	0x01, 0xf4, 0x26, 0x87, 0xc0, 0xc0, 0xff, 0x57, 0x80, 0xec, 0xb0, 0x90, 0x98, 0x0c, 0x7e, 0xac,
1450	0xe8, 0x38, 0x0f, 0xfc, 0x6f, 0x2e, 0x67, 0xed, 0x87, 0xe4, 0xcb, 0x1b, 0xa0, 0x27, 0xcf, 0x42,
1451	0xf4, 0xbf, 0x4a, 0x40, 0x6e, 0x54, 0x31, 0xa0, 0xfb, 0x17, 0xd0, 0x17, 0x5f, 0xfb, 0x7d, 0xf8,
1452	0x16, 0x67, 0x60, 0x9c, 0x2a, 0xe2, 0x44, 0x3c, 0x96, 0x1e, 0x5e, 0x80, 0x88, 0x83, 0x00, 0x0c,
1453	0xa3, 0xe2, 0x9f, 0x02, 0x64, 0x87, 0xff, 0x9c, 0x98, 0xbc, 0x11, 0xc6, 0xfe, 0xe9, 0x71, 0x1e,
1454	0x0d, 0xce, 0x4b, 0xf9, 0x2e, 0xe4, 0x47, 0x01, 0x2a, 0x5d, 0x87, 0x1e, 0x9f, 0x81, 0x3b, 0x36,
1455	0xed, 0x56, 0x2f, 0x30, 0xed, 0x0a, 0xdb, 0x2f, 0xe5, 0xa5, 0x71, 0x92, 0xf3, 0xef, 0x72, 0xf1,
1456	0x90, 0x52, 0xc7, 0x5b, 0x2f, 0x95, 0x9e, 0x3e, 0x7d, 0x3a, 0xaa, 0x47, 0x71, 0x8f, 0x1e, 0xfa,
1457	0x3f, 0xfe, 0x7f, 0xdb, 0xe9, 0x60, 0x7a, 0x60, 0xbb, 0xdd, 0x8d, 0x9f, 0xc1, 0x37, 0x0d, 0xbb,
1458	0x3b, 0x81, 0x92, 0x8d, 0x42, 0x24, 0x65, 0x1a, 0xc4, 0xed, 0x9b, 0x06, 0xd9, 0x20, 0xbe, 0x8c,
1459	0xb4, 0xeb, 0xc2, 0x27, 0x8f, 0x82, 0xcc, 0xb6, 0xdd, 0xc1, 0x56, 0xbb, 0x68, 0xbb, 0xed, 0x52,
1460	0x9b, 0x58, 0x1c, 0x6d, 0x29, 0xfa, 0xfc, 0xb8, 0x7f, 0x43, 0x3c, 0xe4, 0x6f, 0xfb, 0xb3, 0x3c,
1461	0xf6, 0xfe, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x26, 0x1c, 0x79, 0x8a, 0xb1, 0x18, 0x00, 0x00,
1462}
1463
1464// Reference imports to suppress errors if they are not otherwise used.
1465var _ context.Context
1466var _ grpc.ClientConnInterface
1467
1468// This is a compile-time assertion to ensure that this generated file
1469// is compatible with the grpc package it is being compiled against.
1470const _ = grpc.SupportPackageIsVersion6
1471
1472// CloudRedisClient is the client API for CloudRedis service.
1473//
1474// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1475type CloudRedisClient interface {
1476	// Lists all Redis instances owned by a project in either the specified
1477	// location (region) or all locations.
1478	//
1479	// The location should have the following format:
1480	//
1481	// * `projects/{project_id}/locations/{location_id}`
1482	//
1483	// If `location_id` is specified as `-` (wildcard), then all regions
1484	// available to the project are queried, and the results are aggregated.
1485	ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
1486	// Gets the details of a specific Redis instance.
1487	GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
1488	// Creates a Redis instance based on the specified tier and memory size.
1489	//
1490	// By default, the instance is accessible from the project's
1491	// [default network](/compute/docs/networks-and-firewalls#networks).
1492	//
1493	// The creation is executed asynchronously and callers may check the returned
1494	// operation to track its progress. Once the operation is completed the Redis
1495	// instance will be fully functional. Completed longrunning.Operation will
1496	// contain the new instance object in the response field.
1497	//
1498	// The returned operation is automatically deleted after a few hours, so there
1499	// is no need to call DeleteOperation.
1500	CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1501	// Updates the metadata and configuration of a specific Redis instance.
1502	//
1503	// Completed longrunning.Operation will contain the new instance object
1504	// in the response field. The returned operation is automatically deleted
1505	// after a few hours, so there is no need to call DeleteOperation.
1506	UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1507	// Upgrades Redis instance to the newer Redis version specified in the
1508	// request.
1509	UpgradeInstance(ctx context.Context, in *UpgradeInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1510	// Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
1511	//
1512	// Redis may stop serving during this operation. Instance state will be
1513	// IMPORTING for entire operation. When complete, the instance will contain
1514	// only data from the imported file.
1515	//
1516	// The returned operation is automatically deleted after a few hours, so
1517	// there is no need to call DeleteOperation.
1518	ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1519	// Export Redis instance data into a Redis RDB format file in Cloud Storage.
1520	//
1521	// Redis will continue serving during this operation.
1522	//
1523	// The returned operation is automatically deleted after a few hours, so
1524	// there is no need to call DeleteOperation.
1525	ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1526	// Initiates a failover of the master node to current replica node for a
1527	// specific STANDARD tier Cloud Memorystore for Redis instance.
1528	FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1529	// Deletes a specific Redis instance.  Instance stops serving and data is
1530	// deleted.
1531	DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1532}
1533
1534type cloudRedisClient struct {
1535	cc grpc.ClientConnInterface
1536}
1537
1538func NewCloudRedisClient(cc grpc.ClientConnInterface) CloudRedisClient {
1539	return &cloudRedisClient{cc}
1540}
1541
1542func (c *cloudRedisClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) {
1543	out := new(ListInstancesResponse)
1544	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/ListInstances", in, out, opts...)
1545	if err != nil {
1546		return nil, err
1547	}
1548	return out, nil
1549}
1550
1551func (c *cloudRedisClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) {
1552	out := new(Instance)
1553	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/GetInstance", in, out, opts...)
1554	if err != nil {
1555		return nil, err
1556	}
1557	return out, nil
1558}
1559
1560func (c *cloudRedisClient) CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1561	out := new(longrunning.Operation)
1562	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/CreateInstance", in, out, opts...)
1563	if err != nil {
1564		return nil, err
1565	}
1566	return out, nil
1567}
1568
1569func (c *cloudRedisClient) UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1570	out := new(longrunning.Operation)
1571	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/UpdateInstance", in, out, opts...)
1572	if err != nil {
1573		return nil, err
1574	}
1575	return out, nil
1576}
1577
1578func (c *cloudRedisClient) UpgradeInstance(ctx context.Context, in *UpgradeInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1579	out := new(longrunning.Operation)
1580	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/UpgradeInstance", in, out, opts...)
1581	if err != nil {
1582		return nil, err
1583	}
1584	return out, nil
1585}
1586
1587func (c *cloudRedisClient) ImportInstance(ctx context.Context, in *ImportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1588	out := new(longrunning.Operation)
1589	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/ImportInstance", in, out, opts...)
1590	if err != nil {
1591		return nil, err
1592	}
1593	return out, nil
1594}
1595
1596func (c *cloudRedisClient) ExportInstance(ctx context.Context, in *ExportInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1597	out := new(longrunning.Operation)
1598	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/ExportInstance", in, out, opts...)
1599	if err != nil {
1600		return nil, err
1601	}
1602	return out, nil
1603}
1604
1605func (c *cloudRedisClient) FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1606	out := new(longrunning.Operation)
1607	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/FailoverInstance", in, out, opts...)
1608	if err != nil {
1609		return nil, err
1610	}
1611	return out, nil
1612}
1613
1614func (c *cloudRedisClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1615	out := new(longrunning.Operation)
1616	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1beta1.CloudRedis/DeleteInstance", in, out, opts...)
1617	if err != nil {
1618		return nil, err
1619	}
1620	return out, nil
1621}
1622
1623// CloudRedisServer is the server API for CloudRedis service.
1624type CloudRedisServer interface {
1625	// Lists all Redis instances owned by a project in either the specified
1626	// location (region) or all locations.
1627	//
1628	// The location should have the following format:
1629	//
1630	// * `projects/{project_id}/locations/{location_id}`
1631	//
1632	// If `location_id` is specified as `-` (wildcard), then all regions
1633	// available to the project are queried, and the results are aggregated.
1634	ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
1635	// Gets the details of a specific Redis instance.
1636	GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
1637	// Creates a Redis instance based on the specified tier and memory size.
1638	//
1639	// By default, the instance is accessible from the project's
1640	// [default network](/compute/docs/networks-and-firewalls#networks).
1641	//
1642	// The creation is executed asynchronously and callers may check the returned
1643	// operation to track its progress. Once the operation is completed the Redis
1644	// instance will be fully functional. Completed longrunning.Operation will
1645	// contain the new instance object in the response field.
1646	//
1647	// The returned operation is automatically deleted after a few hours, so there
1648	// is no need to call DeleteOperation.
1649	CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error)
1650	// Updates the metadata and configuration of a specific Redis instance.
1651	//
1652	// Completed longrunning.Operation will contain the new instance object
1653	// in the response field. The returned operation is automatically deleted
1654	// after a few hours, so there is no need to call DeleteOperation.
1655	UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error)
1656	// Upgrades Redis instance to the newer Redis version specified in the
1657	// request.
1658	UpgradeInstance(context.Context, *UpgradeInstanceRequest) (*longrunning.Operation, error)
1659	// Import a Redis RDB snapshot file from Cloud Storage into a Redis instance.
1660	//
1661	// Redis may stop serving during this operation. Instance state will be
1662	// IMPORTING for entire operation. When complete, the instance will contain
1663	// only data from the imported file.
1664	//
1665	// The returned operation is automatically deleted after a few hours, so
1666	// there is no need to call DeleteOperation.
1667	ImportInstance(context.Context, *ImportInstanceRequest) (*longrunning.Operation, error)
1668	// Export Redis instance data into a Redis RDB format file in Cloud Storage.
1669	//
1670	// Redis will continue serving during this operation.
1671	//
1672	// The returned operation is automatically deleted after a few hours, so
1673	// there is no need to call DeleteOperation.
1674	ExportInstance(context.Context, *ExportInstanceRequest) (*longrunning.Operation, error)
1675	// Initiates a failover of the master node to current replica node for a
1676	// specific STANDARD tier Cloud Memorystore for Redis instance.
1677	FailoverInstance(context.Context, *FailoverInstanceRequest) (*longrunning.Operation, error)
1678	// Deletes a specific Redis instance.  Instance stops serving and data is
1679	// deleted.
1680	DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error)
1681}
1682
1683// UnimplementedCloudRedisServer can be embedded to have forward compatible implementations.
1684type UnimplementedCloudRedisServer struct {
1685}
1686
1687func (*UnimplementedCloudRedisServer) ListInstances(ctx context.Context, req *ListInstancesRequest) (*ListInstancesResponse, error) {
1688	return nil, status.Errorf(codes.Unimplemented, "method ListInstances not implemented")
1689}
1690func (*UnimplementedCloudRedisServer) GetInstance(ctx context.Context, req *GetInstanceRequest) (*Instance, error) {
1691	return nil, status.Errorf(codes.Unimplemented, "method GetInstance not implemented")
1692}
1693func (*UnimplementedCloudRedisServer) CreateInstance(ctx context.Context, req *CreateInstanceRequest) (*longrunning.Operation, error) {
1694	return nil, status.Errorf(codes.Unimplemented, "method CreateInstance not implemented")
1695}
1696func (*UnimplementedCloudRedisServer) UpdateInstance(ctx context.Context, req *UpdateInstanceRequest) (*longrunning.Operation, error) {
1697	return nil, status.Errorf(codes.Unimplemented, "method UpdateInstance not implemented")
1698}
1699func (*UnimplementedCloudRedisServer) UpgradeInstance(ctx context.Context, req *UpgradeInstanceRequest) (*longrunning.Operation, error) {
1700	return nil, status.Errorf(codes.Unimplemented, "method UpgradeInstance not implemented")
1701}
1702func (*UnimplementedCloudRedisServer) ImportInstance(ctx context.Context, req *ImportInstanceRequest) (*longrunning.Operation, error) {
1703	return nil, status.Errorf(codes.Unimplemented, "method ImportInstance not implemented")
1704}
1705func (*UnimplementedCloudRedisServer) ExportInstance(ctx context.Context, req *ExportInstanceRequest) (*longrunning.Operation, error) {
1706	return nil, status.Errorf(codes.Unimplemented, "method ExportInstance not implemented")
1707}
1708func (*UnimplementedCloudRedisServer) FailoverInstance(ctx context.Context, req *FailoverInstanceRequest) (*longrunning.Operation, error) {
1709	return nil, status.Errorf(codes.Unimplemented, "method FailoverInstance not implemented")
1710}
1711func (*UnimplementedCloudRedisServer) DeleteInstance(ctx context.Context, req *DeleteInstanceRequest) (*longrunning.Operation, error) {
1712	return nil, status.Errorf(codes.Unimplemented, "method DeleteInstance not implemented")
1713}
1714
1715func RegisterCloudRedisServer(s *grpc.Server, srv CloudRedisServer) {
1716	s.RegisterService(&_CloudRedis_serviceDesc, srv)
1717}
1718
1719func _CloudRedis_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1720	in := new(ListInstancesRequest)
1721	if err := dec(in); err != nil {
1722		return nil, err
1723	}
1724	if interceptor == nil {
1725		return srv.(CloudRedisServer).ListInstances(ctx, in)
1726	}
1727	info := &grpc.UnaryServerInfo{
1728		Server:     srv,
1729		FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/ListInstances",
1730	}
1731	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1732		return srv.(CloudRedisServer).ListInstances(ctx, req.(*ListInstancesRequest))
1733	}
1734	return interceptor(ctx, in, info, handler)
1735}
1736
1737func _CloudRedis_GetInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1738	in := new(GetInstanceRequest)
1739	if err := dec(in); err != nil {
1740		return nil, err
1741	}
1742	if interceptor == nil {
1743		return srv.(CloudRedisServer).GetInstance(ctx, in)
1744	}
1745	info := &grpc.UnaryServerInfo{
1746		Server:     srv,
1747		FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/GetInstance",
1748	}
1749	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1750		return srv.(CloudRedisServer).GetInstance(ctx, req.(*GetInstanceRequest))
1751	}
1752	return interceptor(ctx, in, info, handler)
1753}
1754
1755func _CloudRedis_CreateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1756	in := new(CreateInstanceRequest)
1757	if err := dec(in); err != nil {
1758		return nil, err
1759	}
1760	if interceptor == nil {
1761		return srv.(CloudRedisServer).CreateInstance(ctx, in)
1762	}
1763	info := &grpc.UnaryServerInfo{
1764		Server:     srv,
1765		FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/CreateInstance",
1766	}
1767	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1768		return srv.(CloudRedisServer).CreateInstance(ctx, req.(*CreateInstanceRequest))
1769	}
1770	return interceptor(ctx, in, info, handler)
1771}
1772
1773func _CloudRedis_UpdateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1774	in := new(UpdateInstanceRequest)
1775	if err := dec(in); err != nil {
1776		return nil, err
1777	}
1778	if interceptor == nil {
1779		return srv.(CloudRedisServer).UpdateInstance(ctx, in)
1780	}
1781	info := &grpc.UnaryServerInfo{
1782		Server:     srv,
1783		FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/UpdateInstance",
1784	}
1785	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1786		return srv.(CloudRedisServer).UpdateInstance(ctx, req.(*UpdateInstanceRequest))
1787	}
1788	return interceptor(ctx, in, info, handler)
1789}
1790
1791func _CloudRedis_UpgradeInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1792	in := new(UpgradeInstanceRequest)
1793	if err := dec(in); err != nil {
1794		return nil, err
1795	}
1796	if interceptor == nil {
1797		return srv.(CloudRedisServer).UpgradeInstance(ctx, in)
1798	}
1799	info := &grpc.UnaryServerInfo{
1800		Server:     srv,
1801		FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/UpgradeInstance",
1802	}
1803	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1804		return srv.(CloudRedisServer).UpgradeInstance(ctx, req.(*UpgradeInstanceRequest))
1805	}
1806	return interceptor(ctx, in, info, handler)
1807}
1808
1809func _CloudRedis_ImportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1810	in := new(ImportInstanceRequest)
1811	if err := dec(in); err != nil {
1812		return nil, err
1813	}
1814	if interceptor == nil {
1815		return srv.(CloudRedisServer).ImportInstance(ctx, in)
1816	}
1817	info := &grpc.UnaryServerInfo{
1818		Server:     srv,
1819		FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/ImportInstance",
1820	}
1821	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1822		return srv.(CloudRedisServer).ImportInstance(ctx, req.(*ImportInstanceRequest))
1823	}
1824	return interceptor(ctx, in, info, handler)
1825}
1826
1827func _CloudRedis_ExportInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1828	in := new(ExportInstanceRequest)
1829	if err := dec(in); err != nil {
1830		return nil, err
1831	}
1832	if interceptor == nil {
1833		return srv.(CloudRedisServer).ExportInstance(ctx, in)
1834	}
1835	info := &grpc.UnaryServerInfo{
1836		Server:     srv,
1837		FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/ExportInstance",
1838	}
1839	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1840		return srv.(CloudRedisServer).ExportInstance(ctx, req.(*ExportInstanceRequest))
1841	}
1842	return interceptor(ctx, in, info, handler)
1843}
1844
1845func _CloudRedis_FailoverInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1846	in := new(FailoverInstanceRequest)
1847	if err := dec(in); err != nil {
1848		return nil, err
1849	}
1850	if interceptor == nil {
1851		return srv.(CloudRedisServer).FailoverInstance(ctx, in)
1852	}
1853	info := &grpc.UnaryServerInfo{
1854		Server:     srv,
1855		FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/FailoverInstance",
1856	}
1857	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1858		return srv.(CloudRedisServer).FailoverInstance(ctx, req.(*FailoverInstanceRequest))
1859	}
1860	return interceptor(ctx, in, info, handler)
1861}
1862
1863func _CloudRedis_DeleteInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1864	in := new(DeleteInstanceRequest)
1865	if err := dec(in); err != nil {
1866		return nil, err
1867	}
1868	if interceptor == nil {
1869		return srv.(CloudRedisServer).DeleteInstance(ctx, in)
1870	}
1871	info := &grpc.UnaryServerInfo{
1872		Server:     srv,
1873		FullMethod: "/google.cloud.redis.v1beta1.CloudRedis/DeleteInstance",
1874	}
1875	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1876		return srv.(CloudRedisServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest))
1877	}
1878	return interceptor(ctx, in, info, handler)
1879}
1880
1881var _CloudRedis_serviceDesc = grpc.ServiceDesc{
1882	ServiceName: "google.cloud.redis.v1beta1.CloudRedis",
1883	HandlerType: (*CloudRedisServer)(nil),
1884	Methods: []grpc.MethodDesc{
1885		{
1886			MethodName: "ListInstances",
1887			Handler:    _CloudRedis_ListInstances_Handler,
1888		},
1889		{
1890			MethodName: "GetInstance",
1891			Handler:    _CloudRedis_GetInstance_Handler,
1892		},
1893		{
1894			MethodName: "CreateInstance",
1895			Handler:    _CloudRedis_CreateInstance_Handler,
1896		},
1897		{
1898			MethodName: "UpdateInstance",
1899			Handler:    _CloudRedis_UpdateInstance_Handler,
1900		},
1901		{
1902			MethodName: "UpgradeInstance",
1903			Handler:    _CloudRedis_UpgradeInstance_Handler,
1904		},
1905		{
1906			MethodName: "ImportInstance",
1907			Handler:    _CloudRedis_ImportInstance_Handler,
1908		},
1909		{
1910			MethodName: "ExportInstance",
1911			Handler:    _CloudRedis_ExportInstance_Handler,
1912		},
1913		{
1914			MethodName: "FailoverInstance",
1915			Handler:    _CloudRedis_FailoverInstance_Handler,
1916		},
1917		{
1918			MethodName: "DeleteInstance",
1919			Handler:    _CloudRedis_DeleteInstance_Handler,
1920		},
1921	},
1922	Streams:  []grpc.StreamDesc{},
1923	Metadata: "google/cloud/redis/v1beta1/cloud_redis.proto",
1924}
1925