Debian Codegraph @

googleapis/firestore/admin/v1beta1/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/v1beta1/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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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 various possible states for an ongoing Operation.
48 type OperationState int32
49
50 const (
51 // Unspecified.
52 OperationState_STATE_UNSPECIFIED OperationState = 0
53 // Request is being prepared for processing.
54 OperationState_INITIALIZING OperationState = 1
55 // Request is actively being processed.
56 OperationState_PROCESSING OperationState = 2
57 // Request is in the process of being cancelled after user called
58 // google.longrunning.Operations.CancelOperation on the operation.
59 OperationState_CANCELLING OperationState = 3
60 // Request has been processed and is in its finalization stage.
61 OperationState_FINALIZING OperationState = 4
62 // Request has completed successfully.
63 OperationState_SUCCESSFUL OperationState = 5
64 // Request has finished being processed, but encountered an error.
65 OperationState_FAILED OperationState = 6
66 // Request has finished being cancelled after user called
67 // google.longrunning.Operations.CancelOperation.
68 OperationState_CANCELLED OperationState = 7
69 )
70
71 // Enum value maps for OperationState.
72 var (
73 OperationState_name = map[int32]string{
74 0: "STATE_UNSPECIFIED",
75 1: "INITIALIZING",
76 2: "PROCESSING",
77 3: "CANCELLING",
78 4: "FINALIZING",
79 5: "SUCCESSFUL",
80 6: "FAILED",
81 7: "CANCELLED",
82 }
83 OperationState_value = map[string]int32{
84 "STATE_UNSPECIFIED": 0,
85 "INITIALIZING": 1,
86 "PROCESSING": 2,
87 "CANCELLING": 3,
88 "FINALIZING": 4,
89 "SUCCESSFUL": 5,
90 "FAILED": 6,
91 "CANCELLED": 7,
92 }
93 )
94
95 func (x OperationState) Enum() *OperationState {
96 p := new(OperationState)
97 *p = x
98 return p
99 }
100
101 func (x OperationState) String() string {
102 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
103 }
104
105 func (OperationState) Descriptor() protoreflect.EnumDescriptor {
106 return file_google_firestore_admin_v1beta1_firestore_admin_proto_enumTypes[0].Descriptor()
107 }
108
109 func (OperationState) Type() protoreflect.EnumType {
110 return &file_google_firestore_admin_v1beta1_firestore_admin_proto_enumTypes[0]
111 }
112
113 func (x OperationState) Number() protoreflect.EnumNumber {
114 return protoreflect.EnumNumber(x)
115 }
116
117 // Deprecated: Use OperationState.Descriptor instead.
118 func (OperationState) EnumDescriptor() ([]byte, []int) {
119 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{0}
120 }
121
122 // The type of index operation.
123 type IndexOperationMetadata_OperationType int32
124
125 const (
126 // Unspecified. Never set by server.
127 IndexOperationMetadata_OPERATION_TYPE_UNSPECIFIED IndexOperationMetadata_OperationType = 0
128 // The operation is creating the index. Initiated by a `CreateIndex` call.
129 IndexOperationMetadata_CREATING_INDEX IndexOperationMetadata_OperationType = 1
130 )
131
132 // Enum value maps for IndexOperationMetadata_OperationType.
133 var (
134 IndexOperationMetadata_OperationType_name = map[int32]string{
135 0: "OPERATION_TYPE_UNSPECIFIED",
136 1: "CREATING_INDEX",
137 }
138 IndexOperationMetadata_OperationType_value = map[string]int32{
139 "OPERATION_TYPE_UNSPECIFIED": 0,
140 "CREATING_INDEX": 1,
141 }
142 )
143
144 func (x IndexOperationMetadata_OperationType) Enum() *IndexOperationMetadata_OperationType {
145 p := new(IndexOperationMetadata_OperationType)
146 *p = x
147 return p
148 }
149
150 func (x IndexOperationMetadata_OperationType) String() string {
151 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
152 }
153
154 func (IndexOperationMetadata_OperationType) Descriptor() protoreflect.EnumDescriptor {
155 return file_google_firestore_admin_v1beta1_firestore_admin_proto_enumTypes[1].Descriptor()
156 }
157
158 func (IndexOperationMetadata_OperationType) Type() protoreflect.EnumType {
159 return &file_google_firestore_admin_v1beta1_firestore_admin_proto_enumTypes[1]
160 }
161
162 func (x IndexOperationMetadata_OperationType) Number() protoreflect.EnumNumber {
163 return protoreflect.EnumNumber(x)
164 }
165
166 // Deprecated: Use IndexOperationMetadata_OperationType.Descriptor instead.
167 func (IndexOperationMetadata_OperationType) EnumDescriptor() ([]byte, []int) {
168 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{0, 0}
169 }
170
171 // Metadata for index operations. This metadata populates
172 // the metadata field of [google.longrunning.Operation][google.longrunning.Operation].
173 type IndexOperationMetadata struct {
174 state protoimpl.MessageState
175 sizeCache protoimpl.SizeCache
176 unknownFields protoimpl.UnknownFields
177
178 // The time that work began on the operation.
179 StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
180 // The time the operation ended, either successfully or otherwise. Unset if
181 // the operation is still active.
182 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
183 // The index resource that this operation is acting on. For example:
184 // `projects/{project_id}/databases/{database_id}/indexes/{index_id}`
185 Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"`
186 // The type of index operation.
187 OperationType IndexOperationMetadata_OperationType `protobuf:"varint,4,opt,name=operation_type,json=operationType,proto3,enum=google.firestore.admin.v1beta1.IndexOperationMetadata_OperationType" json:"operation_type,omitempty"`
188 // True if the [google.longrunning.Operation] was cancelled. If the
189 // cancellation is in progress, cancelled will be true but
190 // [google.longrunning.Operation.done][google.longrunning.Operation.done] will be false.
191 Cancelled bool `protobuf:"varint,5,opt,name=cancelled,proto3" json:"cancelled,omitempty"`
192 // Progress of the existing operation, measured in number of documents.
193 DocumentProgress *Progress `protobuf:"bytes,6,opt,name=document_progress,json=documentProgress,proto3" json:"document_progress,omitempty"`
194 }
195
196 func (x *IndexOperationMetadata) Reset() {
197 *x = IndexOperationMetadata{}
198 if protoimpl.UnsafeEnabled {
199 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[0]
200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
201 ms.StoreMessageInfo(mi)
202 }
203 }
204
205 func (x *IndexOperationMetadata) String() string {
206 return protoimpl.X.MessageStringOf(x)
207 }
208
209 func (*IndexOperationMetadata) ProtoMessage() {}
210
211 func (x *IndexOperationMetadata) ProtoReflect() protoreflect.Message {
212 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[0]
213 if protoimpl.UnsafeEnabled && x != nil {
214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215 if ms.LoadMessageInfo() == nil {
216 ms.StoreMessageInfo(mi)
217 }
218 return ms
219 }
220 return mi.MessageOf(x)
221 }
222
223 // Deprecated: Use IndexOperationMetadata.ProtoReflect.Descriptor instead.
224 func (*IndexOperationMetadata) Descriptor() ([]byte, []int) {
225 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{0}
226 }
227
228 func (x *IndexOperationMetadata) GetStartTime() *timestamppb.Timestamp {
229 if x != nil {
230 return x.StartTime
231 }
232 return nil
233 }
234
235 func (x *IndexOperationMetadata) GetEndTime() *timestamppb.Timestamp {
236 if x != nil {
237 return x.EndTime
238 }
239 return nil
240 }
241
242 func (x *IndexOperationMetadata) GetIndex() string {
243 if x != nil {
244 return x.Index
245 }
246 return ""
247 }
248
249 func (x *IndexOperationMetadata) GetOperationType() IndexOperationMetadata_OperationType {
250 if x != nil {
251 return x.OperationType
252 }
253 return IndexOperationMetadata_OPERATION_TYPE_UNSPECIFIED
254 }
255
256 func (x *IndexOperationMetadata) GetCancelled() bool {
257 if x != nil {
258 return x.Cancelled
259 }
260 return false
261 }
262
263 func (x *IndexOperationMetadata) GetDocumentProgress() *Progress {
264 if x != nil {
265 return x.DocumentProgress
266 }
267 return nil
268 }
269
270 // Measures the progress of a particular metric.
271 type Progress struct {
272 state protoimpl.MessageState
273 sizeCache protoimpl.SizeCache
274 unknownFields protoimpl.UnknownFields
275
276 // An estimate of how much work has been completed. Note that this may be
277 // greater than `work_estimated`.
278 WorkCompleted int64 `protobuf:"varint,1,opt,name=work_completed,json=workCompleted,proto3" json:"work_completed,omitempty"`
279 // An estimate of how much work needs to be performed. Zero if the
280 // work estimate is unavailable. May change as work progresses.
281 WorkEstimated int64 `protobuf:"varint,2,opt,name=work_estimated,json=workEstimated,proto3" json:"work_estimated,omitempty"`
282 }
283
284 func (x *Progress) Reset() {
285 *x = Progress{}
286 if protoimpl.UnsafeEnabled {
287 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[1]
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 ms.StoreMessageInfo(mi)
290 }
291 }
292
293 func (x *Progress) String() string {
294 return protoimpl.X.MessageStringOf(x)
295 }
296
297 func (*Progress) ProtoMessage() {}
298
299 func (x *Progress) ProtoReflect() protoreflect.Message {
300 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[1]
301 if protoimpl.UnsafeEnabled && x != nil {
302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
303 if ms.LoadMessageInfo() == nil {
304 ms.StoreMessageInfo(mi)
305 }
306 return ms
307 }
308 return mi.MessageOf(x)
309 }
310
311 // Deprecated: Use Progress.ProtoReflect.Descriptor instead.
312 func (*Progress) Descriptor() ([]byte, []int) {
313 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{1}
314 }
315
316 func (x *Progress) GetWorkCompleted() int64 {
317 if x != nil {
318 return x.WorkCompleted
319 }
320 return 0
321 }
322
323 func (x *Progress) GetWorkEstimated() int64 {
324 if x != nil {
325 return x.WorkEstimated
326 }
327 return 0
328 }
329
330 // The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex].
331 type CreateIndexRequest struct {
332 state protoimpl.MessageState
333 sizeCache protoimpl.SizeCache
334 unknownFields protoimpl.UnknownFields
335
336 // The name of the database this index will apply to. For example:
337 // `projects/{project_id}/databases/{database_id}`
338 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
339 // The index to create. The name and state fields are output only and will be
340 // ignored. Certain single field indexes cannot be created or deleted.
341 Index *Index `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"`
342 }
343
344 func (x *CreateIndexRequest) Reset() {
345 *x = CreateIndexRequest{}
346 if protoimpl.UnsafeEnabled {
347 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[2]
348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
349 ms.StoreMessageInfo(mi)
350 }
351 }
352
353 func (x *CreateIndexRequest) String() string {
354 return protoimpl.X.MessageStringOf(x)
355 }
356
357 func (*CreateIndexRequest) ProtoMessage() {}
358
359 func (x *CreateIndexRequest) ProtoReflect() protoreflect.Message {
360 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[2]
361 if protoimpl.UnsafeEnabled && x != nil {
362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
363 if ms.LoadMessageInfo() == nil {
364 ms.StoreMessageInfo(mi)
365 }
366 return ms
367 }
368 return mi.MessageOf(x)
369 }
370
371 // Deprecated: Use CreateIndexRequest.ProtoReflect.Descriptor instead.
372 func (*CreateIndexRequest) Descriptor() ([]byte, []int) {
373 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{2}
374 }
375
376 func (x *CreateIndexRequest) GetParent() string {
377 if x != nil {
378 return x.Parent
379 }
380 return ""
381 }
382
383 func (x *CreateIndexRequest) GetIndex() *Index {
384 if x != nil {
385 return x.Index
386 }
387 return nil
388 }
389
390 // The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1beta1.FirestoreAdmin.GetIndex].
391 type GetIndexRequest struct {
392 state protoimpl.MessageState
393 sizeCache protoimpl.SizeCache
394 unknownFields protoimpl.UnknownFields
395
396 // The name of the index. For example:
397 // `projects/{project_id}/databases/{database_id}/indexes/{index_id}`
398 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
399 }
400
401 func (x *GetIndexRequest) Reset() {
402 *x = GetIndexRequest{}
403 if protoimpl.UnsafeEnabled {
404 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[3]
405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
406 ms.StoreMessageInfo(mi)
407 }
408 }
409
410 func (x *GetIndexRequest) String() string {
411 return protoimpl.X.MessageStringOf(x)
412 }
413
414 func (*GetIndexRequest) ProtoMessage() {}
415
416 func (x *GetIndexRequest) ProtoReflect() protoreflect.Message {
417 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[3]
418 if protoimpl.UnsafeEnabled && x != nil {
419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
420 if ms.LoadMessageInfo() == nil {
421 ms.StoreMessageInfo(mi)
422 }
423 return ms
424 }
425 return mi.MessageOf(x)
426 }
427
428 // Deprecated: Use GetIndexRequest.ProtoReflect.Descriptor instead.
429 func (*GetIndexRequest) Descriptor() ([]byte, []int) {
430 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{3}
431 }
432
433 func (x *GetIndexRequest) GetName() string {
434 if x != nil {
435 return x.Name
436 }
437 return ""
438 }
439
440 // The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta1.FirestoreAdmin.ListIndexes].
441 type ListIndexesRequest struct {
442 state protoimpl.MessageState
443 sizeCache protoimpl.SizeCache
444 unknownFields protoimpl.UnknownFields
445
446 // The database name. For example:
447 // `projects/{project_id}/databases/{database_id}`
448 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
449 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
450 // The standard List page size.
451 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
452 // The standard List page token.
453 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
454 }
455
456 func (x *ListIndexesRequest) Reset() {
457 *x = ListIndexesRequest{}
458 if protoimpl.UnsafeEnabled {
459 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[4]
460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
461 ms.StoreMessageInfo(mi)
462 }
463 }
464
465 func (x *ListIndexesRequest) String() string {
466 return protoimpl.X.MessageStringOf(x)
467 }
468
469 func (*ListIndexesRequest) ProtoMessage() {}
470
471 func (x *ListIndexesRequest) ProtoReflect() protoreflect.Message {
472 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[4]
473 if protoimpl.UnsafeEnabled && x != nil {
474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
475 if ms.LoadMessageInfo() == nil {
476 ms.StoreMessageInfo(mi)
477 }
478 return ms
479 }
480 return mi.MessageOf(x)
481 }
482
483 // Deprecated: Use ListIndexesRequest.ProtoReflect.Descriptor instead.
484 func (*ListIndexesRequest) Descriptor() ([]byte, []int) {
485 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{4}
486 }
487
488 func (x *ListIndexesRequest) GetParent() string {
489 if x != nil {
490 return x.Parent
491 }
492 return ""
493 }
494
495 func (x *ListIndexesRequest) GetFilter() string {
496 if x != nil {
497 return x.Filter
498 }
499 return ""
500 }
501
502 func (x *ListIndexesRequest) GetPageSize() int32 {
503 if x != nil {
504 return x.PageSize
505 }
506 return 0
507 }
508
509 func (x *ListIndexesRequest) GetPageToken() string {
510 if x != nil {
511 return x.PageToken
512 }
513 return ""
514 }
515
516 // The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex].
517 type DeleteIndexRequest struct {
518 state protoimpl.MessageState
519 sizeCache protoimpl.SizeCache
520 unknownFields protoimpl.UnknownFields
521
522 // The index name. For example:
523 // `projects/{project_id}/databases/{database_id}/indexes/{index_id}`
524 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
525 }
526
527 func (x *DeleteIndexRequest) Reset() {
528 *x = DeleteIndexRequest{}
529 if protoimpl.UnsafeEnabled {
530 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[5]
531 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
532 ms.StoreMessageInfo(mi)
533 }
534 }
535
536 func (x *DeleteIndexRequest) String() string {
537 return protoimpl.X.MessageStringOf(x)
538 }
539
540 func (*DeleteIndexRequest) ProtoMessage() {}
541
542 func (x *DeleteIndexRequest) ProtoReflect() protoreflect.Message {
543 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[5]
544 if protoimpl.UnsafeEnabled && x != nil {
545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
546 if ms.LoadMessageInfo() == nil {
547 ms.StoreMessageInfo(mi)
548 }
549 return ms
550 }
551 return mi.MessageOf(x)
552 }
553
554 // Deprecated: Use DeleteIndexRequest.ProtoReflect.Descriptor instead.
555 func (*DeleteIndexRequest) Descriptor() ([]byte, []int) {
556 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{5}
557 }
558
559 func (x *DeleteIndexRequest) GetName() string {
560 if x != nil {
561 return x.Name
562 }
563 return ""
564 }
565
566 // The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1beta1.FirestoreAdmin.ListIndexes].
567 type ListIndexesResponse struct {
568 state protoimpl.MessageState
569 sizeCache protoimpl.SizeCache
570 unknownFields protoimpl.UnknownFields
571
572 // The indexes.
573 Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"`
574 // The standard List next-page token.
575 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
576 }
577
578 func (x *ListIndexesResponse) Reset() {
579 *x = ListIndexesResponse{}
580 if protoimpl.UnsafeEnabled {
581 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[6]
582 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
583 ms.StoreMessageInfo(mi)
584 }
585 }
586
587 func (x *ListIndexesResponse) String() string {
588 return protoimpl.X.MessageStringOf(x)
589 }
590
591 func (*ListIndexesResponse) ProtoMessage() {}
592
593 func (x *ListIndexesResponse) ProtoReflect() protoreflect.Message {
594 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[6]
595 if protoimpl.UnsafeEnabled && x != nil {
596 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
597 if ms.LoadMessageInfo() == nil {
598 ms.StoreMessageInfo(mi)
599 }
600 return ms
601 }
602 return mi.MessageOf(x)
603 }
604
605 // Deprecated: Use ListIndexesResponse.ProtoReflect.Descriptor instead.
606 func (*ListIndexesResponse) Descriptor() ([]byte, []int) {
607 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{6}
608 }
609
610 func (x *ListIndexesResponse) GetIndexes() []*Index {
611 if x != nil {
612 return x.Indexes
613 }
614 return nil
615 }
616
617 func (x *ListIndexesResponse) GetNextPageToken() string {
618 if x != nil {
619 return x.NextPageToken
620 }
621 return ""
622 }
623
624 // The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ExportDocuments].
625 type ExportDocumentsRequest struct {
626 state protoimpl.MessageState
627 sizeCache protoimpl.SizeCache
628 unknownFields protoimpl.UnknownFields
629
630 // Database to export. Should be of the form:
631 // `projects/{project_id}/databases/{database_id}`.
632 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
633 // Which collection ids to export. Unspecified means all collections.
634 CollectionIds []string `protobuf:"bytes,3,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
635 // The output URI. Currently only supports Google Cloud Storage URIs of the
636 // form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
637 // of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional
638 // Google Cloud Storage namespace path. When
639 // choosing a name, be sure to consider Google Cloud Storage naming
640 // guidelines: https://cloud.google.com/storage/docs/naming.
641 // If the URI is a bucket (without a namespace path), a prefix will be
642 // generated based on the start time.
643 OutputUriPrefix string `protobuf:"bytes,4,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"`
644 }
645
646 func (x *ExportDocumentsRequest) Reset() {
647 *x = ExportDocumentsRequest{}
648 if protoimpl.UnsafeEnabled {
649 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[7]
650 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
651 ms.StoreMessageInfo(mi)
652 }
653 }
654
655 func (x *ExportDocumentsRequest) String() string {
656 return protoimpl.X.MessageStringOf(x)
657 }
658
659 func (*ExportDocumentsRequest) ProtoMessage() {}
660
661 func (x *ExportDocumentsRequest) ProtoReflect() protoreflect.Message {
662 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[7]
663 if protoimpl.UnsafeEnabled && x != nil {
664 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
665 if ms.LoadMessageInfo() == nil {
666 ms.StoreMessageInfo(mi)
667 }
668 return ms
669 }
670 return mi.MessageOf(x)
671 }
672
673 // Deprecated: Use ExportDocumentsRequest.ProtoReflect.Descriptor instead.
674 func (*ExportDocumentsRequest) Descriptor() ([]byte, []int) {
675 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{7}
676 }
677
678 func (x *ExportDocumentsRequest) GetName() string {
679 if x != nil {
680 return x.Name
681 }
682 return ""
683 }
684
685 func (x *ExportDocumentsRequest) GetCollectionIds() []string {
686 if x != nil {
687 return x.CollectionIds
688 }
689 return nil
690 }
691
692 func (x *ExportDocumentsRequest) GetOutputUriPrefix() string {
693 if x != nil {
694 return x.OutputUriPrefix
695 }
696 return ""
697 }
698
699 // The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1beta1.FirestoreAdmin.ImportDocuments].
700 type ImportDocumentsRequest struct {
701 state protoimpl.MessageState
702 sizeCache protoimpl.SizeCache
703 unknownFields protoimpl.UnknownFields
704
705 // Database to import into. Should be of the form:
706 // `projects/{project_id}/databases/{database_id}`.
707 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
708 // Which collection ids to import. Unspecified means all collections included
709 // in the import.
710 CollectionIds []string `protobuf:"bytes,3,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
711 // Location of the exported files.
712 // This must match the output_uri_prefix of an ExportDocumentsResponse from
713 // an export that has completed successfully.
714 // See:
715 // [google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1beta1.ExportDocumentsResponse.output_uri_prefix].
716 InputUriPrefix string `protobuf:"bytes,4,opt,name=input_uri_prefix,json=inputUriPrefix,proto3" json:"input_uri_prefix,omitempty"`
717 }
718
719 func (x *ImportDocumentsRequest) Reset() {
720 *x = ImportDocumentsRequest{}
721 if protoimpl.UnsafeEnabled {
722 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[8]
723 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
724 ms.StoreMessageInfo(mi)
725 }
726 }
727
728 func (x *ImportDocumentsRequest) String() string {
729 return protoimpl.X.MessageStringOf(x)
730 }
731
732 func (*ImportDocumentsRequest) ProtoMessage() {}
733
734 func (x *ImportDocumentsRequest) ProtoReflect() protoreflect.Message {
735 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[8]
736 if protoimpl.UnsafeEnabled && x != nil {
737 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
738 if ms.LoadMessageInfo() == nil {
739 ms.StoreMessageInfo(mi)
740 }
741 return ms
742 }
743 return mi.MessageOf(x)
744 }
745
746 // Deprecated: Use ImportDocumentsRequest.ProtoReflect.Descriptor instead.
747 func (*ImportDocumentsRequest) Descriptor() ([]byte, []int) {
748 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{8}
749 }
750
751 func (x *ImportDocumentsRequest) GetName() string {
752 if x != nil {
753 return x.Name
754 }
755 return ""
756 }
757
758 func (x *ImportDocumentsRequest) GetCollectionIds() []string {
759 if x != nil {
760 return x.CollectionIds
761 }
762 return nil
763 }
764
765 func (x *ImportDocumentsRequest) GetInputUriPrefix() string {
766 if x != nil {
767 return x.InputUriPrefix
768 }
769 return ""
770 }
771
772 // Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
773 type ExportDocumentsResponse struct {
774 state protoimpl.MessageState
775 sizeCache protoimpl.SizeCache
776 unknownFields protoimpl.UnknownFields
777
778 // Location of the output files. This can be used to begin an import
779 // into Cloud Firestore (this project or another project) after the operation
780 // completes successfully.
781 OutputUriPrefix string `protobuf:"bytes,1,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"`
782 }
783
784 func (x *ExportDocumentsResponse) Reset() {
785 *x = ExportDocumentsResponse{}
786 if protoimpl.UnsafeEnabled {
787 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[9]
788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
789 ms.StoreMessageInfo(mi)
790 }
791 }
792
793 func (x *ExportDocumentsResponse) String() string {
794 return protoimpl.X.MessageStringOf(x)
795 }
796
797 func (*ExportDocumentsResponse) ProtoMessage() {}
798
799 func (x *ExportDocumentsResponse) ProtoReflect() protoreflect.Message {
800 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[9]
801 if protoimpl.UnsafeEnabled && x != nil {
802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
803 if ms.LoadMessageInfo() == nil {
804 ms.StoreMessageInfo(mi)
805 }
806 return ms
807 }
808 return mi.MessageOf(x)
809 }
810
811 // Deprecated: Use ExportDocumentsResponse.ProtoReflect.Descriptor instead.
812 func (*ExportDocumentsResponse) Descriptor() ([]byte, []int) {
813 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{9}
814 }
815
816 func (x *ExportDocumentsResponse) GetOutputUriPrefix() string {
817 if x != nil {
818 return x.OutputUriPrefix
819 }
820 return ""
821 }
822
823 // Metadata for ExportDocuments operations.
824 type ExportDocumentsMetadata struct {
825 state protoimpl.MessageState
826 sizeCache protoimpl.SizeCache
827 unknownFields protoimpl.UnknownFields
828
829 // The time that work began on the operation.
830 StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
831 // The time the operation ended, either successfully or otherwise. Unset if
832 // the operation is still active.
833 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
834 // The state of the export operation.
835 OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1beta1.OperationState" json:"operation_state,omitempty"`
836 // An estimate of the number of documents processed.
837 ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"`
838 // An estimate of the number of bytes processed.
839 ProgressBytes *Progress `protobuf:"bytes,5,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"`
840 // Which collection ids are being exported.
841 CollectionIds []string `protobuf:"bytes,6,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
842 // Where the entities are being exported to.
843 OutputUriPrefix string `protobuf:"bytes,7,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"`
844 }
845
846 func (x *ExportDocumentsMetadata) Reset() {
847 *x = ExportDocumentsMetadata{}
848 if protoimpl.UnsafeEnabled {
849 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[10]
850 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
851 ms.StoreMessageInfo(mi)
852 }
853 }
854
855 func (x *ExportDocumentsMetadata) String() string {
856 return protoimpl.X.MessageStringOf(x)
857 }
858
859 func (*ExportDocumentsMetadata) ProtoMessage() {}
860
861 func (x *ExportDocumentsMetadata) ProtoReflect() protoreflect.Message {
862 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[10]
863 if protoimpl.UnsafeEnabled && x != nil {
864 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
865 if ms.LoadMessageInfo() == nil {
866 ms.StoreMessageInfo(mi)
867 }
868 return ms
869 }
870 return mi.MessageOf(x)
871 }
872
873 // Deprecated: Use ExportDocumentsMetadata.ProtoReflect.Descriptor instead.
874 func (*ExportDocumentsMetadata) Descriptor() ([]byte, []int) {
875 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{10}
876 }
877
878 func (x *ExportDocumentsMetadata) GetStartTime() *timestamppb.Timestamp {
879 if x != nil {
880 return x.StartTime
881 }
882 return nil
883 }
884
885 func (x *ExportDocumentsMetadata) GetEndTime() *timestamppb.Timestamp {
886 if x != nil {
887 return x.EndTime
888 }
889 return nil
890 }
891
892 func (x *ExportDocumentsMetadata) GetOperationState() OperationState {
893 if x != nil {
894 return x.OperationState
895 }
896 return OperationState_STATE_UNSPECIFIED
897 }
898
899 func (x *ExportDocumentsMetadata) GetProgressDocuments() *Progress {
900 if x != nil {
901 return x.ProgressDocuments
902 }
903 return nil
904 }
905
906 func (x *ExportDocumentsMetadata) GetProgressBytes() *Progress {
907 if x != nil {
908 return x.ProgressBytes
909 }
910 return nil
911 }
912
913 func (x *ExportDocumentsMetadata) GetCollectionIds() []string {
914 if x != nil {
915 return x.CollectionIds
916 }
917 return nil
918 }
919
920 func (x *ExportDocumentsMetadata) GetOutputUriPrefix() string {
921 if x != nil {
922 return x.OutputUriPrefix
923 }
924 return ""
925 }
926
927 // Metadata for ImportDocuments operations.
928 type ImportDocumentsMetadata struct {
929 state protoimpl.MessageState
930 sizeCache protoimpl.SizeCache
931 unknownFields protoimpl.UnknownFields
932
933 // The time that work began on the operation.
934 StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
935 // The time the operation ended, either successfully or otherwise. Unset if
936 // the operation is still active.
937 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
938 // The state of the import operation.
939 OperationState OperationState `protobuf:"varint,3,opt,name=operation_state,json=operationState,proto3,enum=google.firestore.admin.v1beta1.OperationState" json:"operation_state,omitempty"`
940 // An estimate of the number of documents processed.
941 ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"`
942 // An estimate of the number of bytes processed.
943 ProgressBytes *Progress `protobuf:"bytes,5,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"`
944 // Which collection ids are being imported.
945 CollectionIds []string `protobuf:"bytes,6,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
946 // The location of the documents being imported.
947 InputUriPrefix string `protobuf:"bytes,7,opt,name=input_uri_prefix,json=inputUriPrefix,proto3" json:"input_uri_prefix,omitempty"`
948 }
949
950 func (x *ImportDocumentsMetadata) Reset() {
951 *x = ImportDocumentsMetadata{}
952 if protoimpl.UnsafeEnabled {
953 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[11]
954 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
955 ms.StoreMessageInfo(mi)
956 }
957 }
958
959 func (x *ImportDocumentsMetadata) String() string {
960 return protoimpl.X.MessageStringOf(x)
961 }
962
963 func (*ImportDocumentsMetadata) ProtoMessage() {}
964
965 func (x *ImportDocumentsMetadata) ProtoReflect() protoreflect.Message {
966 mi := &file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[11]
967 if protoimpl.UnsafeEnabled && x != nil {
968 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
969 if ms.LoadMessageInfo() == nil {
970 ms.StoreMessageInfo(mi)
971 }
972 return ms
973 }
974 return mi.MessageOf(x)
975 }
976
977 // Deprecated: Use ImportDocumentsMetadata.ProtoReflect.Descriptor instead.
978 func (*ImportDocumentsMetadata) Descriptor() ([]byte, []int) {
979 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP(), []int{11}
980 }
981
982 func (x *ImportDocumentsMetadata) GetStartTime() *timestamppb.Timestamp {
983 if x != nil {
984 return x.StartTime
985 }
986 return nil
987 }
988
989 func (x *ImportDocumentsMetadata) GetEndTime() *timestamppb.Timestamp {
990 if x != nil {
991 return x.EndTime
992 }
993 return nil
994 }
995
996 func (x *ImportDocumentsMetadata) GetOperationState() OperationState {
997 if x != nil {
998 return x.OperationState
999 }
1000 return OperationState_STATE_UNSPECIFIED
1001 }
1002
1003 func (x *ImportDocumentsMetadata) GetProgressDocuments() *Progress {
1004 if x != nil {
1005 return x.ProgressDocuments
1006 }
1007 return nil
1008 }
1009
1010 func (x *ImportDocumentsMetadata) GetProgressBytes() *Progress {
1011 if x != nil {
1012 return x.ProgressBytes
1013 }
1014 return nil
1015 }
1016
1017 func (x *ImportDocumentsMetadata) GetCollectionIds() []string {
1018 if x != nil {
1019 return x.CollectionIds
1020 }
1021 return nil
1022 }
1023
1024 func (x *ImportDocumentsMetadata) GetInputUriPrefix() string {
1025 if x != nil {
1026 return x.InputUriPrefix
1027 }
1028 return ""
1029 }
1030
1031 var File_google_firestore_admin_v1beta1_firestore_admin_proto protoreflect.FileDescriptor
1032
1033 var file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDesc = []byte{
1034 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
1035 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
1036 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e,
1037 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
1038 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
1039 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
1040 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
1041 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72,
1042 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62,
1043 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1044 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e,
1045 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
1046 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
1047 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f,
1048 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1049 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
1050 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
1051 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc7, 0x03, 0x0a,
1052 0x16, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
1053 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
1054 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
1055 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
1056 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69,
1057 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02,
1058 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
1059 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
1060 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64,
1061 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12,
1062 0x6b, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70,
1063 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1064 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e,
1065 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x70,
1066 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e,
1067 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x6f,
1068 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09,
1069 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
1070 0x09, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x55, 0x0a, 0x11, 0x64, 0x6f,
1071 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18,
1072 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
1073 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76,
1074 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52,
1075 0x10, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
1076 0x73, 0x22, 0x43, 0x0a, 0x0d, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
1077 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f,
1078 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
1079 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x49,
1080 0x4e, 0x44, 0x45, 0x58, 0x10, 0x01, 0x22, 0x58, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
1081 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c,
1082 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b,
1083 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x6f, 0x72,
1084 0x6b, 0x5f, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
1085 0x03, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x64,
1086 0x22, 0x69, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52,
1087 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
1088 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3b,
1089 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e,
1090 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
1091 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49,
1092 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x25, 0x0a, 0x0f, 0x47,
1093 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
1094 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
1095 0x6d, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78,
1096 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72,
1097 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
1098 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
1099 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
1100 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
1101 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
1102 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,
1103 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x28, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49,
1104 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
1105 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
1106 0x7e, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65,
1107 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65,
1108 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1109 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e,
1110 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07,
1111 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f,
1112 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1113 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
1114 0x7f, 0x0a, 0x16, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
1115 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
1116 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a,
1117 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18,
1118 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
1119 0x6e, 0x49, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75,
1120 0x72, 0x69, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
1121 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78,
1122 0x22, 0x7d, 0x0a, 0x16, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65,
1123 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
1124 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25,
1125 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73,
1126 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
1127 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x75,
1128 0x72, 0x69, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
1129 0x0e, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22,
1130 0x45, 0x0a, 0x17, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
1131 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75,
1132 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18,
1133 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69,
1134 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0xe1, 0x03, 0x0a, 0x17, 0x45, 0x78, 0x70, 0x6f, 0x72,
1135 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
1136 0x74, 0x61, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1137 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1138 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
1139 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a,
1140 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
1141 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
1142 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x65, 0x6e, 0x64,
1143 0x54, 0x69, 0x6d, 0x65, 0x12, 0x57, 0x0a, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
1144 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e,
1145 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
1146 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f,
1147 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x6f,
1148 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x57, 0x0a,
1149 0x12, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
1150 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1151 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d,
1152 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72,
1153 0x65, 0x73, 0x73, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x63,
1154 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4f, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65,
1155 0x73, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28,
1156 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
1157 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
1158 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65,
1159 0x73, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65,
1160 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52,
1161 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x2a,
1162 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x70, 0x72, 0x65,
1163 0x66, 0x69, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x70, 0x75,
1164 0x74, 0x55, 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0xdf, 0x03, 0x0a, 0x17, 0x49,
1165 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4d, 0x65,
1166 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f,
1167 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
1168 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
1169 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
1170 0x65, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20,
1171 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1172 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
1173 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x57, 0x0a, 0x0f, 0x6f, 0x70, 0x65, 0x72,
1174 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
1175 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
1176 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
1177 0x61, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
1178 0x65, 0x52, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
1179 0x65, 0x12, 0x57, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x64, 0x6f,
1180 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
1181 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
1182 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50,
1183 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
1184 0x73, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4f, 0x0a, 0x0e, 0x70, 0x72,
1185 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01,
1186 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
1187 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65,
1188 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0d, 0x70, 0x72,
1189 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x63,
1190 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20,
1191 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49,
1192 0x64, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x5f,
1193 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e,
1194 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x2a, 0x94, 0x01, 0x0a,
1195 0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,
1196 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
1197 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41,
1198 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x43,
1199 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x41, 0x4e, 0x43,
1200 0x45, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x49, 0x4e, 0x41,
1201 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55, 0x43, 0x43,
1202 0x45, 0x53, 0x53, 0x46, 0x55, 0x4c, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c,
1203 0x45, 0x44, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45,
1204 0x44, 0x10, 0x07, 0x32, 0xf0, 0x08, 0x0a, 0x0e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
1205 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0xa1, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74,
1206 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1207 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
1208 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e,
1209 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
1210 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
1211 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02,
1212 0x39, 0x22, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
1213 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64,
1214 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x64, 0x65,
1215 0x78, 0x65, 0x73, 0x3a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0xb0, 0x01, 0x0a, 0x0b, 0x4c,
1216 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f,
1217 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64,
1218 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
1219 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33,
1220 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
1221 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
1222 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
1223 0x6e, 0x73, 0x65, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31,
1224 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
1225 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
1226 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x9c, 0x01,
1227 0x0a, 0x08, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f,
1228 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64,
1229 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49,
1230 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f,
1231 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61,
1232 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x64,
1233 0x65, 0x78, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x62,
1234 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
1235 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f,
1236 0x2a, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x93, 0x01, 0x0a,
1237 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x32, 0x2e, 0x67,
1238 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
1239 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65,
1240 0x6c, 0x65, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1241 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1242 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32,
1243 0x2a, 0x30, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
1244 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,
1245 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x2f,
1246 0x2a, 0x7d, 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63,
1247 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1248 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
1249 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f,
1250 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d,
1251 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e,
1252 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x82,
1253 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
1254 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
1255 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x78,
1256 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x01, 0x2a,
1257 0x12, 0xab, 0x01, 0x0a, 0x0f, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d,
1258 0x65, 0x6e, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
1259 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31,
1260 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75,
1261 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67,
1262 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e,
1263 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x82, 0xd3, 0xe4,
1264 0x93, 0x02, 0x3b, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e,
1265 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64,
1266 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x69, 0x6d, 0x70, 0x6f,
1267 0x72, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x01, 0x2a, 0x1a, 0x76,
1268 0xca, 0x41, 0x18, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f,
1269 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x58, 0x68, 0x74,
1270 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1271 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c,
1272 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74,
1273 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
1274 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x61, 0x74,
1275 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0xae, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
1276 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
1277 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x46,
1278 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f,
1279 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
1280 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1281 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x66, 0x69, 0x72, 0x65,
1282 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65,
1283 0x74, 0x61, 0x31, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x46, 0x53,
1284 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1285 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x2e,
1286 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1287 }
1288
1289 var (
1290 file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescOnce sync.Once
1291 file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescData = file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDesc
1292 )
1293
1294 func file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescGZIP() []byte {
1295 file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescOnce.Do(func() {
1296 file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescData)
1297 })
1298 return file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDescData
1299 }
1300
1301 var file_google_firestore_admin_v1beta1_firestore_admin_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1302 var file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
1303 var file_google_firestore_admin_v1beta1_firestore_admin_proto_goTypes = []interface{}{
1304 (OperationState)(0), // 0: google.firestore.admin.v1beta1.OperationState
1305 (IndexOperationMetadata_OperationType)(0), // 1: google.firestore.admin.v1beta1.IndexOperationMetadata.OperationType
1306 (*IndexOperationMetadata)(nil), // 2: google.firestore.admin.v1beta1.IndexOperationMetadata
1307 (*Progress)(nil), // 3: google.firestore.admin.v1beta1.Progress
1308 (*CreateIndexRequest)(nil), // 4: google.firestore.admin.v1beta1.CreateIndexRequest
1309 (*GetIndexRequest)(nil), // 5: google.firestore.admin.v1beta1.GetIndexRequest
1310 (*ListIndexesRequest)(nil), // 6: google.firestore.admin.v1beta1.ListIndexesRequest
1311 (*DeleteIndexRequest)(nil), // 7: google.firestore.admin.v1beta1.DeleteIndexRequest
1312 (*ListIndexesResponse)(nil), // 8: google.firestore.admin.v1beta1.ListIndexesResponse
1313 (*ExportDocumentsRequest)(nil), // 9: google.firestore.admin.v1beta1.ExportDocumentsRequest
1314 (*ImportDocumentsRequest)(nil), // 10: google.firestore.admin.v1beta1.ImportDocumentsRequest
1315 (*ExportDocumentsResponse)(nil), // 11: google.firestore.admin.v1beta1.ExportDocumentsResponse
1316 (*ExportDocumentsMetadata)(nil), // 12: google.firestore.admin.v1beta1.ExportDocumentsMetadata
1317 (*ImportDocumentsMetadata)(nil), // 13: google.firestore.admin.v1beta1.ImportDocumentsMetadata
1318 (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp
1319 (*Index)(nil), // 15: google.firestore.admin.v1beta1.Index
1320 (*longrunning.Operation)(nil), // 16: google.longrunning.Operation
1321 (*emptypb.Empty)(nil), // 17: google.protobuf.Empty
1322 }
1323 var file_google_firestore_admin_v1beta1_firestore_admin_proto_depIdxs = []int32{
1324 14, // 0: google.firestore.admin.v1beta1.IndexOperationMetadata.start_time:type_name -> google.protobuf.Timestamp
1325 14, // 1: google.firestore.admin.v1beta1.IndexOperationMetadata.end_time:type_name -> google.protobuf.Timestamp
1326 1, // 2: google.firestore.admin.v1beta1.IndexOperationMetadata.operation_type:type_name -> google.firestore.admin.v1beta1.IndexOperationMetadata.OperationType
1327 3, // 3: google.firestore.admin.v1beta1.IndexOperationMetadata.document_progress:type_name -> google.firestore.admin.v1beta1.Progress
1328 15, // 4: google.firestore.admin.v1beta1.CreateIndexRequest.index:type_name -> google.firestore.admin.v1beta1.Index
1329 15, // 5: google.firestore.admin.v1beta1.ListIndexesResponse.indexes:type_name -> google.firestore.admin.v1beta1.Index
1330 14, // 6: google.firestore.admin.v1beta1.ExportDocumentsMetadata.start_time:type_name -> google.protobuf.Timestamp
1331 14, // 7: google.firestore.admin.v1beta1.ExportDocumentsMetadata.end_time:type_name -> google.protobuf.Timestamp
1332 0, // 8: google.firestore.admin.v1beta1.ExportDocumentsMetadata.operation_state:type_name -> google.firestore.admin.v1beta1.OperationState
1333 3, // 9: google.firestore.admin.v1beta1.ExportDocumentsMetadata.progress_documents:type_name -> google.firestore.admin.v1beta1.Progress
1334 3, // 10: google.firestore.admin.v1beta1.ExportDocumentsMetadata.progress_bytes:type_name -> google.firestore.admin.v1beta1.Progress
1335 14, // 11: google.firestore.admin.v1beta1.ImportDocumentsMetadata.start_time:type_name -> google.protobuf.Timestamp
1336 14, // 12: google.firestore.admin.v1beta1.ImportDocumentsMetadata.end_time:type_name -> google.protobuf.Timestamp
1337 0, // 13: google.firestore.admin.v1beta1.ImportDocumentsMetadata.operation_state:type_name -> google.firestore.admin.v1beta1.OperationState
1338 3, // 14: google.firestore.admin.v1beta1.ImportDocumentsMetadata.progress_documents:type_name -> google.firestore.admin.v1beta1.Progress
1339 3, // 15: google.firestore.admin.v1beta1.ImportDocumentsMetadata.progress_bytes:type_name -> google.firestore.admin.v1beta1.Progress
1340 4, // 16: google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex:input_type -> google.firestore.admin.v1beta1.CreateIndexRequest
1341 6, // 17: google.firestore.admin.v1beta1.FirestoreAdmin.ListIndexes:input_type -> google.firestore.admin.v1beta1.ListIndexesRequest
1342 5, // 18: google.firestore.admin.v1beta1.FirestoreAdmin.GetIndex:input_type -> google.firestore.admin.v1beta1.GetIndexRequest
1343 7, // 19: google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex:input_type -> google.firestore.admin.v1beta1.DeleteIndexRequest
1344 9, // 20: google.firestore.admin.v1beta1.FirestoreAdmin.ExportDocuments:input_type -> google.firestore.admin.v1beta1.ExportDocumentsRequest
1345 10, // 21: google.firestore.admin.v1beta1.FirestoreAdmin.ImportDocuments:input_type -> google.firestore.admin.v1beta1.ImportDocumentsRequest
1346 16, // 22: google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex:output_type -> google.longrunning.Operation
1347 8, // 23: google.firestore.admin.v1beta1.FirestoreAdmin.ListIndexes:output_type -> google.firestore.admin.v1beta1.ListIndexesResponse
1348 15, // 24: google.firestore.admin.v1beta1.FirestoreAdmin.GetIndex:output_type -> google.firestore.admin.v1beta1.Index
1349 17, // 25: google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex:output_type -> google.protobuf.Empty
1350 16, // 26: google.firestore.admin.v1beta1.FirestoreAdmin.ExportDocuments:output_type -> google.longrunning.Operation
1351 16, // 27: google.firestore.admin.v1beta1.FirestoreAdmin.ImportDocuments:output_type -> google.longrunning.Operation
1352 22, // [22:28] is the sub-list for method output_type
1353 16, // [16:22] is the sub-list for method input_type
1354 16, // [16:16] is the sub-list for extension type_name
1355 16, // [16:16] is the sub-list for extension extendee
1356 0, // [0:16] is the sub-list for field type_name
1357 }
1358
1359 func init() { file_google_firestore_admin_v1beta1_firestore_admin_proto_init() }
1360 func file_google_firestore_admin_v1beta1_firestore_admin_proto_init() {
1361 if File_google_firestore_admin_v1beta1_firestore_admin_proto != nil {
1362 return
1363 }
1364 file_google_firestore_admin_v1beta1_index_proto_init()
1365 if !protoimpl.UnsafeEnabled {
1366 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1367 switch v := v.(*IndexOperationMetadata); i {
1368 case 0:
1369 return &v.state
1370 case 1:
1371 return &v.sizeCache
1372 case 2:
1373 return &v.unknownFields
1374 default:
1375 return nil
1376 }
1377 }
1378 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1379 switch v := v.(*Progress); i {
1380 case 0:
1381 return &v.state
1382 case 1:
1383 return &v.sizeCache
1384 case 2:
1385 return &v.unknownFields
1386 default:
1387 return nil
1388 }
1389 }
1390 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1391 switch v := v.(*CreateIndexRequest); i {
1392 case 0:
1393 return &v.state
1394 case 1:
1395 return &v.sizeCache
1396 case 2:
1397 return &v.unknownFields
1398 default:
1399 return nil
1400 }
1401 }
1402 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1403 switch v := v.(*GetIndexRequest); i {
1404 case 0:
1405 return &v.state
1406 case 1:
1407 return &v.sizeCache
1408 case 2:
1409 return &v.unknownFields
1410 default:
1411 return nil
1412 }
1413 }
1414 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1415 switch v := v.(*ListIndexesRequest); i {
1416 case 0:
1417 return &v.state
1418 case 1:
1419 return &v.sizeCache
1420 case 2:
1421 return &v.unknownFields
1422 default:
1423 return nil
1424 }
1425 }
1426 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1427 switch v := v.(*DeleteIndexRequest); i {
1428 case 0:
1429 return &v.state
1430 case 1:
1431 return &v.sizeCache
1432 case 2:
1433 return &v.unknownFields
1434 default:
1435 return nil
1436 }
1437 }
1438 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1439 switch v := v.(*ListIndexesResponse); i {
1440 case 0:
1441 return &v.state
1442 case 1:
1443 return &v.sizeCache
1444 case 2:
1445 return &v.unknownFields
1446 default:
1447 return nil
1448 }
1449 }
1450 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1451 switch v := v.(*ExportDocumentsRequest); i {
1452 case 0:
1453 return &v.state
1454 case 1:
1455 return &v.sizeCache
1456 case 2:
1457 return &v.unknownFields
1458 default:
1459 return nil
1460 }
1461 }
1462 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1463 switch v := v.(*ImportDocumentsRequest); i {
1464 case 0:
1465 return &v.state
1466 case 1:
1467 return &v.sizeCache
1468 case 2:
1469 return &v.unknownFields
1470 default:
1471 return nil
1472 }
1473 }
1474 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1475 switch v := v.(*ExportDocumentsResponse); i {
1476 case 0:
1477 return &v.state
1478 case 1:
1479 return &v.sizeCache
1480 case 2:
1481 return &v.unknownFields
1482 default:
1483 return nil
1484 }
1485 }
1486 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1487 switch v := v.(*ExportDocumentsMetadata); i {
1488 case 0:
1489 return &v.state
1490 case 1:
1491 return &v.sizeCache
1492 case 2:
1493 return &v.unknownFields
1494 default:
1495 return nil
1496 }
1497 }
1498 file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1499 switch v := v.(*ImportDocumentsMetadata); i {
1500 case 0:
1501 return &v.state
1502 case 1:
1503 return &v.sizeCache
1504 case 2:
1505 return &v.unknownFields
1506 default:
1507 return nil
1508 }
1509 }
1510 }
1511 type x struct{}
1512 out := protoimpl.TypeBuilder{
1513 File: protoimpl.DescBuilder{
1514 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1515 RawDescriptor: file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDesc,
1516 NumEnums: 2,
1517 NumMessages: 12,
1518 NumExtensions: 0,
1519 NumServices: 1,
1520 },
1521 GoTypes: file_google_firestore_admin_v1beta1_firestore_admin_proto_goTypes,
1522 DependencyIndexes: file_google_firestore_admin_v1beta1_firestore_admin_proto_depIdxs,
1523 EnumInfos: file_google_firestore_admin_v1beta1_firestore_admin_proto_enumTypes,
1524 MessageInfos: file_google_firestore_admin_v1beta1_firestore_admin_proto_msgTypes,
1525 }.Build()
1526 File_google_firestore_admin_v1beta1_firestore_admin_proto = out.File
1527 file_google_firestore_admin_v1beta1_firestore_admin_proto_rawDesc = nil
1528 file_google_firestore_admin_v1beta1_firestore_admin_proto_goTypes = nil
1529 file_google_firestore_admin_v1beta1_firestore_admin_proto_depIdxs = nil
1530 }
1531
1532 // Reference imports to suppress errors if they are not otherwise used.
1533 var _ context.Context
1534 var _ grpc.ClientConnInterface
1535
1536 // This is a compile-time assertion to ensure that this generated file
1537 // is compatible with the grpc package it is being compiled against.
1538 const _ = grpc.SupportPackageIsVersion6
1539
1540 // FirestoreAdminClient is the client API for FirestoreAdmin service.
1541 //
1542 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1543 type FirestoreAdminClient interface {
1544 // Creates the specified index.
1545 // A newly created index's initial state is `CREATING`. On completion of the
1546 // returned [google.longrunning.Operation][google.longrunning.Operation], the state will be `READY`.
1547 // If the index already exists, the call will return an `ALREADY_EXISTS`
1548 // status.
1549 //
1550 // During creation, the process could result in an error, in which case the
1551 // index will move to the `ERROR` state. The process can be recovered by
1552 // fixing the data that caused the error, removing the index with
1553 // [delete][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex], then re-creating the index with
1554 // [create][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex].
1555 //
1556 // Indexes with a single field cannot be created.
1557 CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1558 // Lists the indexes that match the specified filters.
1559 ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error)
1560 // Gets an index.
1561 GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error)
1562 // Deletes an index.
1563 DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1564 // Exports a copy of all or a subset of documents from Google Cloud Firestore
1565 // to another storage system, such as Google Cloud Storage. Recent updates to
1566 // documents may not be reflected in the export. The export occurs in the
1567 // background and its progress can be monitored and managed via the
1568 // Operation resource that is created. The output of an export may only be
1569 // used once the associated operation is done. If an export operation is
1570 // cancelled before completion it may leave partial data behind in Google
1571 // Cloud Storage.
1572 ExportDocuments(ctx context.Context, in *ExportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1573 // Imports documents into Google Cloud Firestore. Existing documents with the
1574 // same name are overwritten. The import occurs in the background and its
1575 // progress can be monitored and managed via the Operation resource that is
1576 // created. If an ImportDocuments operation is cancelled, it is possible
1577 // that a subset of the data has already been imported to Cloud Firestore.
1578 ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1579 }
1580
1581 type firestoreAdminClient struct {
1582 cc grpc.ClientConnInterface
1583 }
1584
1585 func NewFirestoreAdminClient(cc grpc.ClientConnInterface) FirestoreAdminClient {
1586 return &firestoreAdminClient{cc}
1587 }
1588
1589 func (c *firestoreAdminClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1590 out := new(longrunning.Operation)
1591 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/CreateIndex", in, out, opts...)
1592 if err != nil {
1593 return nil, err
1594 }
1595 return out, nil
1596 }
1597
1598 func (c *firestoreAdminClient) ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) {
1599 out := new(ListIndexesResponse)
1600 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/ListIndexes", in, out, opts...)
1601 if err != nil {
1602 return nil, err
1603 }
1604 return out, nil
1605 }
1606
1607 func (c *firestoreAdminClient) GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) {
1608 out := new(Index)
1609 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/GetIndex", in, out, opts...)
1610 if err != nil {
1611 return nil, err
1612 }
1613 return out, nil
1614 }
1615
1616 func (c *firestoreAdminClient) DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1617 out := new(emptypb.Empty)
1618 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/DeleteIndex", in, out, opts...)
1619 if err != nil {
1620 return nil, err
1621 }
1622 return out, nil
1623 }
1624
1625 func (c *firestoreAdminClient) ExportDocuments(ctx context.Context, in *ExportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1626 out := new(longrunning.Operation)
1627 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/ExportDocuments", in, out, opts...)
1628 if err != nil {
1629 return nil, err
1630 }
1631 return out, nil
1632 }
1633
1634 func (c *firestoreAdminClient) ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1635 out := new(longrunning.Operation)
1636 err := c.cc.Invoke(ctx, "/google.firestore.admin.v1beta1.FirestoreAdmin/ImportDocuments", in, out, opts...)
1637 if err != nil {
1638 return nil, err
1639 }
1640 return out, nil
1641 }
1642
1643 // FirestoreAdminServer is the server API for FirestoreAdmin service.
1644 type FirestoreAdminServer interface {
1645 // Creates the specified index.
1646 // A newly created index's initial state is `CREATING`. On completion of the
1647 // returned [google.longrunning.Operation][google.longrunning.Operation], the state will be `READY`.
1648 // If the index already exists, the call will return an `ALREADY_EXISTS`
1649 // status.
1650 //
1651 // During creation, the process could result in an error, in which case the
1652 // index will move to the `ERROR` state. The process can be recovered by
1653 // fixing the data that caused the error, removing the index with
1654 // [delete][google.firestore.admin.v1beta1.FirestoreAdmin.DeleteIndex], then re-creating the index with
1655 // [create][google.firestore.admin.v1beta1.FirestoreAdmin.CreateIndex].
1656 //
1657 // Indexes with a single field cannot be created.
1658 CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error)
1659 // Lists the indexes that match the specified filters.
1660 ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error)
1661 // Gets an index.
1662 GetIndex(context.Context, *GetIndexRequest) (*Index, error)
1663 // Deletes an index.
1664 DeleteIndex(context.Context, *DeleteIndexRequest) (*emptypb.Empty, error)
1665 // Exports a copy of all or a subset of documents from Google Cloud Firestore
1666 // to another storage system, such as Google Cloud Storage. Recent updates to
1667 // documents may not be reflected in the export. The export occurs in the
1668 // background and its progress can be monitored and managed via the
1669 // Operation resource that is created. The output of an export may only be
1670 // used once the associated operation is done. If an export operation is
1671 // cancelled before completion it may leave partial data behind in Google
1672 // Cloud Storage.
1673 ExportDocuments(context.Context, *ExportDocumentsRequest) (*longrunning.Operation, error)
1674 // Imports documents into Google Cloud Firestore. Existing documents with the
1675 // same name are overwritten. The import occurs in the background and its
1676 // progress can be monitored and managed via the Operation resource that is
1677 // created. If an ImportDocuments operation is cancelled, it is possible
1678 // that a subset of the data has already been imported to Cloud Firestore.
1679 ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunning.Operation, error)
1680 }
1681
1682 // UnimplementedFirestoreAdminServer can be embedded to have forward compatible implementations.
1683 type UnimplementedFirestoreAdminServer struct {
1684 }
1685
1686 func (*UnimplementedFirestoreAdminServer) CreateIndex(context.Context, *CreateIndexRequest) (*longrunning.Operation, error) {
1687 return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented")
1688 }
1689 func (*UnimplementedFirestoreAdminServer) ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) {
1690 return nil, status.Errorf(codes.Unimplemented, "method ListIndexes not implemented")
1691 }
1692 func (*UnimplementedFirestoreAdminServer) GetIndex(context.Context, *GetIndexRequest) (*Index, error) {
1693 return nil, status.Errorf(codes.Unimplemented, "method GetIndex not implemented")
1694 }
1695 func (*UnimplementedFirestoreAdminServer) DeleteIndex(context.Context, *DeleteIndexRequest) (*emptypb.Empty, error) {
1696 return nil, status.Errorf(codes.Unimplemented, "method DeleteIndex not implemented")
1697 }
1698 func (*UnimplementedFirestoreAdminServer) ExportDocuments(context.Context, *ExportDocumentsRequest) (*longrunning.Operation, error) {
1699 return nil, status.Errorf(codes.Unimplemented, "method ExportDocuments not implemented")
1700 }
1701 func (*UnimplementedFirestoreAdminServer) ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunning.Operation, error) {
1702 return nil, status.Errorf(codes.Unimplemented, "method ImportDocuments not implemented")
1703 }
1704
1705 func RegisterFirestoreAdminServer(s *grpc.Server, srv FirestoreAdminServer) {
1706 s.RegisterService(&_FirestoreAdmin_serviceDesc, srv)
1707 }
1708
1709 func _FirestoreAdmin_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1710 in := new(CreateIndexRequest)
1711 if err := dec(in); err != nil {
1712 return nil, err
1713 }
1714 if interceptor == nil {
1715 return srv.(FirestoreAdminServer).CreateIndex(ctx, in)
1716 }
1717 info := &grpc.UnaryServerInfo{
1718 Server: srv,
1719 FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/CreateIndex",
1720 }
1721 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1722 return srv.(FirestoreAdminServer).CreateIndex(ctx, req.(*CreateIndexRequest))
1723 }
1724 return interceptor(ctx, in, info, handler)
1725 }
1726
1727 func _FirestoreAdmin_ListIndexes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1728 in := new(ListIndexesRequest)
1729 if err := dec(in); err != nil {
1730 return nil, err
1731 }
1732 if interceptor == nil {
1733 return srv.(FirestoreAdminServer).ListIndexes(ctx, in)
1734 }
1735 info := &grpc.UnaryServerInfo{
1736 Server: srv,
1737 FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/ListIndexes",
1738 }
1739 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1740 return srv.(FirestoreAdminServer).ListIndexes(ctx, req.(*ListIndexesRequest))
1741 }
1742 return interceptor(ctx, in, info, handler)
1743 }
1744
1745 func _FirestoreAdmin_GetIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1746 in := new(GetIndexRequest)
1747 if err := dec(in); err != nil {
1748 return nil, err
1749 }
1750 if interceptor == nil {
1751 return srv.(FirestoreAdminServer).GetIndex(ctx, in)
1752 }
1753 info := &grpc.UnaryServerInfo{
1754 Server: srv,
1755 FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/GetIndex",
1756 }
1757 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1758 return srv.(FirestoreAdminServer).GetIndex(ctx, req.(*GetIndexRequest))
1759 }
1760 return interceptor(ctx, in, info, handler)
1761 }
1762
1763 func _FirestoreAdmin_DeleteIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1764 in := new(DeleteIndexRequest)
1765 if err := dec(in); err != nil {
1766 return nil, err
1767 }
1768 if interceptor == nil {
1769 return srv.(FirestoreAdminServer).DeleteIndex(ctx, in)
1770 }
1771 info := &grpc.UnaryServerInfo{
1772 Server: srv,
1773 FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/DeleteIndex",
1774 }
1775 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1776 return srv.(FirestoreAdminServer).DeleteIndex(ctx, req.(*DeleteIndexRequest))
1777 }
1778 return interceptor(ctx, in, info, handler)
1779 }
1780
1781 func _FirestoreAdmin_ExportDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1782 in := new(ExportDocumentsRequest)
1783 if err := dec(in); err != nil {
1784 return nil, err
1785 }
1786 if interceptor == nil {
1787 return srv.(FirestoreAdminServer).ExportDocuments(ctx, in)
1788 }
1789 info := &grpc.UnaryServerInfo{
1790 Server: srv,
1791 FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/ExportDocuments",
1792 }
1793 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1794 return srv.(FirestoreAdminServer).ExportDocuments(ctx, req.(*ExportDocumentsRequest))
1795 }
1796 return interceptor(ctx, in, info, handler)
1797 }
1798
1799 func _FirestoreAdmin_ImportDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1800 in := new(ImportDocumentsRequest)
1801 if err := dec(in); err != nil {
1802 return nil, err
1803 }
1804 if interceptor == nil {
1805 return srv.(FirestoreAdminServer).ImportDocuments(ctx, in)
1806 }
1807 info := &grpc.UnaryServerInfo{
1808 Server: srv,
1809 FullMethod: "/google.firestore.admin.v1beta1.FirestoreAdmin/ImportDocuments",
1810 }
1811 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1812 return srv.(FirestoreAdminServer).ImportDocuments(ctx, req.(*ImportDocumentsRequest))
1813 }
1814 return interceptor(ctx, in, info, handler)
1815 }
1816
1817 var _FirestoreAdmin_serviceDesc = grpc.ServiceDesc{
1818 ServiceName: "google.firestore.admin.v1beta1.FirestoreAdmin",
1819 HandlerType: (*FirestoreAdminServer)(nil),
1820 Methods: []grpc.MethodDesc{
1821 {
1822 MethodName: "CreateIndex",
1823 Handler: _FirestoreAdmin_CreateIndex_Handler,
1824 },
1825 {
1826 MethodName: "ListIndexes",
1827 Handler: _FirestoreAdmin_ListIndexes_Handler,
1828 },
1829 {
1830 MethodName: "GetIndex",
1831 Handler: _FirestoreAdmin_GetIndex_Handler,
1832 },
1833 {
1834 MethodName: "DeleteIndex",
1835 Handler: _FirestoreAdmin_DeleteIndex_Handler,
1836 },
1837 {
1838 MethodName: "ExportDocuments",
1839 Handler: _FirestoreAdmin_ExportDocuments_Handler,
1840 },
1841 {
1842 MethodName: "ImportDocuments",
1843 Handler: _FirestoreAdmin_ImportDocuments_Handler,
1844 },
1845 },
1846 Streams: []grpc.StreamDesc{},
1847 Metadata: "google/firestore/admin/v1beta1/firestore_admin.proto",
1848 }