1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package admin
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type StorageType int32
41
42 const (
43
44 StorageType_STORAGE_TYPE_UNSPECIFIED StorageType = 0
45
46 StorageType_SSD StorageType = 1
47
48 StorageType_HDD StorageType = 2
49 )
50
51
52 var (
53 StorageType_name = map[int32]string{
54 0: "STORAGE_TYPE_UNSPECIFIED",
55 1: "SSD",
56 2: "HDD",
57 }
58 StorageType_value = map[string]int32{
59 "STORAGE_TYPE_UNSPECIFIED": 0,
60 "SSD": 1,
61 "HDD": 2,
62 }
63 )
64
65 func (x StorageType) Enum() *StorageType {
66 p := new(StorageType)
67 *p = x
68 return p
69 }
70
71 func (x StorageType) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (StorageType) Descriptor() protoreflect.EnumDescriptor {
76 return file_google_bigtable_admin_v2_common_proto_enumTypes[0].Descriptor()
77 }
78
79 func (StorageType) Type() protoreflect.EnumType {
80 return &file_google_bigtable_admin_v2_common_proto_enumTypes[0]
81 }
82
83 func (x StorageType) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87
88 func (StorageType) EnumDescriptor() ([]byte, []int) {
89 return file_google_bigtable_admin_v2_common_proto_rawDescGZIP(), []int{0}
90 }
91
92
93
94 type OperationProgress struct {
95 state protoimpl.MessageState
96 sizeCache protoimpl.SizeCache
97 unknownFields protoimpl.UnknownFields
98
99
100
101 ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
102
103 StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
104
105
106 EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
107 }
108
109 func (x *OperationProgress) Reset() {
110 *x = OperationProgress{}
111 if protoimpl.UnsafeEnabled {
112 mi := &file_google_bigtable_admin_v2_common_proto_msgTypes[0]
113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
114 ms.StoreMessageInfo(mi)
115 }
116 }
117
118 func (x *OperationProgress) String() string {
119 return protoimpl.X.MessageStringOf(x)
120 }
121
122 func (*OperationProgress) ProtoMessage() {}
123
124 func (x *OperationProgress) ProtoReflect() protoreflect.Message {
125 mi := &file_google_bigtable_admin_v2_common_proto_msgTypes[0]
126 if protoimpl.UnsafeEnabled && x != nil {
127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128 if ms.LoadMessageInfo() == nil {
129 ms.StoreMessageInfo(mi)
130 }
131 return ms
132 }
133 return mi.MessageOf(x)
134 }
135
136
137 func (*OperationProgress) Descriptor() ([]byte, []int) {
138 return file_google_bigtable_admin_v2_common_proto_rawDescGZIP(), []int{0}
139 }
140
141 func (x *OperationProgress) GetProgressPercent() int32 {
142 if x != nil {
143 return x.ProgressPercent
144 }
145 return 0
146 }
147
148 func (x *OperationProgress) GetStartTime() *timestamppb.Timestamp {
149 if x != nil {
150 return x.StartTime
151 }
152 return nil
153 }
154
155 func (x *OperationProgress) GetEndTime() *timestamppb.Timestamp {
156 if x != nil {
157 return x.EndTime
158 }
159 return nil
160 }
161
162 var File_google_bigtable_admin_v2_common_proto protoreflect.FileDescriptor
163
164 var file_google_bigtable_admin_v2_common_proto_rawDesc = []byte{
165 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c,
166 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
167 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
168 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
169 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
170 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
171 0x74, 0x6f, 0x22, 0xb0, 0x01, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
172 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x67,
173 0x72, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
174 0x28, 0x05, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x50, 0x65, 0x72, 0x63,
175 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
176 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
177 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
178 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35,
179 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
180 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
181 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e,
182 0x64, 0x54, 0x69, 0x6d, 0x65, 0x2a, 0x3d, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
183 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f,
184 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
185 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x53, 0x44, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x48,
186 0x44, 0x44, 0x10, 0x02, 0x42, 0xd3, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
187 0x67, 0x6c, 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x61, 0x64, 0x6d,
188 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f,
189 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
190 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
191 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x62, 0x69, 0x67, 0x74,
192 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x3b, 0x61, 0x64,
193 0x6d, 0x69, 0x6e, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
194 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69,
195 0x6e, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
196 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5c, 0x41, 0x64, 0x6d,
197 0x69, 0x6e, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
198 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3a,
199 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
200 0x6f, 0x33,
201 }
202
203 var (
204 file_google_bigtable_admin_v2_common_proto_rawDescOnce sync.Once
205 file_google_bigtable_admin_v2_common_proto_rawDescData = file_google_bigtable_admin_v2_common_proto_rawDesc
206 )
207
208 func file_google_bigtable_admin_v2_common_proto_rawDescGZIP() []byte {
209 file_google_bigtable_admin_v2_common_proto_rawDescOnce.Do(func() {
210 file_google_bigtable_admin_v2_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_bigtable_admin_v2_common_proto_rawDescData)
211 })
212 return file_google_bigtable_admin_v2_common_proto_rawDescData
213 }
214
215 var file_google_bigtable_admin_v2_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
216 var file_google_bigtable_admin_v2_common_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
217 var file_google_bigtable_admin_v2_common_proto_goTypes = []interface{}{
218 (StorageType)(0),
219 (*OperationProgress)(nil),
220 (*timestamppb.Timestamp)(nil),
221 }
222 var file_google_bigtable_admin_v2_common_proto_depIdxs = []int32{
223 2,
224 2,
225 2,
226 2,
227 2,
228 2,
229 0,
230 }
231
232 func init() { file_google_bigtable_admin_v2_common_proto_init() }
233 func file_google_bigtable_admin_v2_common_proto_init() {
234 if File_google_bigtable_admin_v2_common_proto != nil {
235 return
236 }
237 if !protoimpl.UnsafeEnabled {
238 file_google_bigtable_admin_v2_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
239 switch v := v.(*OperationProgress); i {
240 case 0:
241 return &v.state
242 case 1:
243 return &v.sizeCache
244 case 2:
245 return &v.unknownFields
246 default:
247 return nil
248 }
249 }
250 }
251 type x struct{}
252 out := protoimpl.TypeBuilder{
253 File: protoimpl.DescBuilder{
254 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
255 RawDescriptor: file_google_bigtable_admin_v2_common_proto_rawDesc,
256 NumEnums: 1,
257 NumMessages: 1,
258 NumExtensions: 0,
259 NumServices: 0,
260 },
261 GoTypes: file_google_bigtable_admin_v2_common_proto_goTypes,
262 DependencyIndexes: file_google_bigtable_admin_v2_common_proto_depIdxs,
263 EnumInfos: file_google_bigtable_admin_v2_common_proto_enumTypes,
264 MessageInfos: file_google_bigtable_admin_v2_common_proto_msgTypes,
265 }.Build()
266 File_google_bigtable_admin_v2_common_proto = out.File
267 file_google_bigtable_admin_v2_common_proto_rawDesc = nil
268 file_google_bigtable_admin_v2_common_proto_goTypes = nil
269 file_google_bigtable_admin_v2_common_proto_depIdxs = nil
270 }
271
View as plain text