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