1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package admin
23
24 import (
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41
42 type Index_QueryScope int32
43
44 const (
45
46 Index_QUERY_SCOPE_UNSPECIFIED Index_QueryScope = 0
47
48
49
50 Index_COLLECTION Index_QueryScope = 1
51
52
53
54 Index_COLLECTION_GROUP Index_QueryScope = 2
55 )
56
57
58 var (
59 Index_QueryScope_name = map[int32]string{
60 0: "QUERY_SCOPE_UNSPECIFIED",
61 1: "COLLECTION",
62 2: "COLLECTION_GROUP",
63 }
64 Index_QueryScope_value = map[string]int32{
65 "QUERY_SCOPE_UNSPECIFIED": 0,
66 "COLLECTION": 1,
67 "COLLECTION_GROUP": 2,
68 }
69 )
70
71 func (x Index_QueryScope) Enum() *Index_QueryScope {
72 p := new(Index_QueryScope)
73 *p = x
74 return p
75 }
76
77 func (x Index_QueryScope) String() string {
78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
79 }
80
81 func (Index_QueryScope) Descriptor() protoreflect.EnumDescriptor {
82 return file_google_firestore_admin_v1beta2_index_proto_enumTypes[0].Descriptor()
83 }
84
85 func (Index_QueryScope) Type() protoreflect.EnumType {
86 return &file_google_firestore_admin_v1beta2_index_proto_enumTypes[0]
87 }
88
89 func (x Index_QueryScope) Number() protoreflect.EnumNumber {
90 return protoreflect.EnumNumber(x)
91 }
92
93
94 func (Index_QueryScope) EnumDescriptor() ([]byte, []int) {
95 return file_google_firestore_admin_v1beta2_index_proto_rawDescGZIP(), []int{0, 0}
96 }
97
98
99
100
101
102 type Index_State int32
103
104 const (
105
106 Index_STATE_UNSPECIFIED Index_State = 0
107
108
109
110
111 Index_CREATING Index_State = 1
112
113
114
115 Index_READY Index_State = 2
116
117
118
119
120
121
122
123
124 Index_NEEDS_REPAIR Index_State = 3
125 )
126
127
128 var (
129 Index_State_name = map[int32]string{
130 0: "STATE_UNSPECIFIED",
131 1: "CREATING",
132 2: "READY",
133 3: "NEEDS_REPAIR",
134 }
135 Index_State_value = map[string]int32{
136 "STATE_UNSPECIFIED": 0,
137 "CREATING": 1,
138 "READY": 2,
139 "NEEDS_REPAIR": 3,
140 }
141 )
142
143 func (x Index_State) Enum() *Index_State {
144 p := new(Index_State)
145 *p = x
146 return p
147 }
148
149 func (x Index_State) String() string {
150 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
151 }
152
153 func (Index_State) Descriptor() protoreflect.EnumDescriptor {
154 return file_google_firestore_admin_v1beta2_index_proto_enumTypes[1].Descriptor()
155 }
156
157 func (Index_State) Type() protoreflect.EnumType {
158 return &file_google_firestore_admin_v1beta2_index_proto_enumTypes[1]
159 }
160
161 func (x Index_State) Number() protoreflect.EnumNumber {
162 return protoreflect.EnumNumber(x)
163 }
164
165
166 func (Index_State) EnumDescriptor() ([]byte, []int) {
167 return file_google_firestore_admin_v1beta2_index_proto_rawDescGZIP(), []int{0, 1}
168 }
169
170
171 type Index_IndexField_Order int32
172
173 const (
174
175 Index_IndexField_ORDER_UNSPECIFIED Index_IndexField_Order = 0
176
177 Index_IndexField_ASCENDING Index_IndexField_Order = 1
178
179 Index_IndexField_DESCENDING Index_IndexField_Order = 2
180 )
181
182
183 var (
184 Index_IndexField_Order_name = map[int32]string{
185 0: "ORDER_UNSPECIFIED",
186 1: "ASCENDING",
187 2: "DESCENDING",
188 }
189 Index_IndexField_Order_value = map[string]int32{
190 "ORDER_UNSPECIFIED": 0,
191 "ASCENDING": 1,
192 "DESCENDING": 2,
193 }
194 )
195
196 func (x Index_IndexField_Order) Enum() *Index_IndexField_Order {
197 p := new(Index_IndexField_Order)
198 *p = x
199 return p
200 }
201
202 func (x Index_IndexField_Order) String() string {
203 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
204 }
205
206 func (Index_IndexField_Order) Descriptor() protoreflect.EnumDescriptor {
207 return file_google_firestore_admin_v1beta2_index_proto_enumTypes[2].Descriptor()
208 }
209
210 func (Index_IndexField_Order) Type() protoreflect.EnumType {
211 return &file_google_firestore_admin_v1beta2_index_proto_enumTypes[2]
212 }
213
214 func (x Index_IndexField_Order) Number() protoreflect.EnumNumber {
215 return protoreflect.EnumNumber(x)
216 }
217
218
219 func (Index_IndexField_Order) EnumDescriptor() ([]byte, []int) {
220 return file_google_firestore_admin_v1beta2_index_proto_rawDescGZIP(), []int{0, 0, 0}
221 }
222
223
224 type Index_IndexField_ArrayConfig int32
225
226 const (
227
228 Index_IndexField_ARRAY_CONFIG_UNSPECIFIED Index_IndexField_ArrayConfig = 0
229
230 Index_IndexField_CONTAINS Index_IndexField_ArrayConfig = 1
231 )
232
233
234 var (
235 Index_IndexField_ArrayConfig_name = map[int32]string{
236 0: "ARRAY_CONFIG_UNSPECIFIED",
237 1: "CONTAINS",
238 }
239 Index_IndexField_ArrayConfig_value = map[string]int32{
240 "ARRAY_CONFIG_UNSPECIFIED": 0,
241 "CONTAINS": 1,
242 }
243 )
244
245 func (x Index_IndexField_ArrayConfig) Enum() *Index_IndexField_ArrayConfig {
246 p := new(Index_IndexField_ArrayConfig)
247 *p = x
248 return p
249 }
250
251 func (x Index_IndexField_ArrayConfig) String() string {
252 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
253 }
254
255 func (Index_IndexField_ArrayConfig) Descriptor() protoreflect.EnumDescriptor {
256 return file_google_firestore_admin_v1beta2_index_proto_enumTypes[3].Descriptor()
257 }
258
259 func (Index_IndexField_ArrayConfig) Type() protoreflect.EnumType {
260 return &file_google_firestore_admin_v1beta2_index_proto_enumTypes[3]
261 }
262
263 func (x Index_IndexField_ArrayConfig) Number() protoreflect.EnumNumber {
264 return protoreflect.EnumNumber(x)
265 }
266
267
268 func (Index_IndexField_ArrayConfig) EnumDescriptor() ([]byte, []int) {
269 return file_google_firestore_admin_v1beta2_index_proto_rawDescGZIP(), []int{0, 0, 1}
270 }
271
272
273
274 type Index struct {
275 state protoimpl.MessageState
276 sizeCache protoimpl.SizeCache
277 unknownFields protoimpl.UnknownFields
278
279
280
281
282
283 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
284
285
286
287
288
289
290
291 QueryScope Index_QueryScope `protobuf:"varint,2,opt,name=query_scope,json=queryScope,proto3,enum=google.firestore.admin.v1beta2.Index_QueryScope" json:"query_scope,omitempty"`
292
293
294
295
296
297
298
299
300
301
302
303 Fields []*Index_IndexField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
304
305 State Index_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.firestore.admin.v1beta2.Index_State" json:"state,omitempty"`
306 }
307
308 func (x *Index) Reset() {
309 *x = Index{}
310 if protoimpl.UnsafeEnabled {
311 mi := &file_google_firestore_admin_v1beta2_index_proto_msgTypes[0]
312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
313 ms.StoreMessageInfo(mi)
314 }
315 }
316
317 func (x *Index) String() string {
318 return protoimpl.X.MessageStringOf(x)
319 }
320
321 func (*Index) ProtoMessage() {}
322
323 func (x *Index) ProtoReflect() protoreflect.Message {
324 mi := &file_google_firestore_admin_v1beta2_index_proto_msgTypes[0]
325 if protoimpl.UnsafeEnabled && x != nil {
326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
327 if ms.LoadMessageInfo() == nil {
328 ms.StoreMessageInfo(mi)
329 }
330 return ms
331 }
332 return mi.MessageOf(x)
333 }
334
335
336 func (*Index) Descriptor() ([]byte, []int) {
337 return file_google_firestore_admin_v1beta2_index_proto_rawDescGZIP(), []int{0}
338 }
339
340 func (x *Index) GetName() string {
341 if x != nil {
342 return x.Name
343 }
344 return ""
345 }
346
347 func (x *Index) GetQueryScope() Index_QueryScope {
348 if x != nil {
349 return x.QueryScope
350 }
351 return Index_QUERY_SCOPE_UNSPECIFIED
352 }
353
354 func (x *Index) GetFields() []*Index_IndexField {
355 if x != nil {
356 return x.Fields
357 }
358 return nil
359 }
360
361 func (x *Index) GetState() Index_State {
362 if x != nil {
363 return x.State
364 }
365 return Index_STATE_UNSPECIFIED
366 }
367
368
369
370
371 type Index_IndexField struct {
372 state protoimpl.MessageState
373 sizeCache protoimpl.SizeCache
374 unknownFields protoimpl.UnknownFields
375
376
377
378
379 FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
380
381
382
383
384
385 ValueMode isIndex_IndexField_ValueMode `protobuf_oneof:"value_mode"`
386 }
387
388 func (x *Index_IndexField) Reset() {
389 *x = Index_IndexField{}
390 if protoimpl.UnsafeEnabled {
391 mi := &file_google_firestore_admin_v1beta2_index_proto_msgTypes[1]
392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
393 ms.StoreMessageInfo(mi)
394 }
395 }
396
397 func (x *Index_IndexField) String() string {
398 return protoimpl.X.MessageStringOf(x)
399 }
400
401 func (*Index_IndexField) ProtoMessage() {}
402
403 func (x *Index_IndexField) ProtoReflect() protoreflect.Message {
404 mi := &file_google_firestore_admin_v1beta2_index_proto_msgTypes[1]
405 if protoimpl.UnsafeEnabled && x != nil {
406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
407 if ms.LoadMessageInfo() == nil {
408 ms.StoreMessageInfo(mi)
409 }
410 return ms
411 }
412 return mi.MessageOf(x)
413 }
414
415
416 func (*Index_IndexField) Descriptor() ([]byte, []int) {
417 return file_google_firestore_admin_v1beta2_index_proto_rawDescGZIP(), []int{0, 0}
418 }
419
420 func (x *Index_IndexField) GetFieldPath() string {
421 if x != nil {
422 return x.FieldPath
423 }
424 return ""
425 }
426
427 func (m *Index_IndexField) GetValueMode() isIndex_IndexField_ValueMode {
428 if m != nil {
429 return m.ValueMode
430 }
431 return nil
432 }
433
434 func (x *Index_IndexField) GetOrder() Index_IndexField_Order {
435 if x, ok := x.GetValueMode().(*Index_IndexField_Order_); ok {
436 return x.Order
437 }
438 return Index_IndexField_ORDER_UNSPECIFIED
439 }
440
441 func (x *Index_IndexField) GetArrayConfig() Index_IndexField_ArrayConfig {
442 if x, ok := x.GetValueMode().(*Index_IndexField_ArrayConfig_); ok {
443 return x.ArrayConfig
444 }
445 return Index_IndexField_ARRAY_CONFIG_UNSPECIFIED
446 }
447
448 type isIndex_IndexField_ValueMode interface {
449 isIndex_IndexField_ValueMode()
450 }
451
452 type Index_IndexField_Order_ struct {
453
454
455 Order Index_IndexField_Order `protobuf:"varint,2,opt,name=order,proto3,enum=google.firestore.admin.v1beta2.Index_IndexField_Order,oneof"`
456 }
457
458 type Index_IndexField_ArrayConfig_ struct {
459
460 ArrayConfig Index_IndexField_ArrayConfig `protobuf:"varint,3,opt,name=array_config,json=arrayConfig,proto3,enum=google.firestore.admin.v1beta2.Index_IndexField_ArrayConfig,oneof"`
461 }
462
463 func (*Index_IndexField_Order_) isIndex_IndexField_ValueMode() {}
464
465 func (*Index_IndexField_ArrayConfig_) isIndex_IndexField_ValueMode() {}
466
467 var File_google_firestore_admin_v1beta2_index_proto protoreflect.FileDescriptor
468
469 var file_google_firestore_admin_v1beta2_index_proto_rawDesc = []byte{
470 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
471 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
472 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f,
473 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61,
474 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1c, 0x67, 0x6f,
475 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
476 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x06, 0x0a, 0x05, 0x49,
477 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
478 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0b, 0x71, 0x75, 0x65, 0x72,
479 0x79, 0x5f, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e,
480 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
481 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49,
482 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52,
483 0x0a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x48, 0x0a, 0x06, 0x66,
484 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f,
485 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61,
486 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x64,
487 0x65, 0x78, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66,
488 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04,
489 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
490 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31,
491 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x53, 0x74, 0x61, 0x74,
492 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0xe6, 0x02, 0x0a, 0x0a, 0x49, 0x6e, 0x64,
493 0x65, 0x78, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64,
494 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65,
495 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x4e, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18,
496 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
497 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
498 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x49, 0x6e, 0x64,
499 0x65, 0x78, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52,
500 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x61, 0x0a, 0x0c, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f,
501 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67,
502 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
503 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e,
504 0x64, 0x65, 0x78, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x41,
505 0x72, 0x72, 0x61, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x72,
506 0x72, 0x61, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x3d, 0x0a, 0x05, 0x4f, 0x72, 0x64,
507 0x65, 0x72, 0x12, 0x15, 0x0a, 0x11, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50,
508 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x43,
509 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x53, 0x43,
510 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x22, 0x39, 0x0a, 0x0b, 0x41, 0x72, 0x72, 0x61,
511 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x52, 0x52, 0x41, 0x59,
512 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
513 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e,
514 0x53, 0x10, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x6f, 0x64,
515 0x65, 0x22, 0x4f, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12,
516 0x1b, 0x0a, 0x17, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55,
517 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a,
518 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10,
519 0x43, 0x4f, 0x4c, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50,
520 0x10, 0x02, 0x22, 0x49, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53,
521 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
522 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01,
523 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4e,
524 0x45, 0x45, 0x44, 0x53, 0x5f, 0x52, 0x45, 0x50, 0x41, 0x49, 0x52, 0x10, 0x03, 0x42, 0xa5, 0x01,
525 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72,
526 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62,
527 0x65, 0x74, 0x61, 0x32, 0x42, 0x0a, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f,
528 0x50, 0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
529 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
530 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
531 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
532 0x32, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x46, 0x53, 0xaa, 0x02,
533 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69,
534 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x56, 0x31,
535 0x42, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
536 }
537
538 var (
539 file_google_firestore_admin_v1beta2_index_proto_rawDescOnce sync.Once
540 file_google_firestore_admin_v1beta2_index_proto_rawDescData = file_google_firestore_admin_v1beta2_index_proto_rawDesc
541 )
542
543 func file_google_firestore_admin_v1beta2_index_proto_rawDescGZIP() []byte {
544 file_google_firestore_admin_v1beta2_index_proto_rawDescOnce.Do(func() {
545 file_google_firestore_admin_v1beta2_index_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_admin_v1beta2_index_proto_rawDescData)
546 })
547 return file_google_firestore_admin_v1beta2_index_proto_rawDescData
548 }
549
550 var file_google_firestore_admin_v1beta2_index_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
551 var file_google_firestore_admin_v1beta2_index_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
552 var file_google_firestore_admin_v1beta2_index_proto_goTypes = []interface{}{
553 (Index_QueryScope)(0),
554 (Index_State)(0),
555 (Index_IndexField_Order)(0),
556 (Index_IndexField_ArrayConfig)(0),
557 (*Index)(nil),
558 (*Index_IndexField)(nil),
559 }
560 var file_google_firestore_admin_v1beta2_index_proto_depIdxs = []int32{
561 0,
562 5,
563 1,
564 2,
565 3,
566 5,
567 5,
568 5,
569 5,
570 0,
571 }
572
573 func init() { file_google_firestore_admin_v1beta2_index_proto_init() }
574 func file_google_firestore_admin_v1beta2_index_proto_init() {
575 if File_google_firestore_admin_v1beta2_index_proto != nil {
576 return
577 }
578 if !protoimpl.UnsafeEnabled {
579 file_google_firestore_admin_v1beta2_index_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
580 switch v := v.(*Index); i {
581 case 0:
582 return &v.state
583 case 1:
584 return &v.sizeCache
585 case 2:
586 return &v.unknownFields
587 default:
588 return nil
589 }
590 }
591 file_google_firestore_admin_v1beta2_index_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
592 switch v := v.(*Index_IndexField); i {
593 case 0:
594 return &v.state
595 case 1:
596 return &v.sizeCache
597 case 2:
598 return &v.unknownFields
599 default:
600 return nil
601 }
602 }
603 }
604 file_google_firestore_admin_v1beta2_index_proto_msgTypes[1].OneofWrappers = []interface{}{
605 (*Index_IndexField_Order_)(nil),
606 (*Index_IndexField_ArrayConfig_)(nil),
607 }
608 type x struct{}
609 out := protoimpl.TypeBuilder{
610 File: protoimpl.DescBuilder{
611 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
612 RawDescriptor: file_google_firestore_admin_v1beta2_index_proto_rawDesc,
613 NumEnums: 4,
614 NumMessages: 2,
615 NumExtensions: 0,
616 NumServices: 0,
617 },
618 GoTypes: file_google_firestore_admin_v1beta2_index_proto_goTypes,
619 DependencyIndexes: file_google_firestore_admin_v1beta2_index_proto_depIdxs,
620 EnumInfos: file_google_firestore_admin_v1beta2_index_proto_enumTypes,
621 MessageInfos: file_google_firestore_admin_v1beta2_index_proto_msgTypes,
622 }.Build()
623 File_google_firestore_admin_v1beta2_index_proto = out.File
624 file_google_firestore_admin_v1beta2_index_proto_rawDesc = nil
625 file_google_firestore_admin_v1beta2_index_proto_goTypes = nil
626 file_google_firestore_admin_v1beta2_index_proto_depIdxs = nil
627 }
628
View as plain text