Debian Codegraph @

googleapis/bigtable/admin/cluster/v1/bigtable_cluster_data.pb.go

raw
1 // Copyright 2017 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.25.0
18 // protoc v3.13.0
19 // source: google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto
20
21 package cluster
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 proto "github.com/golang/protobuf/proto"
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 longrunning "google.golang.org/genproto/googleapis/longrunning"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 _ "google.golang.org/protobuf/types/known/timestamppb"
33 )
34
35 const (
36 // Verify that this generated code is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38 // Verify that runtime/protoimpl is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40 )
41
42 // This is a compile-time assertion that a sufficiently up-to-date version
43 // of the legacy proto package is being used.
44 const _ = proto.ProtoPackageIsVersion4
45
46 type StorageType int32
47
48 const (
49 // The storage type used is unspecified.
50 StorageType_STORAGE_UNSPECIFIED StorageType = 0
51 // Data will be stored in SSD, providing low and consistent latencies.
52 StorageType_STORAGE_SSD StorageType = 1
53 // Data will be stored in HDD, providing high and less predictable
54 // latencies.
55 StorageType_STORAGE_HDD StorageType = 2
56 )
57
58 // Enum value maps for StorageType.
59 var (
60 StorageType_name = map[int32]string{
61 0: "STORAGE_UNSPECIFIED",
62 1: "STORAGE_SSD",
63 2: "STORAGE_HDD",
64 }
65 StorageType_value = map[string]int32{
66 "STORAGE_UNSPECIFIED": 0,
67 "STORAGE_SSD": 1,
68 "STORAGE_HDD": 2,
69 }
70 )
71
72 func (x StorageType) Enum() *StorageType {
73 p := new(StorageType)
74 *p = x
75 return p
76 }
77
78 func (x StorageType) String() string {
79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
80 }
81
82 func (StorageType) Descriptor() protoreflect.EnumDescriptor {
83 return file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_enumTypes[0].Descriptor()
84 }
85
86 func (StorageType) Type() protoreflect.EnumType {
87 return &file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_enumTypes[0]
88 }
89
90 func (x StorageType) Number() protoreflect.EnumNumber {
91 return protoreflect.EnumNumber(x)
92 }
93
94 // Deprecated: Use StorageType.Descriptor instead.
95 func (StorageType) EnumDescriptor() ([]byte, []int) {
96 return file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescGZIP(), []int{0}
97 }
98
99 // Possible states of a zone.
100 type Zone_Status int32
101
102 const (
103 // The state of the zone is unknown or unspecified.
104 Zone_UNKNOWN Zone_Status = 0
105 // The zone is in a good state.
106 Zone_OK Zone_Status = 1
107 // The zone is down for planned maintenance.
108 Zone_PLANNED_MAINTENANCE Zone_Status = 2
109 // The zone is down for emergency or unplanned maintenance.
110 Zone_EMERGENCY_MAINENANCE Zone_Status = 3
111 )
112
113 // Enum value maps for Zone_Status.
114 var (
115 Zone_Status_name = map[int32]string{
116 0: "UNKNOWN",
117 1: "OK",
118 2: "PLANNED_MAINTENANCE",
119 3: "EMERGENCY_MAINENANCE",
120 }
121 Zone_Status_value = map[string]int32{
122 "UNKNOWN": 0,
123 "OK": 1,
124 "PLANNED_MAINTENANCE": 2,
125 "EMERGENCY_MAINENANCE": 3,
126 }
127 )
128
129 func (x Zone_Status) Enum() *Zone_Status {
130 p := new(Zone_Status)
131 *p = x
132 return p
133 }
134
135 func (x Zone_Status) String() string {
136 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
137 }
138
139 func (Zone_Status) Descriptor() protoreflect.EnumDescriptor {
140 return file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_enumTypes[1].Descriptor()
141 }
142
143 func (Zone_Status) Type() protoreflect.EnumType {
144 return &file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_enumTypes[1]
145 }
146
147 func (x Zone_Status) Number() protoreflect.EnumNumber {
148 return protoreflect.EnumNumber(x)
149 }
150
151 // Deprecated: Use Zone_Status.Descriptor instead.
152 func (Zone_Status) EnumDescriptor() ([]byte, []int) {
153 return file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescGZIP(), []int{0, 0}
154 }
155
156 // A physical location in which a particular project can allocate Cloud BigTable
157 // resources.
158 type Zone struct {
159 state protoimpl.MessageState
160 sizeCache protoimpl.SizeCache
161 unknownFields protoimpl.UnknownFields
162
163 // A permanent unique identifier for the zone.
164 // Values are of the form projects/<project>/zones/[a-z][-a-z0-9]*
165 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
166 // The name of this zone as it appears in UIs.
167 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
168 // The current state of this zone.
169 Status Zone_Status `protobuf:"varint,3,opt,name=status,proto3,enum=google.bigtable.admin.cluster.v1.Zone_Status" json:"status,omitempty"`
170 }
171
172 func (x *Zone) Reset() {
173 *x = Zone{}
174 if protoimpl.UnsafeEnabled {
175 mi := &file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_msgTypes[0]
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 ms.StoreMessageInfo(mi)
178 }
179 }
180
181 func (x *Zone) String() string {
182 return protoimpl.X.MessageStringOf(x)
183 }
184
185 func (*Zone) ProtoMessage() {}
186
187 func (x *Zone) ProtoReflect() protoreflect.Message {
188 mi := &file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_msgTypes[0]
189 if protoimpl.UnsafeEnabled && x != nil {
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 if ms.LoadMessageInfo() == nil {
192 ms.StoreMessageInfo(mi)
193 }
194 return ms
195 }
196 return mi.MessageOf(x)
197 }
198
199 // Deprecated: Use Zone.ProtoReflect.Descriptor instead.
200 func (*Zone) Descriptor() ([]byte, []int) {
201 return file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescGZIP(), []int{0}
202 }
203
204 func (x *Zone) GetName() string {
205 if x != nil {
206 return x.Name
207 }
208 return ""
209 }
210
211 func (x *Zone) GetDisplayName() string {
212 if x != nil {
213 return x.DisplayName
214 }
215 return ""
216 }
217
218 func (x *Zone) GetStatus() Zone_Status {
219 if x != nil {
220 return x.Status
221 }
222 return Zone_UNKNOWN
223 }
224
225 // An isolated set of Cloud BigTable resources on which tables can be hosted.
226 type Cluster struct {
227 state protoimpl.MessageState
228 sizeCache protoimpl.SizeCache
229 unknownFields protoimpl.UnknownFields
230
231 // A permanent unique identifier for the cluster. For technical reasons, the
232 // zone in which the cluster resides is included here.
233 // Values are of the form
234 // projects/<project>/zones/<zone>/clusters/[a-z][-a-z0-9]*
235 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
236 // The operation currently running on the cluster, if any.
237 // This cannot be set directly, only through CreateCluster, UpdateCluster,
238 // or UndeleteCluster. Calls to these methods will be rejected if
239 // "current_operation" is already set.
240 CurrentOperation *longrunning.Operation `protobuf:"bytes,3,opt,name=current_operation,json=currentOperation,proto3" json:"current_operation,omitempty"`
241 // The descriptive name for this cluster as it appears in UIs.
242 // Must be unique per zone.
243 DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
244 // The number of serve nodes allocated to this cluster.
245 ServeNodes int32 `protobuf:"varint,5,opt,name=serve_nodes,json=serveNodes,proto3" json:"serve_nodes,omitempty"`
246 // What storage type to use for tables in this cluster. Only configurable at
247 // cluster creation time. If unspecified, STORAGE_SSD will be used.
248 DefaultStorageType StorageType `protobuf:"varint,8,opt,name=default_storage_type,json=defaultStorageType,proto3,enum=google.bigtable.admin.cluster.v1.StorageType" json:"default_storage_type,omitempty"`
249 }
250
251 func (x *Cluster) Reset() {
252 *x = Cluster{}
253 if protoimpl.UnsafeEnabled {
254 mi := &file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_msgTypes[1]
255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
256 ms.StoreMessageInfo(mi)
257 }
258 }
259
260 func (x *Cluster) String() string {
261 return protoimpl.X.MessageStringOf(x)
262 }
263
264 func (*Cluster) ProtoMessage() {}
265
266 func (x *Cluster) ProtoReflect() protoreflect.Message {
267 mi := &file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_msgTypes[1]
268 if protoimpl.UnsafeEnabled && x != nil {
269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
270 if ms.LoadMessageInfo() == nil {
271 ms.StoreMessageInfo(mi)
272 }
273 return ms
274 }
275 return mi.MessageOf(x)
276 }
277
278 // Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
279 func (*Cluster) Descriptor() ([]byte, []int) {
280 return file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescGZIP(), []int{1}
281 }
282
283 func (x *Cluster) GetName() string {
284 if x != nil {
285 return x.Name
286 }
287 return ""
288 }
289
290 func (x *Cluster) GetCurrentOperation() *longrunning.Operation {
291 if x != nil {
292 return x.CurrentOperation
293 }
294 return nil
295 }
296
297 func (x *Cluster) GetDisplayName() string {
298 if x != nil {
299 return x.DisplayName
300 }
301 return ""
302 }
303
304 func (x *Cluster) GetServeNodes() int32 {
305 if x != nil {
306 return x.ServeNodes
307 }
308 return 0
309 }
310
311 func (x *Cluster) GetDefaultStorageType() StorageType {
312 if x != nil {
313 return x.DefaultStorageType
314 }
315 return StorageType_STORAGE_UNSPECIFIED
316 }
317
318 var File_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto protoreflect.FileDescriptor
319
320 var file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDesc = []byte{
321 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c,
322 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f,
323 0x76, 0x31, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73,
324 0x74, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20,
325 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e,
326 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31,
327 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
328 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23,
329 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69,
330 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
331 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
332 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
333 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x04, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a,
334 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
335 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d,
336 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
337 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03,
338 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69,
339 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75,
340 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x5a, 0x6f, 0x6e, 0x65, 0x2e, 0x53, 0x74, 0x61,
341 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x50, 0x0a, 0x06, 0x53,
342 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
343 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4c,
344 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43,
345 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x4e, 0x43, 0x59,
346 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x03, 0x22, 0x8e, 0x02,
347 0x0a, 0x07, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
348 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4a, 0x0a,
349 0x11, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
350 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
351 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70,
352 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
353 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73,
354 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
355 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
356 0x73, 0x65, 0x72, 0x76, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
357 0x05, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x5f, 0x0a,
358 0x14, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
359 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f,
360 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64,
361 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53,
362 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12, 0x64, 0x65, 0x66, 0x61,
363 0x75, 0x6c, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2a, 0x48,
364 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a,
365 0x13, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
366 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47,
367 0x45, 0x5f, 0x53, 0x53, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x4f, 0x52, 0x41,
368 0x47, 0x45, 0x5f, 0x48, 0x44, 0x44, 0x10, 0x02, 0x42, 0x8b, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d,
369 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65,
370 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x76,
371 0x31, 0x42, 0x18, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
372 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67,
373 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
374 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
375 0x61, 0x70, 0x69, 0x73, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x61, 0x64,
376 0x6d, 0x69, 0x6e, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x63,
377 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
378 }
379
380 var (
381 file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescOnce sync.Once
382 file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescData = file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDesc
383 )
384
385 func file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescGZIP() []byte {
386 file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescOnce.Do(func() {
387 file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescData)
388 })
389 return file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDescData
390 }
391
392 var file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
393 var file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
394 var file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_goTypes = []interface{}{
395 (StorageType)(0), // 0: google.bigtable.admin.cluster.v1.StorageType
396 (Zone_Status)(0), // 1: google.bigtable.admin.cluster.v1.Zone.Status
397 (*Zone)(nil), // 2: google.bigtable.admin.cluster.v1.Zone
398 (*Cluster)(nil), // 3: google.bigtable.admin.cluster.v1.Cluster
399 (*longrunning.Operation)(nil), // 4: google.longrunning.Operation
400 }
401 var file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_depIdxs = []int32{
402 1, // 0: google.bigtable.admin.cluster.v1.Zone.status:type_name -> google.bigtable.admin.cluster.v1.Zone.Status
403 4, // 1: google.bigtable.admin.cluster.v1.Cluster.current_operation:type_name -> google.longrunning.Operation
404 0, // 2: google.bigtable.admin.cluster.v1.Cluster.default_storage_type:type_name -> google.bigtable.admin.cluster.v1.StorageType
405 3, // [3:3] is the sub-list for method output_type
406 3, // [3:3] is the sub-list for method input_type
407 3, // [3:3] is the sub-list for extension type_name
408 3, // [3:3] is the sub-list for extension extendee
409 0, // [0:3] is the sub-list for field type_name
410 }
411
412 func init() { file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_init() }
413 func file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_init() {
414 if File_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto != nil {
415 return
416 }
417 if !protoimpl.UnsafeEnabled {
418 file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
419 switch v := v.(*Zone); i {
420 case 0:
421 return &v.state
422 case 1:
423 return &v.sizeCache
424 case 2:
425 return &v.unknownFields
426 default:
427 return nil
428 }
429 }
430 file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
431 switch v := v.(*Cluster); i {
432 case 0:
433 return &v.state
434 case 1:
435 return &v.sizeCache
436 case 2:
437 return &v.unknownFields
438 default:
439 return nil
440 }
441 }
442 }
443 type x struct{}
444 out := protoimpl.TypeBuilder{
445 File: protoimpl.DescBuilder{
446 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
447 RawDescriptor: file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDesc,
448 NumEnums: 2,
449 NumMessages: 2,
450 NumExtensions: 0,
451 NumServices: 0,
452 },
453 GoTypes: file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_goTypes,
454 DependencyIndexes: file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_depIdxs,
455 EnumInfos: file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_enumTypes,
456 MessageInfos: file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_msgTypes,
457 }.Build()
458 File_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto = out.File
459 file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_rawDesc = nil
460 file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_goTypes = nil
461 file_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto_depIdxs = nil
462 }