Debian Codegraph @

firestore/apiv1/firestorepb/firestore.pb.go

raw
1 // Copyright 2025 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 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/firestore/v1/firestore.proto
20
21 package firestorepb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 status "google.golang.org/genproto/googleapis/rpc/status"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status1 "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 emptypb "google.golang.org/protobuf/types/known/emptypb"
33 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
34 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
35 reflect "reflect"
36 sync "sync"
37 )
38
39 const (
40 // Verify that this generated code is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42 // Verify that runtime/protoimpl is sufficiently up-to-date.
43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 )
45
46 // The type of change.
47 type TargetChange_TargetChangeType int32
48
49 const (
50 // No change has occurred. Used only to send an updated `resume_token`.
51 TargetChange_NO_CHANGE TargetChange_TargetChangeType = 0
52 // The targets have been added.
53 TargetChange_ADD TargetChange_TargetChangeType = 1
54 // The targets have been removed.
55 TargetChange_REMOVE TargetChange_TargetChangeType = 2
56 // The targets reflect all changes committed before the targets were added
57 // to the stream.
58 //
59 // This will be sent after or with a `read_time` that is greater than or
60 // equal to the time at which the targets were added.
61 //
62 // Listeners can wait for this change if read-after-write semantics
63 // are desired.
64 TargetChange_CURRENT TargetChange_TargetChangeType = 3
65 // The targets have been reset, and a new initial state for the targets
66 // will be returned in subsequent changes.
67 //
68 // After the initial state is complete, `CURRENT` will be returned even
69 // if the target was previously indicated to be `CURRENT`.
70 TargetChange_RESET TargetChange_TargetChangeType = 4
71 )
72
73 // Enum value maps for TargetChange_TargetChangeType.
74 var (
75 TargetChange_TargetChangeType_name = map[int32]string{
76 0: "NO_CHANGE",
77 1: "ADD",
78 2: "REMOVE",
79 3: "CURRENT",
80 4: "RESET",
81 }
82 TargetChange_TargetChangeType_value = map[string]int32{
83 "NO_CHANGE": 0,
84 "ADD": 1,
85 "REMOVE": 2,
86 "CURRENT": 3,
87 "RESET": 4,
88 }
89 )
90
91 func (x TargetChange_TargetChangeType) Enum() *TargetChange_TargetChangeType {
92 p := new(TargetChange_TargetChangeType)
93 *p = x
94 return p
95 }
96
97 func (x TargetChange_TargetChangeType) String() string {
98 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
99 }
100
101 func (TargetChange_TargetChangeType) Descriptor() protoreflect.EnumDescriptor {
102 return file_google_firestore_v1_firestore_proto_enumTypes[0].Descriptor()
103 }
104
105 func (TargetChange_TargetChangeType) Type() protoreflect.EnumType {
106 return &file_google_firestore_v1_firestore_proto_enumTypes[0]
107 }
108
109 func (x TargetChange_TargetChangeType) Number() protoreflect.EnumNumber {
110 return protoreflect.EnumNumber(x)
111 }
112
113 // Deprecated: Use TargetChange_TargetChangeType.Descriptor instead.
114 func (TargetChange_TargetChangeType) EnumDescriptor() ([]byte, []int) {
115 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{24, 0}
116 }
117
118 // The request for
119 // [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument].
120 type GetDocumentRequest struct {
121 state protoimpl.MessageState
122 sizeCache protoimpl.SizeCache
123 unknownFields protoimpl.UnknownFields
124
125 // Required. The resource name of the Document to get. In the format:
126 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
127 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
128 // The fields to return. If not set, returns all fields.
129 //
130 // If the document has a field that is not present in this mask, that field
131 // will not be returned in the response.
132 Mask *DocumentMask `protobuf:"bytes,2,opt,name=mask,proto3" json:"mask,omitempty"`
133 // The consistency mode for this transaction.
134 // If not set, defaults to strong consistency.
135 //
136 // Types that are assignable to ConsistencySelector:
137 //
138 // *GetDocumentRequest_Transaction
139 // *GetDocumentRequest_ReadTime
140 ConsistencySelector isGetDocumentRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"`
141 }
142
143 func (x *GetDocumentRequest) Reset() {
144 *x = GetDocumentRequest{}
145 mi := &file_google_firestore_v1_firestore_proto_msgTypes[0]
146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
147 ms.StoreMessageInfo(mi)
148 }
149
150 func (x *GetDocumentRequest) String() string {
151 return protoimpl.X.MessageStringOf(x)
152 }
153
154 func (*GetDocumentRequest) ProtoMessage() {}
155
156 func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message {
157 mi := &file_google_firestore_v1_firestore_proto_msgTypes[0]
158 if x != nil {
159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
160 if ms.LoadMessageInfo() == nil {
161 ms.StoreMessageInfo(mi)
162 }
163 return ms
164 }
165 return mi.MessageOf(x)
166 }
167
168 // Deprecated: Use GetDocumentRequest.ProtoReflect.Descriptor instead.
169 func (*GetDocumentRequest) Descriptor() ([]byte, []int) {
170 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{0}
171 }
172
173 func (x *GetDocumentRequest) GetName() string {
174 if x != nil {
175 return x.Name
176 }
177 return ""
178 }
179
180 func (x *GetDocumentRequest) GetMask() *DocumentMask {
181 if x != nil {
182 return x.Mask
183 }
184 return nil
185 }
186
187 func (m *GetDocumentRequest) GetConsistencySelector() isGetDocumentRequest_ConsistencySelector {
188 if m != nil {
189 return m.ConsistencySelector
190 }
191 return nil
192 }
193
194 func (x *GetDocumentRequest) GetTransaction() []byte {
195 if x, ok := x.GetConsistencySelector().(*GetDocumentRequest_Transaction); ok {
196 return x.Transaction
197 }
198 return nil
199 }
200
201 func (x *GetDocumentRequest) GetReadTime() *timestamppb.Timestamp {
202 if x, ok := x.GetConsistencySelector().(*GetDocumentRequest_ReadTime); ok {
203 return x.ReadTime
204 }
205 return nil
206 }
207
208 type isGetDocumentRequest_ConsistencySelector interface {
209 isGetDocumentRequest_ConsistencySelector()
210 }
211
212 type GetDocumentRequest_Transaction struct {
213 // Reads the document in a transaction.
214 Transaction []byte `protobuf:"bytes,3,opt,name=transaction,proto3,oneof"`
215 }
216
217 type GetDocumentRequest_ReadTime struct {
218 // Reads the version of the document at the given time.
219 //
220 // This must be a microsecond precision timestamp within the past one hour,
221 // or if Point-in-Time Recovery is enabled, can additionally be a whole
222 // minute timestamp within the past 7 days.
223 ReadTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=read_time,json=readTime,proto3,oneof"`
224 }
225
226 func (*GetDocumentRequest_Transaction) isGetDocumentRequest_ConsistencySelector() {}
227
228 func (*GetDocumentRequest_ReadTime) isGetDocumentRequest_ConsistencySelector() {}
229
230 // The request for
231 // [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
232 type ListDocumentsRequest struct {
233 state protoimpl.MessageState
234 sizeCache protoimpl.SizeCache
235 unknownFields protoimpl.UnknownFields
236
237 // Required. The parent resource name. In the format:
238 // `projects/{project_id}/databases/{database_id}/documents` or
239 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
240 //
241 // For example:
242 // `projects/my-project/databases/my-database/documents` or
243 // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
244 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
245 // Optional. The collection ID, relative to `parent`, to list.
246 //
247 // For example: `chatrooms` or `messages`.
248 //
249 // This is optional, and when not provided, Firestore will list documents
250 // from all collections under the provided `parent`.
251 CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
252 // Optional. The maximum number of documents to return in a single response.
253 //
254 // Firestore may return fewer than this value.
255 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
256 // Optional. A page token, received from a previous `ListDocuments` response.
257 //
258 // Provide this to retrieve the subsequent page. When paginating, all other
259 // parameters (with the exception of `page_size`) must match the values set
260 // in the request that generated the page token.
261 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
262 // Optional. The optional ordering of the documents to return.
263 //
264 // For example: `priority desc, __name__ desc`.
265 //
266 // This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
267 // used in Firestore queries but in a string representation. When absent,
268 // documents are ordered based on `__name__ ASC`.
269 OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
270 // Optional. The fields to return. If not set, returns all fields.
271 //
272 // If a document has a field that is not present in this mask, that field
273 // will not be returned in the response.
274 Mask *DocumentMask `protobuf:"bytes,7,opt,name=mask,proto3" json:"mask,omitempty"`
275 // The consistency mode for this transaction.
276 // If not set, defaults to strong consistency.
277 //
278 // Types that are assignable to ConsistencySelector:
279 //
280 // *ListDocumentsRequest_Transaction
281 // *ListDocumentsRequest_ReadTime
282 ConsistencySelector isListDocumentsRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"`
283 // If the list should show missing documents.
284 //
285 // A document is missing if it does not exist, but there are sub-documents
286 // nested underneath it. When true, such missing documents will be returned
287 // with a key but will not have fields,
288 // [`create_time`][google.firestore.v1.Document.create_time], or
289 // [`update_time`][google.firestore.v1.Document.update_time] set.
290 //
291 // Requests with `show_missing` may not specify `where` or `order_by`.
292 ShowMissing bool `protobuf:"varint,12,opt,name=show_missing,json=showMissing,proto3" json:"show_missing,omitempty"`
293 }
294
295 func (x *ListDocumentsRequest) Reset() {
296 *x = ListDocumentsRequest{}
297 mi := &file_google_firestore_v1_firestore_proto_msgTypes[1]
298 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
299 ms.StoreMessageInfo(mi)
300 }
301
302 func (x *ListDocumentsRequest) String() string {
303 return protoimpl.X.MessageStringOf(x)
304 }
305
306 func (*ListDocumentsRequest) ProtoMessage() {}
307
308 func (x *ListDocumentsRequest) ProtoReflect() protoreflect.Message {
309 mi := &file_google_firestore_v1_firestore_proto_msgTypes[1]
310 if x != nil {
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 if ms.LoadMessageInfo() == nil {
313 ms.StoreMessageInfo(mi)
314 }
315 return ms
316 }
317 return mi.MessageOf(x)
318 }
319
320 // Deprecated: Use ListDocumentsRequest.ProtoReflect.Descriptor instead.
321 func (*ListDocumentsRequest) Descriptor() ([]byte, []int) {
322 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{1}
323 }
324
325 func (x *ListDocumentsRequest) GetParent() string {
326 if x != nil {
327 return x.Parent
328 }
329 return ""
330 }
331
332 func (x *ListDocumentsRequest) GetCollectionId() string {
333 if x != nil {
334 return x.CollectionId
335 }
336 return ""
337 }
338
339 func (x *ListDocumentsRequest) GetPageSize() int32 {
340 if x != nil {
341 return x.PageSize
342 }
343 return 0
344 }
345
346 func (x *ListDocumentsRequest) GetPageToken() string {
347 if x != nil {
348 return x.PageToken
349 }
350 return ""
351 }
352
353 func (x *ListDocumentsRequest) GetOrderBy() string {
354 if x != nil {
355 return x.OrderBy
356 }
357 return ""
358 }
359
360 func (x *ListDocumentsRequest) GetMask() *DocumentMask {
361 if x != nil {
362 return x.Mask
363 }
364 return nil
365 }
366
367 func (m *ListDocumentsRequest) GetConsistencySelector() isListDocumentsRequest_ConsistencySelector {
368 if m != nil {
369 return m.ConsistencySelector
370 }
371 return nil
372 }
373
374 func (x *ListDocumentsRequest) GetTransaction() []byte {
375 if x, ok := x.GetConsistencySelector().(*ListDocumentsRequest_Transaction); ok {
376 return x.Transaction
377 }
378 return nil
379 }
380
381 func (x *ListDocumentsRequest) GetReadTime() *timestamppb.Timestamp {
382 if x, ok := x.GetConsistencySelector().(*ListDocumentsRequest_ReadTime); ok {
383 return x.ReadTime
384 }
385 return nil
386 }
387
388 func (x *ListDocumentsRequest) GetShowMissing() bool {
389 if x != nil {
390 return x.ShowMissing
391 }
392 return false
393 }
394
395 type isListDocumentsRequest_ConsistencySelector interface {
396 isListDocumentsRequest_ConsistencySelector()
397 }
398
399 type ListDocumentsRequest_Transaction struct {
400 // Perform the read as part of an already active transaction.
401 Transaction []byte `protobuf:"bytes,8,opt,name=transaction,proto3,oneof"`
402 }
403
404 type ListDocumentsRequest_ReadTime struct {
405 // Perform the read at the provided time.
406 //
407 // This must be a microsecond precision timestamp within the past one hour,
408 // or if Point-in-Time Recovery is enabled, can additionally be a whole
409 // minute timestamp within the past 7 days.
410 ReadTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=read_time,json=readTime,proto3,oneof"`
411 }
412
413 func (*ListDocumentsRequest_Transaction) isListDocumentsRequest_ConsistencySelector() {}
414
415 func (*ListDocumentsRequest_ReadTime) isListDocumentsRequest_ConsistencySelector() {}
416
417 // The response for
418 // [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
419 type ListDocumentsResponse struct {
420 state protoimpl.MessageState
421 sizeCache protoimpl.SizeCache
422 unknownFields protoimpl.UnknownFields
423
424 // The Documents found.
425 Documents []*Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
426 // A token to retrieve the next page of documents.
427 //
428 // If this field is omitted, there are no subsequent pages.
429 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
430 }
431
432 func (x *ListDocumentsResponse) Reset() {
433 *x = ListDocumentsResponse{}
434 mi := &file_google_firestore_v1_firestore_proto_msgTypes[2]
435 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
436 ms.StoreMessageInfo(mi)
437 }
438
439 func (x *ListDocumentsResponse) String() string {
440 return protoimpl.X.MessageStringOf(x)
441 }
442
443 func (*ListDocumentsResponse) ProtoMessage() {}
444
445 func (x *ListDocumentsResponse) ProtoReflect() protoreflect.Message {
446 mi := &file_google_firestore_v1_firestore_proto_msgTypes[2]
447 if x != nil {
448 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
449 if ms.LoadMessageInfo() == nil {
450 ms.StoreMessageInfo(mi)
451 }
452 return ms
453 }
454 return mi.MessageOf(x)
455 }
456
457 // Deprecated: Use ListDocumentsResponse.ProtoReflect.Descriptor instead.
458 func (*ListDocumentsResponse) Descriptor() ([]byte, []int) {
459 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{2}
460 }
461
462 func (x *ListDocumentsResponse) GetDocuments() []*Document {
463 if x != nil {
464 return x.Documents
465 }
466 return nil
467 }
468
469 func (x *ListDocumentsResponse) GetNextPageToken() string {
470 if x != nil {
471 return x.NextPageToken
472 }
473 return ""
474 }
475
476 // The request for
477 // [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
478 type CreateDocumentRequest struct {
479 state protoimpl.MessageState
480 sizeCache protoimpl.SizeCache
481 unknownFields protoimpl.UnknownFields
482
483 // Required. The parent resource. For example:
484 // `projects/{project_id}/databases/{database_id}/documents` or
485 // `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
486 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
487 // Required. The collection ID, relative to `parent`, to list. For example:
488 // `chatrooms`.
489 CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
490 // The client-assigned document ID to use for this document.
491 //
492 // Optional. If not specified, an ID will be assigned by the service.
493 DocumentId string `protobuf:"bytes,3,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
494 // Required. The document to create. `name` must not be set.
495 Document *Document `protobuf:"bytes,4,opt,name=document,proto3" json:"document,omitempty"`
496 // The fields to return. If not set, returns all fields.
497 //
498 // If the document has a field that is not present in this mask, that field
499 // will not be returned in the response.
500 Mask *DocumentMask `protobuf:"bytes,5,opt,name=mask,proto3" json:"mask,omitempty"`
501 }
502
503 func (x *CreateDocumentRequest) Reset() {
504 *x = CreateDocumentRequest{}
505 mi := &file_google_firestore_v1_firestore_proto_msgTypes[3]
506 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
507 ms.StoreMessageInfo(mi)
508 }
509
510 func (x *CreateDocumentRequest) String() string {
511 return protoimpl.X.MessageStringOf(x)
512 }
513
514 func (*CreateDocumentRequest) ProtoMessage() {}
515
516 func (x *CreateDocumentRequest) ProtoReflect() protoreflect.Message {
517 mi := &file_google_firestore_v1_firestore_proto_msgTypes[3]
518 if x != nil {
519 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
520 if ms.LoadMessageInfo() == nil {
521 ms.StoreMessageInfo(mi)
522 }
523 return ms
524 }
525 return mi.MessageOf(x)
526 }
527
528 // Deprecated: Use CreateDocumentRequest.ProtoReflect.Descriptor instead.
529 func (*CreateDocumentRequest) Descriptor() ([]byte, []int) {
530 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{3}
531 }
532
533 func (x *CreateDocumentRequest) GetParent() string {
534 if x != nil {
535 return x.Parent
536 }
537 return ""
538 }
539
540 func (x *CreateDocumentRequest) GetCollectionId() string {
541 if x != nil {
542 return x.CollectionId
543 }
544 return ""
545 }
546
547 func (x *CreateDocumentRequest) GetDocumentId() string {
548 if x != nil {
549 return x.DocumentId
550 }
551 return ""
552 }
553
554 func (x *CreateDocumentRequest) GetDocument() *Document {
555 if x != nil {
556 return x.Document
557 }
558 return nil
559 }
560
561 func (x *CreateDocumentRequest) GetMask() *DocumentMask {
562 if x != nil {
563 return x.Mask
564 }
565 return nil
566 }
567
568 // The request for
569 // [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
570 type UpdateDocumentRequest struct {
571 state protoimpl.MessageState
572 sizeCache protoimpl.SizeCache
573 unknownFields protoimpl.UnknownFields
574
575 // Required. The updated document.
576 // Creates the document if it does not already exist.
577 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
578 // The fields to update.
579 // None of the field paths in the mask may contain a reserved name.
580 //
581 // If the document exists on the server and has fields not referenced in the
582 // mask, they are left unchanged.
583 // Fields referenced in the mask, but not present in the input document, are
584 // deleted from the document on the server.
585 UpdateMask *DocumentMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
586 // The fields to return. If not set, returns all fields.
587 //
588 // If the document has a field that is not present in this mask, that field
589 // will not be returned in the response.
590 Mask *DocumentMask `protobuf:"bytes,3,opt,name=mask,proto3" json:"mask,omitempty"`
591 // An optional precondition on the document.
592 // The request will fail if this is set and not met by the target document.
593 CurrentDocument *Precondition `protobuf:"bytes,4,opt,name=current_document,json=currentDocument,proto3" json:"current_document,omitempty"`
594 }
595
596 func (x *UpdateDocumentRequest) Reset() {
597 *x = UpdateDocumentRequest{}
598 mi := &file_google_firestore_v1_firestore_proto_msgTypes[4]
599 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
600 ms.StoreMessageInfo(mi)
601 }
602
603 func (x *UpdateDocumentRequest) String() string {
604 return protoimpl.X.MessageStringOf(x)
605 }
606
607 func (*UpdateDocumentRequest) ProtoMessage() {}
608
609 func (x *UpdateDocumentRequest) ProtoReflect() protoreflect.Message {
610 mi := &file_google_firestore_v1_firestore_proto_msgTypes[4]
611 if x != nil {
612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
613 if ms.LoadMessageInfo() == nil {
614 ms.StoreMessageInfo(mi)
615 }
616 return ms
617 }
618 return mi.MessageOf(x)
619 }
620
621 // Deprecated: Use UpdateDocumentRequest.ProtoReflect.Descriptor instead.
622 func (*UpdateDocumentRequest) Descriptor() ([]byte, []int) {
623 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{4}
624 }
625
626 func (x *UpdateDocumentRequest) GetDocument() *Document {
627 if x != nil {
628 return x.Document
629 }
630 return nil
631 }
632
633 func (x *UpdateDocumentRequest) GetUpdateMask() *DocumentMask {
634 if x != nil {
635 return x.UpdateMask
636 }
637 return nil
638 }
639
640 func (x *UpdateDocumentRequest) GetMask() *DocumentMask {
641 if x != nil {
642 return x.Mask
643 }
644 return nil
645 }
646
647 func (x *UpdateDocumentRequest) GetCurrentDocument() *Precondition {
648 if x != nil {
649 return x.CurrentDocument
650 }
651 return nil
652 }
653
654 // The request for
655 // [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
656 type DeleteDocumentRequest struct {
657 state protoimpl.MessageState
658 sizeCache protoimpl.SizeCache
659 unknownFields protoimpl.UnknownFields
660
661 // Required. The resource name of the Document to delete. In the format:
662 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
663 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
664 // An optional precondition on the document.
665 // The request will fail if this is set and not met by the target document.
666 CurrentDocument *Precondition `protobuf:"bytes,2,opt,name=current_document,json=currentDocument,proto3" json:"current_document,omitempty"`
667 }
668
669 func (x *DeleteDocumentRequest) Reset() {
670 *x = DeleteDocumentRequest{}
671 mi := &file_google_firestore_v1_firestore_proto_msgTypes[5]
672 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
673 ms.StoreMessageInfo(mi)
674 }
675
676 func (x *DeleteDocumentRequest) String() string {
677 return protoimpl.X.MessageStringOf(x)
678 }
679
680 func (*DeleteDocumentRequest) ProtoMessage() {}
681
682 func (x *DeleteDocumentRequest) ProtoReflect() protoreflect.Message {
683 mi := &file_google_firestore_v1_firestore_proto_msgTypes[5]
684 if x != nil {
685 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
686 if ms.LoadMessageInfo() == nil {
687 ms.StoreMessageInfo(mi)
688 }
689 return ms
690 }
691 return mi.MessageOf(x)
692 }
693
694 // Deprecated: Use DeleteDocumentRequest.ProtoReflect.Descriptor instead.
695 func (*DeleteDocumentRequest) Descriptor() ([]byte, []int) {
696 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{5}
697 }
698
699 func (x *DeleteDocumentRequest) GetName() string {
700 if x != nil {
701 return x.Name
702 }
703 return ""
704 }
705
706 func (x *DeleteDocumentRequest) GetCurrentDocument() *Precondition {
707 if x != nil {
708 return x.CurrentDocument
709 }
710 return nil
711 }
712
713 // The request for
714 // [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
715 type BatchGetDocumentsRequest struct {
716 state protoimpl.MessageState
717 sizeCache protoimpl.SizeCache
718 unknownFields protoimpl.UnknownFields
719
720 // Required. The database name. In the format:
721 // `projects/{project_id}/databases/{database_id}`.
722 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
723 // The names of the documents to retrieve. In the format:
724 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
725 // The request will fail if any of the document is not a child resource of the
726 // given `database`. Duplicate names will be elided.
727 Documents []string `protobuf:"bytes,2,rep,name=documents,proto3" json:"documents,omitempty"`
728 // The fields to return. If not set, returns all fields.
729 //
730 // If a document has a field that is not present in this mask, that field will
731 // not be returned in the response.
732 Mask *DocumentMask `protobuf:"bytes,3,opt,name=mask,proto3" json:"mask,omitempty"`
733 // The consistency mode for this transaction.
734 // If not set, defaults to strong consistency.
735 //
736 // Types that are assignable to ConsistencySelector:
737 //
738 // *BatchGetDocumentsRequest_Transaction
739 // *BatchGetDocumentsRequest_NewTransaction
740 // *BatchGetDocumentsRequest_ReadTime
741 ConsistencySelector isBatchGetDocumentsRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"`
742 }
743
744 func (x *BatchGetDocumentsRequest) Reset() {
745 *x = BatchGetDocumentsRequest{}
746 mi := &file_google_firestore_v1_firestore_proto_msgTypes[6]
747 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
748 ms.StoreMessageInfo(mi)
749 }
750
751 func (x *BatchGetDocumentsRequest) String() string {
752 return protoimpl.X.MessageStringOf(x)
753 }
754
755 func (*BatchGetDocumentsRequest) ProtoMessage() {}
756
757 func (x *BatchGetDocumentsRequest) ProtoReflect() protoreflect.Message {
758 mi := &file_google_firestore_v1_firestore_proto_msgTypes[6]
759 if x != nil {
760 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
761 if ms.LoadMessageInfo() == nil {
762 ms.StoreMessageInfo(mi)
763 }
764 return ms
765 }
766 return mi.MessageOf(x)
767 }
768
769 // Deprecated: Use BatchGetDocumentsRequest.ProtoReflect.Descriptor instead.
770 func (*BatchGetDocumentsRequest) Descriptor() ([]byte, []int) {
771 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{6}
772 }
773
774 func (x *BatchGetDocumentsRequest) GetDatabase() string {
775 if x != nil {
776 return x.Database
777 }
778 return ""
779 }
780
781 func (x *BatchGetDocumentsRequest) GetDocuments() []string {
782 if x != nil {
783 return x.Documents
784 }
785 return nil
786 }
787
788 func (x *BatchGetDocumentsRequest) GetMask() *DocumentMask {
789 if x != nil {
790 return x.Mask
791 }
792 return nil
793 }
794
795 func (m *BatchGetDocumentsRequest) GetConsistencySelector() isBatchGetDocumentsRequest_ConsistencySelector {
796 if m != nil {
797 return m.ConsistencySelector
798 }
799 return nil
800 }
801
802 func (x *BatchGetDocumentsRequest) GetTransaction() []byte {
803 if x, ok := x.GetConsistencySelector().(*BatchGetDocumentsRequest_Transaction); ok {
804 return x.Transaction
805 }
806 return nil
807 }
808
809 func (x *BatchGetDocumentsRequest) GetNewTransaction() *TransactionOptions {
810 if x, ok := x.GetConsistencySelector().(*BatchGetDocumentsRequest_NewTransaction); ok {
811 return x.NewTransaction
812 }
813 return nil
814 }
815
816 func (x *BatchGetDocumentsRequest) GetReadTime() *timestamppb.Timestamp {
817 if x, ok := x.GetConsistencySelector().(*BatchGetDocumentsRequest_ReadTime); ok {
818 return x.ReadTime
819 }
820 return nil
821 }
822
823 type isBatchGetDocumentsRequest_ConsistencySelector interface {
824 isBatchGetDocumentsRequest_ConsistencySelector()
825 }
826
827 type BatchGetDocumentsRequest_Transaction struct {
828 // Reads documents in a transaction.
829 Transaction []byte `protobuf:"bytes,4,opt,name=transaction,proto3,oneof"`
830 }
831
832 type BatchGetDocumentsRequest_NewTransaction struct {
833 // Starts a new transaction and reads the documents.
834 // Defaults to a read-only transaction.
835 // The new transaction ID will be returned as the first response in the
836 // stream.
837 NewTransaction *TransactionOptions `protobuf:"bytes,5,opt,name=new_transaction,json=newTransaction,proto3,oneof"`
838 }
839
840 type BatchGetDocumentsRequest_ReadTime struct {
841 // Reads documents as they were at the given time.
842 //
843 // This must be a microsecond precision timestamp within the past one hour,
844 // or if Point-in-Time Recovery is enabled, can additionally be a whole
845 // minute timestamp within the past 7 days.
846 ReadTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3,oneof"`
847 }
848
849 func (*BatchGetDocumentsRequest_Transaction) isBatchGetDocumentsRequest_ConsistencySelector() {}
850
851 func (*BatchGetDocumentsRequest_NewTransaction) isBatchGetDocumentsRequest_ConsistencySelector() {}
852
853 func (*BatchGetDocumentsRequest_ReadTime) isBatchGetDocumentsRequest_ConsistencySelector() {}
854
855 // The streamed response for
856 // [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
857 type BatchGetDocumentsResponse struct {
858 state protoimpl.MessageState
859 sizeCache protoimpl.SizeCache
860 unknownFields protoimpl.UnknownFields
861
862 // A single result.
863 // This can be empty if the server is just returning a transaction.
864 //
865 // Types that are assignable to Result:
866 //
867 // *BatchGetDocumentsResponse_Found
868 // *BatchGetDocumentsResponse_Missing
869 Result isBatchGetDocumentsResponse_Result `protobuf_oneof:"result"`
870 // The transaction that was started as part of this request.
871 // Will only be set in the first response, and only if
872 // [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction]
873 // was set in the request.
874 Transaction []byte `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"`
875 // The time at which the document was read.
876 // This may be monotically increasing, in this case the previous documents in
877 // the result stream are guaranteed not to have changed between their
878 // read_time and this one.
879 ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
880 }
881
882 func (x *BatchGetDocumentsResponse) Reset() {
883 *x = BatchGetDocumentsResponse{}
884 mi := &file_google_firestore_v1_firestore_proto_msgTypes[7]
885 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
886 ms.StoreMessageInfo(mi)
887 }
888
889 func (x *BatchGetDocumentsResponse) String() string {
890 return protoimpl.X.MessageStringOf(x)
891 }
892
893 func (*BatchGetDocumentsResponse) ProtoMessage() {}
894
895 func (x *BatchGetDocumentsResponse) ProtoReflect() protoreflect.Message {
896 mi := &file_google_firestore_v1_firestore_proto_msgTypes[7]
897 if x != nil {
898 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
899 if ms.LoadMessageInfo() == nil {
900 ms.StoreMessageInfo(mi)
901 }
902 return ms
903 }
904 return mi.MessageOf(x)
905 }
906
907 // Deprecated: Use BatchGetDocumentsResponse.ProtoReflect.Descriptor instead.
908 func (*BatchGetDocumentsResponse) Descriptor() ([]byte, []int) {
909 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{7}
910 }
911
912 func (m *BatchGetDocumentsResponse) GetResult() isBatchGetDocumentsResponse_Result {
913 if m != nil {
914 return m.Result
915 }
916 return nil
917 }
918
919 func (x *BatchGetDocumentsResponse) GetFound() *Document {
920 if x, ok := x.GetResult().(*BatchGetDocumentsResponse_Found); ok {
921 return x.Found
922 }
923 return nil
924 }
925
926 func (x *BatchGetDocumentsResponse) GetMissing() string {
927 if x, ok := x.GetResult().(*BatchGetDocumentsResponse_Missing); ok {
928 return x.Missing
929 }
930 return ""
931 }
932
933 func (x *BatchGetDocumentsResponse) GetTransaction() []byte {
934 if x != nil {
935 return x.Transaction
936 }
937 return nil
938 }
939
940 func (x *BatchGetDocumentsResponse) GetReadTime() *timestamppb.Timestamp {
941 if x != nil {
942 return x.ReadTime
943 }
944 return nil
945 }
946
947 type isBatchGetDocumentsResponse_Result interface {
948 isBatchGetDocumentsResponse_Result()
949 }
950
951 type BatchGetDocumentsResponse_Found struct {
952 // A document that was requested.
953 Found *Document `protobuf:"bytes,1,opt,name=found,proto3,oneof"`
954 }
955
956 type BatchGetDocumentsResponse_Missing struct {
957 // A document name that was requested but does not exist. In the format:
958 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
959 Missing string `protobuf:"bytes,2,opt,name=missing,proto3,oneof"`
960 }
961
962 func (*BatchGetDocumentsResponse_Found) isBatchGetDocumentsResponse_Result() {}
963
964 func (*BatchGetDocumentsResponse_Missing) isBatchGetDocumentsResponse_Result() {}
965
966 // The request for
967 // [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
968 type BeginTransactionRequest struct {
969 state protoimpl.MessageState
970 sizeCache protoimpl.SizeCache
971 unknownFields protoimpl.UnknownFields
972
973 // Required. The database name. In the format:
974 // `projects/{project_id}/databases/{database_id}`.
975 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
976 // The options for the transaction.
977 // Defaults to a read-write transaction.
978 Options *TransactionOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
979 }
980
981 func (x *BeginTransactionRequest) Reset() {
982 *x = BeginTransactionRequest{}
983 mi := &file_google_firestore_v1_firestore_proto_msgTypes[8]
984 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
985 ms.StoreMessageInfo(mi)
986 }
987
988 func (x *BeginTransactionRequest) String() string {
989 return protoimpl.X.MessageStringOf(x)
990 }
991
992 func (*BeginTransactionRequest) ProtoMessage() {}
993
994 func (x *BeginTransactionRequest) ProtoReflect() protoreflect.Message {
995 mi := &file_google_firestore_v1_firestore_proto_msgTypes[8]
996 if x != nil {
997 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
998 if ms.LoadMessageInfo() == nil {
999 ms.StoreMessageInfo(mi)
1000 }
1001 return ms
1002 }
1003 return mi.MessageOf(x)
1004 }
1005
1006 // Deprecated: Use BeginTransactionRequest.ProtoReflect.Descriptor instead.
1007 func (*BeginTransactionRequest) Descriptor() ([]byte, []int) {
1008 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{8}
1009 }
1010
1011 func (x *BeginTransactionRequest) GetDatabase() string {
1012 if x != nil {
1013 return x.Database
1014 }
1015 return ""
1016 }
1017
1018 func (x *BeginTransactionRequest) GetOptions() *TransactionOptions {
1019 if x != nil {
1020 return x.Options
1021 }
1022 return nil
1023 }
1024
1025 // The response for
1026 // [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
1027 type BeginTransactionResponse struct {
1028 state protoimpl.MessageState
1029 sizeCache protoimpl.SizeCache
1030 unknownFields protoimpl.UnknownFields
1031
1032 // The transaction that was started.
1033 Transaction []byte `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
1034 }
1035
1036 func (x *BeginTransactionResponse) Reset() {
1037 *x = BeginTransactionResponse{}
1038 mi := &file_google_firestore_v1_firestore_proto_msgTypes[9]
1039 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1040 ms.StoreMessageInfo(mi)
1041 }
1042
1043 func (x *BeginTransactionResponse) String() string {
1044 return protoimpl.X.MessageStringOf(x)
1045 }
1046
1047 func (*BeginTransactionResponse) ProtoMessage() {}
1048
1049 func (x *BeginTransactionResponse) ProtoReflect() protoreflect.Message {
1050 mi := &file_google_firestore_v1_firestore_proto_msgTypes[9]
1051 if x != nil {
1052 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1053 if ms.LoadMessageInfo() == nil {
1054 ms.StoreMessageInfo(mi)
1055 }
1056 return ms
1057 }
1058 return mi.MessageOf(x)
1059 }
1060
1061 // Deprecated: Use BeginTransactionResponse.ProtoReflect.Descriptor instead.
1062 func (*BeginTransactionResponse) Descriptor() ([]byte, []int) {
1063 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{9}
1064 }
1065
1066 func (x *BeginTransactionResponse) GetTransaction() []byte {
1067 if x != nil {
1068 return x.Transaction
1069 }
1070 return nil
1071 }
1072
1073 // The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
1074 type CommitRequest struct {
1075 state protoimpl.MessageState
1076 sizeCache protoimpl.SizeCache
1077 unknownFields protoimpl.UnknownFields
1078
1079 // Required. The database name. In the format:
1080 // `projects/{project_id}/databases/{database_id}`.
1081 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
1082 // The writes to apply.
1083 //
1084 // Always executed atomically and in order.
1085 Writes []*Write `protobuf:"bytes,2,rep,name=writes,proto3" json:"writes,omitempty"`
1086 // If set, applies all writes in this transaction, and commits it.
1087 Transaction []byte `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"`
1088 }
1089
1090 func (x *CommitRequest) Reset() {
1091 *x = CommitRequest{}
1092 mi := &file_google_firestore_v1_firestore_proto_msgTypes[10]
1093 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1094 ms.StoreMessageInfo(mi)
1095 }
1096
1097 func (x *CommitRequest) String() string {
1098 return protoimpl.X.MessageStringOf(x)
1099 }
1100
1101 func (*CommitRequest) ProtoMessage() {}
1102
1103 func (x *CommitRequest) ProtoReflect() protoreflect.Message {
1104 mi := &file_google_firestore_v1_firestore_proto_msgTypes[10]
1105 if x != nil {
1106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1107 if ms.LoadMessageInfo() == nil {
1108 ms.StoreMessageInfo(mi)
1109 }
1110 return ms
1111 }
1112 return mi.MessageOf(x)
1113 }
1114
1115 // Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
1116 func (*CommitRequest) Descriptor() ([]byte, []int) {
1117 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{10}
1118 }
1119
1120 func (x *CommitRequest) GetDatabase() string {
1121 if x != nil {
1122 return x.Database
1123 }
1124 return ""
1125 }
1126
1127 func (x *CommitRequest) GetWrites() []*Write {
1128 if x != nil {
1129 return x.Writes
1130 }
1131 return nil
1132 }
1133
1134 func (x *CommitRequest) GetTransaction() []byte {
1135 if x != nil {
1136 return x.Transaction
1137 }
1138 return nil
1139 }
1140
1141 // The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
1142 type CommitResponse struct {
1143 state protoimpl.MessageState
1144 sizeCache protoimpl.SizeCache
1145 unknownFields protoimpl.UnknownFields
1146
1147 // The result of applying the writes.
1148 //
1149 // This i-th write result corresponds to the i-th write in the
1150 // request.
1151 WriteResults []*WriteResult `protobuf:"bytes,1,rep,name=write_results,json=writeResults,proto3" json:"write_results,omitempty"`
1152 // The time at which the commit occurred. Any read with an equal or greater
1153 // `read_time` is guaranteed to see the effects of the commit.
1154 CommitTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"`
1155 }
1156
1157 func (x *CommitResponse) Reset() {
1158 *x = CommitResponse{}
1159 mi := &file_google_firestore_v1_firestore_proto_msgTypes[11]
1160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1161 ms.StoreMessageInfo(mi)
1162 }
1163
1164 func (x *CommitResponse) String() string {
1165 return protoimpl.X.MessageStringOf(x)
1166 }
1167
1168 func (*CommitResponse) ProtoMessage() {}
1169
1170 func (x *CommitResponse) ProtoReflect() protoreflect.Message {
1171 mi := &file_google_firestore_v1_firestore_proto_msgTypes[11]
1172 if x != nil {
1173 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1174 if ms.LoadMessageInfo() == nil {
1175 ms.StoreMessageInfo(mi)
1176 }
1177 return ms
1178 }
1179 return mi.MessageOf(x)
1180 }
1181
1182 // Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.
1183 func (*CommitResponse) Descriptor() ([]byte, []int) {
1184 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{11}
1185 }
1186
1187 func (x *CommitResponse) GetWriteResults() []*WriteResult {
1188 if x != nil {
1189 return x.WriteResults
1190 }
1191 return nil
1192 }
1193
1194 func (x *CommitResponse) GetCommitTime() *timestamppb.Timestamp {
1195 if x != nil {
1196 return x.CommitTime
1197 }
1198 return nil
1199 }
1200
1201 // The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].
1202 type RollbackRequest struct {
1203 state protoimpl.MessageState
1204 sizeCache protoimpl.SizeCache
1205 unknownFields protoimpl.UnknownFields
1206
1207 // Required. The database name. In the format:
1208 // `projects/{project_id}/databases/{database_id}`.
1209 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
1210 // Required. The transaction to roll back.
1211 Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
1212 }
1213
1214 func (x *RollbackRequest) Reset() {
1215 *x = RollbackRequest{}
1216 mi := &file_google_firestore_v1_firestore_proto_msgTypes[12]
1217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1218 ms.StoreMessageInfo(mi)
1219 }
1220
1221 func (x *RollbackRequest) String() string {
1222 return protoimpl.X.MessageStringOf(x)
1223 }
1224
1225 func (*RollbackRequest) ProtoMessage() {}
1226
1227 func (x *RollbackRequest) ProtoReflect() protoreflect.Message {
1228 mi := &file_google_firestore_v1_firestore_proto_msgTypes[12]
1229 if x != nil {
1230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1231 if ms.LoadMessageInfo() == nil {
1232 ms.StoreMessageInfo(mi)
1233 }
1234 return ms
1235 }
1236 return mi.MessageOf(x)
1237 }
1238
1239 // Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead.
1240 func (*RollbackRequest) Descriptor() ([]byte, []int) {
1241 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{12}
1242 }
1243
1244 func (x *RollbackRequest) GetDatabase() string {
1245 if x != nil {
1246 return x.Database
1247 }
1248 return ""
1249 }
1250
1251 func (x *RollbackRequest) GetTransaction() []byte {
1252 if x != nil {
1253 return x.Transaction
1254 }
1255 return nil
1256 }
1257
1258 // The request for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
1259 type RunQueryRequest struct {
1260 state protoimpl.MessageState
1261 sizeCache protoimpl.SizeCache
1262 unknownFields protoimpl.UnknownFields
1263
1264 // Required. The parent resource name. In the format:
1265 // `projects/{project_id}/databases/{database_id}/documents` or
1266 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
1267 // For example:
1268 // `projects/my-project/databases/my-database/documents` or
1269 // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
1270 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
1271 // The query to run.
1272 //
1273 // Types that are assignable to QueryType:
1274 //
1275 // *RunQueryRequest_StructuredQuery
1276 QueryType isRunQueryRequest_QueryType `protobuf_oneof:"query_type"`
1277 // The consistency mode for this transaction.
1278 // If not set, defaults to strong consistency.
1279 //
1280 // Types that are assignable to ConsistencySelector:
1281 //
1282 // *RunQueryRequest_Transaction
1283 // *RunQueryRequest_NewTransaction
1284 // *RunQueryRequest_ReadTime
1285 ConsistencySelector isRunQueryRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"`
1286 // Optional. Explain options for the query. If set, additional query
1287 // statistics will be returned. If not, only query results will be returned.
1288 ExplainOptions *ExplainOptions `protobuf:"bytes,10,opt,name=explain_options,json=explainOptions,proto3" json:"explain_options,omitempty"`
1289 }
1290
1291 func (x *RunQueryRequest) Reset() {
1292 *x = RunQueryRequest{}
1293 mi := &file_google_firestore_v1_firestore_proto_msgTypes[13]
1294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1295 ms.StoreMessageInfo(mi)
1296 }
1297
1298 func (x *RunQueryRequest) String() string {
1299 return protoimpl.X.MessageStringOf(x)
1300 }
1301
1302 func (*RunQueryRequest) ProtoMessage() {}
1303
1304 func (x *RunQueryRequest) ProtoReflect() protoreflect.Message {
1305 mi := &file_google_firestore_v1_firestore_proto_msgTypes[13]
1306 if x != nil {
1307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1308 if ms.LoadMessageInfo() == nil {
1309 ms.StoreMessageInfo(mi)
1310 }
1311 return ms
1312 }
1313 return mi.MessageOf(x)
1314 }
1315
1316 // Deprecated: Use RunQueryRequest.ProtoReflect.Descriptor instead.
1317 func (*RunQueryRequest) Descriptor() ([]byte, []int) {
1318 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{13}
1319 }
1320
1321 func (x *RunQueryRequest) GetParent() string {
1322 if x != nil {
1323 return x.Parent
1324 }
1325 return ""
1326 }
1327
1328 func (m *RunQueryRequest) GetQueryType() isRunQueryRequest_QueryType {
1329 if m != nil {
1330 return m.QueryType
1331 }
1332 return nil
1333 }
1334
1335 func (x *RunQueryRequest) GetStructuredQuery() *StructuredQuery {
1336 if x, ok := x.GetQueryType().(*RunQueryRequest_StructuredQuery); ok {
1337 return x.StructuredQuery
1338 }
1339 return nil
1340 }
1341
1342 func (m *RunQueryRequest) GetConsistencySelector() isRunQueryRequest_ConsistencySelector {
1343 if m != nil {
1344 return m.ConsistencySelector
1345 }
1346 return nil
1347 }
1348
1349 func (x *RunQueryRequest) GetTransaction() []byte {
1350 if x, ok := x.GetConsistencySelector().(*RunQueryRequest_Transaction); ok {
1351 return x.Transaction
1352 }
1353 return nil
1354 }
1355
1356 func (x *RunQueryRequest) GetNewTransaction() *TransactionOptions {
1357 if x, ok := x.GetConsistencySelector().(*RunQueryRequest_NewTransaction); ok {
1358 return x.NewTransaction
1359 }
1360 return nil
1361 }
1362
1363 func (x *RunQueryRequest) GetReadTime() *timestamppb.Timestamp {
1364 if x, ok := x.GetConsistencySelector().(*RunQueryRequest_ReadTime); ok {
1365 return x.ReadTime
1366 }
1367 return nil
1368 }
1369
1370 func (x *RunQueryRequest) GetExplainOptions() *ExplainOptions {
1371 if x != nil {
1372 return x.ExplainOptions
1373 }
1374 return nil
1375 }
1376
1377 type isRunQueryRequest_QueryType interface {
1378 isRunQueryRequest_QueryType()
1379 }
1380
1381 type RunQueryRequest_StructuredQuery struct {
1382 // A structured query.
1383 StructuredQuery *StructuredQuery `protobuf:"bytes,2,opt,name=structured_query,json=structuredQuery,proto3,oneof"`
1384 }
1385
1386 func (*RunQueryRequest_StructuredQuery) isRunQueryRequest_QueryType() {}
1387
1388 type isRunQueryRequest_ConsistencySelector interface {
1389 isRunQueryRequest_ConsistencySelector()
1390 }
1391
1392 type RunQueryRequest_Transaction struct {
1393 // Run the query within an already active transaction.
1394 //
1395 // The value here is the opaque transaction ID to execute the query in.
1396 Transaction []byte `protobuf:"bytes,5,opt,name=transaction,proto3,oneof"`
1397 }
1398
1399 type RunQueryRequest_NewTransaction struct {
1400 // Starts a new transaction and reads the documents.
1401 // Defaults to a read-only transaction.
1402 // The new transaction ID will be returned as the first response in the
1403 // stream.
1404 NewTransaction *TransactionOptions `protobuf:"bytes,6,opt,name=new_transaction,json=newTransaction,proto3,oneof"`
1405 }
1406
1407 type RunQueryRequest_ReadTime struct {
1408 // Reads documents as they were at the given time.
1409 //
1410 // This must be a microsecond precision timestamp within the past one hour,
1411 // or if Point-in-Time Recovery is enabled, can additionally be a whole
1412 // minute timestamp within the past 7 days.
1413 ReadTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3,oneof"`
1414 }
1415
1416 func (*RunQueryRequest_Transaction) isRunQueryRequest_ConsistencySelector() {}
1417
1418 func (*RunQueryRequest_NewTransaction) isRunQueryRequest_ConsistencySelector() {}
1419
1420 func (*RunQueryRequest_ReadTime) isRunQueryRequest_ConsistencySelector() {}
1421
1422 // The response for
1423 // [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
1424 type RunQueryResponse struct {
1425 state protoimpl.MessageState
1426 sizeCache protoimpl.SizeCache
1427 unknownFields protoimpl.UnknownFields
1428
1429 // The transaction that was started as part of this request.
1430 // Can only be set in the first response, and only if
1431 // [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction]
1432 // was set in the request. If set, no other fields will be set in this
1433 // response.
1434 Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
1435 // A query result, not set when reporting partial progress.
1436 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
1437 // The time at which the document was read. This may be monotonically
1438 // increasing; in this case, the previous documents in the result stream are
1439 // guaranteed not to have changed between their `read_time` and this one.
1440 //
1441 // If the query returns no results, a response with `read_time` and no
1442 // `document` will be sent, and this represents the time at which the query
1443 // was run.
1444 ReadTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
1445 // The number of results that have been skipped due to an offset between
1446 // the last response and the current response.
1447 SkippedResults int32 `protobuf:"varint,4,opt,name=skipped_results,json=skippedResults,proto3" json:"skipped_results,omitempty"`
1448 // The continuation mode for the query. If present, it indicates the current
1449 // query response stream has finished. This can be set with or without a
1450 // `document` present, but when set, no more results are returned.
1451 //
1452 // Types that are assignable to ContinuationSelector:
1453 //
1454 // *RunQueryResponse_Done
1455 ContinuationSelector isRunQueryResponse_ContinuationSelector `protobuf_oneof:"continuation_selector"`
1456 // Query explain metrics. This is only present when the
1457 // [RunQueryRequest.explain_options][google.firestore.v1.RunQueryRequest.explain_options]
1458 // is provided, and it is sent only once with the last response in the stream.
1459 ExplainMetrics *ExplainMetrics `protobuf:"bytes,11,opt,name=explain_metrics,json=explainMetrics,proto3" json:"explain_metrics,omitempty"`
1460 }
1461
1462 func (x *RunQueryResponse) Reset() {
1463 *x = RunQueryResponse{}
1464 mi := &file_google_firestore_v1_firestore_proto_msgTypes[14]
1465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1466 ms.StoreMessageInfo(mi)
1467 }
1468
1469 func (x *RunQueryResponse) String() string {
1470 return protoimpl.X.MessageStringOf(x)
1471 }
1472
1473 func (*RunQueryResponse) ProtoMessage() {}
1474
1475 func (x *RunQueryResponse) ProtoReflect() protoreflect.Message {
1476 mi := &file_google_firestore_v1_firestore_proto_msgTypes[14]
1477 if x != nil {
1478 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1479 if ms.LoadMessageInfo() == nil {
1480 ms.StoreMessageInfo(mi)
1481 }
1482 return ms
1483 }
1484 return mi.MessageOf(x)
1485 }
1486
1487 // Deprecated: Use RunQueryResponse.ProtoReflect.Descriptor instead.
1488 func (*RunQueryResponse) Descriptor() ([]byte, []int) {
1489 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{14}
1490 }
1491
1492 func (x *RunQueryResponse) GetTransaction() []byte {
1493 if x != nil {
1494 return x.Transaction
1495 }
1496 return nil
1497 }
1498
1499 func (x *RunQueryResponse) GetDocument() *Document {
1500 if x != nil {
1501 return x.Document
1502 }
1503 return nil
1504 }
1505
1506 func (x *RunQueryResponse) GetReadTime() *timestamppb.Timestamp {
1507 if x != nil {
1508 return x.ReadTime
1509 }
1510 return nil
1511 }
1512
1513 func (x *RunQueryResponse) GetSkippedResults() int32 {
1514 if x != nil {
1515 return x.SkippedResults
1516 }
1517 return 0
1518 }
1519
1520 func (m *RunQueryResponse) GetContinuationSelector() isRunQueryResponse_ContinuationSelector {
1521 if m != nil {
1522 return m.ContinuationSelector
1523 }
1524 return nil
1525 }
1526
1527 func (x *RunQueryResponse) GetDone() bool {
1528 if x, ok := x.GetContinuationSelector().(*RunQueryResponse_Done); ok {
1529 return x.Done
1530 }
1531 return false
1532 }
1533
1534 func (x *RunQueryResponse) GetExplainMetrics() *ExplainMetrics {
1535 if x != nil {
1536 return x.ExplainMetrics
1537 }
1538 return nil
1539 }
1540
1541 type isRunQueryResponse_ContinuationSelector interface {
1542 isRunQueryResponse_ContinuationSelector()
1543 }
1544
1545 type RunQueryResponse_Done struct {
1546 // If present, Firestore has completely finished the request and no more
1547 // documents will be returned.
1548 Done bool `protobuf:"varint,6,opt,name=done,proto3,oneof"`
1549 }
1550
1551 func (*RunQueryResponse_Done) isRunQueryResponse_ContinuationSelector() {}
1552
1553 // The request for
1554 // [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
1555 type RunAggregationQueryRequest struct {
1556 state protoimpl.MessageState
1557 sizeCache protoimpl.SizeCache
1558 unknownFields protoimpl.UnknownFields
1559
1560 // Required. The parent resource name. In the format:
1561 // `projects/{project_id}/databases/{database_id}/documents` or
1562 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
1563 // For example:
1564 // `projects/my-project/databases/my-database/documents` or
1565 // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
1566 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
1567 // The query to run.
1568 //
1569 // Types that are assignable to QueryType:
1570 //
1571 // *RunAggregationQueryRequest_StructuredAggregationQuery
1572 QueryType isRunAggregationQueryRequest_QueryType `protobuf_oneof:"query_type"`
1573 // The consistency mode for the query, defaults to strong consistency.
1574 //
1575 // Types that are assignable to ConsistencySelector:
1576 //
1577 // *RunAggregationQueryRequest_Transaction
1578 // *RunAggregationQueryRequest_NewTransaction
1579 // *RunAggregationQueryRequest_ReadTime
1580 ConsistencySelector isRunAggregationQueryRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"`
1581 // Optional. Explain options for the query. If set, additional query
1582 // statistics will be returned. If not, only query results will be returned.
1583 ExplainOptions *ExplainOptions `protobuf:"bytes,8,opt,name=explain_options,json=explainOptions,proto3" json:"explain_options,omitempty"`
1584 }
1585
1586 func (x *RunAggregationQueryRequest) Reset() {
1587 *x = RunAggregationQueryRequest{}
1588 mi := &file_google_firestore_v1_firestore_proto_msgTypes[15]
1589 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1590 ms.StoreMessageInfo(mi)
1591 }
1592
1593 func (x *RunAggregationQueryRequest) String() string {
1594 return protoimpl.X.MessageStringOf(x)
1595 }
1596
1597 func (*RunAggregationQueryRequest) ProtoMessage() {}
1598
1599 func (x *RunAggregationQueryRequest) ProtoReflect() protoreflect.Message {
1600 mi := &file_google_firestore_v1_firestore_proto_msgTypes[15]
1601 if x != nil {
1602 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1603 if ms.LoadMessageInfo() == nil {
1604 ms.StoreMessageInfo(mi)
1605 }
1606 return ms
1607 }
1608 return mi.MessageOf(x)
1609 }
1610
1611 // Deprecated: Use RunAggregationQueryRequest.ProtoReflect.Descriptor instead.
1612 func (*RunAggregationQueryRequest) Descriptor() ([]byte, []int) {
1613 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{15}
1614 }
1615
1616 func (x *RunAggregationQueryRequest) GetParent() string {
1617 if x != nil {
1618 return x.Parent
1619 }
1620 return ""
1621 }
1622
1623 func (m *RunAggregationQueryRequest) GetQueryType() isRunAggregationQueryRequest_QueryType {
1624 if m != nil {
1625 return m.QueryType
1626 }
1627 return nil
1628 }
1629
1630 func (x *RunAggregationQueryRequest) GetStructuredAggregationQuery() *StructuredAggregationQuery {
1631 if x, ok := x.GetQueryType().(*RunAggregationQueryRequest_StructuredAggregationQuery); ok {
1632 return x.StructuredAggregationQuery
1633 }
1634 return nil
1635 }
1636
1637 func (m *RunAggregationQueryRequest) GetConsistencySelector() isRunAggregationQueryRequest_ConsistencySelector {
1638 if m != nil {
1639 return m.ConsistencySelector
1640 }
1641 return nil
1642 }
1643
1644 func (x *RunAggregationQueryRequest) GetTransaction() []byte {
1645 if x, ok := x.GetConsistencySelector().(*RunAggregationQueryRequest_Transaction); ok {
1646 return x.Transaction
1647 }
1648 return nil
1649 }
1650
1651 func (x *RunAggregationQueryRequest) GetNewTransaction() *TransactionOptions {
1652 if x, ok := x.GetConsistencySelector().(*RunAggregationQueryRequest_NewTransaction); ok {
1653 return x.NewTransaction
1654 }
1655 return nil
1656 }
1657
1658 func (x *RunAggregationQueryRequest) GetReadTime() *timestamppb.Timestamp {
1659 if x, ok := x.GetConsistencySelector().(*RunAggregationQueryRequest_ReadTime); ok {
1660 return x.ReadTime
1661 }
1662 return nil
1663 }
1664
1665 func (x *RunAggregationQueryRequest) GetExplainOptions() *ExplainOptions {
1666 if x != nil {
1667 return x.ExplainOptions
1668 }
1669 return nil
1670 }
1671
1672 type isRunAggregationQueryRequest_QueryType interface {
1673 isRunAggregationQueryRequest_QueryType()
1674 }
1675
1676 type RunAggregationQueryRequest_StructuredAggregationQuery struct {
1677 // An aggregation query.
1678 StructuredAggregationQuery *StructuredAggregationQuery `protobuf:"bytes,2,opt,name=structured_aggregation_query,json=structuredAggregationQuery,proto3,oneof"`
1679 }
1680
1681 func (*RunAggregationQueryRequest_StructuredAggregationQuery) isRunAggregationQueryRequest_QueryType() {
1682 }
1683
1684 type isRunAggregationQueryRequest_ConsistencySelector interface {
1685 isRunAggregationQueryRequest_ConsistencySelector()
1686 }
1687
1688 type RunAggregationQueryRequest_Transaction struct {
1689 // Run the aggregation within an already active transaction.
1690 //
1691 // The value here is the opaque transaction ID to execute the query in.
1692 Transaction []byte `protobuf:"bytes,4,opt,name=transaction,proto3,oneof"`
1693 }
1694
1695 type RunAggregationQueryRequest_NewTransaction struct {
1696 // Starts a new transaction as part of the query, defaulting to read-only.
1697 //
1698 // The new transaction ID will be returned as the first response in the
1699 // stream.
1700 NewTransaction *TransactionOptions `protobuf:"bytes,5,opt,name=new_transaction,json=newTransaction,proto3,oneof"`
1701 }
1702
1703 type RunAggregationQueryRequest_ReadTime struct {
1704 // Executes the query at the given timestamp.
1705 //
1706 // This must be a microsecond precision timestamp within the past one hour,
1707 // or if Point-in-Time Recovery is enabled, can additionally be a whole
1708 // minute timestamp within the past 7 days.
1709 ReadTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=read_time,json=readTime,proto3,oneof"`
1710 }
1711
1712 func (*RunAggregationQueryRequest_Transaction) isRunAggregationQueryRequest_ConsistencySelector() {}
1713
1714 func (*RunAggregationQueryRequest_NewTransaction) isRunAggregationQueryRequest_ConsistencySelector() {
1715 }
1716
1717 func (*RunAggregationQueryRequest_ReadTime) isRunAggregationQueryRequest_ConsistencySelector() {}
1718
1719 // The response for
1720 // [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
1721 type RunAggregationQueryResponse struct {
1722 state protoimpl.MessageState
1723 sizeCache protoimpl.SizeCache
1724 unknownFields protoimpl.UnknownFields
1725
1726 // A single aggregation result.
1727 //
1728 // Not present when reporting partial progress.
1729 Result *AggregationResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
1730 // The transaction that was started as part of this request.
1731 //
1732 // Only present on the first response when the request requested to start
1733 // a new transaction.
1734 Transaction []byte `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"`
1735 // The time at which the aggregate result was computed. This is always
1736 // monotonically increasing; in this case, the previous AggregationResult in
1737 // the result stream are guaranteed not to have changed between their
1738 // `read_time` and this one.
1739 //
1740 // If the query returns no results, a response with `read_time` and no
1741 // `result` will be sent, and this represents the time at which the query
1742 // was run.
1743 ReadTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
1744 // Query explain metrics. This is only present when the
1745 // [RunAggregationQueryRequest.explain_options][google.firestore.v1.RunAggregationQueryRequest.explain_options]
1746 // is provided, and it is sent only once with the last response in the stream.
1747 ExplainMetrics *ExplainMetrics `protobuf:"bytes,10,opt,name=explain_metrics,json=explainMetrics,proto3" json:"explain_metrics,omitempty"`
1748 }
1749
1750 func (x *RunAggregationQueryResponse) Reset() {
1751 *x = RunAggregationQueryResponse{}
1752 mi := &file_google_firestore_v1_firestore_proto_msgTypes[16]
1753 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1754 ms.StoreMessageInfo(mi)
1755 }
1756
1757 func (x *RunAggregationQueryResponse) String() string {
1758 return protoimpl.X.MessageStringOf(x)
1759 }
1760
1761 func (*RunAggregationQueryResponse) ProtoMessage() {}
1762
1763 func (x *RunAggregationQueryResponse) ProtoReflect() protoreflect.Message {
1764 mi := &file_google_firestore_v1_firestore_proto_msgTypes[16]
1765 if x != nil {
1766 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1767 if ms.LoadMessageInfo() == nil {
1768 ms.StoreMessageInfo(mi)
1769 }
1770 return ms
1771 }
1772 return mi.MessageOf(x)
1773 }
1774
1775 // Deprecated: Use RunAggregationQueryResponse.ProtoReflect.Descriptor instead.
1776 func (*RunAggregationQueryResponse) Descriptor() ([]byte, []int) {
1777 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{16}
1778 }
1779
1780 func (x *RunAggregationQueryResponse) GetResult() *AggregationResult {
1781 if x != nil {
1782 return x.Result
1783 }
1784 return nil
1785 }
1786
1787 func (x *RunAggregationQueryResponse) GetTransaction() []byte {
1788 if x != nil {
1789 return x.Transaction
1790 }
1791 return nil
1792 }
1793
1794 func (x *RunAggregationQueryResponse) GetReadTime() *timestamppb.Timestamp {
1795 if x != nil {
1796 return x.ReadTime
1797 }
1798 return nil
1799 }
1800
1801 func (x *RunAggregationQueryResponse) GetExplainMetrics() *ExplainMetrics {
1802 if x != nil {
1803 return x.ExplainMetrics
1804 }
1805 return nil
1806 }
1807
1808 // The request for
1809 // [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
1810 type PartitionQueryRequest struct {
1811 state protoimpl.MessageState
1812 sizeCache protoimpl.SizeCache
1813 unknownFields protoimpl.UnknownFields
1814
1815 // Required. The parent resource name. In the format:
1816 // `projects/{project_id}/databases/{database_id}/documents`.
1817 // Document resource names are not supported; only database resource names
1818 // can be specified.
1819 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
1820 // The query to partition.
1821 //
1822 // Types that are assignable to QueryType:
1823 //
1824 // *PartitionQueryRequest_StructuredQuery
1825 QueryType isPartitionQueryRequest_QueryType `protobuf_oneof:"query_type"`
1826 // The desired maximum number of partition points.
1827 // The partitions may be returned across multiple pages of results.
1828 // The number must be positive. The actual number of partitions
1829 // returned may be fewer.
1830 //
1831 // For example, this may be set to one fewer than the number of parallel
1832 // queries to be run, or in running a data pipeline job, one fewer than the
1833 // number of workers or compute instances available.
1834 PartitionCount int64 `protobuf:"varint,3,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"`
1835 // The `next_page_token` value returned from a previous call to
1836 // PartitionQuery that may be used to get an additional set of results.
1837 // There are no ordering guarantees between sets of results. Thus, using
1838 // multiple sets of results will require merging the different result sets.
1839 //
1840 // For example, two subsequent calls using a page_token may return:
1841 //
1842 // - cursor B, cursor M, cursor Q
1843 // - cursor A, cursor U, cursor W
1844 //
1845 // To obtain a complete result set ordered with respect to the results of the
1846 // query supplied to PartitionQuery, the results sets should be merged:
1847 // cursor A, cursor B, cursor M, cursor Q, cursor U, cursor W
1848 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
1849 // The maximum number of partitions to return in this call, subject to
1850 // `partition_count`.
1851 //
1852 // For example, if `partition_count` = 10 and `page_size` = 8, the first call
1853 // to PartitionQuery will return up to 8 partitions and a `next_page_token`
1854 // if more results exist. A second call to PartitionQuery will return up to
1855 // 2 partitions, to complete the total of 10 specified in `partition_count`.
1856 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
1857 // The consistency mode for this request.
1858 // If not set, defaults to strong consistency.
1859 //
1860 // Types that are assignable to ConsistencySelector:
1861 //
1862 // *PartitionQueryRequest_ReadTime
1863 ConsistencySelector isPartitionQueryRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"`
1864 }
1865
1866 func (x *PartitionQueryRequest) Reset() {
1867 *x = PartitionQueryRequest{}
1868 mi := &file_google_firestore_v1_firestore_proto_msgTypes[17]
1869 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1870 ms.StoreMessageInfo(mi)
1871 }
1872
1873 func (x *PartitionQueryRequest) String() string {
1874 return protoimpl.X.MessageStringOf(x)
1875 }
1876
1877 func (*PartitionQueryRequest) ProtoMessage() {}
1878
1879 func (x *PartitionQueryRequest) ProtoReflect() protoreflect.Message {
1880 mi := &file_google_firestore_v1_firestore_proto_msgTypes[17]
1881 if x != nil {
1882 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1883 if ms.LoadMessageInfo() == nil {
1884 ms.StoreMessageInfo(mi)
1885 }
1886 return ms
1887 }
1888 return mi.MessageOf(x)
1889 }
1890
1891 // Deprecated: Use PartitionQueryRequest.ProtoReflect.Descriptor instead.
1892 func (*PartitionQueryRequest) Descriptor() ([]byte, []int) {
1893 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{17}
1894 }
1895
1896 func (x *PartitionQueryRequest) GetParent() string {
1897 if x != nil {
1898 return x.Parent
1899 }
1900 return ""
1901 }
1902
1903 func (m *PartitionQueryRequest) GetQueryType() isPartitionQueryRequest_QueryType {
1904 if m != nil {
1905 return m.QueryType
1906 }
1907 return nil
1908 }
1909
1910 func (x *PartitionQueryRequest) GetStructuredQuery() *StructuredQuery {
1911 if x, ok := x.GetQueryType().(*PartitionQueryRequest_StructuredQuery); ok {
1912 return x.StructuredQuery
1913 }
1914 return nil
1915 }
1916
1917 func (x *PartitionQueryRequest) GetPartitionCount() int64 {
1918 if x != nil {
1919 return x.PartitionCount
1920 }
1921 return 0
1922 }
1923
1924 func (x *PartitionQueryRequest) GetPageToken() string {
1925 if x != nil {
1926 return x.PageToken
1927 }
1928 return ""
1929 }
1930
1931 func (x *PartitionQueryRequest) GetPageSize() int32 {
1932 if x != nil {
1933 return x.PageSize
1934 }
1935 return 0
1936 }
1937
1938 func (m *PartitionQueryRequest) GetConsistencySelector() isPartitionQueryRequest_ConsistencySelector {
1939 if m != nil {
1940 return m.ConsistencySelector
1941 }
1942 return nil
1943 }
1944
1945 func (x *PartitionQueryRequest) GetReadTime() *timestamppb.Timestamp {
1946 if x, ok := x.GetConsistencySelector().(*PartitionQueryRequest_ReadTime); ok {
1947 return x.ReadTime
1948 }
1949 return nil
1950 }
1951
1952 type isPartitionQueryRequest_QueryType interface {
1953 isPartitionQueryRequest_QueryType()
1954 }
1955
1956 type PartitionQueryRequest_StructuredQuery struct {
1957 // A structured query.
1958 // Query must specify collection with all descendants and be ordered by name
1959 // ascending. Other filters, order bys, limits, offsets, and start/end
1960 // cursors are not supported.
1961 StructuredQuery *StructuredQuery `protobuf:"bytes,2,opt,name=structured_query,json=structuredQuery,proto3,oneof"`
1962 }
1963
1964 func (*PartitionQueryRequest_StructuredQuery) isPartitionQueryRequest_QueryType() {}
1965
1966 type isPartitionQueryRequest_ConsistencySelector interface {
1967 isPartitionQueryRequest_ConsistencySelector()
1968 }
1969
1970 type PartitionQueryRequest_ReadTime struct {
1971 // Reads documents as they were at the given time.
1972 //
1973 // This must be a microsecond precision timestamp within the past one hour,
1974 // or if Point-in-Time Recovery is enabled, can additionally be a whole
1975 // minute timestamp within the past 7 days.
1976 ReadTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=read_time,json=readTime,proto3,oneof"`
1977 }
1978
1979 func (*PartitionQueryRequest_ReadTime) isPartitionQueryRequest_ConsistencySelector() {}
1980
1981 // The response for
1982 // [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
1983 type PartitionQueryResponse struct {
1984 state protoimpl.MessageState
1985 sizeCache protoimpl.SizeCache
1986 unknownFields protoimpl.UnknownFields
1987
1988 // Partition results.
1989 // Each partition is a split point that can be used by RunQuery as a starting
1990 // or end point for the query results. The RunQuery requests must be made with
1991 // the same query supplied to this PartitionQuery request. The partition
1992 // cursors will be ordered according to same ordering as the results of the
1993 // query supplied to PartitionQuery.
1994 //
1995 // For example, if a PartitionQuery request returns partition cursors A and B,
1996 // running the following three queries will return the entire result set of
1997 // the original query:
1998 //
1999 // - query, end_at A
2000 // - query, start_at A, end_at B
2001 // - query, start_at B
2002 //
2003 // An empty result may indicate that the query has too few results to be
2004 // partitioned, or that the query is not yet supported for partitioning.
2005 Partitions []*Cursor `protobuf:"bytes,1,rep,name=partitions,proto3" json:"partitions,omitempty"`
2006 // A page token that may be used to request an additional set of results, up
2007 // to the number specified by `partition_count` in the PartitionQuery request.
2008 // If blank, there are no more results.
2009 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
2010 }
2011
2012 func (x *PartitionQueryResponse) Reset() {
2013 *x = PartitionQueryResponse{}
2014 mi := &file_google_firestore_v1_firestore_proto_msgTypes[18]
2015 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2016 ms.StoreMessageInfo(mi)
2017 }
2018
2019 func (x *PartitionQueryResponse) String() string {
2020 return protoimpl.X.MessageStringOf(x)
2021 }
2022
2023 func (*PartitionQueryResponse) ProtoMessage() {}
2024
2025 func (x *PartitionQueryResponse) ProtoReflect() protoreflect.Message {
2026 mi := &file_google_firestore_v1_firestore_proto_msgTypes[18]
2027 if x != nil {
2028 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2029 if ms.LoadMessageInfo() == nil {
2030 ms.StoreMessageInfo(mi)
2031 }
2032 return ms
2033 }
2034 return mi.MessageOf(x)
2035 }
2036
2037 // Deprecated: Use PartitionQueryResponse.ProtoReflect.Descriptor instead.
2038 func (*PartitionQueryResponse) Descriptor() ([]byte, []int) {
2039 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{18}
2040 }
2041
2042 func (x *PartitionQueryResponse) GetPartitions() []*Cursor {
2043 if x != nil {
2044 return x.Partitions
2045 }
2046 return nil
2047 }
2048
2049 func (x *PartitionQueryResponse) GetNextPageToken() string {
2050 if x != nil {
2051 return x.NextPageToken
2052 }
2053 return ""
2054 }
2055
2056 // The request for [Firestore.Write][google.firestore.v1.Firestore.Write].
2057 //
2058 // The first request creates a stream, or resumes an existing one from a token.
2059 //
2060 // When creating a new stream, the server replies with a response containing
2061 // only an ID and a token, to use in the next request.
2062 //
2063 // When resuming a stream, the server first streams any responses later than the
2064 // given token, then a response containing only an up-to-date token, to use in
2065 // the next request.
2066 type WriteRequest struct {
2067 state protoimpl.MessageState
2068 sizeCache protoimpl.SizeCache
2069 unknownFields protoimpl.UnknownFields
2070
2071 // Required. The database name. In the format:
2072 // `projects/{project_id}/databases/{database_id}`.
2073 // This is only required in the first message.
2074 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
2075 // The ID of the write stream to resume.
2076 // This may only be set in the first message. When left empty, a new write
2077 // stream will be created.
2078 StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
2079 // The writes to apply.
2080 //
2081 // Always executed atomically and in order.
2082 // This must be empty on the first request.
2083 // This may be empty on the last request.
2084 // This must not be empty on all other requests.
2085 Writes []*Write `protobuf:"bytes,3,rep,name=writes,proto3" json:"writes,omitempty"`
2086 // A stream token that was previously sent by the server.
2087 //
2088 // The client should set this field to the token from the most recent
2089 // [WriteResponse][google.firestore.v1.WriteResponse] it has received. This
2090 // acknowledges that the client has received responses up to this token. After
2091 // sending this token, earlier tokens may not be used anymore.
2092 //
2093 // The server may close the stream if there are too many unacknowledged
2094 // responses.
2095 //
2096 // Leave this field unset when creating a new stream. To resume a stream at
2097 // a specific point, set this field and the `stream_id` field.
2098 //
2099 // Leave this field unset when creating a new stream.
2100 StreamToken []byte `protobuf:"bytes,4,opt,name=stream_token,json=streamToken,proto3" json:"stream_token,omitempty"`
2101 // Labels associated with this write request.
2102 Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
2103 }
2104
2105 func (x *WriteRequest) Reset() {
2106 *x = WriteRequest{}
2107 mi := &file_google_firestore_v1_firestore_proto_msgTypes[19]
2108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2109 ms.StoreMessageInfo(mi)
2110 }
2111
2112 func (x *WriteRequest) String() string {
2113 return protoimpl.X.MessageStringOf(x)
2114 }
2115
2116 func (*WriteRequest) ProtoMessage() {}
2117
2118 func (x *WriteRequest) ProtoReflect() protoreflect.Message {
2119 mi := &file_google_firestore_v1_firestore_proto_msgTypes[19]
2120 if x != nil {
2121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2122 if ms.LoadMessageInfo() == nil {
2123 ms.StoreMessageInfo(mi)
2124 }
2125 return ms
2126 }
2127 return mi.MessageOf(x)
2128 }
2129
2130 // Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.
2131 func (*WriteRequest) Descriptor() ([]byte, []int) {
2132 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{19}
2133 }
2134
2135 func (x *WriteRequest) GetDatabase() string {
2136 if x != nil {
2137 return x.Database
2138 }
2139 return ""
2140 }
2141
2142 func (x *WriteRequest) GetStreamId() string {
2143 if x != nil {
2144 return x.StreamId
2145 }
2146 return ""
2147 }
2148
2149 func (x *WriteRequest) GetWrites() []*Write {
2150 if x != nil {
2151 return x.Writes
2152 }
2153 return nil
2154 }
2155
2156 func (x *WriteRequest) GetStreamToken() []byte {
2157 if x != nil {
2158 return x.StreamToken
2159 }
2160 return nil
2161 }
2162
2163 func (x *WriteRequest) GetLabels() map[string]string {
2164 if x != nil {
2165 return x.Labels
2166 }
2167 return nil
2168 }
2169
2170 // The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
2171 type WriteResponse struct {
2172 state protoimpl.MessageState
2173 sizeCache protoimpl.SizeCache
2174 unknownFields protoimpl.UnknownFields
2175
2176 // The ID of the stream.
2177 // Only set on the first message, when a new stream was created.
2178 StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
2179 // A token that represents the position of this response in the stream.
2180 // This can be used by a client to resume the stream at this point.
2181 //
2182 // This field is always set.
2183 StreamToken []byte `protobuf:"bytes,2,opt,name=stream_token,json=streamToken,proto3" json:"stream_token,omitempty"`
2184 // The result of applying the writes.
2185 //
2186 // This i-th write result corresponds to the i-th write in the
2187 // request.
2188 WriteResults []*WriteResult `protobuf:"bytes,3,rep,name=write_results,json=writeResults,proto3" json:"write_results,omitempty"`
2189 // The time at which the commit occurred. Any read with an equal or greater
2190 // `read_time` is guaranteed to see the effects of the write.
2191 CommitTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"`
2192 }
2193
2194 func (x *WriteResponse) Reset() {
2195 *x = WriteResponse{}
2196 mi := &file_google_firestore_v1_firestore_proto_msgTypes[20]
2197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2198 ms.StoreMessageInfo(mi)
2199 }
2200
2201 func (x *WriteResponse) String() string {
2202 return protoimpl.X.MessageStringOf(x)
2203 }
2204
2205 func (*WriteResponse) ProtoMessage() {}
2206
2207 func (x *WriteResponse) ProtoReflect() protoreflect.Message {
2208 mi := &file_google_firestore_v1_firestore_proto_msgTypes[20]
2209 if x != nil {
2210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2211 if ms.LoadMessageInfo() == nil {
2212 ms.StoreMessageInfo(mi)
2213 }
2214 return ms
2215 }
2216 return mi.MessageOf(x)
2217 }
2218
2219 // Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.
2220 func (*WriteResponse) Descriptor() ([]byte, []int) {
2221 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{20}
2222 }
2223
2224 func (x *WriteResponse) GetStreamId() string {
2225 if x != nil {
2226 return x.StreamId
2227 }
2228 return ""
2229 }
2230
2231 func (x *WriteResponse) GetStreamToken() []byte {
2232 if x != nil {
2233 return x.StreamToken
2234 }
2235 return nil
2236 }
2237
2238 func (x *WriteResponse) GetWriteResults() []*WriteResult {
2239 if x != nil {
2240 return x.WriteResults
2241 }
2242 return nil
2243 }
2244
2245 func (x *WriteResponse) GetCommitTime() *timestamppb.Timestamp {
2246 if x != nil {
2247 return x.CommitTime
2248 }
2249 return nil
2250 }
2251
2252 // A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
2253 type ListenRequest struct {
2254 state protoimpl.MessageState
2255 sizeCache protoimpl.SizeCache
2256 unknownFields protoimpl.UnknownFields
2257
2258 // Required. The database name. In the format:
2259 // `projects/{project_id}/databases/{database_id}`.
2260 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
2261 // The supported target changes.
2262 //
2263 // Types that are assignable to TargetChange:
2264 //
2265 // *ListenRequest_AddTarget
2266 // *ListenRequest_RemoveTarget
2267 TargetChange isListenRequest_TargetChange `protobuf_oneof:"target_change"`
2268 // Labels associated with this target change.
2269 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
2270 }
2271
2272 func (x *ListenRequest) Reset() {
2273 *x = ListenRequest{}
2274 mi := &file_google_firestore_v1_firestore_proto_msgTypes[21]
2275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2276 ms.StoreMessageInfo(mi)
2277 }
2278
2279 func (x *ListenRequest) String() string {
2280 return protoimpl.X.MessageStringOf(x)
2281 }
2282
2283 func (*ListenRequest) ProtoMessage() {}
2284
2285 func (x *ListenRequest) ProtoReflect() protoreflect.Message {
2286 mi := &file_google_firestore_v1_firestore_proto_msgTypes[21]
2287 if x != nil {
2288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2289 if ms.LoadMessageInfo() == nil {
2290 ms.StoreMessageInfo(mi)
2291 }
2292 return ms
2293 }
2294 return mi.MessageOf(x)
2295 }
2296
2297 // Deprecated: Use ListenRequest.ProtoReflect.Descriptor instead.
2298 func (*ListenRequest) Descriptor() ([]byte, []int) {
2299 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{21}
2300 }
2301
2302 func (x *ListenRequest) GetDatabase() string {
2303 if x != nil {
2304 return x.Database
2305 }
2306 return ""
2307 }
2308
2309 func (m *ListenRequest) GetTargetChange() isListenRequest_TargetChange {
2310 if m != nil {
2311 return m.TargetChange
2312 }
2313 return nil
2314 }
2315
2316 func (x *ListenRequest) GetAddTarget() *Target {
2317 if x, ok := x.GetTargetChange().(*ListenRequest_AddTarget); ok {
2318 return x.AddTarget
2319 }
2320 return nil
2321 }
2322
2323 func (x *ListenRequest) GetRemoveTarget() int32 {
2324 if x, ok := x.GetTargetChange().(*ListenRequest_RemoveTarget); ok {
2325 return x.RemoveTarget
2326 }
2327 return 0
2328 }
2329
2330 func (x *ListenRequest) GetLabels() map[string]string {
2331 if x != nil {
2332 return x.Labels
2333 }
2334 return nil
2335 }
2336
2337 type isListenRequest_TargetChange interface {
2338 isListenRequest_TargetChange()
2339 }
2340
2341 type ListenRequest_AddTarget struct {
2342 // A target to add to this stream.
2343 AddTarget *Target `protobuf:"bytes,2,opt,name=add_target,json=addTarget,proto3,oneof"`
2344 }
2345
2346 type ListenRequest_RemoveTarget struct {
2347 // The ID of a target to remove from this stream.
2348 RemoveTarget int32 `protobuf:"varint,3,opt,name=remove_target,json=removeTarget,proto3,oneof"`
2349 }
2350
2351 func (*ListenRequest_AddTarget) isListenRequest_TargetChange() {}
2352
2353 func (*ListenRequest_RemoveTarget) isListenRequest_TargetChange() {}
2354
2355 // The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
2356 type ListenResponse struct {
2357 state protoimpl.MessageState
2358 sizeCache protoimpl.SizeCache
2359 unknownFields protoimpl.UnknownFields
2360
2361 // The supported responses.
2362 //
2363 // Types that are assignable to ResponseType:
2364 //
2365 // *ListenResponse_TargetChange
2366 // *ListenResponse_DocumentChange
2367 // *ListenResponse_DocumentDelete
2368 // *ListenResponse_DocumentRemove
2369 // *ListenResponse_Filter
2370 ResponseType isListenResponse_ResponseType `protobuf_oneof:"response_type"`
2371 }
2372
2373 func (x *ListenResponse) Reset() {
2374 *x = ListenResponse{}
2375 mi := &file_google_firestore_v1_firestore_proto_msgTypes[22]
2376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2377 ms.StoreMessageInfo(mi)
2378 }
2379
2380 func (x *ListenResponse) String() string {
2381 return protoimpl.X.MessageStringOf(x)
2382 }
2383
2384 func (*ListenResponse) ProtoMessage() {}
2385
2386 func (x *ListenResponse) ProtoReflect() protoreflect.Message {
2387 mi := &file_google_firestore_v1_firestore_proto_msgTypes[22]
2388 if x != nil {
2389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2390 if ms.LoadMessageInfo() == nil {
2391 ms.StoreMessageInfo(mi)
2392 }
2393 return ms
2394 }
2395 return mi.MessageOf(x)
2396 }
2397
2398 // Deprecated: Use ListenResponse.ProtoReflect.Descriptor instead.
2399 func (*ListenResponse) Descriptor() ([]byte, []int) {
2400 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{22}
2401 }
2402
2403 func (m *ListenResponse) GetResponseType() isListenResponse_ResponseType {
2404 if m != nil {
2405 return m.ResponseType
2406 }
2407 return nil
2408 }
2409
2410 func (x *ListenResponse) GetTargetChange() *TargetChange {
2411 if x, ok := x.GetResponseType().(*ListenResponse_TargetChange); ok {
2412 return x.TargetChange
2413 }
2414 return nil
2415 }
2416
2417 func (x *ListenResponse) GetDocumentChange() *DocumentChange {
2418 if x, ok := x.GetResponseType().(*ListenResponse_DocumentChange); ok {
2419 return x.DocumentChange
2420 }
2421 return nil
2422 }
2423
2424 func (x *ListenResponse) GetDocumentDelete() *DocumentDelete {
2425 if x, ok := x.GetResponseType().(*ListenResponse_DocumentDelete); ok {
2426 return x.DocumentDelete
2427 }
2428 return nil
2429 }
2430
2431 func (x *ListenResponse) GetDocumentRemove() *DocumentRemove {
2432 if x, ok := x.GetResponseType().(*ListenResponse_DocumentRemove); ok {
2433 return x.DocumentRemove
2434 }
2435 return nil
2436 }
2437
2438 func (x *ListenResponse) GetFilter() *ExistenceFilter {
2439 if x, ok := x.GetResponseType().(*ListenResponse_Filter); ok {
2440 return x.Filter
2441 }
2442 return nil
2443 }
2444
2445 type isListenResponse_ResponseType interface {
2446 isListenResponse_ResponseType()
2447 }
2448
2449 type ListenResponse_TargetChange struct {
2450 // Targets have changed.
2451 TargetChange *TargetChange `protobuf:"bytes,2,opt,name=target_change,json=targetChange,proto3,oneof"`
2452 }
2453
2454 type ListenResponse_DocumentChange struct {
2455 // A [Document][google.firestore.v1.Document] has changed.
2456 DocumentChange *DocumentChange `protobuf:"bytes,3,opt,name=document_change,json=documentChange,proto3,oneof"`
2457 }
2458
2459 type ListenResponse_DocumentDelete struct {
2460 // A [Document][google.firestore.v1.Document] has been deleted.
2461 DocumentDelete *DocumentDelete `protobuf:"bytes,4,opt,name=document_delete,json=documentDelete,proto3,oneof"`
2462 }
2463
2464 type ListenResponse_DocumentRemove struct {
2465 // A [Document][google.firestore.v1.Document] has been removed from a target
2466 // (because it is no longer relevant to that target).
2467 DocumentRemove *DocumentRemove `protobuf:"bytes,6,opt,name=document_remove,json=documentRemove,proto3,oneof"`
2468 }
2469
2470 type ListenResponse_Filter struct {
2471 // A filter to apply to the set of documents previously returned for the
2472 // given target.
2473 //
2474 // Returned when documents may have been removed from the given target, but
2475 // the exact documents are unknown.
2476 Filter *ExistenceFilter `protobuf:"bytes,5,opt,name=filter,proto3,oneof"`
2477 }
2478
2479 func (*ListenResponse_TargetChange) isListenResponse_ResponseType() {}
2480
2481 func (*ListenResponse_DocumentChange) isListenResponse_ResponseType() {}
2482
2483 func (*ListenResponse_DocumentDelete) isListenResponse_ResponseType() {}
2484
2485 func (*ListenResponse_DocumentRemove) isListenResponse_ResponseType() {}
2486
2487 func (*ListenResponse_Filter) isListenResponse_ResponseType() {}
2488
2489 // A specification of a set of documents to listen to.
2490 type Target struct {
2491 state protoimpl.MessageState
2492 sizeCache protoimpl.SizeCache
2493 unknownFields protoimpl.UnknownFields
2494
2495 // The type of target to listen to.
2496 //
2497 // Types that are assignable to TargetType:
2498 //
2499 // *Target_Query
2500 // *Target_Documents
2501 TargetType isTarget_TargetType `protobuf_oneof:"target_type"`
2502 // When to start listening.
2503 //
2504 // If specified, only the matching Documents that have been updated AFTER the
2505 // `resume_token` or `read_time` will be returned. Otherwise, all matching
2506 // Documents are returned before any subsequent changes.
2507 //
2508 // Types that are assignable to ResumeType:
2509 //
2510 // *Target_ResumeToken
2511 // *Target_ReadTime
2512 ResumeType isTarget_ResumeType `protobuf_oneof:"resume_type"`
2513 // The target ID that identifies the target on the stream. Must be a positive
2514 // number and non-zero.
2515 //
2516 // If `target_id` is 0 (or unspecified), the server will assign an ID for this
2517 // target and return that in a `TargetChange::ADD` event. Once a target with
2518 // `target_id=0` is added, all subsequent targets must also have
2519 // `target_id=0`. If an `AddTarget` request with `target_id != 0` is
2520 // sent to the server after a target with `target_id=0` is added, the server
2521 // will immediately send a response with a `TargetChange::Remove` event.
2522 //
2523 // Note that if the client sends multiple `AddTarget` requests
2524 // without an ID, the order of IDs returned in `TargetChage.target_ids` are
2525 // undefined. Therefore, clients should provide a target ID instead of relying
2526 // on the server to assign one.
2527 //
2528 // If `target_id` is non-zero, there must not be an existing active target on
2529 // this stream with the same ID.
2530 TargetId int32 `protobuf:"varint,5,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
2531 // If the target should be removed once it is current and consistent.
2532 Once bool `protobuf:"varint,6,opt,name=once,proto3" json:"once,omitempty"`
2533 // The number of documents that last matched the query at the resume token or
2534 // read time.
2535 //
2536 // This value is only relevant when a `resume_type` is provided. This value
2537 // being present and greater than zero signals that the client wants
2538 // `ExistenceFilter.unchanged_names` to be included in the response.
2539 ExpectedCount *wrapperspb.Int32Value `protobuf:"bytes,12,opt,name=expected_count,json=expectedCount,proto3" json:"expected_count,omitempty"`
2540 }
2541
2542 func (x *Target) Reset() {
2543 *x = Target{}
2544 mi := &file_google_firestore_v1_firestore_proto_msgTypes[23]
2545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2546 ms.StoreMessageInfo(mi)
2547 }
2548
2549 func (x *Target) String() string {
2550 return protoimpl.X.MessageStringOf(x)
2551 }
2552
2553 func (*Target) ProtoMessage() {}
2554
2555 func (x *Target) ProtoReflect() protoreflect.Message {
2556 mi := &file_google_firestore_v1_firestore_proto_msgTypes[23]
2557 if x != nil {
2558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2559 if ms.LoadMessageInfo() == nil {
2560 ms.StoreMessageInfo(mi)
2561 }
2562 return ms
2563 }
2564 return mi.MessageOf(x)
2565 }
2566
2567 // Deprecated: Use Target.ProtoReflect.Descriptor instead.
2568 func (*Target) Descriptor() ([]byte, []int) {
2569 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{23}
2570 }
2571
2572 func (m *Target) GetTargetType() isTarget_TargetType {
2573 if m != nil {
2574 return m.TargetType
2575 }
2576 return nil
2577 }
2578
2579 func (x *Target) GetQuery() *Target_QueryTarget {
2580 if x, ok := x.GetTargetType().(*Target_Query); ok {
2581 return x.Query
2582 }
2583 return nil
2584 }
2585
2586 func (x *Target) GetDocuments() *Target_DocumentsTarget {
2587 if x, ok := x.GetTargetType().(*Target_Documents); ok {
2588 return x.Documents
2589 }
2590 return nil
2591 }
2592
2593 func (m *Target) GetResumeType() isTarget_ResumeType {
2594 if m != nil {
2595 return m.ResumeType
2596 }
2597 return nil
2598 }
2599
2600 func (x *Target) GetResumeToken() []byte {
2601 if x, ok := x.GetResumeType().(*Target_ResumeToken); ok {
2602 return x.ResumeToken
2603 }
2604 return nil
2605 }
2606
2607 func (x *Target) GetReadTime() *timestamppb.Timestamp {
2608 if x, ok := x.GetResumeType().(*Target_ReadTime); ok {
2609 return x.ReadTime
2610 }
2611 return nil
2612 }
2613
2614 func (x *Target) GetTargetId() int32 {
2615 if x != nil {
2616 return x.TargetId
2617 }
2618 return 0
2619 }
2620
2621 func (x *Target) GetOnce() bool {
2622 if x != nil {
2623 return x.Once
2624 }
2625 return false
2626 }
2627
2628 func (x *Target) GetExpectedCount() *wrapperspb.Int32Value {
2629 if x != nil {
2630 return x.ExpectedCount
2631 }
2632 return nil
2633 }
2634
2635 type isTarget_TargetType interface {
2636 isTarget_TargetType()
2637 }
2638
2639 type Target_Query struct {
2640 // A target specified by a query.
2641 Query *Target_QueryTarget `protobuf:"bytes,2,opt,name=query,proto3,oneof"`
2642 }
2643
2644 type Target_Documents struct {
2645 // A target specified by a set of document names.
2646 Documents *Target_DocumentsTarget `protobuf:"bytes,3,opt,name=documents,proto3,oneof"`
2647 }
2648
2649 func (*Target_Query) isTarget_TargetType() {}
2650
2651 func (*Target_Documents) isTarget_TargetType() {}
2652
2653 type isTarget_ResumeType interface {
2654 isTarget_ResumeType()
2655 }
2656
2657 type Target_ResumeToken struct {
2658 // A resume token from a prior
2659 // [TargetChange][google.firestore.v1.TargetChange] for an identical target.
2660 //
2661 // Using a resume token with a different target is unsupported and may fail.
2662 ResumeToken []byte `protobuf:"bytes,4,opt,name=resume_token,json=resumeToken,proto3,oneof"`
2663 }
2664
2665 type Target_ReadTime struct {
2666 // Start listening after a specific `read_time`.
2667 //
2668 // The client must know the state of matching documents at this time.
2669 ReadTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=read_time,json=readTime,proto3,oneof"`
2670 }
2671
2672 func (*Target_ResumeToken) isTarget_ResumeType() {}
2673
2674 func (*Target_ReadTime) isTarget_ResumeType() {}
2675
2676 // Targets being watched have changed.
2677 type TargetChange struct {
2678 state protoimpl.MessageState
2679 sizeCache protoimpl.SizeCache
2680 unknownFields protoimpl.UnknownFields
2681
2682 // The type of change that occurred.
2683 TargetChangeType TargetChange_TargetChangeType `protobuf:"varint,1,opt,name=target_change_type,json=targetChangeType,proto3,enum=google.firestore.v1.TargetChange_TargetChangeType" json:"target_change_type,omitempty"`
2684 // The target IDs of targets that have changed.
2685 //
2686 // If empty, the change applies to all targets.
2687 //
2688 // The order of the target IDs is not defined.
2689 TargetIds []int32 `protobuf:"varint,2,rep,packed,name=target_ids,json=targetIds,proto3" json:"target_ids,omitempty"`
2690 // The error that resulted in this change, if applicable.
2691 Cause *status.Status `protobuf:"bytes,3,opt,name=cause,proto3" json:"cause,omitempty"`
2692 // A token that can be used to resume the stream for the given `target_ids`,
2693 // or all targets if `target_ids` is empty.
2694 //
2695 // Not set on every target change.
2696 ResumeToken []byte `protobuf:"bytes,4,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"`
2697 // The consistent `read_time` for the given `target_ids` (omitted when the
2698 // target_ids are not at a consistent snapshot).
2699 //
2700 // The stream is guaranteed to send a `read_time` with `target_ids` empty
2701 // whenever the entire stream reaches a new consistent snapshot. ADD,
2702 // CURRENT, and RESET messages are guaranteed to (eventually) result in a
2703 // new consistent snapshot (while NO_CHANGE and REMOVE messages are not).
2704 //
2705 // For a given stream, `read_time` is guaranteed to be monotonically
2706 // increasing.
2707 ReadTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
2708 }
2709
2710 func (x *TargetChange) Reset() {
2711 *x = TargetChange{}
2712 mi := &file_google_firestore_v1_firestore_proto_msgTypes[24]
2713 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2714 ms.StoreMessageInfo(mi)
2715 }
2716
2717 func (x *TargetChange) String() string {
2718 return protoimpl.X.MessageStringOf(x)
2719 }
2720
2721 func (*TargetChange) ProtoMessage() {}
2722
2723 func (x *TargetChange) ProtoReflect() protoreflect.Message {
2724 mi := &file_google_firestore_v1_firestore_proto_msgTypes[24]
2725 if x != nil {
2726 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2727 if ms.LoadMessageInfo() == nil {
2728 ms.StoreMessageInfo(mi)
2729 }
2730 return ms
2731 }
2732 return mi.MessageOf(x)
2733 }
2734
2735 // Deprecated: Use TargetChange.ProtoReflect.Descriptor instead.
2736 func (*TargetChange) Descriptor() ([]byte, []int) {
2737 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{24}
2738 }
2739
2740 func (x *TargetChange) GetTargetChangeType() TargetChange_TargetChangeType {
2741 if x != nil {
2742 return x.TargetChangeType
2743 }
2744 return TargetChange_NO_CHANGE
2745 }
2746
2747 func (x *TargetChange) GetTargetIds() []int32 {
2748 if x != nil {
2749 return x.TargetIds
2750 }
2751 return nil
2752 }
2753
2754 func (x *TargetChange) GetCause() *status.Status {
2755 if x != nil {
2756 return x.Cause
2757 }
2758 return nil
2759 }
2760
2761 func (x *TargetChange) GetResumeToken() []byte {
2762 if x != nil {
2763 return x.ResumeToken
2764 }
2765 return nil
2766 }
2767
2768 func (x *TargetChange) GetReadTime() *timestamppb.Timestamp {
2769 if x != nil {
2770 return x.ReadTime
2771 }
2772 return nil
2773 }
2774
2775 // The request for
2776 // [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
2777 type ListCollectionIdsRequest struct {
2778 state protoimpl.MessageState
2779 sizeCache protoimpl.SizeCache
2780 unknownFields protoimpl.UnknownFields
2781
2782 // Required. The parent document. In the format:
2783 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
2784 // For example:
2785 // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
2786 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
2787 // The maximum number of results to return.
2788 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
2789 // A page token. Must be a value from
2790 // [ListCollectionIdsResponse][google.firestore.v1.ListCollectionIdsResponse].
2791 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
2792 // The consistency mode for this request.
2793 // If not set, defaults to strong consistency.
2794 //
2795 // Types that are assignable to ConsistencySelector:
2796 //
2797 // *ListCollectionIdsRequest_ReadTime
2798 ConsistencySelector isListCollectionIdsRequest_ConsistencySelector `protobuf_oneof:"consistency_selector"`
2799 }
2800
2801 func (x *ListCollectionIdsRequest) Reset() {
2802 *x = ListCollectionIdsRequest{}
2803 mi := &file_google_firestore_v1_firestore_proto_msgTypes[25]
2804 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2805 ms.StoreMessageInfo(mi)
2806 }
2807
2808 func (x *ListCollectionIdsRequest) String() string {
2809 return protoimpl.X.MessageStringOf(x)
2810 }
2811
2812 func (*ListCollectionIdsRequest) ProtoMessage() {}
2813
2814 func (x *ListCollectionIdsRequest) ProtoReflect() protoreflect.Message {
2815 mi := &file_google_firestore_v1_firestore_proto_msgTypes[25]
2816 if x != nil {
2817 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2818 if ms.LoadMessageInfo() == nil {
2819 ms.StoreMessageInfo(mi)
2820 }
2821 return ms
2822 }
2823 return mi.MessageOf(x)
2824 }
2825
2826 // Deprecated: Use ListCollectionIdsRequest.ProtoReflect.Descriptor instead.
2827 func (*ListCollectionIdsRequest) Descriptor() ([]byte, []int) {
2828 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{25}
2829 }
2830
2831 func (x *ListCollectionIdsRequest) GetParent() string {
2832 if x != nil {
2833 return x.Parent
2834 }
2835 return ""
2836 }
2837
2838 func (x *ListCollectionIdsRequest) GetPageSize() int32 {
2839 if x != nil {
2840 return x.PageSize
2841 }
2842 return 0
2843 }
2844
2845 func (x *ListCollectionIdsRequest) GetPageToken() string {
2846 if x != nil {
2847 return x.PageToken
2848 }
2849 return ""
2850 }
2851
2852 func (m *ListCollectionIdsRequest) GetConsistencySelector() isListCollectionIdsRequest_ConsistencySelector {
2853 if m != nil {
2854 return m.ConsistencySelector
2855 }
2856 return nil
2857 }
2858
2859 func (x *ListCollectionIdsRequest) GetReadTime() *timestamppb.Timestamp {
2860 if x, ok := x.GetConsistencySelector().(*ListCollectionIdsRequest_ReadTime); ok {
2861 return x.ReadTime
2862 }
2863 return nil
2864 }
2865
2866 type isListCollectionIdsRequest_ConsistencySelector interface {
2867 isListCollectionIdsRequest_ConsistencySelector()
2868 }
2869
2870 type ListCollectionIdsRequest_ReadTime struct {
2871 // Reads documents as they were at the given time.
2872 //
2873 // This must be a microsecond precision timestamp within the past one hour,
2874 // or if Point-in-Time Recovery is enabled, can additionally be a whole
2875 // minute timestamp within the past 7 days.
2876 ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3,oneof"`
2877 }
2878
2879 func (*ListCollectionIdsRequest_ReadTime) isListCollectionIdsRequest_ConsistencySelector() {}
2880
2881 // The response from
2882 // [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
2883 type ListCollectionIdsResponse struct {
2884 state protoimpl.MessageState
2885 sizeCache protoimpl.SizeCache
2886 unknownFields protoimpl.UnknownFields
2887
2888 // The collection ids.
2889 CollectionIds []string `protobuf:"bytes,1,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
2890 // A page token that may be used to continue the list.
2891 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
2892 }
2893
2894 func (x *ListCollectionIdsResponse) Reset() {
2895 *x = ListCollectionIdsResponse{}
2896 mi := &file_google_firestore_v1_firestore_proto_msgTypes[26]
2897 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2898 ms.StoreMessageInfo(mi)
2899 }
2900
2901 func (x *ListCollectionIdsResponse) String() string {
2902 return protoimpl.X.MessageStringOf(x)
2903 }
2904
2905 func (*ListCollectionIdsResponse) ProtoMessage() {}
2906
2907 func (x *ListCollectionIdsResponse) ProtoReflect() protoreflect.Message {
2908 mi := &file_google_firestore_v1_firestore_proto_msgTypes[26]
2909 if x != nil {
2910 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2911 if ms.LoadMessageInfo() == nil {
2912 ms.StoreMessageInfo(mi)
2913 }
2914 return ms
2915 }
2916 return mi.MessageOf(x)
2917 }
2918
2919 // Deprecated: Use ListCollectionIdsResponse.ProtoReflect.Descriptor instead.
2920 func (*ListCollectionIdsResponse) Descriptor() ([]byte, []int) {
2921 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{26}
2922 }
2923
2924 func (x *ListCollectionIdsResponse) GetCollectionIds() []string {
2925 if x != nil {
2926 return x.CollectionIds
2927 }
2928 return nil
2929 }
2930
2931 func (x *ListCollectionIdsResponse) GetNextPageToken() string {
2932 if x != nil {
2933 return x.NextPageToken
2934 }
2935 return ""
2936 }
2937
2938 // The request for
2939 // [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
2940 type BatchWriteRequest struct {
2941 state protoimpl.MessageState
2942 sizeCache protoimpl.SizeCache
2943 unknownFields protoimpl.UnknownFields
2944
2945 // Required. The database name. In the format:
2946 // `projects/{project_id}/databases/{database_id}`.
2947 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
2948 // The writes to apply.
2949 //
2950 // Method does not apply writes atomically and does not guarantee ordering.
2951 // Each write succeeds or fails independently. You cannot write to the same
2952 // document more than once per request.
2953 Writes []*Write `protobuf:"bytes,2,rep,name=writes,proto3" json:"writes,omitempty"`
2954 // Labels associated with this batch write.
2955 Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
2956 }
2957
2958 func (x *BatchWriteRequest) Reset() {
2959 *x = BatchWriteRequest{}
2960 mi := &file_google_firestore_v1_firestore_proto_msgTypes[27]
2961 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2962 ms.StoreMessageInfo(mi)
2963 }
2964
2965 func (x *BatchWriteRequest) String() string {
2966 return protoimpl.X.MessageStringOf(x)
2967 }
2968
2969 func (*BatchWriteRequest) ProtoMessage() {}
2970
2971 func (x *BatchWriteRequest) ProtoReflect() protoreflect.Message {
2972 mi := &file_google_firestore_v1_firestore_proto_msgTypes[27]
2973 if x != nil {
2974 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2975 if ms.LoadMessageInfo() == nil {
2976 ms.StoreMessageInfo(mi)
2977 }
2978 return ms
2979 }
2980 return mi.MessageOf(x)
2981 }
2982
2983 // Deprecated: Use BatchWriteRequest.ProtoReflect.Descriptor instead.
2984 func (*BatchWriteRequest) Descriptor() ([]byte, []int) {
2985 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{27}
2986 }
2987
2988 func (x *BatchWriteRequest) GetDatabase() string {
2989 if x != nil {
2990 return x.Database
2991 }
2992 return ""
2993 }
2994
2995 func (x *BatchWriteRequest) GetWrites() []*Write {
2996 if x != nil {
2997 return x.Writes
2998 }
2999 return nil
3000 }
3001
3002 func (x *BatchWriteRequest) GetLabels() map[string]string {
3003 if x != nil {
3004 return x.Labels
3005 }
3006 return nil
3007 }
3008
3009 // The response from
3010 // [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
3011 type BatchWriteResponse struct {
3012 state protoimpl.MessageState
3013 sizeCache protoimpl.SizeCache
3014 unknownFields protoimpl.UnknownFields
3015
3016 // The result of applying the writes.
3017 //
3018 // This i-th write result corresponds to the i-th write in the
3019 // request.
3020 WriteResults []*WriteResult `protobuf:"bytes,1,rep,name=write_results,json=writeResults,proto3" json:"write_results,omitempty"`
3021 // The status of applying the writes.
3022 //
3023 // This i-th write status corresponds to the i-th write in the
3024 // request.
3025 Status []*status.Status `protobuf:"bytes,2,rep,name=status,proto3" json:"status,omitempty"`
3026 }
3027
3028 func (x *BatchWriteResponse) Reset() {
3029 *x = BatchWriteResponse{}
3030 mi := &file_google_firestore_v1_firestore_proto_msgTypes[28]
3031 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3032 ms.StoreMessageInfo(mi)
3033 }
3034
3035 func (x *BatchWriteResponse) String() string {
3036 return protoimpl.X.MessageStringOf(x)
3037 }
3038
3039 func (*BatchWriteResponse) ProtoMessage() {}
3040
3041 func (x *BatchWriteResponse) ProtoReflect() protoreflect.Message {
3042 mi := &file_google_firestore_v1_firestore_proto_msgTypes[28]
3043 if x != nil {
3044 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3045 if ms.LoadMessageInfo() == nil {
3046 ms.StoreMessageInfo(mi)
3047 }
3048 return ms
3049 }
3050 return mi.MessageOf(x)
3051 }
3052
3053 // Deprecated: Use BatchWriteResponse.ProtoReflect.Descriptor instead.
3054 func (*BatchWriteResponse) Descriptor() ([]byte, []int) {
3055 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{28}
3056 }
3057
3058 func (x *BatchWriteResponse) GetWriteResults() []*WriteResult {
3059 if x != nil {
3060 return x.WriteResults
3061 }
3062 return nil
3063 }
3064
3065 func (x *BatchWriteResponse) GetStatus() []*status.Status {
3066 if x != nil {
3067 return x.Status
3068 }
3069 return nil
3070 }
3071
3072 // A target specified by a set of documents names.
3073 type Target_DocumentsTarget struct {
3074 state protoimpl.MessageState
3075 sizeCache protoimpl.SizeCache
3076 unknownFields protoimpl.UnknownFields
3077
3078 // The names of the documents to retrieve. In the format:
3079 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
3080 // The request will fail if any of the document is not a child resource of
3081 // the given `database`. Duplicate names will be elided.
3082 Documents []string `protobuf:"bytes,2,rep,name=documents,proto3" json:"documents,omitempty"`
3083 }
3084
3085 func (x *Target_DocumentsTarget) Reset() {
3086 *x = Target_DocumentsTarget{}
3087 mi := &file_google_firestore_v1_firestore_proto_msgTypes[31]
3088 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3089 ms.StoreMessageInfo(mi)
3090 }
3091
3092 func (x *Target_DocumentsTarget) String() string {
3093 return protoimpl.X.MessageStringOf(x)
3094 }
3095
3096 func (*Target_DocumentsTarget) ProtoMessage() {}
3097
3098 func (x *Target_DocumentsTarget) ProtoReflect() protoreflect.Message {
3099 mi := &file_google_firestore_v1_firestore_proto_msgTypes[31]
3100 if x != nil {
3101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3102 if ms.LoadMessageInfo() == nil {
3103 ms.StoreMessageInfo(mi)
3104 }
3105 return ms
3106 }
3107 return mi.MessageOf(x)
3108 }
3109
3110 // Deprecated: Use Target_DocumentsTarget.ProtoReflect.Descriptor instead.
3111 func (*Target_DocumentsTarget) Descriptor() ([]byte, []int) {
3112 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{23, 0}
3113 }
3114
3115 func (x *Target_DocumentsTarget) GetDocuments() []string {
3116 if x != nil {
3117 return x.Documents
3118 }
3119 return nil
3120 }
3121
3122 // A target specified by a query.
3123 type Target_QueryTarget struct {
3124 state protoimpl.MessageState
3125 sizeCache protoimpl.SizeCache
3126 unknownFields protoimpl.UnknownFields
3127
3128 // The parent resource name. In the format:
3129 // `projects/{project_id}/databases/{database_id}/documents` or
3130 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
3131 // For example:
3132 // `projects/my-project/databases/my-database/documents` or
3133 // `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
3134 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
3135 // The query to run.
3136 //
3137 // Types that are assignable to QueryType:
3138 //
3139 // *Target_QueryTarget_StructuredQuery
3140 QueryType isTarget_QueryTarget_QueryType `protobuf_oneof:"query_type"`
3141 }
3142
3143 func (x *Target_QueryTarget) Reset() {
3144 *x = Target_QueryTarget{}
3145 mi := &file_google_firestore_v1_firestore_proto_msgTypes[32]
3146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3147 ms.StoreMessageInfo(mi)
3148 }
3149
3150 func (x *Target_QueryTarget) String() string {
3151 return protoimpl.X.MessageStringOf(x)
3152 }
3153
3154 func (*Target_QueryTarget) ProtoMessage() {}
3155
3156 func (x *Target_QueryTarget) ProtoReflect() protoreflect.Message {
3157 mi := &file_google_firestore_v1_firestore_proto_msgTypes[32]
3158 if x != nil {
3159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
3160 if ms.LoadMessageInfo() == nil {
3161 ms.StoreMessageInfo(mi)
3162 }
3163 return ms
3164 }
3165 return mi.MessageOf(x)
3166 }
3167
3168 // Deprecated: Use Target_QueryTarget.ProtoReflect.Descriptor instead.
3169 func (*Target_QueryTarget) Descriptor() ([]byte, []int) {
3170 return file_google_firestore_v1_firestore_proto_rawDescGZIP(), []int{23, 1}
3171 }
3172
3173 func (x *Target_QueryTarget) GetParent() string {
3174 if x != nil {
3175 return x.Parent
3176 }
3177 return ""
3178 }
3179
3180 func (m *Target_QueryTarget) GetQueryType() isTarget_QueryTarget_QueryType {
3181 if m != nil {
3182 return m.QueryType
3183 }
3184 return nil
3185 }
3186
3187 func (x *Target_QueryTarget) GetStructuredQuery() *StructuredQuery {
3188 if x, ok := x.GetQueryType().(*Target_QueryTarget_StructuredQuery); ok {
3189 return x.StructuredQuery
3190 }
3191 return nil
3192 }
3193
3194 type isTarget_QueryTarget_QueryType interface {
3195 isTarget_QueryTarget_QueryType()
3196 }
3197
3198 type Target_QueryTarget_StructuredQuery struct {
3199 // A structured query.
3200 StructuredQuery *StructuredQuery `protobuf:"bytes,2,opt,name=structured_query,json=structuredQuery,proto3,oneof"`
3201 }
3202
3203 func (*Target_QueryTarget_StructuredQuery) isTarget_QueryTarget_QueryType() {}
3204
3205 var File_google_firestore_v1_firestore_proto protoreflect.FileDescriptor
3206
3207 var file_google_firestore_v1_firestore_proto_rawDesc = []byte{
3208 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
3209 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
3210 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
3211 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
3212 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
3213 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3214 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
3215 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
3216 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
3217 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
3218 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f,
3219 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76,
3220 0x31, 0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65,
3221 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67,
3222 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f,
3223 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x67, 0x6f,
3224 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76,
3225 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
3226 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
3227 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
3228 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
3229 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x72, 0x6f,
3230 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
3231 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f,
3232 0x77, 0x72, 0x69, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f,
3233 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70,
3234 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3235 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
3236 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3237 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70,
3238 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3239 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
3240 0x74, 0x6f, 0x22, 0xdb, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65,
3241 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
3242 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61,
3243 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
3244 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
3245 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4d,
3246 0x61, 0x73, 0x6b, 0x52, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x22, 0x0a, 0x0b, 0x74, 0x72, 0x61,
3247 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00,
3248 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a,
3249 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
3250 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
3251 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x08,
3252 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x16, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73,
3253 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72,
3254 0x22, 0x99, 0x03, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3255 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72,
3256 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06,
3257 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
3258 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
3259 0x41, 0x01, 0x52, 0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64,
3260 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20,
3261 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69,
3262 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
3263 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67,
3264 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f,
3265 0x62, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x6f,
3266 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x3a, 0x0a, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x07,
3267 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
3268 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d,
3269 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6d, 0x61,
3270 0x73, 0x6b, 0x12, 0x22, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
3271 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73,
3272 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74,
3273 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3274 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
3275 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d,
3276 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e,
3277 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x4d, 0x69, 0x73,
3278 0x73, 0x69, 0x6e, 0x67, 0x42, 0x16, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65,
3279 0x6e, 0x63, 0x79, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x7c, 0x0a, 0x15,
3280 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73,
3281 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3282 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3283 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
3284 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3285 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,
3286 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78,
3287 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xf6, 0x01, 0x0a, 0x15, 0x43,
3288 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71,
3289 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
3290 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
3291 0x74, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
3292 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x63,
3293 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64,
3294 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
3295 0x52, 0x0a, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x08,
3296 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
3297 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
3298 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0,
3299 0x41, 0x02, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x35, 0x0a, 0x04,
3300 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f,
3301 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3302 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x6d,
3303 0x61, 0x73, 0x6b, 0x22, 0xa0, 0x02, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f,
3304 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a,
3305 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
3306 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
3307 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03,
3308 0xe0, 0x41, 0x02, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x42, 0x0a,
3309 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01,
3310 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3311 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3312 0x74, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
3313 0x6b, 0x12, 0x35, 0x0a, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
3314 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
3315 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61,
3316 0x73, 0x6b, 0x52, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72,
3317 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01,
3318 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3319 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64,
3320 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x6f,
3321 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x7e, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
3322 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
3323 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
3324 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72,
3325 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
3326 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3327 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64,
3328 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x6f,
3329 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xdb, 0x02, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68,
3330 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
3331 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18,
3332 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61,
3333 0x62, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
3334 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3335 0x74, 0x73, 0x12, 0x35, 0x0a, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
3336 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
3337 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4d,
3338 0x61, 0x73, 0x6b, 0x52, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x22, 0x0a, 0x0b, 0x74, 0x72, 0x61,
3339 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00,
3340 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a,
3341 0x0f, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
3342 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3343 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61,
3344 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48,
3345 0x00, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
3346 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07,
3347 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
3348 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
3349 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x16, 0x0a, 0x14,
3350 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x73, 0x65, 0x6c, 0x65,
3351 0x63, 0x74, 0x6f, 0x72, 0x22, 0xd3, 0x01, 0x0a, 0x19, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65,
3352 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
3353 0x73, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
3354 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
3355 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
3356 0x48, 0x00, 0x52, 0x05, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x07, 0x6d, 0x69, 0x73,
3357 0x73, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x69,
3358 0x73, 0x73, 0x69, 0x6e, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
3359 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e,
3360 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f,
3361 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
3362 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
3363 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65,
3364 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x7d, 0x0a, 0x17, 0x42, 0x65,
3365 0x67, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
3366 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
3367 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x64, 0x61,
3368 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
3369 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3370 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72,
3371 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
3372 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3c, 0x0a, 0x18, 0x42, 0x65, 0x67,
3373 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
3374 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
3375 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e,
3376 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x86, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d,
3377 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x64, 0x61, 0x74,
3378 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
3379 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x77, 0x72,
3380 0x69, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
3381 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3382 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x06, 0x77, 0x72, 0x69, 0x74, 0x65, 0x73, 0x12, 0x20,
3383 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
3384 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
3385 0x22, 0x94, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
3386 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73,
3387 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f,
3388 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3389 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x77, 0x72,
3390 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x6f,
3391 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
3392 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
3393 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d,
3394 0x6d, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x0f, 0x52, 0x6f, 0x6c, 0x6c, 0x62,
3395 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x64, 0x61,
3396 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
3397 0x02, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x74,
3398 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
3399 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
3400 0x6f, 0x6e, 0x22, 0xad, 0x03, 0x0a, 0x0f, 0x52, 0x75, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52,
3401 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
3402 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72,
3403 0x65, 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65,
3404 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
3405 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
3406 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x51, 0x75,
3407 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65,
3408 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x22, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61,
3409 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x01, 0x52, 0x0b, 0x74,
3410 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x0f, 0x6e, 0x65,
3411 0x77, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
3412 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72,
3413 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
3414 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x0e,
3415 0x6e, 0x65, 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39,
3416 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
3417 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
3418 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52,
3419 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0f, 0x65, 0x78, 0x70,
3420 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01,
3421 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3422 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e,
3423 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x65, 0x78,
3424 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0c, 0x0a, 0x0a,
3425 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x16, 0x0a, 0x14, 0x63, 0x6f,
3426 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74,
3427 0x6f, 0x72, 0x22, 0xce, 0x02, 0x0a, 0x10, 0x52, 0x75, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52,
3428 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73,
3429 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x74, 0x72,
3430 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x08, 0x64, 0x6f, 0x63,
3431 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f,
3432 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
3433 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75,
3434 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d,
3435 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3436 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
3437 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a,
3438 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
3439 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x65, 0x64, 0x52,
3440 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x18, 0x06,
3441 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, 0x64, 0x6f, 0x6e, 0x65, 0x12, 0x4c, 0x0a, 0x0f,
3442 0x65, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
3443 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
3444 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6c,
3445 0x61, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6c,
3446 0x61, 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x17, 0x0a, 0x15, 0x63, 0x6f,
3447 0x6e, 0x74, 0x69, 0x6e, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63,
3448 0x74, 0x6f, 0x72, 0x22, 0xda, 0x03, 0x0a, 0x1a, 0x52, 0x75, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65,
3449 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
3450 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
3451 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,
3452 0x73, 0x0a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x61, 0x67,
3453 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18,
3454 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
3455 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75,
3456 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f,
3457 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74,
3458 0x75, 0x72, 0x65, 0x64, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51,
3459 0x75, 0x65, 0x72, 0x79, 0x12, 0x22, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
3460 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x01, 0x52, 0x0b, 0x74, 0x72, 0x61,
3461 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x0f, 0x6e, 0x65, 0x77, 0x5f,
3462 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28,
3463 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
3464 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
3465 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x0e, 0x6e, 0x65,
3466 0x77, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x09,
3467 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
3468 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
3469 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52, 0x08, 0x72,
3470 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x6c, 0x61,
3471 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
3472 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
3473 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x4f, 0x70,
3474 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6c,
3475 0x61, 0x69, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x71, 0x75,
3476 0x65, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x16, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73,
3477 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72,
3478 0x22, 0x86, 0x02, 0x0a, 0x1b, 0x52, 0x75, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74,
3479 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
3480 0x12, 0x3e, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
3481 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
3482 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69,
3483 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
3484 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
3485 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
3486 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
3487 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
3488 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
3489 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x0f, 0x65,
3490 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x0a,
3491 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
3492 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61,
3493 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6c, 0x61,
3494 0x69, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0xcd, 0x02, 0x0a, 0x15, 0x50, 0x61,
3495 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
3496 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
3497 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
3498 0x12, 0x51, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x71,
3499 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f,
3500 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3501 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79,
3502 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x51, 0x75,
3503 0x65, 0x72, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
3504 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x61,
3505 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
3506 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
3507 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70,
3508 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
3509 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64,
3510 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
3511 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
3512 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54,
3513 0x69, 0x6d, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70,
3514 0x65, 0x42, 0x16, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79,
3515 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x7d, 0x0a, 0x16, 0x50, 0x61, 0x72,
3516 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
3517 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
3518 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3519 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75,
3520 0x72, 0x73, 0x6f, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
3521 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
3522 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50,
3523 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xa5, 0x02, 0x0a, 0x0c, 0x57, 0x72, 0x69,
3524 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x64, 0x61, 0x74,
3525 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
3526 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74,
3527 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73,
3528 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x06, 0x77, 0x72, 0x69, 0x74, 0x65,
3529 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3530 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x72,
3531 0x69, 0x74, 0x65, 0x52, 0x06, 0x77, 0x72, 0x69, 0x74, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x73,
3532 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
3533 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x45,
3534 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d,
3535 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
3536 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3537 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c,
3538 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,
3539 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
3540 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
3541 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
3542 0x22, 0xd3, 0x01, 0x0a, 0x0d, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
3543 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18,
3544 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12,
3545 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
3546 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x6f, 0x6b,
3547 0x65, 0x6e, 0x12, 0x45, 0x0a, 0x0d, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75,
3548 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3549 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e,
3550 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x77, 0x72, 0x69,
3551 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x6f, 0x6d,
3552 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
3553 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
3554 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d,
3555 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xa9, 0x02, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x65,
3556 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61,
3557 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
3558 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x64, 0x64,
3559 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
3560 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
3561 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x00, 0x52, 0x09, 0x61, 0x64,
3562 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x76,
3563 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00,
3564 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x46,
3565 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e,
3566 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
3567 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
3568 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06,
3569 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
3570 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
3571 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
3572 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
3573 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e,
3574 0x67, 0x65, 0x22, 0x9b, 0x03, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x52, 0x65, 0x73,
3575 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f,
3576 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
3577 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
3578 0x76, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48,
3579 0x00, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
3580 0x4e, 0x0a, 0x0f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e,
3581 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3582 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
3583 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52,
3584 0x0e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
3585 0x4e, 0x0a, 0x0f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x65,
3586 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3587 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
3588 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x00, 0x52,
3589 0x0e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12,
3590 0x4e, 0x0a, 0x0f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x6d, 0x6f,
3591 0x76, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3592 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
3593 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x48, 0x00, 0x52,
3594 0x0e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12,
3595 0x3e, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
3596 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
3597 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x46,
3598 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42,
3599 0x0f, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
3600 0x22, 0xc3, 0x04, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x3f, 0x0a, 0x05, 0x71,
3601 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f,
3602 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3603 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x61, 0x72,
3604 0x67, 0x65, 0x74, 0x48, 0x00, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x4b, 0x0a, 0x09,
3605 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
3606 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
3607 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x44, 0x6f, 0x63,
3608 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x00, 0x52, 0x09,
3609 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0c, 0x72, 0x65, 0x73,
3610 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48,
3611 0x01, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x39,
3612 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
3613 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
3614 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52,
3615 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x72,
3616 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61,
3617 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x06,
3618 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x65, 0x78,
3619 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01,
3620 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
3621 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
3622 0x0d, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x2f,
3623 0x0a, 0x0f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x61, 0x72, 0x67, 0x65,
3624 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02,
3625 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a,
3626 0x86, 0x01, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12,
3627 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
3628 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x75, 0x63,
3629 0x74, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
3630 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
3631 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72,
3632 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x72, 0x75, 0x63,
3633 0x74, 0x75, 0x72, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x0c, 0x0a, 0x0a, 0x71, 0x75,
3634 0x65, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67,
3635 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6d,
3636 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xe5, 0x02, 0x0a, 0x0c, 0x54, 0x61, 0x72, 0x67, 0x65,
3637 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x60, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65,
3638 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
3639 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72,
3640 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
3641 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61,
3642 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43,
3643 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72,
3644 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x74,
3645 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73,
3646 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3647 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x63, 0x61, 0x75,
3648 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
3649 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65,
3650 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69,
3651 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3652 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
3653 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x4e,
3654 0x0a, 0x10, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79,
3655 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10,
3656 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45,
3657 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x55, 0x52, 0x52, 0x45, 0x4e,
3658 0x54, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x53, 0x45, 0x54, 0x10, 0x04, 0x22, 0xc6,
3659 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
3660 0x6e, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x70,
3661 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
3662 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65,
3663 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67,
3664 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
3665 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54,
3666 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d,
3667 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3668 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
3669 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x42,
3670 0x16, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x73,
3671 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x6a, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x43,
3672 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70,
3673 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
3674 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f,
3675 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e,
3676 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02,
3677 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f,
3678 0x6b, 0x65, 0x6e, 0x22, 0xef, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69,
3679 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x64, 0x61, 0x74,
3680 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
3681 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x77, 0x72,
3682 0x69, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
3683 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3684 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x06, 0x77, 0x72, 0x69, 0x74, 0x65, 0x73, 0x12, 0x4a,
3685 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32,
3686 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
3687 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52,
3688 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74,
3689 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61,
3690 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
3691 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
3692 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
3693 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x87, 0x01, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57,
3694 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0d,
3695 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20,
3696 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72,
3697 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52,
3698 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x77, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75,
3699 0x6c, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20,
3700 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63,
3701 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32,
3702 0xda, 0x19, 0x0a, 0x09, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x8f, 0x01,
3703 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e,
3704 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
3705 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52,
3706 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3707 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63,
3708 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f,
3709 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
3710 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f,
3711 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x2a, 0x2a, 0x7d, 0x12,
3712 0xf5, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
3713 0x73, 0x12, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
3714 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x75,
3715 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67,
3716 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
3717 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73,
3718 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02,
3719 0x85, 0x01, 0x5a, 0x3f, 0x12, 0x3d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
3720 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,
3721 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3722 0x74, 0x73, 0x7d, 0x2f, 0x7b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
3723 0x69, 0x64, 0x7d, 0x12, 0x42, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
3724 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,
3725 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
3726 0x73, 0x2f, 0x2a, 0x2f, 0x2a, 0x2a, 0x7d, 0x2f, 0x7b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74,
3727 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61,
3728 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f,
3729 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3730 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52,
3731 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3732 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63,
3733 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x62, 0xda, 0x41, 0x14, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
3734 0x6e, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3,
3735 0xe4, 0x93, 0x02, 0x45, 0x3a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x32, 0x39,
3736 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x6e, 0x61,
3737 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61,
3738 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
3739 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x2a, 0x2a, 0x7d, 0x12, 0x95, 0x01, 0x0a, 0x0e, 0x44, 0x65,
3740 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x2e, 0x67,
3741 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
3742 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3743 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3744 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
3745 0x22, 0x3f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x2a,
3746 0x30, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
3747 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f,
3748 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x2a, 0x2a,
3749 0x7d, 0x12, 0xb9, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x44, 0x6f,
3750 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3751 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61,
3752 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52,
3753 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3754 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74,
3755 0x63, 0x68, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65,
3756 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x01,
3757 0x2a, 0x22, 0x38, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
3758 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61,
3759 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3760 0x74, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x30, 0x01, 0x12, 0xc7, 0x01,
3761 0x0a, 0x10, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
3762 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3763 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x72,
3764 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
3765 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
3766 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e,
3767 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
3768 0x56, 0xda, 0x41, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x82, 0xd3, 0xe4, 0x93,
3769 0x02, 0x45, 0x3a, 0x01, 0x2a, 0x22, 0x40, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61,
3770 0x62, 0x61, 0x73, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
3771 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63,
3772 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x54, 0x72, 0x61, 0x6e,
3773 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xa6, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d,
3774 0x69, 0x74, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3775 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52,
3776 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3777 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d,
3778 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x53, 0xda, 0x41, 0x0f,
3779 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c, 0x77, 0x72, 0x69, 0x74, 0x65, 0x73, 0x82,
3780 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64,
3781 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
3782 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
3783 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
3784 0x12, 0xa4, 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x24, 0x2e,
3785 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
3786 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75,
3787 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
3788 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x5a, 0xda, 0x41, 0x14,
3789 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63,
3790 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x01, 0x2a, 0x22, 0x38, 0x2f,
3791 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x3d, 0x70, 0x72, 0x6f,
3792 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
3793 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x72,
3794 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0xdf, 0x01, 0x0a, 0x08, 0x52, 0x75, 0x6e, 0x51,
3795 0x75, 0x65, 0x72, 0x79, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
3796 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x51, 0x75,
3797 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
3798 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3799 0x2e, 0x52, 0x75, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
3800 0x65, 0x22, 0x83, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x7d, 0x3a, 0x01, 0x2a, 0x5a, 0x40, 0x3a,
3801 0x01, 0x2a, 0x22, 0x3b, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
3802 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62,
3803 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73,
3804 0x2f, 0x2a, 0x2f, 0x2a, 0x2a, 0x7d, 0x3a, 0x72, 0x75, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x22,
3805 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f,
3806 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
3807 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x7d, 0x3a, 0x72,
3808 0x75, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x30, 0x01, 0x12, 0x97, 0x02, 0x0a, 0x13, 0x52, 0x75,
3809 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72,
3810 0x79, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
3811 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65,
3812 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
3813 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3814 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x41, 0x67, 0x67, 0x72,
3815 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70,
3816 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x93, 0x01, 0x3a, 0x01,
3817 0x2a, 0x5a, 0x4b, 0x3a, 0x01, 0x2a, 0x22, 0x46, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
3818 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64,
3819 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d,
3820 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x2a, 0x2a, 0x7d, 0x3a, 0x72, 0x75, 0x6e, 0x41, 0x67,
3821 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x22, 0x41,
3822 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
3823 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73,
3824 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x7d, 0x3a, 0x72, 0x75,
3825 0x6e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72,
3826 0x79, 0x30, 0x01, 0x12, 0xfc, 0x01, 0x0a, 0x0e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
3827 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
3828 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72,
3829 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
3830 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3831 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
3832 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
3833 0x90, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x89, 0x01, 0x3a, 0x01, 0x2a, 0x5a, 0x46, 0x3a, 0x01,
3834 0x2a, 0x22, 0x41, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
3835 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
3836 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f,
3837 0x2a, 0x2f, 0x2a, 0x2a, 0x7d, 0x3a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x51,
3838 0x75, 0x65, 0x72, 0x79, 0x22, 0x3c, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
3839 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,
3840 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3841 0x74, 0x73, 0x7d, 0x3a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65,
3842 0x72, 0x79, 0x12, 0x94, 0x01, 0x0a, 0x05, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x21, 0x2e, 0x67,
3843 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
3844 0x76, 0x31, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
3845 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
3846 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
3847 0x6e, 0x73, 0x65, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x01, 0x2a, 0x22, 0x35,
3848 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x3d, 0x70, 0x72,
3849 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
3850 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a,
3851 0x77, 0x72, 0x69, 0x74, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x98, 0x01, 0x0a, 0x06, 0x4c, 0x69,
3852 0x73, 0x74, 0x65, 0x6e, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
3853 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65,
3854 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
3855 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
3856 0x69, 0x73, 0x74, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x82,
3857 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64,
3858 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
3859 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
3860 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e,
3861 0x28, 0x01, 0x30, 0x01, 0x12, 0x94, 0x02, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6c,
3862 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f,
3863 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3864 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49,
3865 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
3866 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e,
3867 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64,
3868 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9f, 0x01, 0xda, 0x41, 0x06, 0x70,
3869 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x8f, 0x01, 0x3a, 0x01, 0x2a, 0x5a,
3870 0x49, 0x3a, 0x01, 0x2a, 0x22, 0x44, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e,
3871 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74,
3872 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
3873 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x2a, 0x2a, 0x7d, 0x3a, 0x6c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6c,
3874 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x3f, 0x2f, 0x76, 0x31, 0x2f,
3875 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
3876 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64,
3877 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x7d, 0x3a, 0x6c, 0x69, 0x73, 0x74, 0x43, 0x6f,
3878 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x12, 0xa4, 0x01, 0x0a, 0x0a,
3879 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f,
3880 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
3881 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
3882 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3883 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72,
3884 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0x82, 0xd3, 0xe4,
3885 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x64, 0x61, 0x74,
3886 0x61, 0x62, 0x61, 0x73, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
3887 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f,
3888 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x57, 0x72, 0x69,
3889 0x74, 0x65, 0x12, 0xaf, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63,
3890 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
3891 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
3892 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
3893 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
3894 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
3895 0x22, 0x52, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x3a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65,
3896 0x6e, 0x74, 0x22, 0x40, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
3897 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62,
3898 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73,
3899 0x2f, 0x2a, 0x2a, 0x7d, 0x2f, 0x7b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
3900 0x5f, 0x69, 0x64, 0x7d, 0x1a, 0x76, 0xca, 0x41, 0x18, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
3901 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
3902 0x6d, 0xd2, 0x41, 0x58, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
3903 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
3904 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
3905 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
3906 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
3907 0x74, 0x68, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0xbf, 0x01, 0x0a,
3908 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
3909 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74,
3910 0x6f, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75,
3911 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
3912 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f,
3913 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x70, 0x62, 0x3b, 0x66, 0x69, 0x72, 0x65,
3914 0x73, 0x74, 0x6f, 0x72, 0x65, 0x70, 0x62, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
3915 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
3916 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
3917 0x75, 0x64, 0x5c, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0xea,
3918 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
3919 0x3a, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
3920 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
3921 }
3922
3923 var (
3924 file_google_firestore_v1_firestore_proto_rawDescOnce sync.Once
3925 file_google_firestore_v1_firestore_proto_rawDescData = file_google_firestore_v1_firestore_proto_rawDesc
3926 )
3927
3928 func file_google_firestore_v1_firestore_proto_rawDescGZIP() []byte {
3929 file_google_firestore_v1_firestore_proto_rawDescOnce.Do(func() {
3930 file_google_firestore_v1_firestore_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_v1_firestore_proto_rawDescData)
3931 })
3932 return file_google_firestore_v1_firestore_proto_rawDescData
3933 }
3934
3935 var file_google_firestore_v1_firestore_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
3936 var file_google_firestore_v1_firestore_proto_msgTypes = make([]protoimpl.MessageInfo, 34)
3937 var file_google_firestore_v1_firestore_proto_goTypes = []any{
3938 (TargetChange_TargetChangeType)(0), // 0: google.firestore.v1.TargetChange.TargetChangeType
3939 (*GetDocumentRequest)(nil), // 1: google.firestore.v1.GetDocumentRequest
3940 (*ListDocumentsRequest)(nil), // 2: google.firestore.v1.ListDocumentsRequest
3941 (*ListDocumentsResponse)(nil), // 3: google.firestore.v1.ListDocumentsResponse
3942 (*CreateDocumentRequest)(nil), // 4: google.firestore.v1.CreateDocumentRequest
3943 (*UpdateDocumentRequest)(nil), // 5: google.firestore.v1.UpdateDocumentRequest
3944 (*DeleteDocumentRequest)(nil), // 6: google.firestore.v1.DeleteDocumentRequest
3945 (*BatchGetDocumentsRequest)(nil), // 7: google.firestore.v1.BatchGetDocumentsRequest
3946 (*BatchGetDocumentsResponse)(nil), // 8: google.firestore.v1.BatchGetDocumentsResponse
3947 (*BeginTransactionRequest)(nil), // 9: google.firestore.v1.BeginTransactionRequest
3948 (*BeginTransactionResponse)(nil), // 10: google.firestore.v1.BeginTransactionResponse
3949 (*CommitRequest)(nil), // 11: google.firestore.v1.CommitRequest
3950 (*CommitResponse)(nil), // 12: google.firestore.v1.CommitResponse
3951 (*RollbackRequest)(nil), // 13: google.firestore.v1.RollbackRequest
3952 (*RunQueryRequest)(nil), // 14: google.firestore.v1.RunQueryRequest
3953 (*RunQueryResponse)(nil), // 15: google.firestore.v1.RunQueryResponse
3954 (*RunAggregationQueryRequest)(nil), // 16: google.firestore.v1.RunAggregationQueryRequest
3955 (*RunAggregationQueryResponse)(nil), // 17: google.firestore.v1.RunAggregationQueryResponse
3956 (*PartitionQueryRequest)(nil), // 18: google.firestore.v1.PartitionQueryRequest
3957 (*PartitionQueryResponse)(nil), // 19: google.firestore.v1.PartitionQueryResponse
3958 (*WriteRequest)(nil), // 20: google.firestore.v1.WriteRequest
3959 (*WriteResponse)(nil), // 21: google.firestore.v1.WriteResponse
3960 (*ListenRequest)(nil), // 22: google.firestore.v1.ListenRequest
3961 (*ListenResponse)(nil), // 23: google.firestore.v1.ListenResponse
3962 (*Target)(nil), // 24: google.firestore.v1.Target
3963 (*TargetChange)(nil), // 25: google.firestore.v1.TargetChange
3964 (*ListCollectionIdsRequest)(nil), // 26: google.firestore.v1.ListCollectionIdsRequest
3965 (*ListCollectionIdsResponse)(nil), // 27: google.firestore.v1.ListCollectionIdsResponse
3966 (*BatchWriteRequest)(nil), // 28: google.firestore.v1.BatchWriteRequest
3967 (*BatchWriteResponse)(nil), // 29: google.firestore.v1.BatchWriteResponse
3968 nil, // 30: google.firestore.v1.WriteRequest.LabelsEntry
3969 nil, // 31: google.firestore.v1.ListenRequest.LabelsEntry
3970 (*Target_DocumentsTarget)(nil), // 32: google.firestore.v1.Target.DocumentsTarget
3971 (*Target_QueryTarget)(nil), // 33: google.firestore.v1.Target.QueryTarget
3972 nil, // 34: google.firestore.v1.BatchWriteRequest.LabelsEntry
3973 (*DocumentMask)(nil), // 35: google.firestore.v1.DocumentMask
3974 (*timestamppb.Timestamp)(nil), // 36: google.protobuf.Timestamp
3975 (*Document)(nil), // 37: google.firestore.v1.Document
3976 (*Precondition)(nil), // 38: google.firestore.v1.Precondition
3977 (*TransactionOptions)(nil), // 39: google.firestore.v1.TransactionOptions
3978 (*Write)(nil), // 40: google.firestore.v1.Write
3979 (*WriteResult)(nil), // 41: google.firestore.v1.WriteResult
3980 (*StructuredQuery)(nil), // 42: google.firestore.v1.StructuredQuery
3981 (*ExplainOptions)(nil), // 43: google.firestore.v1.ExplainOptions
3982 (*ExplainMetrics)(nil), // 44: google.firestore.v1.ExplainMetrics
3983 (*StructuredAggregationQuery)(nil), // 45: google.firestore.v1.StructuredAggregationQuery
3984 (*AggregationResult)(nil), // 46: google.firestore.v1.AggregationResult
3985 (*Cursor)(nil), // 47: google.firestore.v1.Cursor
3986 (*DocumentChange)(nil), // 48: google.firestore.v1.DocumentChange
3987 (*DocumentDelete)(nil), // 49: google.firestore.v1.DocumentDelete
3988 (*DocumentRemove)(nil), // 50: google.firestore.v1.DocumentRemove
3989 (*ExistenceFilter)(nil), // 51: google.firestore.v1.ExistenceFilter
3990 (*wrapperspb.Int32Value)(nil), // 52: google.protobuf.Int32Value
3991 (*status.Status)(nil), // 53: google.rpc.Status
3992 (*emptypb.Empty)(nil), // 54: google.protobuf.Empty
3993 }
3994 var file_google_firestore_v1_firestore_proto_depIdxs = []int32{
3995 35, // 0: google.firestore.v1.GetDocumentRequest.mask:type_name -> google.firestore.v1.DocumentMask
3996 36, // 1: google.firestore.v1.GetDocumentRequest.read_time:type_name -> google.protobuf.Timestamp
3997 35, // 2: google.firestore.v1.ListDocumentsRequest.mask:type_name -> google.firestore.v1.DocumentMask
3998 36, // 3: google.firestore.v1.ListDocumentsRequest.read_time:type_name -> google.protobuf.Timestamp
3999 37, // 4: google.firestore.v1.ListDocumentsResponse.documents:type_name -> google.firestore.v1.Document
4000 37, // 5: google.firestore.v1.CreateDocumentRequest.document:type_name -> google.firestore.v1.Document
4001 35, // 6: google.firestore.v1.CreateDocumentRequest.mask:type_name -> google.firestore.v1.DocumentMask
4002 37, // 7: google.firestore.v1.UpdateDocumentRequest.document:type_name -> google.firestore.v1.Document
4003 35, // 8: google.firestore.v1.UpdateDocumentRequest.update_mask:type_name -> google.firestore.v1.DocumentMask
4004 35, // 9: google.firestore.v1.UpdateDocumentRequest.mask:type_name -> google.firestore.v1.DocumentMask
4005 38, // 10: google.firestore.v1.UpdateDocumentRequest.current_document:type_name -> google.firestore.v1.Precondition
4006 38, // 11: google.firestore.v1.DeleteDocumentRequest.current_document:type_name -> google.firestore.v1.Precondition
4007 35, // 12: google.firestore.v1.BatchGetDocumentsRequest.mask:type_name -> google.firestore.v1.DocumentMask
4008 39, // 13: google.firestore.v1.BatchGetDocumentsRequest.new_transaction:type_name -> google.firestore.v1.TransactionOptions
4009 36, // 14: google.firestore.v1.BatchGetDocumentsRequest.read_time:type_name -> google.protobuf.Timestamp
4010 37, // 15: google.firestore.v1.BatchGetDocumentsResponse.found:type_name -> google.firestore.v1.Document
4011 36, // 16: google.firestore.v1.BatchGetDocumentsResponse.read_time:type_name -> google.protobuf.Timestamp
4012 39, // 17: google.firestore.v1.BeginTransactionRequest.options:type_name -> google.firestore.v1.TransactionOptions
4013 40, // 18: google.firestore.v1.CommitRequest.writes:type_name -> google.firestore.v1.Write
4014 41, // 19: google.firestore.v1.CommitResponse.write_results:type_name -> google.firestore.v1.WriteResult
4015 36, // 20: google.firestore.v1.CommitResponse.commit_time:type_name -> google.protobuf.Timestamp
4016 42, // 21: google.firestore.v1.RunQueryRequest.structured_query:type_name -> google.firestore.v1.StructuredQuery
4017 39, // 22: google.firestore.v1.RunQueryRequest.new_transaction:type_name -> google.firestore.v1.TransactionOptions
4018 36, // 23: google.firestore.v1.RunQueryRequest.read_time:type_name -> google.protobuf.Timestamp
4019 43, // 24: google.firestore.v1.RunQueryRequest.explain_options:type_name -> google.firestore.v1.ExplainOptions
4020 37, // 25: google.firestore.v1.RunQueryResponse.document:type_name -> google.firestore.v1.Document
4021 36, // 26: google.firestore.v1.RunQueryResponse.read_time:type_name -> google.protobuf.Timestamp
4022 44, // 27: google.firestore.v1.RunQueryResponse.explain_metrics:type_name -> google.firestore.v1.ExplainMetrics
4023 45, // 28: google.firestore.v1.RunAggregationQueryRequest.structured_aggregation_query:type_name -> google.firestore.v1.StructuredAggregationQuery
4024 39, // 29: google.firestore.v1.RunAggregationQueryRequest.new_transaction:type_name -> google.firestore.v1.TransactionOptions
4025 36, // 30: google.firestore.v1.RunAggregationQueryRequest.read_time:type_name -> google.protobuf.Timestamp
4026 43, // 31: google.firestore.v1.RunAggregationQueryRequest.explain_options:type_name -> google.firestore.v1.ExplainOptions
4027 46, // 32: google.firestore.v1.RunAggregationQueryResponse.result:type_name -> google.firestore.v1.AggregationResult
4028 36, // 33: google.firestore.v1.RunAggregationQueryResponse.read_time:type_name -> google.protobuf.Timestamp
4029 44, // 34: google.firestore.v1.RunAggregationQueryResponse.explain_metrics:type_name -> google.firestore.v1.ExplainMetrics
4030 42, // 35: google.firestore.v1.PartitionQueryRequest.structured_query:type_name -> google.firestore.v1.StructuredQuery
4031 36, // 36: google.firestore.v1.PartitionQueryRequest.read_time:type_name -> google.protobuf.Timestamp
4032 47, // 37: google.firestore.v1.PartitionQueryResponse.partitions:type_name -> google.firestore.v1.Cursor
4033 40, // 38: google.firestore.v1.WriteRequest.writes:type_name -> google.firestore.v1.Write
4034 30, // 39: google.firestore.v1.WriteRequest.labels:type_name -> google.firestore.v1.WriteRequest.LabelsEntry
4035 41, // 40: google.firestore.v1.WriteResponse.write_results:type_name -> google.firestore.v1.WriteResult
4036 36, // 41: google.firestore.v1.WriteResponse.commit_time:type_name -> google.protobuf.Timestamp
4037 24, // 42: google.firestore.v1.ListenRequest.add_target:type_name -> google.firestore.v1.Target
4038 31, // 43: google.firestore.v1.ListenRequest.labels:type_name -> google.firestore.v1.ListenRequest.LabelsEntry
4039 25, // 44: google.firestore.v1.ListenResponse.target_change:type_name -> google.firestore.v1.TargetChange
4040 48, // 45: google.firestore.v1.ListenResponse.document_change:type_name -> google.firestore.v1.DocumentChange
4041 49, // 46: google.firestore.v1.ListenResponse.document_delete:type_name -> google.firestore.v1.DocumentDelete
4042 50, // 47: google.firestore.v1.ListenResponse.document_remove:type_name -> google.firestore.v1.DocumentRemove
4043 51, // 48: google.firestore.v1.ListenResponse.filter:type_name -> google.firestore.v1.ExistenceFilter
4044 33, // 49: google.firestore.v1.Target.query:type_name -> google.firestore.v1.Target.QueryTarget
4045 32, // 50: google.firestore.v1.Target.documents:type_name -> google.firestore.v1.Target.DocumentsTarget
4046 36, // 51: google.firestore.v1.Target.read_time:type_name -> google.protobuf.Timestamp
4047 52, // 52: google.firestore.v1.Target.expected_count:type_name -> google.protobuf.Int32Value
4048 0, // 53: google.firestore.v1.TargetChange.target_change_type:type_name -> google.firestore.v1.TargetChange.TargetChangeType
4049 53, // 54: google.firestore.v1.TargetChange.cause:type_name -> google.rpc.Status
4050 36, // 55: google.firestore.v1.TargetChange.read_time:type_name -> google.protobuf.Timestamp
4051 36, // 56: google.firestore.v1.ListCollectionIdsRequest.read_time:type_name -> google.protobuf.Timestamp
4052 40, // 57: google.firestore.v1.BatchWriteRequest.writes:type_name -> google.firestore.v1.Write
4053 34, // 58: google.firestore.v1.BatchWriteRequest.labels:type_name -> google.firestore.v1.BatchWriteRequest.LabelsEntry
4054 41, // 59: google.firestore.v1.BatchWriteResponse.write_results:type_name -> google.firestore.v1.WriteResult
4055 53, // 60: google.firestore.v1.BatchWriteResponse.status:type_name -> google.rpc.Status
4056 42, // 61: google.firestore.v1.Target.QueryTarget.structured_query:type_name -> google.firestore.v1.StructuredQuery
4057 1, // 62: google.firestore.v1.Firestore.GetDocument:input_type -> google.firestore.v1.GetDocumentRequest
4058 2, // 63: google.firestore.v1.Firestore.ListDocuments:input_type -> google.firestore.v1.ListDocumentsRequest
4059 5, // 64: google.firestore.v1.Firestore.UpdateDocument:input_type -> google.firestore.v1.UpdateDocumentRequest
4060 6, // 65: google.firestore.v1.Firestore.DeleteDocument:input_type -> google.firestore.v1.DeleteDocumentRequest
4061 7, // 66: google.firestore.v1.Firestore.BatchGetDocuments:input_type -> google.firestore.v1.BatchGetDocumentsRequest
4062 9, // 67: google.firestore.v1.Firestore.BeginTransaction:input_type -> google.firestore.v1.BeginTransactionRequest
4063 11, // 68: google.firestore.v1.Firestore.Commit:input_type -> google.firestore.v1.CommitRequest
4064 13, // 69: google.firestore.v1.Firestore.Rollback:input_type -> google.firestore.v1.RollbackRequest
4065 14, // 70: google.firestore.v1.Firestore.RunQuery:input_type -> google.firestore.v1.RunQueryRequest
4066 16, // 71: google.firestore.v1.Firestore.RunAggregationQuery:input_type -> google.firestore.v1.RunAggregationQueryRequest
4067 18, // 72: google.firestore.v1.Firestore.PartitionQuery:input_type -> google.firestore.v1.PartitionQueryRequest
4068 20, // 73: google.firestore.v1.Firestore.Write:input_type -> google.firestore.v1.WriteRequest
4069 22, // 74: google.firestore.v1.Firestore.Listen:input_type -> google.firestore.v1.ListenRequest
4070 26, // 75: google.firestore.v1.Firestore.ListCollectionIds:input_type -> google.firestore.v1.ListCollectionIdsRequest
4071 28, // 76: google.firestore.v1.Firestore.BatchWrite:input_type -> google.firestore.v1.BatchWriteRequest
4072 4, // 77: google.firestore.v1.Firestore.CreateDocument:input_type -> google.firestore.v1.CreateDocumentRequest
4073 37, // 78: google.firestore.v1.Firestore.GetDocument:output_type -> google.firestore.v1.Document
4074 3, // 79: google.firestore.v1.Firestore.ListDocuments:output_type -> google.firestore.v1.ListDocumentsResponse
4075 37, // 80: google.firestore.v1.Firestore.UpdateDocument:output_type -> google.firestore.v1.Document
4076 54, // 81: google.firestore.v1.Firestore.DeleteDocument:output_type -> google.protobuf.Empty
4077 8, // 82: google.firestore.v1.Firestore.BatchGetDocuments:output_type -> google.firestore.v1.BatchGetDocumentsResponse
4078 10, // 83: google.firestore.v1.Firestore.BeginTransaction:output_type -> google.firestore.v1.BeginTransactionResponse
4079 12, // 84: google.firestore.v1.Firestore.Commit:output_type -> google.firestore.v1.CommitResponse
4080 54, // 85: google.firestore.v1.Firestore.Rollback:output_type -> google.protobuf.Empty
4081 15, // 86: google.firestore.v1.Firestore.RunQuery:output_type -> google.firestore.v1.RunQueryResponse
4082 17, // 87: google.firestore.v1.Firestore.RunAggregationQuery:output_type -> google.firestore.v1.RunAggregationQueryResponse
4083 19, // 88: google.firestore.v1.Firestore.PartitionQuery:output_type -> google.firestore.v1.PartitionQueryResponse
4084 21, // 89: google.firestore.v1.Firestore.Write:output_type -> google.firestore.v1.WriteResponse
4085 23, // 90: google.firestore.v1.Firestore.Listen:output_type -> google.firestore.v1.ListenResponse
4086 27, // 91: google.firestore.v1.Firestore.ListCollectionIds:output_type -> google.firestore.v1.ListCollectionIdsResponse
4087 29, // 92: google.firestore.v1.Firestore.BatchWrite:output_type -> google.firestore.v1.BatchWriteResponse
4088 37, // 93: google.firestore.v1.Firestore.CreateDocument:output_type -> google.firestore.v1.Document
4089 78, // [78:94] is the sub-list for method output_type
4090 62, // [62:78] is the sub-list for method input_type
4091 62, // [62:62] is the sub-list for extension type_name
4092 62, // [62:62] is the sub-list for extension extendee
4093 0, // [0:62] is the sub-list for field type_name
4094 }
4095
4096 func init() { file_google_firestore_v1_firestore_proto_init() }
4097 func file_google_firestore_v1_firestore_proto_init() {
4098 if File_google_firestore_v1_firestore_proto != nil {
4099 return
4100 }
4101 file_google_firestore_v1_aggregation_result_proto_init()
4102 file_google_firestore_v1_common_proto_init()
4103 file_google_firestore_v1_document_proto_init()
4104 file_google_firestore_v1_query_proto_init()
4105 file_google_firestore_v1_query_profile_proto_init()
4106 file_google_firestore_v1_write_proto_init()
4107 file_google_firestore_v1_firestore_proto_msgTypes[0].OneofWrappers = []any{
4108 (*GetDocumentRequest_Transaction)(nil),
4109 (*GetDocumentRequest_ReadTime)(nil),
4110 }
4111 file_google_firestore_v1_firestore_proto_msgTypes[1].OneofWrappers = []any{
4112 (*ListDocumentsRequest_Transaction)(nil),
4113 (*ListDocumentsRequest_ReadTime)(nil),
4114 }
4115 file_google_firestore_v1_firestore_proto_msgTypes[6].OneofWrappers = []any{
4116 (*BatchGetDocumentsRequest_Transaction)(nil),
4117 (*BatchGetDocumentsRequest_NewTransaction)(nil),
4118 (*BatchGetDocumentsRequest_ReadTime)(nil),
4119 }
4120 file_google_firestore_v1_firestore_proto_msgTypes[7].OneofWrappers = []any{
4121 (*BatchGetDocumentsResponse_Found)(nil),
4122 (*BatchGetDocumentsResponse_Missing)(nil),
4123 }
4124 file_google_firestore_v1_firestore_proto_msgTypes[13].OneofWrappers = []any{
4125 (*RunQueryRequest_StructuredQuery)(nil),
4126 (*RunQueryRequest_Transaction)(nil),
4127 (*RunQueryRequest_NewTransaction)(nil),
4128 (*RunQueryRequest_ReadTime)(nil),
4129 }
4130 file_google_firestore_v1_firestore_proto_msgTypes[14].OneofWrappers = []any{
4131 (*RunQueryResponse_Done)(nil),
4132 }
4133 file_google_firestore_v1_firestore_proto_msgTypes[15].OneofWrappers = []any{
4134 (*RunAggregationQueryRequest_StructuredAggregationQuery)(nil),
4135 (*RunAggregationQueryRequest_Transaction)(nil),
4136 (*RunAggregationQueryRequest_NewTransaction)(nil),
4137 (*RunAggregationQueryRequest_ReadTime)(nil),
4138 }
4139 file_google_firestore_v1_firestore_proto_msgTypes[17].OneofWrappers = []any{
4140 (*PartitionQueryRequest_StructuredQuery)(nil),
4141 (*PartitionQueryRequest_ReadTime)(nil),
4142 }
4143 file_google_firestore_v1_firestore_proto_msgTypes[21].OneofWrappers = []any{
4144 (*ListenRequest_AddTarget)(nil),
4145 (*ListenRequest_RemoveTarget)(nil),
4146 }
4147 file_google_firestore_v1_firestore_proto_msgTypes[22].OneofWrappers = []any{
4148 (*ListenResponse_TargetChange)(nil),
4149 (*ListenResponse_DocumentChange)(nil),
4150 (*ListenResponse_DocumentDelete)(nil),
4151 (*ListenResponse_DocumentRemove)(nil),
4152 (*ListenResponse_Filter)(nil),
4153 }
4154 file_google_firestore_v1_firestore_proto_msgTypes[23].OneofWrappers = []any{
4155 (*Target_Query)(nil),
4156 (*Target_Documents)(nil),
4157 (*Target_ResumeToken)(nil),
4158 (*Target_ReadTime)(nil),
4159 }
4160 file_google_firestore_v1_firestore_proto_msgTypes[25].OneofWrappers = []any{
4161 (*ListCollectionIdsRequest_ReadTime)(nil),
4162 }
4163 file_google_firestore_v1_firestore_proto_msgTypes[32].OneofWrappers = []any{
4164 (*Target_QueryTarget_StructuredQuery)(nil),
4165 }
4166 type x struct{}
4167 out := protoimpl.TypeBuilder{
4168 File: protoimpl.DescBuilder{
4169 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
4170 RawDescriptor: file_google_firestore_v1_firestore_proto_rawDesc,
4171 NumEnums: 1,
4172 NumMessages: 34,
4173 NumExtensions: 0,
4174 NumServices: 1,
4175 },
4176 GoTypes: file_google_firestore_v1_firestore_proto_goTypes,
4177 DependencyIndexes: file_google_firestore_v1_firestore_proto_depIdxs,
4178 EnumInfos: file_google_firestore_v1_firestore_proto_enumTypes,
4179 MessageInfos: file_google_firestore_v1_firestore_proto_msgTypes,
4180 }.Build()
4181 File_google_firestore_v1_firestore_proto = out.File
4182 file_google_firestore_v1_firestore_proto_rawDesc = nil
4183 file_google_firestore_v1_firestore_proto_goTypes = nil
4184 file_google_firestore_v1_firestore_proto_depIdxs = nil
4185 }
4186
4187 // Reference imports to suppress errors if they are not otherwise used.
4188 var _ context.Context
4189 var _ grpc.ClientConnInterface
4190
4191 // This is a compile-time assertion to ensure that this generated file
4192 // is compatible with the grpc package it is being compiled against.
4193 const _ = grpc.SupportPackageIsVersion6
4194
4195 // FirestoreClient is the client API for Firestore service.
4196 //
4197 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
4198 type FirestoreClient interface {
4199 // Gets a single document.
4200 GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error)
4201 // Lists documents.
4202 ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error)
4203 // Updates or inserts a document.
4204 UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*Document, error)
4205 // Deletes a document.
4206 DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
4207 // Gets multiple documents.
4208 //
4209 // Documents returned by this method are not guaranteed to be returned in the
4210 // same order that they were requested.
4211 BatchGetDocuments(ctx context.Context, in *BatchGetDocumentsRequest, opts ...grpc.CallOption) (Firestore_BatchGetDocumentsClient, error)
4212 // Starts a new transaction.
4213 BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error)
4214 // Commits a transaction, while optionally updating documents.
4215 Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error)
4216 // Rolls back a transaction.
4217 Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
4218 // Runs a query.
4219 RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (Firestore_RunQueryClient, error)
4220 // Runs an aggregation query.
4221 //
4222 // Rather than producing [Document][google.firestore.v1.Document] results like
4223 // [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
4224 // allows running an aggregation to produce a series of
4225 // [AggregationResult][google.firestore.v1.AggregationResult] server-side.
4226 //
4227 // High-Level Example:
4228 //
4229 // ```
4230 // -- Return the number of documents in table given a filter.
4231 // SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
4232 // ```
4233 RunAggregationQuery(ctx context.Context, in *RunAggregationQueryRequest, opts ...grpc.CallOption) (Firestore_RunAggregationQueryClient, error)
4234 // Partitions a query by returning partition cursors that can be used to run
4235 // the query in parallel. The returned partition cursors are split points that
4236 // can be used by RunQuery as starting/end points for the query results.
4237 PartitionQuery(ctx context.Context, in *PartitionQueryRequest, opts ...grpc.CallOption) (*PartitionQueryResponse, error)
4238 // Streams batches of document updates and deletes, in order. This method is
4239 // only available via gRPC or WebChannel (not REST).
4240 Write(ctx context.Context, opts ...grpc.CallOption) (Firestore_WriteClient, error)
4241 // Listens to changes. This method is only available via gRPC or WebChannel
4242 // (not REST).
4243 Listen(ctx context.Context, opts ...grpc.CallOption) (Firestore_ListenClient, error)
4244 // Lists all the collection IDs underneath a document.
4245 ListCollectionIds(ctx context.Context, in *ListCollectionIdsRequest, opts ...grpc.CallOption) (*ListCollectionIdsResponse, error)
4246 // Applies a batch of write operations.
4247 //
4248 // The BatchWrite method does not apply the write operations atomically
4249 // and can apply them out of order. Method does not allow more than one write
4250 // per document. Each write succeeds or fails independently. See the
4251 // [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
4252 // success status of each write.
4253 //
4254 // If you require an atomically applied set of writes, use
4255 // [Commit][google.firestore.v1.Firestore.Commit] instead.
4256 BatchWrite(ctx context.Context, in *BatchWriteRequest, opts ...grpc.CallOption) (*BatchWriteResponse, error)
4257 // Creates a new document.
4258 CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*Document, error)
4259 }
4260
4261 type firestoreClient struct {
4262 cc grpc.ClientConnInterface
4263 }
4264
4265 func NewFirestoreClient(cc grpc.ClientConnInterface) FirestoreClient {
4266 return &firestoreClient{cc}
4267 }
4268
4269 func (c *firestoreClient) GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) {
4270 out := new(Document)
4271 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/GetDocument", in, out, opts...)
4272 if err != nil {
4273 return nil, err
4274 }
4275 return out, nil
4276 }
4277
4278 func (c *firestoreClient) ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error) {
4279 out := new(ListDocumentsResponse)
4280 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/ListDocuments", in, out, opts...)
4281 if err != nil {
4282 return nil, err
4283 }
4284 return out, nil
4285 }
4286
4287 func (c *firestoreClient) UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*Document, error) {
4288 out := new(Document)
4289 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/UpdateDocument", in, out, opts...)
4290 if err != nil {
4291 return nil, err
4292 }
4293 return out, nil
4294 }
4295
4296 func (c *firestoreClient) DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
4297 out := new(emptypb.Empty)
4298 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/DeleteDocument", in, out, opts...)
4299 if err != nil {
4300 return nil, err
4301 }
4302 return out, nil
4303 }
4304
4305 func (c *firestoreClient) BatchGetDocuments(ctx context.Context, in *BatchGetDocumentsRequest, opts ...grpc.CallOption) (Firestore_BatchGetDocumentsClient, error) {
4306 stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[0], "/google.firestore.v1.Firestore/BatchGetDocuments", opts...)
4307 if err != nil {
4308 return nil, err
4309 }
4310 x := &firestoreBatchGetDocumentsClient{stream}
4311 if err := x.ClientStream.SendMsg(in); err != nil {
4312 return nil, err
4313 }
4314 if err := x.ClientStream.CloseSend(); err != nil {
4315 return nil, err
4316 }
4317 return x, nil
4318 }
4319
4320 type Firestore_BatchGetDocumentsClient interface {
4321 Recv() (*BatchGetDocumentsResponse, error)
4322 grpc.ClientStream
4323 }
4324
4325 type firestoreBatchGetDocumentsClient struct {
4326 grpc.ClientStream
4327 }
4328
4329 func (x *firestoreBatchGetDocumentsClient) Recv() (*BatchGetDocumentsResponse, error) {
4330 m := new(BatchGetDocumentsResponse)
4331 if err := x.ClientStream.RecvMsg(m); err != nil {
4332 return nil, err
4333 }
4334 return m, nil
4335 }
4336
4337 func (c *firestoreClient) BeginTransaction(ctx context.Context, in *BeginTransactionRequest, opts ...grpc.CallOption) (*BeginTransactionResponse, error) {
4338 out := new(BeginTransactionResponse)
4339 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/BeginTransaction", in, out, opts...)
4340 if err != nil {
4341 return nil, err
4342 }
4343 return out, nil
4344 }
4345
4346 func (c *firestoreClient) Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error) {
4347 out := new(CommitResponse)
4348 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/Commit", in, out, opts...)
4349 if err != nil {
4350 return nil, err
4351 }
4352 return out, nil
4353 }
4354
4355 func (c *firestoreClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
4356 out := new(emptypb.Empty)
4357 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/Rollback", in, out, opts...)
4358 if err != nil {
4359 return nil, err
4360 }
4361 return out, nil
4362 }
4363
4364 func (c *firestoreClient) RunQuery(ctx context.Context, in *RunQueryRequest, opts ...grpc.CallOption) (Firestore_RunQueryClient, error) {
4365 stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[1], "/google.firestore.v1.Firestore/RunQuery", opts...)
4366 if err != nil {
4367 return nil, err
4368 }
4369 x := &firestoreRunQueryClient{stream}
4370 if err := x.ClientStream.SendMsg(in); err != nil {
4371 return nil, err
4372 }
4373 if err := x.ClientStream.CloseSend(); err != nil {
4374 return nil, err
4375 }
4376 return x, nil
4377 }
4378
4379 type Firestore_RunQueryClient interface {
4380 Recv() (*RunQueryResponse, error)
4381 grpc.ClientStream
4382 }
4383
4384 type firestoreRunQueryClient struct {
4385 grpc.ClientStream
4386 }
4387
4388 func (x *firestoreRunQueryClient) Recv() (*RunQueryResponse, error) {
4389 m := new(RunQueryResponse)
4390 if err := x.ClientStream.RecvMsg(m); err != nil {
4391 return nil, err
4392 }
4393 return m, nil
4394 }
4395
4396 func (c *firestoreClient) RunAggregationQuery(ctx context.Context, in *RunAggregationQueryRequest, opts ...grpc.CallOption) (Firestore_RunAggregationQueryClient, error) {
4397 stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[2], "/google.firestore.v1.Firestore/RunAggregationQuery", opts...)
4398 if err != nil {
4399 return nil, err
4400 }
4401 x := &firestoreRunAggregationQueryClient{stream}
4402 if err := x.ClientStream.SendMsg(in); err != nil {
4403 return nil, err
4404 }
4405 if err := x.ClientStream.CloseSend(); err != nil {
4406 return nil, err
4407 }
4408 return x, nil
4409 }
4410
4411 type Firestore_RunAggregationQueryClient interface {
4412 Recv() (*RunAggregationQueryResponse, error)
4413 grpc.ClientStream
4414 }
4415
4416 type firestoreRunAggregationQueryClient struct {
4417 grpc.ClientStream
4418 }
4419
4420 func (x *firestoreRunAggregationQueryClient) Recv() (*RunAggregationQueryResponse, error) {
4421 m := new(RunAggregationQueryResponse)
4422 if err := x.ClientStream.RecvMsg(m); err != nil {
4423 return nil, err
4424 }
4425 return m, nil
4426 }
4427
4428 func (c *firestoreClient) PartitionQuery(ctx context.Context, in *PartitionQueryRequest, opts ...grpc.CallOption) (*PartitionQueryResponse, error) {
4429 out := new(PartitionQueryResponse)
4430 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/PartitionQuery", in, out, opts...)
4431 if err != nil {
4432 return nil, err
4433 }
4434 return out, nil
4435 }
4436
4437 func (c *firestoreClient) Write(ctx context.Context, opts ...grpc.CallOption) (Firestore_WriteClient, error) {
4438 stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[3], "/google.firestore.v1.Firestore/Write", opts...)
4439 if err != nil {
4440 return nil, err
4441 }
4442 x := &firestoreWriteClient{stream}
4443 return x, nil
4444 }
4445
4446 type Firestore_WriteClient interface {
4447 Send(*WriteRequest) error
4448 Recv() (*WriteResponse, error)
4449 grpc.ClientStream
4450 }
4451
4452 type firestoreWriteClient struct {
4453 grpc.ClientStream
4454 }
4455
4456 func (x *firestoreWriteClient) Send(m *WriteRequest) error {
4457 return x.ClientStream.SendMsg(m)
4458 }
4459
4460 func (x *firestoreWriteClient) Recv() (*WriteResponse, error) {
4461 m := new(WriteResponse)
4462 if err := x.ClientStream.RecvMsg(m); err != nil {
4463 return nil, err
4464 }
4465 return m, nil
4466 }
4467
4468 func (c *firestoreClient) Listen(ctx context.Context, opts ...grpc.CallOption) (Firestore_ListenClient, error) {
4469 stream, err := c.cc.NewStream(ctx, &_Firestore_serviceDesc.Streams[4], "/google.firestore.v1.Firestore/Listen", opts...)
4470 if err != nil {
4471 return nil, err
4472 }
4473 x := &firestoreListenClient{stream}
4474 return x, nil
4475 }
4476
4477 type Firestore_ListenClient interface {
4478 Send(*ListenRequest) error
4479 Recv() (*ListenResponse, error)
4480 grpc.ClientStream
4481 }
4482
4483 type firestoreListenClient struct {
4484 grpc.ClientStream
4485 }
4486
4487 func (x *firestoreListenClient) Send(m *ListenRequest) error {
4488 return x.ClientStream.SendMsg(m)
4489 }
4490
4491 func (x *firestoreListenClient) Recv() (*ListenResponse, error) {
4492 m := new(ListenResponse)
4493 if err := x.ClientStream.RecvMsg(m); err != nil {
4494 return nil, err
4495 }
4496 return m, nil
4497 }
4498
4499 func (c *firestoreClient) ListCollectionIds(ctx context.Context, in *ListCollectionIdsRequest, opts ...grpc.CallOption) (*ListCollectionIdsResponse, error) {
4500 out := new(ListCollectionIdsResponse)
4501 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/ListCollectionIds", in, out, opts...)
4502 if err != nil {
4503 return nil, err
4504 }
4505 return out, nil
4506 }
4507
4508 func (c *firestoreClient) BatchWrite(ctx context.Context, in *BatchWriteRequest, opts ...grpc.CallOption) (*BatchWriteResponse, error) {
4509 out := new(BatchWriteResponse)
4510 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/BatchWrite", in, out, opts...)
4511 if err != nil {
4512 return nil, err
4513 }
4514 return out, nil
4515 }
4516
4517 func (c *firestoreClient) CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*Document, error) {
4518 out := new(Document)
4519 err := c.cc.Invoke(ctx, "/google.firestore.v1.Firestore/CreateDocument", in, out, opts...)
4520 if err != nil {
4521 return nil, err
4522 }
4523 return out, nil
4524 }
4525
4526 // FirestoreServer is the server API for Firestore service.
4527 type FirestoreServer interface {
4528 // Gets a single document.
4529 GetDocument(context.Context, *GetDocumentRequest) (*Document, error)
4530 // Lists documents.
4531 ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error)
4532 // Updates or inserts a document.
4533 UpdateDocument(context.Context, *UpdateDocumentRequest) (*Document, error)
4534 // Deletes a document.
4535 DeleteDocument(context.Context, *DeleteDocumentRequest) (*emptypb.Empty, error)
4536 // Gets multiple documents.
4537 //
4538 // Documents returned by this method are not guaranteed to be returned in the
4539 // same order that they were requested.
4540 BatchGetDocuments(*BatchGetDocumentsRequest, Firestore_BatchGetDocumentsServer) error
4541 // Starts a new transaction.
4542 BeginTransaction(context.Context, *BeginTransactionRequest) (*BeginTransactionResponse, error)
4543 // Commits a transaction, while optionally updating documents.
4544 Commit(context.Context, *CommitRequest) (*CommitResponse, error)
4545 // Rolls back a transaction.
4546 Rollback(context.Context, *RollbackRequest) (*emptypb.Empty, error)
4547 // Runs a query.
4548 RunQuery(*RunQueryRequest, Firestore_RunQueryServer) error
4549 // Runs an aggregation query.
4550 //
4551 // Rather than producing [Document][google.firestore.v1.Document] results like
4552 // [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery], this API
4553 // allows running an aggregation to produce a series of
4554 // [AggregationResult][google.firestore.v1.AggregationResult] server-side.
4555 //
4556 // High-Level Example:
4557 //
4558 // ```
4559 // -- Return the number of documents in table given a filter.
4560 // SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );
4561 // ```
4562 RunAggregationQuery(*RunAggregationQueryRequest, Firestore_RunAggregationQueryServer) error
4563 // Partitions a query by returning partition cursors that can be used to run
4564 // the query in parallel. The returned partition cursors are split points that
4565 // can be used by RunQuery as starting/end points for the query results.
4566 PartitionQuery(context.Context, *PartitionQueryRequest) (*PartitionQueryResponse, error)
4567 // Streams batches of document updates and deletes, in order. This method is
4568 // only available via gRPC or WebChannel (not REST).
4569 Write(Firestore_WriteServer) error
4570 // Listens to changes. This method is only available via gRPC or WebChannel
4571 // (not REST).
4572 Listen(Firestore_ListenServer) error
4573 // Lists all the collection IDs underneath a document.
4574 ListCollectionIds(context.Context, *ListCollectionIdsRequest) (*ListCollectionIdsResponse, error)
4575 // Applies a batch of write operations.
4576 //
4577 // The BatchWrite method does not apply the write operations atomically
4578 // and can apply them out of order. Method does not allow more than one write
4579 // per document. Each write succeeds or fails independently. See the
4580 // [BatchWriteResponse][google.firestore.v1.BatchWriteResponse] for the
4581 // success status of each write.
4582 //
4583 // If you require an atomically applied set of writes, use
4584 // [Commit][google.firestore.v1.Firestore.Commit] instead.
4585 BatchWrite(context.Context, *BatchWriteRequest) (*BatchWriteResponse, error)
4586 // Creates a new document.
4587 CreateDocument(context.Context, *CreateDocumentRequest) (*Document, error)
4588 }
4589
4590 // UnimplementedFirestoreServer can be embedded to have forward compatible implementations.
4591 type UnimplementedFirestoreServer struct {
4592 }
4593
4594 func (*UnimplementedFirestoreServer) GetDocument(context.Context, *GetDocumentRequest) (*Document, error) {
4595 return nil, status1.Errorf(codes.Unimplemented, "method GetDocument not implemented")
4596 }
4597 func (*UnimplementedFirestoreServer) ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error) {
4598 return nil, status1.Errorf(codes.Unimplemented, "method ListDocuments not implemented")
4599 }
4600 func (*UnimplementedFirestoreServer) UpdateDocument(context.Context, *UpdateDocumentRequest) (*Document, error) {
4601 return nil, status1.Errorf(codes.Unimplemented, "method UpdateDocument not implemented")
4602 }
4603 func (*UnimplementedFirestoreServer) DeleteDocument(context.Context, *DeleteDocumentRequest) (*emptypb.Empty, error) {
4604 return nil, status1.Errorf(codes.Unimplemented, "method DeleteDocument not implemented")
4605 }
4606 func (*UnimplementedFirestoreServer) BatchGetDocuments(*BatchGetDocumentsRequest, Firestore_BatchGetDocumentsServer) error {
4607 return status1.Errorf(codes.Unimplemented, "method BatchGetDocuments not implemented")
4608 }
4609 func (*UnimplementedFirestoreServer) BeginTransaction(context.Context, *BeginTransactionRequest) (*BeginTransactionResponse, error) {
4610 return nil, status1.Errorf(codes.Unimplemented, "method BeginTransaction not implemented")
4611 }
4612 func (*UnimplementedFirestoreServer) Commit(context.Context, *CommitRequest) (*CommitResponse, error) {
4613 return nil, status1.Errorf(codes.Unimplemented, "method Commit not implemented")
4614 }
4615 func (*UnimplementedFirestoreServer) Rollback(context.Context, *RollbackRequest) (*emptypb.Empty, error) {
4616 return nil, status1.Errorf(codes.Unimplemented, "method Rollback not implemented")
4617 }
4618 func (*UnimplementedFirestoreServer) RunQuery(*RunQueryRequest, Firestore_RunQueryServer) error {
4619 return status1.Errorf(codes.Unimplemented, "method RunQuery not implemented")
4620 }
4621 func (*UnimplementedFirestoreServer) RunAggregationQuery(*RunAggregationQueryRequest, Firestore_RunAggregationQueryServer) error {
4622 return status1.Errorf(codes.Unimplemented, "method RunAggregationQuery not implemented")
4623 }
4624 func (*UnimplementedFirestoreServer) PartitionQuery(context.Context, *PartitionQueryRequest) (*PartitionQueryResponse, error) {
4625 return nil, status1.Errorf(codes.Unimplemented, "method PartitionQuery not implemented")
4626 }
4627 func (*UnimplementedFirestoreServer) Write(Firestore_WriteServer) error {
4628 return status1.Errorf(codes.Unimplemented, "method Write not implemented")
4629 }
4630 func (*UnimplementedFirestoreServer) Listen(Firestore_ListenServer) error {
4631 return status1.Errorf(codes.Unimplemented, "method Listen not implemented")
4632 }
4633 func (*UnimplementedFirestoreServer) ListCollectionIds(context.Context, *ListCollectionIdsRequest) (*ListCollectionIdsResponse, error) {
4634 return nil, status1.Errorf(codes.Unimplemented, "method ListCollectionIds not implemented")
4635 }
4636 func (*UnimplementedFirestoreServer) BatchWrite(context.Context, *BatchWriteRequest) (*BatchWriteResponse, error) {
4637 return nil, status1.Errorf(codes.Unimplemented, "method BatchWrite not implemented")
4638 }
4639 func (*UnimplementedFirestoreServer) CreateDocument(context.Context, *CreateDocumentRequest) (*Document, error) {
4640 return nil, status1.Errorf(codes.Unimplemented, "method CreateDocument not implemented")
4641 }
4642
4643 func RegisterFirestoreServer(s *grpc.Server, srv FirestoreServer) {
4644 s.RegisterService(&_Firestore_serviceDesc, srv)
4645 }
4646
4647 func _Firestore_GetDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4648 in := new(GetDocumentRequest)
4649 if err := dec(in); err != nil {
4650 return nil, err
4651 }
4652 if interceptor == nil {
4653 return srv.(FirestoreServer).GetDocument(ctx, in)
4654 }
4655 info := &grpc.UnaryServerInfo{
4656 Server: srv,
4657 FullMethod: "/google.firestore.v1.Firestore/GetDocument",
4658 }
4659 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4660 return srv.(FirestoreServer).GetDocument(ctx, req.(*GetDocumentRequest))
4661 }
4662 return interceptor(ctx, in, info, handler)
4663 }
4664
4665 func _Firestore_ListDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4666 in := new(ListDocumentsRequest)
4667 if err := dec(in); err != nil {
4668 return nil, err
4669 }
4670 if interceptor == nil {
4671 return srv.(FirestoreServer).ListDocuments(ctx, in)
4672 }
4673 info := &grpc.UnaryServerInfo{
4674 Server: srv,
4675 FullMethod: "/google.firestore.v1.Firestore/ListDocuments",
4676 }
4677 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4678 return srv.(FirestoreServer).ListDocuments(ctx, req.(*ListDocumentsRequest))
4679 }
4680 return interceptor(ctx, in, info, handler)
4681 }
4682
4683 func _Firestore_UpdateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4684 in := new(UpdateDocumentRequest)
4685 if err := dec(in); err != nil {
4686 return nil, err
4687 }
4688 if interceptor == nil {
4689 return srv.(FirestoreServer).UpdateDocument(ctx, in)
4690 }
4691 info := &grpc.UnaryServerInfo{
4692 Server: srv,
4693 FullMethod: "/google.firestore.v1.Firestore/UpdateDocument",
4694 }
4695 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4696 return srv.(FirestoreServer).UpdateDocument(ctx, req.(*UpdateDocumentRequest))
4697 }
4698 return interceptor(ctx, in, info, handler)
4699 }
4700
4701 func _Firestore_DeleteDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4702 in := new(DeleteDocumentRequest)
4703 if err := dec(in); err != nil {
4704 return nil, err
4705 }
4706 if interceptor == nil {
4707 return srv.(FirestoreServer).DeleteDocument(ctx, in)
4708 }
4709 info := &grpc.UnaryServerInfo{
4710 Server: srv,
4711 FullMethod: "/google.firestore.v1.Firestore/DeleteDocument",
4712 }
4713 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4714 return srv.(FirestoreServer).DeleteDocument(ctx, req.(*DeleteDocumentRequest))
4715 }
4716 return interceptor(ctx, in, info, handler)
4717 }
4718
4719 func _Firestore_BatchGetDocuments_Handler(srv interface{}, stream grpc.ServerStream) error {
4720 m := new(BatchGetDocumentsRequest)
4721 if err := stream.RecvMsg(m); err != nil {
4722 return err
4723 }
4724 return srv.(FirestoreServer).BatchGetDocuments(m, &firestoreBatchGetDocumentsServer{stream})
4725 }
4726
4727 type Firestore_BatchGetDocumentsServer interface {
4728 Send(*BatchGetDocumentsResponse) error
4729 grpc.ServerStream
4730 }
4731
4732 type firestoreBatchGetDocumentsServer struct {
4733 grpc.ServerStream
4734 }
4735
4736 func (x *firestoreBatchGetDocumentsServer) Send(m *BatchGetDocumentsResponse) error {
4737 return x.ServerStream.SendMsg(m)
4738 }
4739
4740 func _Firestore_BeginTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4741 in := new(BeginTransactionRequest)
4742 if err := dec(in); err != nil {
4743 return nil, err
4744 }
4745 if interceptor == nil {
4746 return srv.(FirestoreServer).BeginTransaction(ctx, in)
4747 }
4748 info := &grpc.UnaryServerInfo{
4749 Server: srv,
4750 FullMethod: "/google.firestore.v1.Firestore/BeginTransaction",
4751 }
4752 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4753 return srv.(FirestoreServer).BeginTransaction(ctx, req.(*BeginTransactionRequest))
4754 }
4755 return interceptor(ctx, in, info, handler)
4756 }
4757
4758 func _Firestore_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4759 in := new(CommitRequest)
4760 if err := dec(in); err != nil {
4761 return nil, err
4762 }
4763 if interceptor == nil {
4764 return srv.(FirestoreServer).Commit(ctx, in)
4765 }
4766 info := &grpc.UnaryServerInfo{
4767 Server: srv,
4768 FullMethod: "/google.firestore.v1.Firestore/Commit",
4769 }
4770 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4771 return srv.(FirestoreServer).Commit(ctx, req.(*CommitRequest))
4772 }
4773 return interceptor(ctx, in, info, handler)
4774 }
4775
4776 func _Firestore_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4777 in := new(RollbackRequest)
4778 if err := dec(in); err != nil {
4779 return nil, err
4780 }
4781 if interceptor == nil {
4782 return srv.(FirestoreServer).Rollback(ctx, in)
4783 }
4784 info := &grpc.UnaryServerInfo{
4785 Server: srv,
4786 FullMethod: "/google.firestore.v1.Firestore/Rollback",
4787 }
4788 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4789 return srv.(FirestoreServer).Rollback(ctx, req.(*RollbackRequest))
4790 }
4791 return interceptor(ctx, in, info, handler)
4792 }
4793
4794 func _Firestore_RunQuery_Handler(srv interface{}, stream grpc.ServerStream) error {
4795 m := new(RunQueryRequest)
4796 if err := stream.RecvMsg(m); err != nil {
4797 return err
4798 }
4799 return srv.(FirestoreServer).RunQuery(m, &firestoreRunQueryServer{stream})
4800 }
4801
4802 type Firestore_RunQueryServer interface {
4803 Send(*RunQueryResponse) error
4804 grpc.ServerStream
4805 }
4806
4807 type firestoreRunQueryServer struct {
4808 grpc.ServerStream
4809 }
4810
4811 func (x *firestoreRunQueryServer) Send(m *RunQueryResponse) error {
4812 return x.ServerStream.SendMsg(m)
4813 }
4814
4815 func _Firestore_RunAggregationQuery_Handler(srv interface{}, stream grpc.ServerStream) error {
4816 m := new(RunAggregationQueryRequest)
4817 if err := stream.RecvMsg(m); err != nil {
4818 return err
4819 }
4820 return srv.(FirestoreServer).RunAggregationQuery(m, &firestoreRunAggregationQueryServer{stream})
4821 }
4822
4823 type Firestore_RunAggregationQueryServer interface {
4824 Send(*RunAggregationQueryResponse) error
4825 grpc.ServerStream
4826 }
4827
4828 type firestoreRunAggregationQueryServer struct {
4829 grpc.ServerStream
4830 }
4831
4832 func (x *firestoreRunAggregationQueryServer) Send(m *RunAggregationQueryResponse) error {
4833 return x.ServerStream.SendMsg(m)
4834 }
4835
4836 func _Firestore_PartitionQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4837 in := new(PartitionQueryRequest)
4838 if err := dec(in); err != nil {
4839 return nil, err
4840 }
4841 if interceptor == nil {
4842 return srv.(FirestoreServer).PartitionQuery(ctx, in)
4843 }
4844 info := &grpc.UnaryServerInfo{
4845 Server: srv,
4846 FullMethod: "/google.firestore.v1.Firestore/PartitionQuery",
4847 }
4848 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4849 return srv.(FirestoreServer).PartitionQuery(ctx, req.(*PartitionQueryRequest))
4850 }
4851 return interceptor(ctx, in, info, handler)
4852 }
4853
4854 func _Firestore_Write_Handler(srv interface{}, stream grpc.ServerStream) error {
4855 return srv.(FirestoreServer).Write(&firestoreWriteServer{stream})
4856 }
4857
4858 type Firestore_WriteServer interface {
4859 Send(*WriteResponse) error
4860 Recv() (*WriteRequest, error)
4861 grpc.ServerStream
4862 }
4863
4864 type firestoreWriteServer struct {
4865 grpc.ServerStream
4866 }
4867
4868 func (x *firestoreWriteServer) Send(m *WriteResponse) error {
4869 return x.ServerStream.SendMsg(m)
4870 }
4871
4872 func (x *firestoreWriteServer) Recv() (*WriteRequest, error) {
4873 m := new(WriteRequest)
4874 if err := x.ServerStream.RecvMsg(m); err != nil {
4875 return nil, err
4876 }
4877 return m, nil
4878 }
4879
4880 func _Firestore_Listen_Handler(srv interface{}, stream grpc.ServerStream) error {
4881 return srv.(FirestoreServer).Listen(&firestoreListenServer{stream})
4882 }
4883
4884 type Firestore_ListenServer interface {
4885 Send(*ListenResponse) error
4886 Recv() (*ListenRequest, error)
4887 grpc.ServerStream
4888 }
4889
4890 type firestoreListenServer struct {
4891 grpc.ServerStream
4892 }
4893
4894 func (x *firestoreListenServer) Send(m *ListenResponse) error {
4895 return x.ServerStream.SendMsg(m)
4896 }
4897
4898 func (x *firestoreListenServer) Recv() (*ListenRequest, error) {
4899 m := new(ListenRequest)
4900 if err := x.ServerStream.RecvMsg(m); err != nil {
4901 return nil, err
4902 }
4903 return m, nil
4904 }
4905
4906 func _Firestore_ListCollectionIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4907 in := new(ListCollectionIdsRequest)
4908 if err := dec(in); err != nil {
4909 return nil, err
4910 }
4911 if interceptor == nil {
4912 return srv.(FirestoreServer).ListCollectionIds(ctx, in)
4913 }
4914 info := &grpc.UnaryServerInfo{
4915 Server: srv,
4916 FullMethod: "/google.firestore.v1.Firestore/ListCollectionIds",
4917 }
4918 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4919 return srv.(FirestoreServer).ListCollectionIds(ctx, req.(*ListCollectionIdsRequest))
4920 }
4921 return interceptor(ctx, in, info, handler)
4922 }
4923
4924 func _Firestore_BatchWrite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4925 in := new(BatchWriteRequest)
4926 if err := dec(in); err != nil {
4927 return nil, err
4928 }
4929 if interceptor == nil {
4930 return srv.(FirestoreServer).BatchWrite(ctx, in)
4931 }
4932 info := &grpc.UnaryServerInfo{
4933 Server: srv,
4934 FullMethod: "/google.firestore.v1.Firestore/BatchWrite",
4935 }
4936 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4937 return srv.(FirestoreServer).BatchWrite(ctx, req.(*BatchWriteRequest))
4938 }
4939 return interceptor(ctx, in, info, handler)
4940 }
4941
4942 func _Firestore_CreateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
4943 in := new(CreateDocumentRequest)
4944 if err := dec(in); err != nil {
4945 return nil, err
4946 }
4947 if interceptor == nil {
4948 return srv.(FirestoreServer).CreateDocument(ctx, in)
4949 }
4950 info := &grpc.UnaryServerInfo{
4951 Server: srv,
4952 FullMethod: "/google.firestore.v1.Firestore/CreateDocument",
4953 }
4954 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
4955 return srv.(FirestoreServer).CreateDocument(ctx, req.(*CreateDocumentRequest))
4956 }
4957 return interceptor(ctx, in, info, handler)
4958 }
4959
4960 var _Firestore_serviceDesc = grpc.ServiceDesc{
4961 ServiceName: "google.firestore.v1.Firestore",
4962 HandlerType: (*FirestoreServer)(nil),
4963 Methods: []grpc.MethodDesc{
4964 {
4965 MethodName: "GetDocument",
4966 Handler: _Firestore_GetDocument_Handler,
4967 },
4968 {
4969 MethodName: "ListDocuments",
4970 Handler: _Firestore_ListDocuments_Handler,
4971 },
4972 {
4973 MethodName: "UpdateDocument",
4974 Handler: _Firestore_UpdateDocument_Handler,
4975 },
4976 {
4977 MethodName: "DeleteDocument",
4978 Handler: _Firestore_DeleteDocument_Handler,
4979 },
4980 {
4981 MethodName: "BeginTransaction",
4982 Handler: _Firestore_BeginTransaction_Handler,
4983 },
4984 {
4985 MethodName: "Commit",
4986 Handler: _Firestore_Commit_Handler,
4987 },
4988 {
4989 MethodName: "Rollback",
4990 Handler: _Firestore_Rollback_Handler,
4991 },
4992 {
4993 MethodName: "PartitionQuery",
4994 Handler: _Firestore_PartitionQuery_Handler,
4995 },
4996 {
4997 MethodName: "ListCollectionIds",
4998 Handler: _Firestore_ListCollectionIds_Handler,
4999 },
5000 {
5001 MethodName: "BatchWrite",
5002 Handler: _Firestore_BatchWrite_Handler,
5003 },
5004 {
5005 MethodName: "CreateDocument",
5006 Handler: _Firestore_CreateDocument_Handler,
5007 },
5008 },
5009 Streams: []grpc.StreamDesc{
5010 {
5011 StreamName: "BatchGetDocuments",
5012 Handler: _Firestore_BatchGetDocuments_Handler,
5013 ServerStreams: true,
5014 },
5015 {
5016 StreamName: "RunQuery",
5017 Handler: _Firestore_RunQuery_Handler,
5018 ServerStreams: true,
5019 },
5020 {
5021 StreamName: "RunAggregationQuery",
5022 Handler: _Firestore_RunAggregationQuery_Handler,
5023 ServerStreams: true,
5024 },
5025 {
5026 StreamName: "Write",
5027 Handler: _Firestore_Write_Handler,
5028 ServerStreams: true,
5029 ClientStreams: true,
5030 },
5031 {
5032 StreamName: "Listen",
5033 Handler: _Firestore_Listen_Handler,
5034 ServerStreams: true,
5035 ClientStreams: true,
5036 },
5037 },
5038 Metadata: "google/firestore/v1/firestore.proto",
5039 }