1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/redis/v1/cloud_redis.proto
3
4package redis // import "google.golang.org/genproto/googleapis/cloud/redis/v1"
5
6import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
9import timestamp "github.com/golang/protobuf/ptypes/timestamp"
10import _ "google.golang.org/genproto/googleapis/api/annotations"
11import longrunning "google.golang.org/genproto/googleapis/longrunning"
12import field_mask "google.golang.org/genproto/protobuf/field_mask"
13
14import (
15	context "golang.org/x/net/context"
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.ProtoPackageIsVersion2 // 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. Details can be
47	// found in the `status_message` field.
48	Instance_REPAIRING Instance_State = 5
49	// Maintenance is being performed on this Redis instance.
50	Instance_MAINTENANCE Instance_State = 6
51)
52
53var Instance_State_name = map[int32]string{
54	0: "STATE_UNSPECIFIED",
55	1: "CREATING",
56	2: "READY",
57	3: "UPDATING",
58	4: "DELETING",
59	5: "REPAIRING",
60	6: "MAINTENANCE",
61}
62var Instance_State_value = map[string]int32{
63	"STATE_UNSPECIFIED": 0,
64	"CREATING":          1,
65	"READY":             2,
66	"UPDATING":          3,
67	"DELETING":          4,
68	"REPAIRING":         5,
69	"MAINTENANCE":       6,
70}
71
72func (x Instance_State) String() string {
73	return proto.EnumName(Instance_State_name, int32(x))
74}
75func (Instance_State) EnumDescriptor() ([]byte, []int) {
76	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{0, 0}
77}
78
79// Available service tiers to choose from
80type Instance_Tier int32
81
82const (
83	// Not set.
84	Instance_TIER_UNSPECIFIED Instance_Tier = 0
85	// BASIC tier: standalone instance
86	Instance_BASIC Instance_Tier = 1
87	// STANDARD_HA tier: highly available primary/replica instances
88	Instance_STANDARD_HA Instance_Tier = 3
89)
90
91var Instance_Tier_name = map[int32]string{
92	0: "TIER_UNSPECIFIED",
93	1: "BASIC",
94	3: "STANDARD_HA",
95}
96var Instance_Tier_value = map[string]int32{
97	"TIER_UNSPECIFIED": 0,
98	"BASIC":            1,
99	"STANDARD_HA":      3,
100}
101
102func (x Instance_Tier) String() string {
103	return proto.EnumName(Instance_Tier_name, int32(x))
104}
105func (Instance_Tier) EnumDescriptor() ([]byte, []int) {
106	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{0, 1}
107}
108
109// A Google Cloud Redis instance.
110type Instance struct {
111	// Required. Unique name of the resource in this scope including project and
112	// location using the form:
113	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
114	//
115	// Note: Redis instances are managed and addressed at regional level so
116	// location_id here refers to a GCP region; however, users may choose which
117	// specific zone (or collection of zones for cross-zone instances) an instance
118	// should be provisioned in. Refer to [location_id] and
119	// [alternative_location_id] fields for more details.
120	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
121	// An arbitrary and optional user-provided name for the instance.
122	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
123	// Resource labels to represent user provided metadata
124	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"`
125	// Optional. The zone where the instance will be provisioned. If not provided,
126	// the service will choose a zone for the instance. For STANDARD_HA tier,
127	// instances will be created across two zones for protection against zonal
128	// failures. If [alternative_location_id] is also provided, it must be
129	// different from [location_id].
130	LocationId string `protobuf:"bytes,4,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
131	// Optional. Only applicable to STANDARD_HA tier which protects the instance
132	// against zonal failures by provisioning it across two zones. If provided, it
133	// must be a different zone from the one provided in [location_id].
134	AlternativeLocationId string `protobuf:"bytes,5,opt,name=alternative_location_id,json=alternativeLocationId,proto3" json:"alternative_location_id,omitempty"`
135	// Optional. The version of Redis software.
136	// If not provided, latest supported version will be used. Updating the
137	// version will perform an upgrade/downgrade to the new version. Currently,
138	// the supported values are `REDIS_3_2` for Redis 3.2.
139	RedisVersion string `protobuf:"bytes,7,opt,name=redis_version,json=redisVersion,proto3" json:"redis_version,omitempty"`
140	// Optional. The CIDR range of internal addresses that are reserved for this
141	// instance. If not provided, the service will choose an unused /29 block,
142	// for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
143	// and non-overlapping with existing subnets in an authorized network.
144	ReservedIpRange string `protobuf:"bytes,9,opt,name=reserved_ip_range,json=reservedIpRange,proto3" json:"reserved_ip_range,omitempty"`
145	// Output only. Hostname or IP address of the exposed Redis endpoint used by
146	// clients to connect to the service.
147	Host string `protobuf:"bytes,10,opt,name=host,proto3" json:"host,omitempty"`
148	// Output only. The port number of the exposed Redis endpoint.
149	Port int32 `protobuf:"varint,11,opt,name=port,proto3" json:"port,omitempty"`
150	// Output only. The current zone where the Redis endpoint is placed. For Basic
151	// Tier instances, this will always be the same as the [location_id]
152	// provided by the user at creation time. For Standard Tier instances,
153	// this can be either [location_id] or [alternative_location_id] and can
154	// change after a failover event.
155	CurrentLocationId string `protobuf:"bytes,12,opt,name=current_location_id,json=currentLocationId,proto3" json:"current_location_id,omitempty"`
156	// Output only. The time the instance was created.
157	CreateTime *timestamp.Timestamp `protobuf:"bytes,13,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
158	// Output only. The current state of this instance.
159	State Instance_State `protobuf:"varint,14,opt,name=state,proto3,enum=google.cloud.redis.v1.Instance_State" json:"state,omitempty"`
160	// Output only. Additional information about the current status of this
161	// instance, if available.
162	StatusMessage string `protobuf:"bytes,15,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
163	// Optional. Redis configuration parameters, according to
164	// http://redis.io/topics/config. Currently, the only supported parameters
165	// are:
166	//
167	//  *   maxmemory-policy
168	//  *   notify-keyspace-events
169	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"`
170	// Required. The service tier of the instance.
171	Tier Instance_Tier `protobuf:"varint,17,opt,name=tier,proto3,enum=google.cloud.redis.v1.Instance_Tier" json:"tier,omitempty"`
172	// Required. Redis memory size in GiB.
173	MemorySizeGb int32 `protobuf:"varint,18,opt,name=memory_size_gb,json=memorySizeGb,proto3" json:"memory_size_gb,omitempty"`
174	// Optional. The full name of the Google Compute Engine
175	// [network](/compute/docs/networks-and-firewalls#networks) to which the
176	// instance is connected. If left unspecified, the `default` network
177	// will be used.
178	AuthorizedNetwork    string   `protobuf:"bytes,20,opt,name=authorized_network,json=authorizedNetwork,proto3" json:"authorized_network,omitempty"`
179	XXX_NoUnkeyedLiteral struct{} `json:"-"`
180	XXX_unrecognized     []byte   `json:"-"`
181	XXX_sizecache        int32    `json:"-"`
182}
183
184func (m *Instance) Reset()         { *m = Instance{} }
185func (m *Instance) String() string { return proto.CompactTextString(m) }
186func (*Instance) ProtoMessage()    {}
187func (*Instance) Descriptor() ([]byte, []int) {
188	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{0}
189}
190func (m *Instance) XXX_Unmarshal(b []byte) error {
191	return xxx_messageInfo_Instance.Unmarshal(m, b)
192}
193func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
194	return xxx_messageInfo_Instance.Marshal(b, m, deterministic)
195}
196func (dst *Instance) XXX_Merge(src proto.Message) {
197	xxx_messageInfo_Instance.Merge(dst, src)
198}
199func (m *Instance) XXX_Size() int {
200	return xxx_messageInfo_Instance.Size(m)
201}
202func (m *Instance) XXX_DiscardUnknown() {
203	xxx_messageInfo_Instance.DiscardUnknown(m)
204}
205
206var xxx_messageInfo_Instance proto.InternalMessageInfo
207
208func (m *Instance) GetName() string {
209	if m != nil {
210		return m.Name
211	}
212	return ""
213}
214
215func (m *Instance) GetDisplayName() string {
216	if m != nil {
217		return m.DisplayName
218	}
219	return ""
220}
221
222func (m *Instance) GetLabels() map[string]string {
223	if m != nil {
224		return m.Labels
225	}
226	return nil
227}
228
229func (m *Instance) GetLocationId() string {
230	if m != nil {
231		return m.LocationId
232	}
233	return ""
234}
235
236func (m *Instance) GetAlternativeLocationId() string {
237	if m != nil {
238		return m.AlternativeLocationId
239	}
240	return ""
241}
242
243func (m *Instance) GetRedisVersion() string {
244	if m != nil {
245		return m.RedisVersion
246	}
247	return ""
248}
249
250func (m *Instance) GetReservedIpRange() string {
251	if m != nil {
252		return m.ReservedIpRange
253	}
254	return ""
255}
256
257func (m *Instance) GetHost() string {
258	if m != nil {
259		return m.Host
260	}
261	return ""
262}
263
264func (m *Instance) GetPort() int32 {
265	if m != nil {
266		return m.Port
267	}
268	return 0
269}
270
271func (m *Instance) GetCurrentLocationId() string {
272	if m != nil {
273		return m.CurrentLocationId
274	}
275	return ""
276}
277
278func (m *Instance) GetCreateTime() *timestamp.Timestamp {
279	if m != nil {
280		return m.CreateTime
281	}
282	return nil
283}
284
285func (m *Instance) GetState() Instance_State {
286	if m != nil {
287		return m.State
288	}
289	return Instance_STATE_UNSPECIFIED
290}
291
292func (m *Instance) GetStatusMessage() string {
293	if m != nil {
294		return m.StatusMessage
295	}
296	return ""
297}
298
299func (m *Instance) GetRedisConfigs() map[string]string {
300	if m != nil {
301		return m.RedisConfigs
302	}
303	return nil
304}
305
306func (m *Instance) GetTier() Instance_Tier {
307	if m != nil {
308		return m.Tier
309	}
310	return Instance_TIER_UNSPECIFIED
311}
312
313func (m *Instance) GetMemorySizeGb() int32 {
314	if m != nil {
315		return m.MemorySizeGb
316	}
317	return 0
318}
319
320func (m *Instance) GetAuthorizedNetwork() string {
321	if m != nil {
322		return m.AuthorizedNetwork
323	}
324	return ""
325}
326
327// Request for [ListInstances][google.cloud.redis.v1.CloudRedis.ListInstances].
328type ListInstancesRequest struct {
329	// Required. The resource name of the instance location using the form:
330	//     `projects/{project_id}/locations/{location_id}`
331	// where `location_id` refers to a GCP region
332	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
333	// The maximum number of items to return.
334	//
335	// If not specified, a default value of 1000 will be used by the service.
336	// Regardless of the page_size value, the response may include a partial list
337	// and a caller should only rely on response's
338	// [next_page_token][CloudRedis.ListInstancesResponse.next_page_token]
339	// to determine if there are more instances left to be queried.
340	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
341	// The next_page_token value returned from a previous List request,
342	// if any.
343	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
344	XXX_NoUnkeyedLiteral struct{} `json:"-"`
345	XXX_unrecognized     []byte   `json:"-"`
346	XXX_sizecache        int32    `json:"-"`
347}
348
349func (m *ListInstancesRequest) Reset()         { *m = ListInstancesRequest{} }
350func (m *ListInstancesRequest) String() string { return proto.CompactTextString(m) }
351func (*ListInstancesRequest) ProtoMessage()    {}
352func (*ListInstancesRequest) Descriptor() ([]byte, []int) {
353	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{1}
354}
355func (m *ListInstancesRequest) XXX_Unmarshal(b []byte) error {
356	return xxx_messageInfo_ListInstancesRequest.Unmarshal(m, b)
357}
358func (m *ListInstancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
359	return xxx_messageInfo_ListInstancesRequest.Marshal(b, m, deterministic)
360}
361func (dst *ListInstancesRequest) XXX_Merge(src proto.Message) {
362	xxx_messageInfo_ListInstancesRequest.Merge(dst, src)
363}
364func (m *ListInstancesRequest) XXX_Size() int {
365	return xxx_messageInfo_ListInstancesRequest.Size(m)
366}
367func (m *ListInstancesRequest) XXX_DiscardUnknown() {
368	xxx_messageInfo_ListInstancesRequest.DiscardUnknown(m)
369}
370
371var xxx_messageInfo_ListInstancesRequest proto.InternalMessageInfo
372
373func (m *ListInstancesRequest) GetParent() string {
374	if m != nil {
375		return m.Parent
376	}
377	return ""
378}
379
380func (m *ListInstancesRequest) GetPageSize() int32 {
381	if m != nil {
382		return m.PageSize
383	}
384	return 0
385}
386
387func (m *ListInstancesRequest) GetPageToken() string {
388	if m != nil {
389		return m.PageToken
390	}
391	return ""
392}
393
394// Response for [ListInstances][google.cloud.redis.v1.CloudRedis.ListInstances].
395type ListInstancesResponse struct {
396	// A list of Redis instances in the project in the specified location,
397	// or across all locations.
398	//
399	// If the `location_id` in the parent field of the request is "-", all regions
400	// available to the project are queried, and the results aggregated.
401	// If in such an aggregated query a location is unavailable, a dummy Redis
402	// entry is included in the response with the "name" field set to a value of
403	// the form projects/{project_id}/locations/{location_id}/instances/- and the
404	// "status" field set to ERROR and "status_message" field set to "location not
405	// available for ListInstances".
406	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
407	// Token to retrieve the next page of results, or empty if there are no more
408	// results in the list.
409	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
410	XXX_NoUnkeyedLiteral struct{} `json:"-"`
411	XXX_unrecognized     []byte   `json:"-"`
412	XXX_sizecache        int32    `json:"-"`
413}
414
415func (m *ListInstancesResponse) Reset()         { *m = ListInstancesResponse{} }
416func (m *ListInstancesResponse) String() string { return proto.CompactTextString(m) }
417func (*ListInstancesResponse) ProtoMessage()    {}
418func (*ListInstancesResponse) Descriptor() ([]byte, []int) {
419	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{2}
420}
421func (m *ListInstancesResponse) XXX_Unmarshal(b []byte) error {
422	return xxx_messageInfo_ListInstancesResponse.Unmarshal(m, b)
423}
424func (m *ListInstancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
425	return xxx_messageInfo_ListInstancesResponse.Marshal(b, m, deterministic)
426}
427func (dst *ListInstancesResponse) XXX_Merge(src proto.Message) {
428	xxx_messageInfo_ListInstancesResponse.Merge(dst, src)
429}
430func (m *ListInstancesResponse) XXX_Size() int {
431	return xxx_messageInfo_ListInstancesResponse.Size(m)
432}
433func (m *ListInstancesResponse) XXX_DiscardUnknown() {
434	xxx_messageInfo_ListInstancesResponse.DiscardUnknown(m)
435}
436
437var xxx_messageInfo_ListInstancesResponse proto.InternalMessageInfo
438
439func (m *ListInstancesResponse) GetInstances() []*Instance {
440	if m != nil {
441		return m.Instances
442	}
443	return nil
444}
445
446func (m *ListInstancesResponse) GetNextPageToken() string {
447	if m != nil {
448		return m.NextPageToken
449	}
450	return ""
451}
452
453// Request for [GetInstance][google.cloud.redis.v1.CloudRedis.GetInstance].
454type GetInstanceRequest struct {
455	// Required. Redis instance resource name using the form:
456	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
457	// where `location_id` refers to a GCP region
458	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
459	XXX_NoUnkeyedLiteral struct{} `json:"-"`
460	XXX_unrecognized     []byte   `json:"-"`
461	XXX_sizecache        int32    `json:"-"`
462}
463
464func (m *GetInstanceRequest) Reset()         { *m = GetInstanceRequest{} }
465func (m *GetInstanceRequest) String() string { return proto.CompactTextString(m) }
466func (*GetInstanceRequest) ProtoMessage()    {}
467func (*GetInstanceRequest) Descriptor() ([]byte, []int) {
468	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{3}
469}
470func (m *GetInstanceRequest) XXX_Unmarshal(b []byte) error {
471	return xxx_messageInfo_GetInstanceRequest.Unmarshal(m, b)
472}
473func (m *GetInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
474	return xxx_messageInfo_GetInstanceRequest.Marshal(b, m, deterministic)
475}
476func (dst *GetInstanceRequest) XXX_Merge(src proto.Message) {
477	xxx_messageInfo_GetInstanceRequest.Merge(dst, src)
478}
479func (m *GetInstanceRequest) XXX_Size() int {
480	return xxx_messageInfo_GetInstanceRequest.Size(m)
481}
482func (m *GetInstanceRequest) XXX_DiscardUnknown() {
483	xxx_messageInfo_GetInstanceRequest.DiscardUnknown(m)
484}
485
486var xxx_messageInfo_GetInstanceRequest proto.InternalMessageInfo
487
488func (m *GetInstanceRequest) GetName() string {
489	if m != nil {
490		return m.Name
491	}
492	return ""
493}
494
495// Request for [CreateInstance][google.cloud.redis.v1.CloudRedis.CreateInstance].
496type CreateInstanceRequest struct {
497	// Required. The resource name of the instance location using the form:
498	//     `projects/{project_id}/locations/{location_id}`
499	// where `location_id` refers to a GCP region
500	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
501	// Required. The logical name of the Redis instance in the customer project
502	// with the following restrictions:
503	//
504	// * Must contain only lowercase letters, numbers, and hyphens.
505	// * Must start with a letter.
506	// * Must be between 1-40 characters.
507	// * Must end with a number or a letter.
508	// * Must be unique within the customer project / location
509	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
510	// Required. A Redis [Instance] resource
511	Instance             *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
512	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
513	XXX_unrecognized     []byte    `json:"-"`
514	XXX_sizecache        int32     `json:"-"`
515}
516
517func (m *CreateInstanceRequest) Reset()         { *m = CreateInstanceRequest{} }
518func (m *CreateInstanceRequest) String() string { return proto.CompactTextString(m) }
519func (*CreateInstanceRequest) ProtoMessage()    {}
520func (*CreateInstanceRequest) Descriptor() ([]byte, []int) {
521	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{4}
522}
523func (m *CreateInstanceRequest) XXX_Unmarshal(b []byte) error {
524	return xxx_messageInfo_CreateInstanceRequest.Unmarshal(m, b)
525}
526func (m *CreateInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
527	return xxx_messageInfo_CreateInstanceRequest.Marshal(b, m, deterministic)
528}
529func (dst *CreateInstanceRequest) XXX_Merge(src proto.Message) {
530	xxx_messageInfo_CreateInstanceRequest.Merge(dst, src)
531}
532func (m *CreateInstanceRequest) XXX_Size() int {
533	return xxx_messageInfo_CreateInstanceRequest.Size(m)
534}
535func (m *CreateInstanceRequest) XXX_DiscardUnknown() {
536	xxx_messageInfo_CreateInstanceRequest.DiscardUnknown(m)
537}
538
539var xxx_messageInfo_CreateInstanceRequest proto.InternalMessageInfo
540
541func (m *CreateInstanceRequest) GetParent() string {
542	if m != nil {
543		return m.Parent
544	}
545	return ""
546}
547
548func (m *CreateInstanceRequest) GetInstanceId() string {
549	if m != nil {
550		return m.InstanceId
551	}
552	return ""
553}
554
555func (m *CreateInstanceRequest) GetInstance() *Instance {
556	if m != nil {
557		return m.Instance
558	}
559	return nil
560}
561
562// Request for [UpdateInstance][google.cloud.redis.v1.CloudRedis.UpdateInstance].
563type UpdateInstanceRequest struct {
564	// Required. Mask of fields to update. At least one path must be supplied in
565	// this field. The elements of the repeated paths field may only include these
566	// fields from [Instance][CloudRedis.Instance]:
567	//
568	//  *   `displayName`
569	//  *   `labels`
570	//  *   `memorySizeGb`
571	//  *   `redisConfig`
572	UpdateMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
573	// Required. Update description.
574	// Only fields specified in update_mask are updated.
575	Instance             *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
576	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
577	XXX_unrecognized     []byte    `json:"-"`
578	XXX_sizecache        int32     `json:"-"`
579}
580
581func (m *UpdateInstanceRequest) Reset()         { *m = UpdateInstanceRequest{} }
582func (m *UpdateInstanceRequest) String() string { return proto.CompactTextString(m) }
583func (*UpdateInstanceRequest) ProtoMessage()    {}
584func (*UpdateInstanceRequest) Descriptor() ([]byte, []int) {
585	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{5}
586}
587func (m *UpdateInstanceRequest) XXX_Unmarshal(b []byte) error {
588	return xxx_messageInfo_UpdateInstanceRequest.Unmarshal(m, b)
589}
590func (m *UpdateInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
591	return xxx_messageInfo_UpdateInstanceRequest.Marshal(b, m, deterministic)
592}
593func (dst *UpdateInstanceRequest) XXX_Merge(src proto.Message) {
594	xxx_messageInfo_UpdateInstanceRequest.Merge(dst, src)
595}
596func (m *UpdateInstanceRequest) XXX_Size() int {
597	return xxx_messageInfo_UpdateInstanceRequest.Size(m)
598}
599func (m *UpdateInstanceRequest) XXX_DiscardUnknown() {
600	xxx_messageInfo_UpdateInstanceRequest.DiscardUnknown(m)
601}
602
603var xxx_messageInfo_UpdateInstanceRequest proto.InternalMessageInfo
604
605func (m *UpdateInstanceRequest) GetUpdateMask() *field_mask.FieldMask {
606	if m != nil {
607		return m.UpdateMask
608	}
609	return nil
610}
611
612func (m *UpdateInstanceRequest) GetInstance() *Instance {
613	if m != nil {
614		return m.Instance
615	}
616	return nil
617}
618
619// Request for [DeleteInstance][google.cloud.redis.v1.CloudRedis.DeleteInstance].
620type DeleteInstanceRequest struct {
621	// Required. Redis instance resource name using the form:
622	//     `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
623	// where `location_id` refers to a GCP region
624	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
625	XXX_NoUnkeyedLiteral struct{} `json:"-"`
626	XXX_unrecognized     []byte   `json:"-"`
627	XXX_sizecache        int32    `json:"-"`
628}
629
630func (m *DeleteInstanceRequest) Reset()         { *m = DeleteInstanceRequest{} }
631func (m *DeleteInstanceRequest) String() string { return proto.CompactTextString(m) }
632func (*DeleteInstanceRequest) ProtoMessage()    {}
633func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) {
634	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{6}
635}
636func (m *DeleteInstanceRequest) XXX_Unmarshal(b []byte) error {
637	return xxx_messageInfo_DeleteInstanceRequest.Unmarshal(m, b)
638}
639func (m *DeleteInstanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
640	return xxx_messageInfo_DeleteInstanceRequest.Marshal(b, m, deterministic)
641}
642func (dst *DeleteInstanceRequest) XXX_Merge(src proto.Message) {
643	xxx_messageInfo_DeleteInstanceRequest.Merge(dst, src)
644}
645func (m *DeleteInstanceRequest) XXX_Size() int {
646	return xxx_messageInfo_DeleteInstanceRequest.Size(m)
647}
648func (m *DeleteInstanceRequest) XXX_DiscardUnknown() {
649	xxx_messageInfo_DeleteInstanceRequest.DiscardUnknown(m)
650}
651
652var xxx_messageInfo_DeleteInstanceRequest proto.InternalMessageInfo
653
654func (m *DeleteInstanceRequest) GetName() string {
655	if m != nil {
656		return m.Name
657	}
658	return ""
659}
660
661// Represents the v1 metadata of the long-running operation.
662type OperationMetadata struct {
663	// Creation timestamp.
664	CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
665	// End timestamp.
666	EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
667	// Operation target.
668	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
669	// Operation verb.
670	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
671	// Operation status details.
672	StatusDetail string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
673	// Specifies if cancellation was requested for the operaiton.
674	CancelRequested bool `protobuf:"varint,6,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
675	// API version.
676	ApiVersion           string   `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
677	XXX_NoUnkeyedLiteral struct{} `json:"-"`
678	XXX_unrecognized     []byte   `json:"-"`
679	XXX_sizecache        int32    `json:"-"`
680}
681
682func (m *OperationMetadata) Reset()         { *m = OperationMetadata{} }
683func (m *OperationMetadata) String() string { return proto.CompactTextString(m) }
684func (*OperationMetadata) ProtoMessage()    {}
685func (*OperationMetadata) Descriptor() ([]byte, []int) {
686	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{7}
687}
688func (m *OperationMetadata) XXX_Unmarshal(b []byte) error {
689	return xxx_messageInfo_OperationMetadata.Unmarshal(m, b)
690}
691func (m *OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
692	return xxx_messageInfo_OperationMetadata.Marshal(b, m, deterministic)
693}
694func (dst *OperationMetadata) XXX_Merge(src proto.Message) {
695	xxx_messageInfo_OperationMetadata.Merge(dst, src)
696}
697func (m *OperationMetadata) XXX_Size() int {
698	return xxx_messageInfo_OperationMetadata.Size(m)
699}
700func (m *OperationMetadata) XXX_DiscardUnknown() {
701	xxx_messageInfo_OperationMetadata.DiscardUnknown(m)
702}
703
704var xxx_messageInfo_OperationMetadata proto.InternalMessageInfo
705
706func (m *OperationMetadata) GetCreateTime() *timestamp.Timestamp {
707	if m != nil {
708		return m.CreateTime
709	}
710	return nil
711}
712
713func (m *OperationMetadata) GetEndTime() *timestamp.Timestamp {
714	if m != nil {
715		return m.EndTime
716	}
717	return nil
718}
719
720func (m *OperationMetadata) GetTarget() string {
721	if m != nil {
722		return m.Target
723	}
724	return ""
725}
726
727func (m *OperationMetadata) GetVerb() string {
728	if m != nil {
729		return m.Verb
730	}
731	return ""
732}
733
734func (m *OperationMetadata) GetStatusDetail() string {
735	if m != nil {
736		return m.StatusDetail
737	}
738	return ""
739}
740
741func (m *OperationMetadata) GetCancelRequested() bool {
742	if m != nil {
743		return m.CancelRequested
744	}
745	return false
746}
747
748func (m *OperationMetadata) GetApiVersion() string {
749	if m != nil {
750		return m.ApiVersion
751	}
752	return ""
753}
754
755// This location metadata represents additional configuration options for a
756// given location where a Redis instance may be created. All fields are output
757// only. It is returned as content of the
758// `google.cloud.location.Location.metadata` field.
759type LocationMetadata struct {
760	// Output only. The set of available zones in the location. The map is keyed
761	// by the lowercase ID of each zone, as defined by GCE. These keys can be
762	// specified in `location_id` or `alternative_location_id` fields when
763	// creating a Redis instance.
764	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"`
765	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
766	XXX_unrecognized     []byte                   `json:"-"`
767	XXX_sizecache        int32                    `json:"-"`
768}
769
770func (m *LocationMetadata) Reset()         { *m = LocationMetadata{} }
771func (m *LocationMetadata) String() string { return proto.CompactTextString(m) }
772func (*LocationMetadata) ProtoMessage()    {}
773func (*LocationMetadata) Descriptor() ([]byte, []int) {
774	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{8}
775}
776func (m *LocationMetadata) XXX_Unmarshal(b []byte) error {
777	return xxx_messageInfo_LocationMetadata.Unmarshal(m, b)
778}
779func (m *LocationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
780	return xxx_messageInfo_LocationMetadata.Marshal(b, m, deterministic)
781}
782func (dst *LocationMetadata) XXX_Merge(src proto.Message) {
783	xxx_messageInfo_LocationMetadata.Merge(dst, src)
784}
785func (m *LocationMetadata) XXX_Size() int {
786	return xxx_messageInfo_LocationMetadata.Size(m)
787}
788func (m *LocationMetadata) XXX_DiscardUnknown() {
789	xxx_messageInfo_LocationMetadata.DiscardUnknown(m)
790}
791
792var xxx_messageInfo_LocationMetadata proto.InternalMessageInfo
793
794func (m *LocationMetadata) GetAvailableZones() map[string]*ZoneMetadata {
795	if m != nil {
796		return m.AvailableZones
797	}
798	return nil
799}
800
801// Defines specific information for a particular zone. Currently empty and
802// reserved for future use only.
803type ZoneMetadata struct {
804	XXX_NoUnkeyedLiteral struct{} `json:"-"`
805	XXX_unrecognized     []byte   `json:"-"`
806	XXX_sizecache        int32    `json:"-"`
807}
808
809func (m *ZoneMetadata) Reset()         { *m = ZoneMetadata{} }
810func (m *ZoneMetadata) String() string { return proto.CompactTextString(m) }
811func (*ZoneMetadata) ProtoMessage()    {}
812func (*ZoneMetadata) Descriptor() ([]byte, []int) {
813	return fileDescriptor_cloud_redis_1a5dd939d9713948, []int{9}
814}
815func (m *ZoneMetadata) XXX_Unmarshal(b []byte) error {
816	return xxx_messageInfo_ZoneMetadata.Unmarshal(m, b)
817}
818func (m *ZoneMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
819	return xxx_messageInfo_ZoneMetadata.Marshal(b, m, deterministic)
820}
821func (dst *ZoneMetadata) XXX_Merge(src proto.Message) {
822	xxx_messageInfo_ZoneMetadata.Merge(dst, src)
823}
824func (m *ZoneMetadata) XXX_Size() int {
825	return xxx_messageInfo_ZoneMetadata.Size(m)
826}
827func (m *ZoneMetadata) XXX_DiscardUnknown() {
828	xxx_messageInfo_ZoneMetadata.DiscardUnknown(m)
829}
830
831var xxx_messageInfo_ZoneMetadata proto.InternalMessageInfo
832
833func init() {
834	proto.RegisterType((*Instance)(nil), "google.cloud.redis.v1.Instance")
835	proto.RegisterMapType((map[string]string)(nil), "google.cloud.redis.v1.Instance.LabelsEntry")
836	proto.RegisterMapType((map[string]string)(nil), "google.cloud.redis.v1.Instance.RedisConfigsEntry")
837	proto.RegisterType((*ListInstancesRequest)(nil), "google.cloud.redis.v1.ListInstancesRequest")
838	proto.RegisterType((*ListInstancesResponse)(nil), "google.cloud.redis.v1.ListInstancesResponse")
839	proto.RegisterType((*GetInstanceRequest)(nil), "google.cloud.redis.v1.GetInstanceRequest")
840	proto.RegisterType((*CreateInstanceRequest)(nil), "google.cloud.redis.v1.CreateInstanceRequest")
841	proto.RegisterType((*UpdateInstanceRequest)(nil), "google.cloud.redis.v1.UpdateInstanceRequest")
842	proto.RegisterType((*DeleteInstanceRequest)(nil), "google.cloud.redis.v1.DeleteInstanceRequest")
843	proto.RegisterType((*OperationMetadata)(nil), "google.cloud.redis.v1.OperationMetadata")
844	proto.RegisterType((*LocationMetadata)(nil), "google.cloud.redis.v1.LocationMetadata")
845	proto.RegisterMapType((map[string]*ZoneMetadata)(nil), "google.cloud.redis.v1.LocationMetadata.AvailableZonesEntry")
846	proto.RegisterType((*ZoneMetadata)(nil), "google.cloud.redis.v1.ZoneMetadata")
847	proto.RegisterEnum("google.cloud.redis.v1.Instance_State", Instance_State_name, Instance_State_value)
848	proto.RegisterEnum("google.cloud.redis.v1.Instance_Tier", Instance_Tier_name, Instance_Tier_value)
849}
850
851// Reference imports to suppress errors if they are not otherwise used.
852var _ context.Context
853var _ grpc.ClientConn
854
855// This is a compile-time assertion to ensure that this generated file
856// is compatible with the grpc package it is being compiled against.
857const _ = grpc.SupportPackageIsVersion4
858
859// CloudRedisClient is the client API for CloudRedis service.
860//
861// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
862type CloudRedisClient interface {
863	// Lists all Redis instances owned by a project in either the specified
864	// location (region) or all locations.
865	//
866	// The location should have the following format:
867	// * `projects/{project_id}/locations/{location_id}`
868	//
869	// If `location_id` is specified as `-` (wildcard), then all regions
870	// available to the project are queried, and the results are aggregated.
871	ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
872	// Gets the details of a specific Redis instance.
873	GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
874	// Creates a Redis instance based on the specified tier and memory size.
875	//
876	// By default, the instance is accessible from the project's
877	// [default network](/compute/docs/networks-and-firewalls#networks).
878	//
879	// The creation is executed asynchronously and callers may check the returned
880	// operation to track its progress. Once the operation is completed the Redis
881	// instance will be fully functional. Completed longrunning.Operation will
882	// contain the new instance object in the response field.
883	//
884	// The returned operation is automatically deleted after a few hours, so there
885	// is no need to call DeleteOperation.
886	CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
887	// Updates the metadata and configuration of a specific Redis instance.
888	//
889	// Completed longrunning.Operation will contain the new instance object
890	// in the response field. The returned operation is automatically deleted
891	// after a few hours, so there is no need to call DeleteOperation.
892	UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
893	// Deletes a specific Redis instance.  Instance stops serving and data is
894	// deleted.
895	DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
896}
897
898type cloudRedisClient struct {
899	cc *grpc.ClientConn
900}
901
902func NewCloudRedisClient(cc *grpc.ClientConn) CloudRedisClient {
903	return &cloudRedisClient{cc}
904}
905
906func (c *cloudRedisClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) {
907	out := new(ListInstancesResponse)
908	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/ListInstances", in, out, opts...)
909	if err != nil {
910		return nil, err
911	}
912	return out, nil
913}
914
915func (c *cloudRedisClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) {
916	out := new(Instance)
917	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/GetInstance", in, out, opts...)
918	if err != nil {
919		return nil, err
920	}
921	return out, nil
922}
923
924func (c *cloudRedisClient) CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
925	out := new(longrunning.Operation)
926	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/CreateInstance", in, out, opts...)
927	if err != nil {
928		return nil, err
929	}
930	return out, nil
931}
932
933func (c *cloudRedisClient) UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
934	out := new(longrunning.Operation)
935	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/UpdateInstance", in, out, opts...)
936	if err != nil {
937		return nil, err
938	}
939	return out, nil
940}
941
942func (c *cloudRedisClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
943	out := new(longrunning.Operation)
944	err := c.cc.Invoke(ctx, "/google.cloud.redis.v1.CloudRedis/DeleteInstance", in, out, opts...)
945	if err != nil {
946		return nil, err
947	}
948	return out, nil
949}
950
951// CloudRedisServer is the server API for CloudRedis service.
952type CloudRedisServer interface {
953	// Lists all Redis instances owned by a project in either the specified
954	// location (region) or all locations.
955	//
956	// The location should have the following format:
957	// * `projects/{project_id}/locations/{location_id}`
958	//
959	// If `location_id` is specified as `-` (wildcard), then all regions
960	// available to the project are queried, and the results are aggregated.
961	ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
962	// Gets the details of a specific Redis instance.
963	GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
964	// Creates a Redis instance based on the specified tier and memory size.
965	//
966	// By default, the instance is accessible from the project's
967	// [default network](/compute/docs/networks-and-firewalls#networks).
968	//
969	// The creation is executed asynchronously and callers may check the returned
970	// operation to track its progress. Once the operation is completed the Redis
971	// instance will be fully functional. Completed longrunning.Operation will
972	// contain the new instance object in the response field.
973	//
974	// The returned operation is automatically deleted after a few hours, so there
975	// is no need to call DeleteOperation.
976	CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error)
977	// Updates the metadata and configuration of a specific Redis instance.
978	//
979	// Completed longrunning.Operation will contain the new instance object
980	// in the response field. The returned operation is automatically deleted
981	// after a few hours, so there is no need to call DeleteOperation.
982	UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error)
983	// Deletes a specific Redis instance.  Instance stops serving and data is
984	// deleted.
985	DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error)
986}
987
988func RegisterCloudRedisServer(s *grpc.Server, srv CloudRedisServer) {
989	s.RegisterService(&_CloudRedis_serviceDesc, srv)
990}
991
992func _CloudRedis_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
993	in := new(ListInstancesRequest)
994	if err := dec(in); err != nil {
995		return nil, err
996	}
997	if interceptor == nil {
998		return srv.(CloudRedisServer).ListInstances(ctx, in)
999	}
1000	info := &grpc.UnaryServerInfo{
1001		Server:     srv,
1002		FullMethod: "/google.cloud.redis.v1.CloudRedis/ListInstances",
1003	}
1004	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1005		return srv.(CloudRedisServer).ListInstances(ctx, req.(*ListInstancesRequest))
1006	}
1007	return interceptor(ctx, in, info, handler)
1008}
1009
1010func _CloudRedis_GetInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1011	in := new(GetInstanceRequest)
1012	if err := dec(in); err != nil {
1013		return nil, err
1014	}
1015	if interceptor == nil {
1016		return srv.(CloudRedisServer).GetInstance(ctx, in)
1017	}
1018	info := &grpc.UnaryServerInfo{
1019		Server:     srv,
1020		FullMethod: "/google.cloud.redis.v1.CloudRedis/GetInstance",
1021	}
1022	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1023		return srv.(CloudRedisServer).GetInstance(ctx, req.(*GetInstanceRequest))
1024	}
1025	return interceptor(ctx, in, info, handler)
1026}
1027
1028func _CloudRedis_CreateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1029	in := new(CreateInstanceRequest)
1030	if err := dec(in); err != nil {
1031		return nil, err
1032	}
1033	if interceptor == nil {
1034		return srv.(CloudRedisServer).CreateInstance(ctx, in)
1035	}
1036	info := &grpc.UnaryServerInfo{
1037		Server:     srv,
1038		FullMethod: "/google.cloud.redis.v1.CloudRedis/CreateInstance",
1039	}
1040	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1041		return srv.(CloudRedisServer).CreateInstance(ctx, req.(*CreateInstanceRequest))
1042	}
1043	return interceptor(ctx, in, info, handler)
1044}
1045
1046func _CloudRedis_UpdateInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1047	in := new(UpdateInstanceRequest)
1048	if err := dec(in); err != nil {
1049		return nil, err
1050	}
1051	if interceptor == nil {
1052		return srv.(CloudRedisServer).UpdateInstance(ctx, in)
1053	}
1054	info := &grpc.UnaryServerInfo{
1055		Server:     srv,
1056		FullMethod: "/google.cloud.redis.v1.CloudRedis/UpdateInstance",
1057	}
1058	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1059		return srv.(CloudRedisServer).UpdateInstance(ctx, req.(*UpdateInstanceRequest))
1060	}
1061	return interceptor(ctx, in, info, handler)
1062}
1063
1064func _CloudRedis_DeleteInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1065	in := new(DeleteInstanceRequest)
1066	if err := dec(in); err != nil {
1067		return nil, err
1068	}
1069	if interceptor == nil {
1070		return srv.(CloudRedisServer).DeleteInstance(ctx, in)
1071	}
1072	info := &grpc.UnaryServerInfo{
1073		Server:     srv,
1074		FullMethod: "/google.cloud.redis.v1.CloudRedis/DeleteInstance",
1075	}
1076	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1077		return srv.(CloudRedisServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest))
1078	}
1079	return interceptor(ctx, in, info, handler)
1080}
1081
1082var _CloudRedis_serviceDesc = grpc.ServiceDesc{
1083	ServiceName: "google.cloud.redis.v1.CloudRedis",
1084	HandlerType: (*CloudRedisServer)(nil),
1085	Methods: []grpc.MethodDesc{
1086		{
1087			MethodName: "ListInstances",
1088			Handler:    _CloudRedis_ListInstances_Handler,
1089		},
1090		{
1091			MethodName: "GetInstance",
1092			Handler:    _CloudRedis_GetInstance_Handler,
1093		},
1094		{
1095			MethodName: "CreateInstance",
1096			Handler:    _CloudRedis_CreateInstance_Handler,
1097		},
1098		{
1099			MethodName: "UpdateInstance",
1100			Handler:    _CloudRedis_UpdateInstance_Handler,
1101		},
1102		{
1103			MethodName: "DeleteInstance",
1104			Handler:    _CloudRedis_DeleteInstance_Handler,
1105		},
1106	},
1107	Streams:  []grpc.StreamDesc{},
1108	Metadata: "google/cloud/redis/v1/cloud_redis.proto",
1109}
1110
1111func init() {
1112	proto.RegisterFile("google/cloud/redis/v1/cloud_redis.proto", fileDescriptor_cloud_redis_1a5dd939d9713948)
1113}
1114
1115var fileDescriptor_cloud_redis_1a5dd939d9713948 = []byte{
1116	// 1317 bytes of a gzipped FileDescriptorProto
1117	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xd1, 0x6e, 0x1a, 0x47,
1118	0x17, 0xfe, 0xd7, 0x36, 0x04, 0x0e, 0x18, 0xe3, 0x89, 0xc9, 0xbf, 0xa5, 0x8d, 0x4c, 0x49, 0xd2,
1119	0x12, 0xa7, 0x61, 0x65, 0x57, 0x89, 0x92, 0x58, 0x51, 0x84, 0x81, 0x24, 0x48, 0x36, 0xb5, 0x16,
1120	0x12, 0xa9, 0xb9, 0x59, 0x0d, 0xec, 0x78, 0xb3, 0xf1, 0xb2, 0xbb, 0x9d, 0x19, 0x68, 0xed, 0x2a,
1121	0xbd, 0xe8, 0x7d, 0xa5, 0x56, 0xed, 0x75, 0xa5, 0x4a, 0xad, 0xfa, 0x10, 0x7d, 0x8c, 0xbe, 0x40,
1122	0x2f, 0xfa, 0x20, 0xd5, 0xcc, 0xec, 0x62, 0x20, 0x20, 0xe2, 0xbb, 0x99, 0xef, 0x7c, 0x67, 0xe7,
1123	0x9b, 0x73, 0x66, 0xbe, 0x01, 0xf8, 0xd4, 0x09, 0x02, 0xc7, 0x23, 0x46, 0xdf, 0x0b, 0x86, 0xb6,
1124	0x41, 0x89, 0xed, 0x32, 0x63, 0xb4, 0xab, 0xa6, 0x96, 0x9c, 0x56, 0x43, 0x1a, 0xf0, 0x00, 0x15,
1125	0x14, 0xb1, 0x2a, 0x23, 0x55, 0x15, 0x19, 0xed, 0x16, 0x3f, 0x8a, 0xf2, 0x71, 0xe8, 0x1a, 0xd8,
1126	0xf7, 0x03, 0x8e, 0xb9, 0x1b, 0xf8, 0x51, 0x52, 0xf1, 0x46, 0x14, 0xf5, 0x02, 0xdf, 0xa1, 0x43,
1127	0xdf, 0x77, 0x7d, 0xc7, 0x08, 0x42, 0x42, 0xa7, 0x48, 0xa5, 0x88, 0x24, 0x67, 0xbd, 0xe1, 0x89,
1128	0x71, 0xe2, 0x12, 0xcf, 0xb6, 0x06, 0x98, 0x9d, 0x46, 0x8c, 0xed, 0x59, 0x06, 0x77, 0x07, 0x84,
1129	0x71, 0x3c, 0x08, 0x15, 0xa1, 0xfc, 0x57, 0x0a, 0x52, 0x2d, 0x9f, 0x71, 0xec, 0xf7, 0x09, 0x42,
1130	0xb0, 0xe6, 0xe3, 0x01, 0xd1, 0xb5, 0x92, 0x56, 0x49, 0x9b, 0x72, 0x8c, 0x3e, 0x86, 0xac, 0xed,
1131	0xb2, 0xd0, 0xc3, 0x67, 0x96, 0x8c, 0xad, 0xc8, 0x58, 0x26, 0xc2, 0xda, 0x82, 0x52, 0x87, 0xa4,
1132	0x87, 0x7b, 0xc4, 0x63, 0xfa, 0x6a, 0x69, 0xb5, 0x92, 0xd9, 0xbb, 0x53, 0x9d, 0xbb, 0xe3, 0x6a,
1133	0xbc, 0x4e, 0xf5, 0x50, 0xb2, 0x9b, 0x3e, 0xa7, 0x67, 0x66, 0x94, 0x8a, 0xb6, 0x21, 0xe3, 0x05,
1134	0x7d, 0xb9, 0x3d, 0xcb, 0xb5, 0xf5, 0x35, 0xb9, 0x0c, 0xc4, 0x50, 0xcb, 0x46, 0xf7, 0xe1, 0xff,
1135	0xd8, 0xe3, 0x84, 0xfa, 0x98, 0xbb, 0x23, 0x62, 0x4d, 0x92, 0x13, 0x92, 0x5c, 0x98, 0x08, 0x1f,
1136	0x5e, 0xe4, 0xdd, 0x80, 0x75, 0xa9, 0xc0, 0x1a, 0x11, 0xca, 0xdc, 0xc0, 0xd7, 0xaf, 0x48, 0x76,
1137	0x56, 0x82, 0x2f, 0x15, 0x86, 0x76, 0x60, 0x93, 0x12, 0x46, 0xe8, 0x88, 0xd8, 0x96, 0x1b, 0x5a,
1138	0x14, 0xfb, 0x0e, 0xd1, 0xd3, 0x92, 0xb8, 0x11, 0x07, 0x5a, 0xa1, 0x29, 0x60, 0x51, 0xa5, 0xd7,
1139	0x01, 0xe3, 0x3a, 0xa8, 0x2a, 0x89, 0xb1, 0xc0, 0xc2, 0x80, 0x72, 0x3d, 0x53, 0xd2, 0x2a, 0x09,
1140	0x53, 0x8e, 0x51, 0x15, 0xae, 0xf6, 0x87, 0x94, 0x12, 0x9f, 0x4f, 0x89, 0xcd, 0xca, 0xb4, 0xcd,
1141	0x28, 0x34, 0x21, 0x74, 0x1f, 0x32, 0x7d, 0x4a, 0x30, 0x27, 0x96, 0x68, 0x92, 0xbe, 0x5e, 0xd2,
1142	0x2a, 0x99, 0xbd, 0x62, 0x5c, 0xcb, 0xb8, 0x83, 0xd5, 0x6e, 0xdc, 0x41, 0x13, 0x14, 0x5d, 0x00,
1143	0x68, 0x1f, 0x12, 0x8c, 0x63, 0x4e, 0xf4, 0x5c, 0x49, 0xab, 0xe4, 0xf6, 0x6e, 0x2d, 0x6b, 0x41,
1144	0x47, 0x90, 0x4d, 0x95, 0x83, 0x6e, 0x41, 0x4e, 0x0c, 0x86, 0xcc, 0x1a, 0x10, 0xc6, 0xb0, 0x43,
1145	0xf4, 0x0d, 0x29, 0x72, 0x5d, 0xa1, 0x47, 0x0a, 0x44, 0x2f, 0xe3, 0x4a, 0xf6, 0x03, 0xff, 0xc4,
1146	0x75, 0x98, 0x9e, 0x97, 0xed, 0xde, 0x5d, 0xb6, 0x96, 0x29, 0x90, 0xba, 0xca, 0x51, 0x4d, 0x57,
1147	0xc5, 0x8f, 0x20, 0xf4, 0x00, 0xd6, 0xb8, 0x4b, 0xa8, 0xbe, 0x29, 0xa5, 0xdf, 0x5c, 0xf6, 0xb9,
1148	0xae, 0x4b, 0xa8, 0x29, 0x33, 0xd0, 0x4d, 0xc8, 0x0d, 0xc8, 0x20, 0xa0, 0x67, 0x16, 0x73, 0xcf,
1149	0x89, 0xe5, 0xf4, 0x74, 0x24, 0x1b, 0x90, 0x55, 0x68, 0xc7, 0x3d, 0x27, 0xcf, 0x7a, 0xe8, 0x2e,
1150	0x20, 0x3c, 0xe4, 0xaf, 0x03, 0xea, 0x9e, 0x13, 0xdb, 0xf2, 0x09, 0xff, 0x3a, 0xa0, 0xa7, 0xfa,
1151	0x96, 0xea, 0xc3, 0x45, 0xa4, 0xad, 0x02, 0xc5, 0x87, 0x90, 0x99, 0x38, 0xa0, 0x28, 0x0f, 0xab,
1152	0xa7, 0xe4, 0x2c, 0xba, 0x13, 0x62, 0x88, 0xb6, 0x20, 0x31, 0xc2, 0xde, 0x30, 0xbe, 0x0b, 0x6a,
1153	0xf2, 0x68, 0xe5, 0x81, 0x56, 0x7c, 0x02, 0x9b, 0xef, 0x6c, 0xf6, 0x32, 0x1f, 0x28, 0x33, 0x48,
1154	0xc8, 0xce, 0xa0, 0x02, 0x6c, 0x76, 0xba, 0xb5, 0x6e, 0xd3, 0x7a, 0xd1, 0xee, 0x1c, 0x37, 0xeb,
1155	0xad, 0xa7, 0xad, 0x66, 0x23, 0xff, 0x3f, 0x94, 0x85, 0x54, 0xdd, 0x6c, 0xd6, 0xba, 0xad, 0xf6,
1156	0xb3, 0xbc, 0x86, 0xd2, 0x90, 0x30, 0x9b, 0xb5, 0xc6, 0x97, 0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0x90,
1190	0x9b, 0x36, 0x2c, 0xb4, 0xa8, 0x14, 0x73, 0x7d, 0xad, 0x78, 0x3d, 0x66, 0x4f, 0xfc, 0x5c, 0xad,
1191	0x8e, 0x6f, 0x6c, 0xf9, 0x89, 0x94, 0xf5, 0xb0, 0x7c, 0xb9, 0x4a, 0x3d, 0x1a, 0xbb, 0x05, 0xfa,
1192	0x53, 0x83, 0xdc, 0xb4, 0x83, 0x2d, 0x14, 0x38, 0xd7, 0xe8, 0x96, 0x09, 0x7c, 0x2e, 0x05, 0x1e,
1193	0xec, 0xdd, 0x97, 0x02, 0xe3, 0x65, 0xab, 0xef, 0x5b, 0xc0, 0x09, 0xa5, 0xbf, 0x68, 0x90, 0x9b,
1194	0x36, 0xb6, 0x85, 0x4a, 0xe7, 0xfa, 0xdf, 0x32, 0xa5, 0x51, 0x87, 0x77, 0x2e, 0xd7, 0xe1, 0x03,
1195	0x06, 0x1f, 0xf4, 0x83, 0xc1, 0x7c, 0x21, 0x07, 0xfa, 0xc5, 0x0d, 0xea, 0x10, 0x3a, 0x72, 0xfb,
1196	0xe4, 0xe5, 0xee, 0xb1, 0x30, 0xc1, 0x63, 0xed, 0xd5, 0xa3, 0x28, 0xc5, 0x09, 0x3c, 0xec, 0x3b,
1197	0xd5, 0x80, 0x3a, 0x86, 0x43, 0x7c, 0x69, 0x91, 0x86, 0x0a, 0xe1, 0xd0, 0x65, 0x33, 0x7f, 0x82,
1198	0xf6, 0xe5, 0xa0, 0x97, 0x94, 0xb4, 0xcf, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x12, 0x49, 0x33,
1199	0xc0, 0x2a, 0x0d, 0x00, 0x00,
1200}
1201