Debian Codegraph @

googleapis/firestore/admin/v1beta2/firestore_admin.pb.go

raw
1 // Copyright 2019 Google LLC.
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
16 // Code generated by protoc-gen-go. DO NOT EDIT.
17 // versions:
18 // protoc-gen-go v1.26.0
19 // protoc v3.12.2
20 // source: google/firestore/admin/v1beta2/firestore_admin.proto
21
22 package admin
23
24 import (
25 context "context"
26 reflect "reflect"
27 sync "sync"
28
29 _ "google.golang.org/genproto/googleapis/api/annotations"
30 longrunning "google.golang.org/genproto/googleapis/longrunning"
31 grpc "google.golang.org/grpc"
32 codes "google.golang.org/grpc/codes"
33 status "google.golang.org/grpc/status"
34 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
35 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
36 emptypb "google.golang.org/protobuf/types/known/emptypb"
37 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
38 )
39
40 const (
41 // Verify that this generated code is sufficiently up-to-date.
42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
43 // Verify that runtime/protoimpl is sufficiently up-to-date.
44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
45 )
46
47 // The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta2.FirestoreAdmin.CreateIndex].
48 type CreateIndexRequest struct {
49 state protoimpl.MessageState
50 sizeCache protoimpl.SizeCache
51 unknownFields protoimpl.UnknownFields
52
53 // A parent name of the form
54 // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
55 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
56 // The composite index to create.
57 Index *Index `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
58 }
59
60 func (x *CreateIndexRequest) Reset() {
61 *x = CreateIndexRequest{}
62 if protoimpl.UnsafeEnabled {
63 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[0]
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 ms.StoreMessageInfo(mi)
66 }
67 }
68
69 func (x *CreateIndexRequest) String() string {
70 return protoimpl.X.MessageStringOf(x)
71 }
72
73 func (*CreateIndexRequest) ProtoMessage() {}
74
75 func (x *CreateIndexRequest) ProtoReflect() protoreflect.Message {
76 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[0]
77 if protoimpl.UnsafeEnabled && x != nil {
78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79 if ms.LoadMessageInfo() == nil {
80 ms.StoreMessageInfo(mi)
81 }
82 return ms
83 }
84 return mi.MessageOf(x)
85 }
86
87 // Deprecated: Use CreateIndexRequest.ProtoReflect.Descriptor instead.
88 func (*CreateIndexRequest) Descriptor() ([]byte, []int) {
89 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{0}
90 }
91
92 func (x *CreateIndexRequest) GetParent() string {
93 if x != nil {
94 return x.Parent
95 }
96 return ""
97 }
98
99 func (x *CreateIndexRequest) GetIndex() *Index {
100 if x != nil {
101 return x.Index
102 }
103 return nil
104 }
105
106 // The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes].
107 type ListIndexesRequest struct {
108 state protoimpl.MessageState
109 sizeCache protoimpl.SizeCache
110 unknownFields protoimpl.UnknownFields
111
112 // A parent name of the form
113 // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
114 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
115 // The filter to apply to list results.
116 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
117 // The number of results to return.
118 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
119 // A page token, returned from a previous call to
120 // [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes], that may be used to get the next
121 // page of results.
122 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
123 }
124
125 func (x *ListIndexesRequest) Reset() {
126 *x = ListIndexesRequest{}
127 if protoimpl.UnsafeEnabled {
128 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[1]
129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
130 ms.StoreMessageInfo(mi)
131 }
132 }
133
134 func (x *ListIndexesRequest) String() string {
135 return protoimpl.X.MessageStringOf(x)
136 }
137
138 func (*ListIndexesRequest) ProtoMessage() {}
139
140 func (x *ListIndexesRequest) ProtoReflect() protoreflect.Message {
141 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[1]
142 if protoimpl.UnsafeEnabled && x != nil {
143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
144 if ms.LoadMessageInfo() == nil {
145 ms.StoreMessageInfo(mi)
146 }
147 return ms
148 }
149 return mi.MessageOf(x)
150 }
151
152 // Deprecated: Use ListIndexesRequest.ProtoReflect.Descriptor instead.
153 func (*ListIndexesRequest) Descriptor() ([]byte, []int) {
154 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{1}
155 }
156
157 func (x *ListIndexesRequest) GetParent() string {
158 if x != nil {
159 return x.Parent
160 }
161 return ""
162 }
163
164 func (x *ListIndexesRequest) GetFilter() string {
165 if x != nil {
166 return x.Filter
167 }
168 return ""
169 }
170
171 func (x *ListIndexesRequest) GetPageSize() int32 {
172 if x != nil {
173 return x.PageSize
174 }
175 return 0
176 }
177
178 func (x *ListIndexesRequest) GetPageToken() string {
179 if x != nil {
180 return x.PageToken
181 }
182 return ""
183 }
184
185 // The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes].
186 type ListIndexesResponse struct {
187 state protoimpl.MessageState
188 sizeCache protoimpl.SizeCache
189 unknownFields protoimpl.UnknownFields
190
191 // The requested indexes.
192 Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"`
193 // A page token that may be used to request another page of results. If blank,
194 // this is the last page.
195 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
196 }
197
198 func (x *ListIndexesResponse) Reset() {
199 *x = ListIndexesResponse{}
200 if protoimpl.UnsafeEnabled {
201 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[2]
202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
203 ms.StoreMessageInfo(mi)
204 }
205 }
206
207 func (x *ListIndexesResponse) String() string {
208 return protoimpl.X.MessageStringOf(x)
209 }
210
211 func (*ListIndexesResponse) ProtoMessage() {}
212
213 func (x *ListIndexesResponse) ProtoReflect() protoreflect.Message {
214 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[2]
215 if protoimpl.UnsafeEnabled && x != nil {
216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217 if ms.LoadMessageInfo() == nil {
218 ms.StoreMessageInfo(mi)
219 }
220 return ms
221 }
222 return mi.MessageOf(x)
223 }
224
225 // Deprecated: Use ListIndexesResponse.ProtoReflect.Descriptor instead.
226 func (*ListIndexesResponse) Descriptor() ([]byte, []int) {
227 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{2}
228 }
229
230 func (x *ListIndexesResponse) GetIndexes() []*Index {
231 if x != nil {
232 return x.Indexes
233 }
234 return nil
235 }
236
237 func (x *ListIndexesResponse) GetNextPageToken() string {
238 if x != nil {
239 return x.NextPageToken
240 }
241 return ""
242 }
243
244 // The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1beta2.FirestoreAdmin.GetIndex].
245 type GetIndexRequest struct {
246 state protoimpl.MessageState
247 sizeCache protoimpl.SizeCache
248 unknownFields protoimpl.UnknownFields
249
250 // A name of the form
251 // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
252 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
253 }
254
255 func (x *GetIndexRequest) Reset() {
256 *x = GetIndexRequest{}
257 if protoimpl.UnsafeEnabled {
258 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[3]
259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260 ms.StoreMessageInfo(mi)
261 }
262 }
263
264 func (x *GetIndexRequest) String() string {
265 return protoimpl.X.MessageStringOf(x)
266 }
267
268 func (*GetIndexRequest) ProtoMessage() {}
269
270 func (x *GetIndexRequest) ProtoReflect() protoreflect.Message {
271 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[3]
272 if protoimpl.UnsafeEnabled && x != nil {
273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
274 if ms.LoadMessageInfo() == nil {
275 ms.StoreMessageInfo(mi)
276 }
277 return ms
278 }
279 return mi.MessageOf(x)
280 }
281
282 // Deprecated: Use GetIndexRequest.ProtoReflect.Descriptor instead.
283 func (*GetIndexRequest) Descriptor() ([]byte, []int) {
284 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{3}
285 }
286
287 func (x *GetIndexRequest) GetName() string {
288 if x != nil {
289 return x.Name
290 }
291 return ""
292 }
293
294 // The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1beta2.FirestoreAdmin.DeleteIndex].
295 type DeleteIndexRequest struct {
296 state protoimpl.MessageState
297 sizeCache protoimpl.SizeCache
298 unknownFields protoimpl.UnknownFields
299
300 // A name of the form
301 // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
302 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
303 }
304
305 func (x *DeleteIndexRequest) Reset() {
306 *x = DeleteIndexRequest{}
307 if protoimpl.UnsafeEnabled {
308 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[4]
309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310 ms.StoreMessageInfo(mi)
311 }
312 }
313
314 func (x *DeleteIndexRequest) String() string {
315 return protoimpl.X.MessageStringOf(x)
316 }
317
318 func (*DeleteIndexRequest) ProtoMessage() {}
319
320 func (x *DeleteIndexRequest) ProtoReflect() protoreflect.Message {
321 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[4]
322 if protoimpl.UnsafeEnabled && x != nil {
323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
324 if ms.LoadMessageInfo() == nil {
325 ms.StoreMessageInfo(mi)
326 }
327 return ms
328 }
329 return mi.MessageOf(x)
330 }
331
332 // Deprecated: Use DeleteIndexRequest.ProtoReflect.Descriptor instead.
333 func (*DeleteIndexRequest) Descriptor() ([]byte, []int) {
334 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{4}
335 }
336
337 func (x *DeleteIndexRequest) GetName() string {
338 if x != nil {
339 return x.Name
340 }
341 return ""
342 }
343
344 // The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField].
345 type UpdateFieldRequest struct {
346 state protoimpl.MessageState
347 sizeCache protoimpl.SizeCache
348 unknownFields protoimpl.UnknownFields
349
350 // The field to be updated.
351 Field *Field `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
352 // A mask, relative to the field. If specified, only configuration specified
353 // by this field_mask will be updated in the field.
354 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
355 }
356
357 func (x *UpdateFieldRequest) Reset() {
358 *x = UpdateFieldRequest{}
359 if protoimpl.UnsafeEnabled {
360 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[5]
361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362 ms.StoreMessageInfo(mi)
363 }
364 }
365
366 func (x *UpdateFieldRequest) String() string {
367 return protoimpl.X.MessageStringOf(x)
368 }
369
370 func (*UpdateFieldRequest) ProtoMessage() {}
371
372 func (x *UpdateFieldRequest) ProtoReflect() protoreflect.Message {
373 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[5]
374 if protoimpl.UnsafeEnabled && x != nil {
375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
376 if ms.LoadMessageInfo() == nil {
377 ms.StoreMessageInfo(mi)
378 }
379 return ms
380 }
381 return mi.MessageOf(x)
382 }
383
384 // Deprecated: Use UpdateFieldRequest.ProtoReflect.Descriptor instead.
385 func (*UpdateFieldRequest) Descriptor() ([]byte, []int) {
386 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{5}
387 }
388
389 func (x *UpdateFieldRequest) GetField() *Field {
390 if x != nil {
391 return x.Field
392 }
393 return nil
394 }
395
396 func (x *UpdateFieldRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
397 if x != nil {
398 return x.UpdateMask
399 }
400 return nil
401 }
402
403 // The request for [FirestoreAdmin.GetField][google.firestore.admin.v1beta2.FirestoreAdmin.GetField].
404 type GetFieldRequest struct {
405 state protoimpl.MessageState
406 sizeCache protoimpl.SizeCache
407 unknownFields protoimpl.UnknownFields
408
409 // A name of the form
410 // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
411 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
412 }
413
414 func (x *GetFieldRequest) Reset() {
415 *x = GetFieldRequest{}
416 if protoimpl.UnsafeEnabled {
417 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[6]
418 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
419 ms.StoreMessageInfo(mi)
420 }
421 }
422
423 func (x *GetFieldRequest) String() string {
424 return protoimpl.X.MessageStringOf(x)
425 }
426
427 func (*GetFieldRequest) ProtoMessage() {}
428
429 func (x *GetFieldRequest) ProtoReflect() protoreflect.Message {
430 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[6]
431 if protoimpl.UnsafeEnabled && x != nil {
432 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
433 if ms.LoadMessageInfo() == nil {
434 ms.StoreMessageInfo(mi)
435 }
436 return ms
437 }
438 return mi.MessageOf(x)
439 }
440
441 // Deprecated: Use GetFieldRequest.ProtoReflect.Descriptor instead.
442 func (*GetFieldRequest) Descriptor() ([]byte, []int) {
443 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{6}
444 }
445
446 func (x *GetFieldRequest) GetName() string {
447 if x != nil {
448 return x.Name
449 }
450 return ""
451 }
452
453 // The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields].
454 type ListFieldsRequest struct {
455 state protoimpl.MessageState
456 sizeCache protoimpl.SizeCache
457 unknownFields protoimpl.UnknownFields
458
459 // A parent name of the form
460 // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
461 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
462 // The filter to apply to list results. Currently,
463 // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields
464 // that have been explicitly overridden. To issue this query, call
465 // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to
466 // `indexConfig.usesAncestorConfig:false`.
467 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
468 // The number of results to return.
469 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
470 // A page token, returned from a previous call to
471 // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields], that may be used to get the next
472 // page of results.
473 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
474 }
475
476 func (x *ListFieldsRequest) Reset() {
477 *x = ListFieldsRequest{}
478 if protoimpl.UnsafeEnabled {
479 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[7]
480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
481 ms.StoreMessageInfo(mi)
482 }
483 }
484
485 func (x *ListFieldsRequest) String() string {
486 return protoimpl.X.MessageStringOf(x)
487 }
488
489 func (*ListFieldsRequest) ProtoMessage() {}
490
491 func (x *ListFieldsRequest) ProtoReflect() protoreflect.Message {
492 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[7]
493 if protoimpl.UnsafeEnabled && x != nil {
494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
495 if ms.LoadMessageInfo() == nil {
496 ms.StoreMessageInfo(mi)
497 }
498 return ms
499 }
500 return mi.MessageOf(x)
501 }
502
503 // Deprecated: Use ListFieldsRequest.ProtoReflect.Descriptor instead.
504 func (*ListFieldsRequest) Descriptor() ([]byte, []int) {
505 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{7}
506 }
507
508 func (x *ListFieldsRequest) GetParent() string {
509 if x != nil {
510 return x.Parent
511 }
512 return ""
513 }
514
515 func (x *ListFieldsRequest) GetFilter() string {
516 if x != nil {
517 return x.Filter
518 }
519 return ""
520 }
521
522 func (x *ListFieldsRequest) GetPageSize() int32 {
523 if x != nil {
524 return x.PageSize
525 }
526 return 0
527 }
528
529 func (x *ListFieldsRequest) GetPageToken() string {
530 if x != nil {
531 return x.PageToken
532 }
533 return ""
534 }
535
536 // The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields].
537 type ListFieldsResponse struct {
538 state protoimpl.MessageState
539 sizeCache protoimpl.SizeCache
540 unknownFields protoimpl.UnknownFields
541
542 // The requested fields.
543 Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
544 // A page token that may be used to request another page of results. If blank,
545 // this is the last page.
546 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
547 }
548
549 func (x *ListFieldsResponse) Reset() {
550 *x = ListFieldsResponse{}
551 if protoimpl.UnsafeEnabled {
552 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[8]
553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
554 ms.StoreMessageInfo(mi)
555 }
556 }
557
558 func (x *ListFieldsResponse) String() string {
559 return protoimpl.X.MessageStringOf(x)
560 }
561
562 func (*ListFieldsResponse) ProtoMessage() {}
563
564 func (x *ListFieldsResponse) ProtoReflect() protoreflect.Message {
565 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[8]
566 if protoimpl.UnsafeEnabled && x != nil {
567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
568 if ms.LoadMessageInfo() == nil {
569 ms.StoreMessageInfo(mi)
570 }
571 return ms
572 }
573 return mi.MessageOf(x)
574 }
575
576 // Deprecated: Use ListFieldsResponse.ProtoReflect.Descriptor instead.
577 func (*ListFieldsResponse) Descriptor() ([]byte, []int) {
578 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{8}
579 }
580
581 func (x *ListFieldsResponse) GetFields() []*Field {
582 if x != nil {
583 return x.Fields
584 }
585 return nil
586 }
587
588 func (x *ListFieldsResponse) GetNextPageToken() string {
589 if x != nil {
590 return x.NextPageToken
591 }
592 return ""
593 }
594
595 // The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta2.FirestoreAdmin.ExportDocuments].
596 type ExportDocumentsRequest struct {
597 state protoimpl.MessageState
598 sizeCache protoimpl.SizeCache
599 unknownFields protoimpl.UnknownFields
600
601 // Database to export. Should be of the form:
602 // `projects/{project_id}/databases/{database_id}`.
603 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
604 // Which collection ids to export. Unspecified means all collections.
605 CollectionIds []string `protobuf:"bytes,2,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
606 // The output URI. Currently only supports Google Cloud Storage URIs of the
607 // form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
608 // of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional
609 // Google Cloud Storage namespace path. When
610 // choosing a name, be sure to consider Google Cloud Storage naming
611 // guidelines: https://cloud.google.com/storage/docs/naming.
612 // If the URI is a bucket (without a namespace path), a prefix will be
613 // generated based on the start time.
614 OutputUriPrefix string `protobuf:"bytes,3,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"`
615 }
616
617 func (x *ExportDocumentsRequest) Reset() {
618 *x = ExportDocumentsRequest{}
619 if protoimpl.UnsafeEnabled {
620 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[9]
621 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
622 ms.StoreMessageInfo(mi)
623 }
624 }
625
626 func (x *ExportDocumentsRequest) String() string {
627 return protoimpl.X.MessageStringOf(x)
628 }
629
630 func (*ExportDocumentsRequest) ProtoMessage() {}
631
632 func (x *ExportDocumentsRequest) ProtoReflect() protoreflect.Message {
633 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[9]
634 if protoimpl.UnsafeEnabled && x != nil {
635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
636 if ms.LoadMessageInfo() == nil {
637 ms.StoreMessageInfo(mi)
638 }
639 return ms
640 }
641 return mi.MessageOf(x)
642 }
643
644 // Deprecated: Use ExportDocumentsRequest.ProtoReflect.Descriptor instead.
645 func (*ExportDocumentsRequest) Descriptor() ([]byte, []int) {
646 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{9}
647 }
648
649 func (x *ExportDocumentsRequest) GetName() string {
650 if x != nil {
651 return x.Name
652 }
653 return ""
654 }
655
656 func (x *ExportDocumentsRequest) GetCollectionIds() []string {
657 if x != nil {
658 return x.CollectionIds
659 }
660 return nil
661 }
662
663 func (x *ExportDocumentsRequest) GetOutputUriPrefix() string {
664 if x != nil {
665 return x.OutputUriPrefix
666 }
667 return ""
668 }
669
670 // The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1beta2.FirestoreAdmin.ImportDocuments].
671 type ImportDocumentsRequest struct {
672 state protoimpl.MessageState
673 sizeCache protoimpl.SizeCache
674 unknownFields protoimpl.UnknownFields
675
676 // Database to import into. Should be of the form:
677 // `projects/{project_id}/databases/{database_id}`.
678 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
679 // Which collection ids to import. Unspecified means all collections included
680 // in the import.
681 CollectionIds []string `protobuf:"bytes,2,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
682 // Location of the exported files.
683 // This must match the output_uri_prefix of an ExportDocumentsResponse from
684 // an export that has completed successfully.
685 // See:
686 // [google.firestore.admin.v1beta2.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1beta2.ExportDocumentsResponse.output_uri_prefix].
687 InputUriPrefix string `protobuf:"bytes,3,opt,name=input_uri_prefix,json=inputUriPrefix,proto3" json:"input_uri_prefix,omitempty"`
688 }
689
690 func (x *ImportDocumentsRequest) Reset() {
691 *x = ImportDocumentsRequest{}
692 if protoimpl.UnsafeEnabled {
693 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[10]
694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
695 ms.StoreMessageInfo(mi)
696 }
697 }
698
699 func (x *ImportDocumentsRequest) String() string {
700 return protoimpl.X.MessageStringOf(x)
701 }
702
703 func (*ImportDocumentsRequest) ProtoMessage() {}
704
705 func (x *ImportDocumentsRequest) ProtoReflect() protoreflect.Message {
706 mi := &file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[10]
707 if protoimpl.UnsafeEnabled && x != nil {
708 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
709 if ms.LoadMessageInfo() == nil {
710 ms.StoreMessageInfo(mi)
711 }
712 return ms
713 }
714 return mi.MessageOf(x)
715 }
716
717 // Deprecated: Use ImportDocumentsRequest.ProtoReflect.Descriptor instead.
718 func (*ImportDocumentsRequest) Descriptor() ([]byte, []int) {
719 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP(), []int{10}
720 }
721
722 func (x *ImportDocumentsRequest) GetName() string {
723 if x != nil {
724 return x.Name
725 }
726 return ""
727 }
728
729 func (x *ImportDocumentsRequest) GetCollectionIds() []string {
730 if x != nil {
731 return x.CollectionIds
732 }
733 return nil
734 }
735
736 func (x *ImportDocumentsRequest) GetInputUriPrefix() string {
737 if x != nil {
738 return x.InputUriPrefix
739 }
740 return ""
741 }
742
743 var File_google_firestore_admin_v1beta2_firestore_admin_proto protoreflect.FileDescriptor
744
745 var file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDesc = []byte{
746 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
747 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
748 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e,
749 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
750 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
751 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
752 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
753 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72,
754 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62,
755 0x65, 0x74, 0x61, 0x32, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
756 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
757 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
758 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f,
759 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
760 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
761 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
762 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
763 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
764 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
765 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69,
766 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x69, 0x0a, 0x12, 0x43, 0x72, 0x65,
767 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
768 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
769 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78,
770 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
771 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
772 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69,
773 0x6e, 0x64, 0x65, 0x78, 0x22, 0x80, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64,
774 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70,
775 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72,
776 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20,
777 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70,
778 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
779 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65,
780 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61,
781 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7e, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x49,
782 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f,
783 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
784 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
785 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
786 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12,
787 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
788 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61,
789 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x25, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6e,
790 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
791 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x28,
792 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71,
793 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
794 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64,
795 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
796 0x3b, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
797 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
798 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
799 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x3b, 0x0a, 0x0b,
800 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,
801 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
802 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,
803 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x25, 0x0a, 0x0f, 0x47, 0x65, 0x74,
804 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
805 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
806 0x22, 0x7f, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65,
807 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,
808 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a,
809 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66,
810 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69,
811 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69,
812 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
813 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
814 0x6e, 0x22, 0x7b, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x52,
815 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64,
816 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
817 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e,
818 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06,
819 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70,
820 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
821 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7f,
822 0x0a, 0x16, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
823 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
824 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e,
825 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02,
826 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
827 0x49, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72,
828 0x69, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
829 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22,
830 0x7d, 0x0a, 0x16, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
831 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
832 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
833 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18,
834 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
835 0x6e, 0x49, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72,
836 0x69, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
837 0x69, 0x6e, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x32, 0xeb,
838 0x0d, 0x0a, 0x0e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x64, 0x6d, 0x69,
839 0x6e, 0x12, 0xb4, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65,
840 0x78, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
841 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
842 0x61, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65,
843 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c,
844 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61,
845 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x52, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x22, 0x43, 0x2f, 0x76,
846 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
847 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
848 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
849 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65,
850 0x73, 0x3a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0xc3, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73,
851 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
852 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69,
853 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e,
854 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67,
855 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
856 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69,
857 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
858 0x65, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x12, 0x43, 0x2f, 0x76, 0x31, 0x62, 0x65,
859 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
860 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,
861 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f,
862 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0xaf,
863 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2f, 0x2e, 0x67, 0x6f,
864 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61,
865 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74,
866 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67,
867 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
868 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6e,
869 0x64, 0x65, 0x78, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x12, 0x43, 0x2f, 0x76, 0x31,
870 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
871 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,
872 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f,
873 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x2f, 0x2a, 0x7d,
874 0x12, 0xa6, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78,
875 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
876 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
877 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71,
878 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
879 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x4b, 0x82, 0xd3,
880 0xe4, 0x93, 0x02, 0x45, 0x2a, 0x43, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b,
881 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
882 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6c, 0x6c,
883 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x2f, 0x69,
884 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xae, 0x01, 0x0a, 0x08, 0x47, 0x65,
885 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
886 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
887 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64,
888 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
889 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e,
890 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x4a,
891 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x12, 0x42, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
892 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
893 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f,
894 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a,
895 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb9, 0x01, 0x0a, 0x0b, 0x55,
896 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f,
897 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64,
898 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61,
899 0x74, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d,
900 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e,
901 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x57, 0x82,
902 0xd3, 0xe4, 0x93, 0x02, 0x51, 0x32, 0x48, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f,
903 0x7b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
904 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,
905 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f,
906 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
907 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0xbf, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x46,
908 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
909 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
910 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64,
911 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
912 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69,
913 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69,
914 0x65, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x82, 0xd3,
915 0xe4, 0x93, 0x02, 0x44, 0x12, 0x42, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b,
916 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
917 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f,
918 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a,
919 0x7d, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x70,
920 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x67,
921 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
922 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x45, 0x78,
923 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71,
924 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f,
925 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
926 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x36, 0x2f, 0x76, 0x31,
927 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
928 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,
929 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65,
930 0x6e, 0x74, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x49, 0x6d, 0x70, 0x6f, 0x72,
931 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f,
932 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64,
933 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6d, 0x70, 0x6f,
934 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
935 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67,
936 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
937 0x6e, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x62, 0x65,
938 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
939 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a,
940 0x7d, 0x3a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
941 0x73, 0x3a, 0x01, 0x2a, 0x1a, 0x76, 0xca, 0x41, 0x18, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
942 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
943 0x6d, 0xd2, 0x41, 0x58, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
944 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
945 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
946 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
947 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
948 0x74, 0x68, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0xae, 0x01, 0x0a,
949 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
950 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65,
951 0x74, 0x61, 0x32, 0x42, 0x13, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x64,
952 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67,
953 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
954 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
955 0x73, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69,
956 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2,
957 0x02, 0x04, 0x47, 0x43, 0x46, 0x53, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
958 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
959 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70,
960 0x72, 0x6f, 0x74, 0x6f, 0x33,
961 }
962
963 var (
964 file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescOnce sync.Once
965 file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescData = file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDesc
966 )
967
968 func file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescGZIP() []byte {
969 file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescOnce.Do(func() {
970 file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescData)
971 })
972 return file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDescData
973 }
974
975 var file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
976 var file_google_firestore_admin_v1beta2_firestore_admin_proto_goTypes = []interface{}{
977 (*CreateIndexRequest)(nil), // 0: google.firestore.admin.v1beta2.CreateIndexRequest
978 (*ListIndexesRequest)(nil), // 1: google.firestore.admin.v1beta2.ListIndexesRequest
979 (*ListIndexesResponse)(nil), // 2: google.firestore.admin.v1beta2.ListIndexesResponse
980 (*GetIndexRequest)(nil), // 3: google.firestore.admin.v1beta2.GetIndexRequest
981 (*DeleteIndexRequest)(nil), // 4: google.firestore.admin.v1beta2.DeleteIndexRequest
982 (*UpdateFieldRequest)(nil), // 5: google.firestore.admin.v1beta2.UpdateFieldRequest
983 (*GetFieldRequest)(nil), // 6: google.firestore.admin.v1beta2.GetFieldRequest
984 (*ListFieldsRequest)(nil), // 7: google.firestore.admin.v1beta2.ListFieldsRequest
985 (*ListFieldsResponse)(nil), // 8: google.firestore.admin.v1beta2.ListFieldsResponse
986 (*ExportDocumentsRequest)(nil), // 9: google.firestore.admin.v1beta2.ExportDocumentsRequest
987 (*ImportDocumentsRequest)(nil), // 10: google.firestore.admin.v1beta2.ImportDocumentsRequest
988 (*Index)(nil), // 11: google.firestore.admin.v1beta2.Index
989 (*Field)(nil), // 12: google.firestore.admin.v1beta2.Field
990 (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask
991 (*longrunning.Operation)(nil), // 14: google.longrunning.Operation
992 (*emptypb.Empty)(nil), // 15: google.protobuf.Empty
993 }
994 var file_google_firestore_admin_v1beta2_firestore_admin_proto_depIdxs = []int32{
995 11, // 0: google.firestore.admin.v1beta2.CreateIndexRequest.index:type_name -> google.firestore.admin.v1beta2.Index
996 11, // 1: google.firestore.admin.v1beta2.ListIndexesResponse.indexes:type_name -> google.firestore.admin.v1beta2.Index
997 12, // 2: google.firestore.admin.v1beta2.UpdateFieldRequest.field:type_name -> google.firestore.admin.v1beta2.Field
998 13, // 3: google.firestore.admin.v1beta2.UpdateFieldRequest.update_mask:type_name -> google.protobuf.FieldMask
999 12, // 4: google.firestore.admin.v1beta2.ListFieldsResponse.fields:type_name -> google.firestore.admin.v1beta2.Field
1000 0, // 5: google.firestore.admin.v1beta2.FirestoreAdmin.CreateIndex:input_type -> google.firestore.admin.v1beta2.CreateIndexRequest
1001 1, // 6: google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes:input_type -> google.firestore.admin.v1beta2.ListIndexesRequest
1002 3, // 7: google.firestore.admin.v1beta2.FirestoreAdmin.GetIndex:input_type -> google.firestore.admin.v1beta2.GetIndexRequest
1003 4, // 8: google.firestore.admin.v1beta2.FirestoreAdmin.DeleteIndex:input_type -> google.firestore.admin.v1beta2.DeleteIndexRequest
1004 6, // 9: google.firestore.admin.v1beta2.FirestoreAdmin.GetField:input_type -> google.firestore.admin.v1beta2.GetFieldRequest
1005 5, // 10: google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField:input_type -> google.firestore.admin.v1beta2.UpdateFieldRequest
1006 7, // 11: google.firestore.admin.v1beta2.FirestoreAdmin.ListFields:input_type -> google.firestore.admin.v1beta2.ListFieldsRequest
1007 9, // 12: google.firestore.admin.v1beta2.FirestoreAdmin.ExportDocuments:input_type -> google.firestore.admin.v1beta2.ExportDocumentsRequest
1008 10, // 13: google.firestore.admin.v1beta2.FirestoreAdmin.ImportDocuments:input_type -> google.firestore.admin.v1beta2.ImportDocumentsRequest
1009 14, // 14: google.firestore.admin.v1beta2.FirestoreAdmin.CreateIndex:output_type -> google.longrunning.Operation
1010 2, // 15: google.firestore.admin.v1beta2.FirestoreAdmin.ListIndexes:output_type -> google.firestore.admin.v1beta2.ListIndexesResponse
1011 11, // 16: google.firestore.admin.v1beta2.FirestoreAdmin.GetIndex:output_type -> google.firestore.admin.v1beta2.Index
1012 15, // 17: google.firestore.admin.v1beta2.FirestoreAdmin.DeleteIndex:output_type -> google.protobuf.Empty
1013 12, // 18: google.firestore.admin.v1beta2.FirestoreAdmin.GetField:output_type -> google.firestore.admin.v1beta2.Field
1014 14, // 19: google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField:output_type -> google.longrunning.Operation
1015 8, // 20: google.firestore.admin.v1beta2.FirestoreAdmin.ListFields:output_type -> google.firestore.admin.v1beta2.ListFieldsResponse
1016 14, // 21: google.firestore.admin.v1beta2.FirestoreAdmin.ExportDocuments:output_type -> google.longrunning.Operation
1017 14, // 22: google.firestore.admin.v1beta2.FirestoreAdmin.ImportDocuments:output_type -> google.longrunning.Operation
1018 14, // [14:23] is the sub-list for method output_type
1019 5, // [5:14] is the sub-list for method input_type
1020 5, // [5:5] is the sub-list for extension type_name
1021 5, // [5:5] is the sub-list for extension extendee
1022 0, // [0:5] is the sub-list for field type_name
1023 }
1024
1025 func init() { file_google_firestore_admin_v1beta2_firestore_admin_proto_init() }
1026 func file_google_firestore_admin_v1beta2_firestore_admin_proto_init() {
1027 if File_google_firestore_admin_v1beta2_firestore_admin_proto != nil {
1028 return
1029 }
1030 file_google_firestore_admin_v1beta2_field_proto_init()
1031 file_google_firestore_admin_v1beta2_index_proto_init()
1032 if !protoimpl.UnsafeEnabled {
1033 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1034 switch v := v.(*CreateIndexRequest); i {
1035 case 0:
1036 return &v.state
1037 case 1:
1038 return &v.sizeCache
1039 case 2:
1040 return &v.unknownFields
1041 default:
1042 return nil
1043 }
1044 }
1045 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1046 switch v := v.(*ListIndexesRequest); i {
1047 case 0:
1048 return &v.state
1049 case 1:
1050 return &v.sizeCache
1051 case 2:
1052 return &v.unknownFields
1053 default:
1054 return nil
1055 }
1056 }
1057 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1058 switch v := v.(*ListIndexesResponse); i {
1059 case 0:
1060 return &v.state
1061 case 1:
1062 return &v.sizeCache
1063 case 2:
1064 return &v.unknownFields
1065 default:
1066 return nil
1067 }
1068 }
1069 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1070 switch v := v.(*GetIndexRequest); i {
1071 case 0:
1072 return &v.state
1073 case 1:
1074 return &v.sizeCache
1075 case 2:
1076 return &v.unknownFields
1077 default:
1078 return nil
1079 }
1080 }
1081 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1082 switch v := v.(*DeleteIndexRequest); i {
1083 case 0:
1084 return &v.state
1085 case 1:
1086 return &v.sizeCache
1087 case 2:
1088 return &v.unknownFields
1089 default:
1090 return nil
1091 }
1092 }
1093 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1094 switch v := v.(*UpdateFieldRequest); i {
1095 case 0:
1096 return &v.state
1097 case 1:
1098 return &v.sizeCache
1099 case 2:
1100 return &v.unknownFields
1101 default:
1102 return nil
1103 }
1104 }
1105 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1106 switch v := v.(*GetFieldRequest); i {
1107 case 0:
1108 return &v.state
1109 case 1:
1110 return &v.sizeCache
1111 case 2:
1112 return &v.unknownFields
1113 default:
1114 return nil
1115 }
1116 }
1117 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1118 switch v := v.(*ListFieldsRequest); i {
1119 case 0:
1120 return &v.state
1121 case 1:
1122 return &v.sizeCache
1123 case 2:
1124 return &v.unknownFields
1125 default:
1126 return nil
1127 }
1128 }
1129 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1130 switch v := v.(*ListFieldsResponse); i {
1131 case 0:
1132 return &v.state
1133 case 1:
1134 return &v.sizeCache
1135 case 2:
1136 return &v.unknownFields
1137 default:
1138 return nil
1139 }
1140 }
1141 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1142 switch v := v.(*ExportDocumentsRequest); i {
1143 case 0:
1144 return &v.state
1145 case 1:
1146 return &v.sizeCache
1147 case 2:
1148 return &v.unknownFields
1149 default:
1150 return nil
1151 }
1152 }
1153 file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1154 switch v := v.(*ImportDocumentsRequest); i {
1155 case 0:
1156 return &v.state
1157 case 1:
1158 return &v.sizeCache
1159 case 2:
1160 return &v.unknownFields
1161 default:
1162 return nil
1163 }
1164 }
1165 }
1166 type x struct{}
1167 out := protoimpl.TypeBuilder{
1168 File: protoimpl.DescBuilder{
1169 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1170 RawDescriptor: file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDesc,
1171 NumEnums: 0,
1172 NumMessages: 11,
1173 NumExtensions: 0,
1174 NumServices: 1,
1175 },
1176 GoTypes: file_google_firestore_admin_v1beta2_firestore_admin_proto_goTypes,
1177 DependencyIndexes: file_google_firestore_admin_v1beta2_firestore_admin_proto_depIdxs,
1178 MessageInfos: file_google_firestore_admin_v1beta2_firestore_admin_proto_msgTypes,
1179 }.Build()
1180 File_google_firestore_admin_v1beta2_firestore_admin_proto = out.File
1181 file_google_firestore_admin_v1beta2_firestore_admin_proto_rawDesc = nil
1182 file_google_firestore_admin_v1beta2_firestore_admin_proto_goTypes = nil
1183 file_google_firestore_admin_v1beta2_firestore_admin_proto_depIdxs = nil
1184 }
1185
1186 // Reference imports to suppress errors if they are not otherwise used.
1187 var _ context.Context
1188 var _ grpc.ClientConnInterface
1189
1190 // This is a compile-time assertion to ensure that this generated file
1191 // is compatible with the grpc package it is being compiled against.
1192 const _ = grpc.SupportPackageIsVersion6
1193
1194 // FirestoreAdminClient is the client API for FirestoreAdmin service.
1195 //
1196 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1197 type FirestoreAdminClient interface {
1198 // Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
1199 // which may be used to track the status of the creation. The metadata for
1200 // the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1beta2.IndexOperationMetadata].
1201 CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1202 // Lists composite indexes.
1203 ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error)
1204 // Gets a composite index.
1205 GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error)
1206 // Deletes a composite index.
1207 DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1208 // Gets the metadata and configuration for a Field.
1209 GetField(ctx context.Context, in *GetFieldRequest, opts ...grpc.CallOption) (*Field, error)
1210 // Updates a field configuration. Currently, field updates apply only to
1211 // single field index configuration. However, calls to
1212 // [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField] should provide a field mask to avoid
1213 // changing any configuration that the caller isn't aware of. The field mask
1214 // should be specified as: `{ paths: "index_config" }`.
1215 //
1216 // This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to
1217 // track the status of the field update. The metadata for
1218 // the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1beta2.FieldOperationMetadata].
1219 //
1220 // To configure the default field settings for the database, use
1221 // the special `Field` with resource name:
1222 // `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
1223 UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1224 // Lists the field configuration and metadata for this database.
1225 //
1226 // Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields
1227 // that have been explicitly overridden. To issue this query, call
1228 // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to
1229 // `indexConfig.usesAncestorConfig:false`.
1230 ListFields(ctx context.Context, in *ListFieldsRequest, opts ...grpc.CallOption) (*ListFieldsResponse, error)
1231 // Exports a copy of all or a subset of documents from Google Cloud Firestore
1232 // to another storage system, such as Google Cloud Storage. Recent updates to
1233 // documents may not be reflected in the export. The export occurs in the
1234 // background and its progress can be monitored and managed via the
1235 // Operation resource that is created. The output of an export may only be
1236 // used once the associated operation is done. If an export operation is
1237 // cancelled before completion it may leave partial data behind in Google
1238 // Cloud Storage.
1239 ExportDocuments(ctx context.Context, in *ExportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1240 // Imports documents into Google Cloud Firestore. Existing documents with the
1241 // same name are overwritten. The import occurs in the background and its
1242 // progress can be monitored and managed via the Operation resource that is
1243 // created. If an ImportDocuments operation is cancelled, it is possible
1244 // that a subset of the data has already been imported to Cloud Firestore.
1245 ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1246 }
1247
1248 type firestoreAdminClient struct {
1249 cc grpc.ClientConnInterface
1250 }
1251
1252 func NewFirestoreAdminClient(cc grpc.ClientConnInterface) FirestoreAdminClient {
1253 return &firestoreAdminClient{cc}
1254 }
1255
1256 func (c *firestoreAdminClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1257 out := new(longrunning.Operation)
1258 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/CreateIndex", in, out, opts...)
1259 if err != nil {
1260 return nil, err
1261 }
1262 return out, nil
1263 }
1264
1265 func (c *firestoreAdminClient) ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) {
1266 out := new(ListIndexesResponse)
1267 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/ListIndexes", in, out, opts...)
1268 if err != nil {
1269 return nil, err
1270 }
1271 return out, nil
1272 }
1273
1274 func (c *firestoreAdminClient) GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) {
1275 out := new(Index)
1276 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/GetIndex", in, out, opts...)
1277 if err != nil {
1278 return nil, err
1279 }
1280 return out, nil
1281 }
1282
1283 func (c *firestoreAdminClient) DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1284 out := new(emptypb.Empty)
1285 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/DeleteIndex", in, out, opts...)
1286 if err != nil {
1287 return nil, err
1288 }
1289 return out, nil
1290 }
1291
1292 func (c *firestoreAdminClient) GetField(ctx context.Context, in *GetFieldRequest, opts ...grpc.CallOption) (*Field, error) {
1293 out := new(Field)
1294 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/GetField", in, out, opts...)
1295 if err != nil {
1296 return nil, err
1297 }
1298 return out, nil
1299 }
1300
1301 func (c *firestoreAdminClient) UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1302 out := new(longrunning.Operation)
1303 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/UpdateField", in, out, opts...)
1304 if err != nil {
1305 return nil, err
1306 }
1307 return out, nil
1308 }
1309
1310 func (c *firestoreAdminClient) ListFields(ctx context.Context, in *ListFieldsRequest, opts ...grpc.CallOption) (*ListFieldsResponse, error) {
1311 out := new(ListFieldsResponse)
1312 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/ListFields", in, out, opts...)
1313 if err != nil {
1314 return nil, err
1315 }
1316 return out, nil
1317 }
1318
1319 func (c *firestoreAdminClient) ExportDocuments(ctx context.Context, in *ExportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1320 out := new(longrunning.Operation)
1321 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/ExportDocuments", in, out, opts...)
1322 if err != nil {
1323 return nil, err
1324 }
1325 return out, nil
1326 }
1327
1328 func (c *firestoreAdminClient) ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1329 out := new(longrunning.Operation)
1330 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta2.FirestoreAdmin/ImportDocuments", in, out, opts...)
1331 if err != nil {
1332 return nil, err
1333 }
1334 return out, nil
1335 }
1336
1337 // FirestoreAdminServer is the server API for FirestoreAdmin service.
1338 type FirestoreAdminServer interface {
1339 // Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
1340 // which may be used to track the status of the creation. The metadata for
1341 // the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1beta2.IndexOperationMetadata].
1342 CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error)
1343 // Lists composite indexes.
1344 ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error)
1345 // Gets a composite index.
1346 GetIndex(context.Context, *GetIndexRequest) (*Index, error)
1347 // Deletes a composite index.
1348 DeleteIndex(context.Context, *DeleteIndexRequest) (*emptypb.Empty, error)
1349 // Gets the metadata and configuration for a Field.
1350 GetField(context.Context, *GetFieldRequest) (*Field, error)
1351 // Updates a field configuration. Currently, field updates apply only to
1352 // single field index configuration. However, calls to
1353 // [FirestoreAdmin.UpdateField][google.firestore.admin.v1beta2.FirestoreAdmin.UpdateField] should provide a field mask to avoid
1354 // changing any configuration that the caller isn't aware of. The field mask
1355 // should be specified as: `{ paths: "index_config" }`.
1356 //
1357 // This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to
1358 // track the status of the field update. The metadata for
1359 // the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1beta2.FieldOperationMetadata].
1360 //
1361 // To configure the default field settings for the database, use
1362 // the special `Field` with resource name:
1363 // `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
1364 UpdateField(context.Context, *UpdateFieldRequest) (*longrunning.Operation, error)
1365 // Lists the field configuration and metadata for this database.
1366 //
1367 // Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] only supports listing fields
1368 // that have been explicitly overridden. To issue this query, call
1369 // [FirestoreAdmin.ListFields][google.firestore.admin.v1beta2.FirestoreAdmin.ListFields] with the filter set to
1370 // `indexConfig.usesAncestorConfig:false`.
1371 ListFields(context.Context, *ListFieldsRequest) (*ListFieldsResponse, error)
1372 // Exports a copy of all or a subset of documents from Google Cloud Firestore
1373 // to another storage system, such as Google Cloud Storage. Recent updates to
1374 // documents may not be reflected in the export. The export occurs in the
1375 // background and its progress can be monitored and managed via the
1376 // Operation resource that is created. The output of an export may only be
1377 // used once the associated operation is done. If an export operation is
1378 // cancelled before completion it may leave partial data behind in Google
1379 // Cloud Storage.
1380 ExportDocuments(context.Context, *ExportDocumentsRequest) (*longrunning.Operation, error)
1381 // Imports documents into Google Cloud Firestore. Existing documents with the
1382 // same name are overwritten. The import occurs in the background and its
1383 // progress can be monitored and managed via the Operation resource that is
1384 // created. If an ImportDocuments operation is cancelled, it is possible
1385 // that a subset of the data has already been imported to Cloud Firestore.
1386 ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunning.Operation, error)
1387 }
1388
1389 // UnimplementedFirestoreAdminServer can be embedded to have forward compatible implementations.
1390 type UnimplementedFirestoreAdminServer struct {
1391 }
1392
1393 func (*UnimplementedFirestoreAdminServer) CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) {
1394 return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented")
1395 }
1396 func (*UnimplementedFirestoreAdminServer) ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) {
1397 return nil, status.Errorf(codes.Unimplemented, "method ListIndexes not implemented")
1398 }
1399 func (*UnimplementedFirestoreAdminServer) GetIndex(context.Context, *GetIndexRequest) (*Index, error) {
1400 return nil, status.Errorf(codes.Unimplemented, "method GetIndex not implemented")
1401 }
1402 func (*UnimplementedFirestoreAdminServer) DeleteIndex(context.Context, *DeleteIndexRequest) (*emptypb.Empty, error) {
1403 return nil, status.Errorf(codes.Unimplemented, "method DeleteIndex not implemented")
1404 }
1405 func (*UnimplementedFirestoreAdminServer) GetField(context.Context, *GetFieldRequest) (*Field, error) {
1406 return nil, status.Errorf(codes.Unimplemented, "method GetField not implemented")
1407 }
1408 func (*UnimplementedFirestoreAdminServer) UpdateField(context.Context, *UpdateFieldRequest) (*longrunning.Operation, error) {
1409 return nil, status.Errorf(codes.Unimplemented, "method UpdateField not implemented")
1410 }
1411 func (*UnimplementedFirestoreAdminServer) ListFields(context.Context, *ListFieldsRequest) (*ListFieldsResponse, error) {
1412 return nil, status.Errorf(codes.Unimplemented, "method ListFields not implemented")
1413 }
1414 func (*UnimplementedFirestoreAdminServer) ExportDocuments(context.Context, *ExportDocumentsRequest) (*longrunning.Operation, error) {
1415 return nil, status.Errorf(codes.Unimplemented, "method ExportDocuments not implemented")
1416 }
1417 func (*UnimplementedFirestoreAdminServer) ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunning.Operation, error) {
1418 return nil, status.Errorf(codes.Unimplemented, "method ImportDocuments not implemented")
1419 }
1420
1421 func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer) {
1422 s.RegisterService(&_FirestoreAdmin_serviceDesc, srv)
1423 }
1424
1425 func _FirestoreAdmin_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1426 in := new(CreateIndexRequest)
1427 if err := dec(in); err != nil {
1428 return nil, err
1429 }
1430 if interceptor == nil {
1431 return srv.(FirestoreAdminServer).CreateIndex(ctx, in)
1432 }
1433 info := &grpc.UnaryServerInfo{
1434 Server: srv,
1435 FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/CreateIndex",
1436 }
1437 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1438 return srv.(FirestoreAdminServer).CreateIndex(ctx, req.(*CreateIndexRequest))
1439 }
1440 return interceptor(ctx, in, info, handler)
1441 }
1442
1443 func _FirestoreAdmin_ListIndexes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1444 in := new(ListIndexesRequest)
1445 if err := dec(in); err != nil {
1446 return nil, err
1447 }
1448 if interceptor == nil {
1449 return srv.(FirestoreAdminServer).ListIndexes(ctx, in)
1450 }
1451 info := &grpc.UnaryServerInfo{
1452 Server: srv,
1453 FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/ListIndexes",
1454 }
1455 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1456 return srv.(FirestoreAdminServer).ListIndexes(ctx, req.(*ListIndexesRequest))
1457 }
1458 return interceptor(ctx, in, info, handler)
1459 }
1460
1461 func _FirestoreAdmin_GetIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1462 in := new(GetIndexRequest)
1463 if err := dec(in); err != nil {
1464 return nil, err
1465 }
1466 if interceptor == nil {
1467 return srv.(FirestoreAdminServer).GetIndex(ctx, in)
1468 }
1469 info := &grpc.UnaryServerInfo{
1470 Server: srv,
1471 FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/GetIndex",
1472 }
1473 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1474 return srv.(FirestoreAdminServer).GetIndex(ctx, req.(*GetIndexRequest))
1475 }
1476 return interceptor(ctx, in, info, handler)
1477 }
1478
1479 func _FirestoreAdmin_DeleteIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1480 in := new(DeleteIndexRequest)
1481 if err := dec(in); err != nil {
1482 return nil, err
1483 }
1484 if interceptor == nil {
1485 return srv.(FirestoreAdminServer).DeleteIndex(ctx, in)
1486 }
1487 info := &grpc.UnaryServerInfo{
1488 Server: srv,
1489 FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/DeleteIndex",
1490 }
1491 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1492 return srv.(FirestoreAdminServer).DeleteIndex(ctx, req.(*DeleteIndexRequest))
1493 }
1494 return interceptor(ctx, in, info, handler)
1495 }
1496
1497 func _FirestoreAdmin_GetField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1498 in := new(GetFieldRequest)
1499 if err := dec(in); err != nil {
1500 return nil, err
1501 }
1502 if interceptor == nil {
1503 return srv.(FirestoreAdminServer).GetField(ctx, in)
1504 }
1505 info := &grpc.UnaryServerInfo{
1506 Server: srv,
1507 FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/GetField",
1508 }
1509 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1510 return srv.(FirestoreAdminServer).GetField(ctx, req.(*GetFieldRequest))
1511 }
1512 return interceptor(ctx, in, info, handler)
1513 }
1514
1515 func _FirestoreAdmin_UpdateField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1516 in := new(UpdateFieldRequest)
1517 if err := dec(in); err != nil {
1518 return nil, err
1519 }
1520 if interceptor == nil {
1521 return srv.(FirestoreAdminServer).UpdateField(ctx, in)
1522 }
1523 info := &grpc.UnaryServerInfo{
1524 Server: srv,
1525 FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/UpdateField",
1526 }
1527 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1528 return srv.(FirestoreAdminServer).UpdateField(ctx, req.(*UpdateFieldRequest))
1529 }
1530 return interceptor(ctx, in, info, handler)
1531 }
1532
1533 func _FirestoreAdmin_ListFields_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1534 in := new(ListFieldsRequest)
1535 if err := dec(in); err != nil {
1536 return nil, err
1537 }
1538 if interceptor == nil {
1539 return srv.(FirestoreAdminServer).ListFields(ctx, in)
1540 }
1541 info := &grpc.UnaryServerInfo{
1542 Server: srv,
1543 FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/ListFields",
1544 }
1545 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1546 return srv.(FirestoreAdminServer).ListFields(ctx, req.(*ListFieldsRequest))
1547 }
1548 return interceptor(ctx, in, info, handler)
1549 }
1550
1551 func _FirestoreAdmin_ExportDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1552 in := new(ExportDocumentsRequest)
1553 if err := dec(in); err != nil {
1554 return nil, err
1555 }
1556 if interceptor == nil {
1557 return srv.(FirestoreAdminServer).ExportDocuments(ctx, in)
1558 }
1559 info := &grpc.UnaryServerInfo{
1560 Server: srv,
1561 FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/ExportDocuments",
1562 }
1563 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1564 return srv.(FirestoreAdminServer).ExportDocuments(ctx, req.(*ExportDocumentsRequest))
1565 }
1566 return interceptor(ctx, in, info, handler)
1567 }
1568
1569 func _FirestoreAdmin_ImportDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1570 in := new(ImportDocumentsRequest)
1571 if err := dec(in); err != nil {
1572 return nil, err
1573 }
1574 if interceptor == nil {
1575 return srv.(FirestoreAdminServer).ImportDocuments(ctx, in)
1576 }
1577 info := &grpc.UnaryServerInfo{
1578 Server: srv,
1579 FullMethod: "/google.firestore.admin.v1beta2.FirestoreAdmin/ImportDocuments",
1580 }
1581 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1582 return srv.(FirestoreAdminServer).ImportDocuments(ctx, req.(*ImportDocumentsRequest))
1583 }
1584 return interceptor(ctx, in, info, handler)
1585 }
1586
1587 var _FirestoreAdmin_serviceDesc = grpc.ServiceDesc{
1588 ServiceName: "google.firestore.admin.v1beta2.FirestoreAdmin",
1589 HandlerType: (*FirestoreAdminServer)(nil),
1590 Methods: []grpc.MethodDesc{
1591 {
1592 MethodName: "CreateIndex",
1593 Handler: _FirestoreAdmin_CreateIndex_Handler,
1594 },
1595 {
1596 MethodName: "ListIndexes",
1597 Handler: _FirestoreAdmin_ListIndexes_Handler,
1598 },
1599 {
1600 MethodName: "GetIndex",
1601 Handler: _FirestoreAdmin_GetIndex_Handler,
1602 },
1603 {
1604 MethodName: "DeleteIndex",
1605 Handler: _FirestoreAdmin_DeleteIndex_Handler,
1606 },
1607 {
1608 MethodName: "GetField",
1609 Handler: _FirestoreAdmin_GetField_Handler,
1610 },
1611 {
1612 MethodName: "UpdateField",
1613 Handler: _FirestoreAdmin_UpdateField_Handler,
1614 },
1615 {
1616 MethodName: "ListFields",
1617 Handler: _FirestoreAdmin_ListFields_Handler,
1618 },
1619 {
1620 MethodName: "ExportDocuments",
1621 Handler: _FirestoreAdmin_ExportDocuments_Handler,
1622 },
1623 {
1624 MethodName: "ImportDocuments",
1625 Handler: _FirestoreAdmin_ImportDocuments_Handler,
1626 },
1627 },
1628 Streams: []grpc.StreamDesc{},
1629 Metadata: "google/firestore/admin/v1beta2/firestore_admin.proto",
1630 }