OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / genproto / googleapis / bigtable / admin / cluster / v1 / bigtable_cluster_data.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto
3
4 /*
5 Package cluster is a generated protocol buffer package.
6
7 It is generated from these files:
8         google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto
9         google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto
10         google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto
11
12 It has these top-level messages:
13         Zone
14         Cluster
15         ListZonesRequest
16         ListZonesResponse
17         GetClusterRequest
18         ListClustersRequest
19         ListClustersResponse
20         CreateClusterRequest
21         CreateClusterMetadata
22         UpdateClusterMetadata
23         DeleteClusterRequest
24         UndeleteClusterRequest
25         UndeleteClusterMetadata
26         V2OperationMetadata
27 */
28 package cluster
29
30 import proto "github.com/golang/protobuf/proto"
31 import fmt "fmt"
32 import math "math"
33 import _ "google.golang.org/genproto/googleapis/api/annotations"
34 import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
35 import _ "github.com/golang/protobuf/ptypes/timestamp"
36
37 // Reference imports to suppress errors if they are not otherwise used.
38 var _ = proto.Marshal
39 var _ = fmt.Errorf
40 var _ = math.Inf
41
42 // This is a compile-time assertion to ensure that this generated file
43 // is compatible with the proto package it is being compiled against.
44 // A compilation error at this line likely means your copy of the
45 // proto package needs to be updated.
46 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
47
48 type StorageType int32
49
50 const (
51         // The storage type used is unspecified.
52         StorageType_STORAGE_UNSPECIFIED StorageType = 0
53         // Data will be stored in SSD, providing low and consistent latencies.
54         StorageType_STORAGE_SSD StorageType = 1
55         // Data will be stored in HDD, providing high and less predictable
56         // latencies.
57         StorageType_STORAGE_HDD StorageType = 2
58 )
59
60 var StorageType_name = map[int32]string{
61         0: "STORAGE_UNSPECIFIED",
62         1: "STORAGE_SSD",
63         2: "STORAGE_HDD",
64 }
65 var StorageType_value = map[string]int32{
66         "STORAGE_UNSPECIFIED": 0,
67         "STORAGE_SSD":         1,
68         "STORAGE_HDD":         2,
69 }
70
71 func (x StorageType) String() string {
72         return proto.EnumName(StorageType_name, int32(x))
73 }
74 func (StorageType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
75
76 // Possible states of a zone.
77 type Zone_Status int32
78
79 const (
80         // The state of the zone is unknown or unspecified.
81         Zone_UNKNOWN Zone_Status = 0
82         // The zone is in a good state.
83         Zone_OK Zone_Status = 1
84         // The zone is down for planned maintenance.
85         Zone_PLANNED_MAINTENANCE Zone_Status = 2
86         // The zone is down for emergency or unplanned maintenance.
87         Zone_EMERGENCY_MAINENANCE Zone_Status = 3
88 )
89
90 var Zone_Status_name = map[int32]string{
91         0: "UNKNOWN",
92         1: "OK",
93         2: "PLANNED_MAINTENANCE",
94         3: "EMERGENCY_MAINENANCE",
95 }
96 var Zone_Status_value = map[string]int32{
97         "UNKNOWN": 0,
98         "OK":      1,
99         "PLANNED_MAINTENANCE":  2,
100         "EMERGENCY_MAINENANCE": 3,
101 }
102
103 func (x Zone_Status) String() string {
104         return proto.EnumName(Zone_Status_name, int32(x))
105 }
106 func (Zone_Status) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 0} }
107
108 // A physical location in which a particular project can allocate Cloud BigTable
109 // resources.
110 type Zone struct {
111         // A permanent unique identifier for the zone.
112         // Values are of the form projects/<project>/zones/[a-z][-a-z0-9]*
113         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
114         // The name of this zone as it appears in UIs.
115         DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
116         // The current state of this zone.
117         Status Zone_Status `protobuf:"varint,3,opt,name=status,enum=google.bigtable.admin.cluster.v1.Zone_Status" json:"status,omitempty"`
118 }
119
120 func (m *Zone) Reset()                    { *m = Zone{} }
121 func (m *Zone) String() string            { return proto.CompactTextString(m) }
122 func (*Zone) ProtoMessage()               {}
123 func (*Zone) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
124
125 func (m *Zone) GetName() string {
126         if m != nil {
127                 return m.Name
128         }
129         return ""
130 }
131
132 func (m *Zone) GetDisplayName() string {
133         if m != nil {
134                 return m.DisplayName
135         }
136         return ""
137 }
138
139 func (m *Zone) GetStatus() Zone_Status {
140         if m != nil {
141                 return m.Status
142         }
143         return Zone_UNKNOWN
144 }
145
146 // An isolated set of Cloud BigTable resources on which tables can be hosted.
147 type Cluster struct {
148         // A permanent unique identifier for the cluster. For technical reasons, the
149         // zone in which the cluster resides is included here.
150         // Values are of the form
151         // projects/<project>/zones/<zone>/clusters/[a-z][-a-z0-9]*
152         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
153         // The operation currently running on the cluster, if any.
154         // This cannot be set directly, only through CreateCluster, UpdateCluster,
155         // or UndeleteCluster. Calls to these methods will be rejected if
156         // "current_operation" is already set.
157         CurrentOperation *google_longrunning.Operation `protobuf:"bytes,3,opt,name=current_operation,json=currentOperation" json:"current_operation,omitempty"`
158         // The descriptive name for this cluster as it appears in UIs.
159         // Must be unique per zone.
160         DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
161         // The number of serve nodes allocated to this cluster.
162         ServeNodes int32 `protobuf:"varint,5,opt,name=serve_nodes,json=serveNodes" json:"serve_nodes,omitempty"`
163         // What storage type to use for tables in this cluster. Only configurable at
164         // cluster creation time. If unspecified, STORAGE_SSD will be used.
165         DefaultStorageType StorageType `protobuf:"varint,8,opt,name=default_storage_type,json=defaultStorageType,enum=google.bigtable.admin.cluster.v1.StorageType" json:"default_storage_type,omitempty"`
166 }
167
168 func (m *Cluster) Reset()                    { *m = Cluster{} }
169 func (m *Cluster) String() string            { return proto.CompactTextString(m) }
170 func (*Cluster) ProtoMessage()               {}
171 func (*Cluster) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
172
173 func (m *Cluster) GetName() string {
174         if m != nil {
175                 return m.Name
176         }
177         return ""
178 }
179
180 func (m *Cluster) GetCurrentOperation() *google_longrunning.Operation {
181         if m != nil {
182                 return m.CurrentOperation
183         }
184         return nil
185 }
186
187 func (m *Cluster) GetDisplayName() string {
188         if m != nil {
189                 return m.DisplayName
190         }
191         return ""
192 }
193
194 func (m *Cluster) GetServeNodes() int32 {
195         if m != nil {
196                 return m.ServeNodes
197         }
198         return 0
199 }
200
201 func (m *Cluster) GetDefaultStorageType() StorageType {
202         if m != nil {
203                 return m.DefaultStorageType
204         }
205         return StorageType_STORAGE_UNSPECIFIED
206 }
207
208 func init() {
209         proto.RegisterType((*Zone)(nil), "google.bigtable.admin.cluster.v1.Zone")
210         proto.RegisterType((*Cluster)(nil), "google.bigtable.admin.cluster.v1.Cluster")
211         proto.RegisterEnum("google.bigtable.admin.cluster.v1.StorageType", StorageType_name, StorageType_value)
212         proto.RegisterEnum("google.bigtable.admin.cluster.v1.Zone_Status", Zone_Status_name, Zone_Status_value)
213 }
214
215 func init() {
216         proto.RegisterFile("google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto", fileDescriptor0)
217 }
218
219 var fileDescriptor0 = []byte{
220         // 493 bytes of a gzipped FileDescriptorProto
221         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xd1, 0x6e, 0xd3, 0x3c,
222         0x1c, 0xc5, 0x97, 0xae, 0xeb, 0xbe, 0xcf, 0x41, 0x10, 0xcc, 0x24, 0xa2, 0x09, 0xb4, 0x52, 0xb8,
223         0xa8, 0x90, 0x70, 0xb4, 0x71, 0x09, 0x37, 0x6d, 0x63, 0xba, 0x32, 0xe6, 0x56, 0x49, 0x27, 0xc4,
224         0x6e, 0x2c, 0xb7, 0xf5, 0xac, 0x48, 0xa9, 0x1d, 0xc5, 0x4e, 0xa5, 0x3e, 0x03, 0x12, 0x8f, 0xc7,
225         0xf3, 0xa0, 0x3a, 0x6e, 0x55, 0x34, 0xd0, 0xb8, 0xb3, 0xcf, 0x39, 0x3f, 0xbb, 0xff, 0x53, 0x07,
226         0x7c, 0x14, 0x4a, 0x89, 0x9c, 0x47, 0xb3, 0x4c, 0x18, 0x36, 0xcb, 0x79, 0xc4, 0x16, 0xcb, 0x4c,
227         0x46, 0xf3, 0xbc, 0xd2, 0x86, 0x97, 0xd1, 0xea, 0x7c, 0xe7, 0x50, 0xa7, 0xd1, 0x05, 0x33, 0x0c,
228         0x15, 0xa5, 0x32, 0x0a, 0xb6, 0x6b, 0x1a, 0x6d, 0x33, 0xc8, 0xd2, 0xc8, 0x25, 0xd1, 0xea, 0xfc,
229         0xf4, 0x85, 0x3b, 0x9f, 0x15, 0x59, 0xc4, 0xa4, 0x54, 0x86, 0x99, 0x4c, 0x49, 0x5d, 0xf3, 0xa7,
230         0xaf, 0x9d, 0x9b, 0x2b, 0x29, 0xca, 0x4a, 0xca, 0x4c, 0x8a, 0x48, 0x15, 0xbc, 0xfc, 0x2d, 0x74,
231         0xe6, 0x42, 0x76, 0x37, 0xab, 0xee, 0x22, 0x93, 0x2d, 0xb9, 0x36, 0x6c, 0x59, 0xd4, 0x81, 0xce,
232         0x4f, 0x0f, 0x34, 0x6f, 0x95, 0xe4, 0x10, 0x82, 0xa6, 0x64, 0x4b, 0x1e, 0x7a, 0x6d, 0xaf, 0xfb,
233         0x7f, 0x62, 0xd7, 0xf0, 0x15, 0x78, 0xb4, 0xc8, 0x74, 0x91, 0xb3, 0x35, 0xb5, 0x5e, 0xc3, 0x7a,
234         0xbe, 0xd3, 0xc8, 0x26, 0x82, 0x41, 0x4b, 0x1b, 0x66, 0x2a, 0x1d, 0x1e, 0xb6, 0xbd, 0xee, 0xe3,
235         0x8b, 0x77, 0xe8, 0xa1, 0xb1, 0xd0, 0xe6, 0x3a, 0x94, 0x5a, 0x28, 0x71, 0x70, 0x67, 0x02, 0x5a,
236         0xb5, 0x02, 0x7d, 0x70, 0x7c, 0x43, 0xae, 0xc8, 0xf8, 0x2b, 0x09, 0x0e, 0x60, 0x0b, 0x34, 0xc6,
237         0x57, 0x81, 0x07, 0x9f, 0x83, 0x67, 0x93, 0x2f, 0x3d, 0x42, 0x70, 0x4c, 0xaf, 0x7b, 0x23, 0x32,
238         0xc5, 0xa4, 0x47, 0x06, 0x38, 0x68, 0xc0, 0x10, 0x9c, 0xe0, 0x6b, 0x9c, 0x0c, 0x31, 0x19, 0x7c,
239         0xb3, 0x96, 0x73, 0x0e, 0x3b, 0x3f, 0x1a, 0xe0, 0x78, 0x50, 0x5f, 0xfa, 0xc7, 0xd9, 0x3e, 0x83,
240         0xa7, 0xf3, 0xaa, 0x2c, 0xb9, 0x34, 0x74, 0xd7, 0x9a, 0x9d, 0xc1, 0xbf, 0x78, 0xb9, 0x9d, 0x61,
241         0xaf, 0x5a, 0x34, 0xde, 0x86, 0x92, 0xc0, 0x71, 0x3b, 0xe5, 0x5e, 0x4f, 0xcd, 0xfb, 0x3d, 0x9d,
242         0x01, 0x5f, 0xf3, 0x72, 0xc5, 0xa9, 0x54, 0x0b, 0xae, 0xc3, 0xa3, 0xb6, 0xd7, 0x3d, 0x4a, 0x80,
243         0x95, 0xc8, 0x46, 0x81, 0x14, 0x9c, 0x2c, 0xf8, 0x1d, 0xab, 0x72, 0x43, 0xb5, 0x51, 0x25, 0x13,
244         0x9c, 0x9a, 0x75, 0xc1, 0xc3, 0xff, 0xfe, 0xb5, 0xd6, 0xb4, 0xa6, 0xa6, 0xeb, 0x82, 0x27, 0xd0,
245         0x1d, 0xb5, 0xa7, 0xbd, 0xbd, 0x04, 0xfe, 0xde, 0x76, 0x53, 0x69, 0x3a, 0x1d, 0x27, 0xbd, 0x21,
246         0xa6, 0x37, 0x24, 0x9d, 0xe0, 0xc1, 0xe8, 0xd3, 0x08, 0xc7, 0xc1, 0x01, 0x7c, 0x02, 0xfc, 0xad,
247         0x91, 0xa6, 0x71, 0xe0, 0xed, 0x0b, 0x97, 0x71, 0x1c, 0x34, 0xfa, 0xdf, 0x3d, 0xf0, 0x66, 0xae,
248         0x96, 0x0f, 0xfe, 0xa4, 0x7e, 0xd8, 0x77, 0x96, 0xfb, 0x23, 0x62, 0x66, 0xd8, 0x64, 0xf3, 0xec,
249         0x26, 0xde, 0xed, 0xd0, 0xd1, 0x42, 0xe5, 0x4c, 0x0a, 0xa4, 0x4a, 0x11, 0x09, 0x2e, 0xed, 0xa3,
250         0x8c, 0x6a, 0x8b, 0x15, 0x99, 0xfe, 0xfb, 0xb7, 0xf5, 0xc1, 0x2d, 0x67, 0x2d, 0xcb, 0xbc, 0xff,
251         0x15, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x27, 0x25, 0xa6, 0x8e, 0x03, 0x00, 0x00,
252 }