1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package firestore
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type DocumentTransform_FieldTransform_ServerValue int32
41
42 const (
43
44 DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED DocumentTransform_FieldTransform_ServerValue = 0
45
46
47
48 DocumentTransform_FieldTransform_REQUEST_TIME DocumentTransform_FieldTransform_ServerValue = 1
49 )
50
51
52 var (
53 DocumentTransform_FieldTransform_ServerValue_name = map[int32]string{
54 0: "SERVER_VALUE_UNSPECIFIED",
55 1: "REQUEST_TIME",
56 }
57 DocumentTransform_FieldTransform_ServerValue_value = map[string]int32{
58 "SERVER_VALUE_UNSPECIFIED": 0,
59 "REQUEST_TIME": 1,
60 }
61 )
62
63 func (x DocumentTransform_FieldTransform_ServerValue) Enum() *DocumentTransform_FieldTransform_ServerValue {
64 p := new(DocumentTransform_FieldTransform_ServerValue)
65 *p = x
66 return p
67 }
68
69 func (x DocumentTransform_FieldTransform_ServerValue) String() string {
70 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
71 }
72
73 func (DocumentTransform_FieldTransform_ServerValue) Descriptor() protoreflect.EnumDescriptor {
74 return file_google_firestore_v1beta1_write_proto_enumTypes[0].Descriptor()
75 }
76
77 func (DocumentTransform_FieldTransform_ServerValue) Type() protoreflect.EnumType {
78 return &file_google_firestore_v1beta1_write_proto_enumTypes[0]
79 }
80
81 func (x DocumentTransform_FieldTransform_ServerValue) Number() protoreflect.EnumNumber {
82 return protoreflect.EnumNumber(x)
83 }
84
85
86 func (DocumentTransform_FieldTransform_ServerValue) EnumDescriptor() ([]byte, []int) {
87 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{1, 0, 0}
88 }
89
90
91 type Write struct {
92 state protoimpl.MessageState
93 sizeCache protoimpl.SizeCache
94 unknownFields protoimpl.UnknownFields
95
96
97
98
99
100
101
102
103 Operation isWrite_Operation `protobuf_oneof:"operation"`
104
105
106
107
108
109
110
111
112
113
114 UpdateMask *DocumentMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
115
116
117
118
119
120 UpdateTransforms []*DocumentTransform_FieldTransform `protobuf:"bytes,7,rep,name=update_transforms,json=updateTransforms,proto3" json:"update_transforms,omitempty"`
121
122
123
124 CurrentDocument *Precondition `protobuf:"bytes,4,opt,name=current_document,json=currentDocument,proto3" json:"current_document,omitempty"`
125 }
126
127 func (x *Write) Reset() {
128 *x = Write{}
129 if protoimpl.UnsafeEnabled {
130 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[0]
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 ms.StoreMessageInfo(mi)
133 }
134 }
135
136 func (x *Write) String() string {
137 return protoimpl.X.MessageStringOf(x)
138 }
139
140 func (*Write) ProtoMessage() {}
141
142 func (x *Write) ProtoReflect() protoreflect.Message {
143 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[0]
144 if protoimpl.UnsafeEnabled && x != nil {
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 if ms.LoadMessageInfo() == nil {
147 ms.StoreMessageInfo(mi)
148 }
149 return ms
150 }
151 return mi.MessageOf(x)
152 }
153
154
155 func (*Write) Descriptor() ([]byte, []int) {
156 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{0}
157 }
158
159 func (m *Write) GetOperation() isWrite_Operation {
160 if m != nil {
161 return m.Operation
162 }
163 return nil
164 }
165
166 func (x *Write) GetUpdate() *Document {
167 if x, ok := x.GetOperation().(*Write_Update); ok {
168 return x.Update
169 }
170 return nil
171 }
172
173 func (x *Write) GetDelete() string {
174 if x, ok := x.GetOperation().(*Write_Delete); ok {
175 return x.Delete
176 }
177 return ""
178 }
179
180 func (x *Write) GetTransform() *DocumentTransform {
181 if x, ok := x.GetOperation().(*Write_Transform); ok {
182 return x.Transform
183 }
184 return nil
185 }
186
187 func (x *Write) GetUpdateMask() *DocumentMask {
188 if x != nil {
189 return x.UpdateMask
190 }
191 return nil
192 }
193
194 func (x *Write) GetUpdateTransforms() []*DocumentTransform_FieldTransform {
195 if x != nil {
196 return x.UpdateTransforms
197 }
198 return nil
199 }
200
201 func (x *Write) GetCurrentDocument() *Precondition {
202 if x != nil {
203 return x.CurrentDocument
204 }
205 return nil
206 }
207
208 type isWrite_Operation interface {
209 isWrite_Operation()
210 }
211
212 type Write_Update struct {
213
214 Update *Document `protobuf:"bytes,1,opt,name=update,proto3,oneof"`
215 }
216
217 type Write_Delete struct {
218
219
220 Delete string `protobuf:"bytes,2,opt,name=delete,proto3,oneof"`
221 }
222
223 type Write_Transform struct {
224
225 Transform *DocumentTransform `protobuf:"bytes,6,opt,name=transform,proto3,oneof"`
226 }
227
228 func (*Write_Update) isWrite_Operation() {}
229
230 func (*Write_Delete) isWrite_Operation() {}
231
232 func (*Write_Transform) isWrite_Operation() {}
233
234
235 type DocumentTransform struct {
236 state protoimpl.MessageState
237 sizeCache protoimpl.SizeCache
238 unknownFields protoimpl.UnknownFields
239
240
241 Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
242
243
244
245 FieldTransforms []*DocumentTransform_FieldTransform `protobuf:"bytes,2,rep,name=field_transforms,json=fieldTransforms,proto3" json:"field_transforms,omitempty"`
246 }
247
248 func (x *DocumentTransform) Reset() {
249 *x = DocumentTransform{}
250 if protoimpl.UnsafeEnabled {
251 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[1]
252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
253 ms.StoreMessageInfo(mi)
254 }
255 }
256
257 func (x *DocumentTransform) String() string {
258 return protoimpl.X.MessageStringOf(x)
259 }
260
261 func (*DocumentTransform) ProtoMessage() {}
262
263 func (x *DocumentTransform) ProtoReflect() protoreflect.Message {
264 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[1]
265 if protoimpl.UnsafeEnabled && x != nil {
266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267 if ms.LoadMessageInfo() == nil {
268 ms.StoreMessageInfo(mi)
269 }
270 return ms
271 }
272 return mi.MessageOf(x)
273 }
274
275
276 func (*DocumentTransform) Descriptor() ([]byte, []int) {
277 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{1}
278 }
279
280 func (x *DocumentTransform) GetDocument() string {
281 if x != nil {
282 return x.Document
283 }
284 return ""
285 }
286
287 func (x *DocumentTransform) GetFieldTransforms() []*DocumentTransform_FieldTransform {
288 if x != nil {
289 return x.FieldTransforms
290 }
291 return nil
292 }
293
294
295 type WriteResult struct {
296 state protoimpl.MessageState
297 sizeCache protoimpl.SizeCache
298 unknownFields protoimpl.UnknownFields
299
300
301
302
303
304
305 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
306
307
308 TransformResults []*Value `protobuf:"bytes,2,rep,name=transform_results,json=transformResults,proto3" json:"transform_results,omitempty"`
309 }
310
311 func (x *WriteResult) Reset() {
312 *x = WriteResult{}
313 if protoimpl.UnsafeEnabled {
314 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[2]
315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
316 ms.StoreMessageInfo(mi)
317 }
318 }
319
320 func (x *WriteResult) String() string {
321 return protoimpl.X.MessageStringOf(x)
322 }
323
324 func (*WriteResult) ProtoMessage() {}
325
326 func (x *WriteResult) ProtoReflect() protoreflect.Message {
327 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[2]
328 if protoimpl.UnsafeEnabled && x != nil {
329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330 if ms.LoadMessageInfo() == nil {
331 ms.StoreMessageInfo(mi)
332 }
333 return ms
334 }
335 return mi.MessageOf(x)
336 }
337
338
339 func (*WriteResult) Descriptor() ([]byte, []int) {
340 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{2}
341 }
342
343 func (x *WriteResult) GetUpdateTime() *timestamppb.Timestamp {
344 if x != nil {
345 return x.UpdateTime
346 }
347 return nil
348 }
349
350 func (x *WriteResult) GetTransformResults() []*Value {
351 if x != nil {
352 return x.TransformResults
353 }
354 return nil
355 }
356
357
358
359
360
361
362
363
364 type DocumentChange struct {
365 state protoimpl.MessageState
366 sizeCache protoimpl.SizeCache
367 unknownFields protoimpl.UnknownFields
368
369
370
371
372 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
373
374 TargetIds []int32 `protobuf:"varint,5,rep,packed,name=target_ids,json=targetIds,proto3" json:"target_ids,omitempty"`
375
376 RemovedTargetIds []int32 `protobuf:"varint,6,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"`
377 }
378
379 func (x *DocumentChange) Reset() {
380 *x = DocumentChange{}
381 if protoimpl.UnsafeEnabled {
382 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[3]
383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
384 ms.StoreMessageInfo(mi)
385 }
386 }
387
388 func (x *DocumentChange) String() string {
389 return protoimpl.X.MessageStringOf(x)
390 }
391
392 func (*DocumentChange) ProtoMessage() {}
393
394 func (x *DocumentChange) ProtoReflect() protoreflect.Message {
395 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[3]
396 if protoimpl.UnsafeEnabled && x != nil {
397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398 if ms.LoadMessageInfo() == nil {
399 ms.StoreMessageInfo(mi)
400 }
401 return ms
402 }
403 return mi.MessageOf(x)
404 }
405
406
407 func (*DocumentChange) Descriptor() ([]byte, []int) {
408 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{3}
409 }
410
411 func (x *DocumentChange) GetDocument() *Document {
412 if x != nil {
413 return x.Document
414 }
415 return nil
416 }
417
418 func (x *DocumentChange) GetTargetIds() []int32 {
419 if x != nil {
420 return x.TargetIds
421 }
422 return nil
423 }
424
425 func (x *DocumentChange) GetRemovedTargetIds() []int32 {
426 if x != nil {
427 return x.RemovedTargetIds
428 }
429 return nil
430 }
431
432
433
434
435
436
437
438
439 type DocumentDelete struct {
440 state protoimpl.MessageState
441 sizeCache protoimpl.SizeCache
442 unknownFields protoimpl.UnknownFields
443
444
445 Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
446
447 RemovedTargetIds []int32 `protobuf:"varint,6,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"`
448
449
450
451 ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
452 }
453
454 func (x *DocumentDelete) Reset() {
455 *x = DocumentDelete{}
456 if protoimpl.UnsafeEnabled {
457 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[4]
458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
459 ms.StoreMessageInfo(mi)
460 }
461 }
462
463 func (x *DocumentDelete) String() string {
464 return protoimpl.X.MessageStringOf(x)
465 }
466
467 func (*DocumentDelete) ProtoMessage() {}
468
469 func (x *DocumentDelete) ProtoReflect() protoreflect.Message {
470 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[4]
471 if protoimpl.UnsafeEnabled && x != nil {
472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
473 if ms.LoadMessageInfo() == nil {
474 ms.StoreMessageInfo(mi)
475 }
476 return ms
477 }
478 return mi.MessageOf(x)
479 }
480
481
482 func (*DocumentDelete) Descriptor() ([]byte, []int) {
483 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{4}
484 }
485
486 func (x *DocumentDelete) GetDocument() string {
487 if x != nil {
488 return x.Document
489 }
490 return ""
491 }
492
493 func (x *DocumentDelete) GetRemovedTargetIds() []int32 {
494 if x != nil {
495 return x.RemovedTargetIds
496 }
497 return nil
498 }
499
500 func (x *DocumentDelete) GetReadTime() *timestamppb.Timestamp {
501 if x != nil {
502 return x.ReadTime
503 }
504 return nil
505 }
506
507
508
509
510
511
512
513
514
515 type DocumentRemove struct {
516 state protoimpl.MessageState
517 sizeCache protoimpl.SizeCache
518 unknownFields protoimpl.UnknownFields
519
520
521 Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
522
523 RemovedTargetIds []int32 `protobuf:"varint,2,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"`
524
525
526
527 ReadTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
528 }
529
530 func (x *DocumentRemove) Reset() {
531 *x = DocumentRemove{}
532 if protoimpl.UnsafeEnabled {
533 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[5]
534 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
535 ms.StoreMessageInfo(mi)
536 }
537 }
538
539 func (x *DocumentRemove) String() string {
540 return protoimpl.X.MessageStringOf(x)
541 }
542
543 func (*DocumentRemove) ProtoMessage() {}
544
545 func (x *DocumentRemove) ProtoReflect() protoreflect.Message {
546 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[5]
547 if protoimpl.UnsafeEnabled && x != nil {
548 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
549 if ms.LoadMessageInfo() == nil {
550 ms.StoreMessageInfo(mi)
551 }
552 return ms
553 }
554 return mi.MessageOf(x)
555 }
556
557
558 func (*DocumentRemove) Descriptor() ([]byte, []int) {
559 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{5}
560 }
561
562 func (x *DocumentRemove) GetDocument() string {
563 if x != nil {
564 return x.Document
565 }
566 return ""
567 }
568
569 func (x *DocumentRemove) GetRemovedTargetIds() []int32 {
570 if x != nil {
571 return x.RemovedTargetIds
572 }
573 return nil
574 }
575
576 func (x *DocumentRemove) GetReadTime() *timestamppb.Timestamp {
577 if x != nil {
578 return x.ReadTime
579 }
580 return nil
581 }
582
583
584 type ExistenceFilter struct {
585 state protoimpl.MessageState
586 sizeCache protoimpl.SizeCache
587 unknownFields protoimpl.UnknownFields
588
589
590 TargetId int32 `protobuf:"varint,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
591
592
593
594
595 Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
596 }
597
598 func (x *ExistenceFilter) Reset() {
599 *x = ExistenceFilter{}
600 if protoimpl.UnsafeEnabled {
601 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[6]
602 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
603 ms.StoreMessageInfo(mi)
604 }
605 }
606
607 func (x *ExistenceFilter) String() string {
608 return protoimpl.X.MessageStringOf(x)
609 }
610
611 func (*ExistenceFilter) ProtoMessage() {}
612
613 func (x *ExistenceFilter) ProtoReflect() protoreflect.Message {
614 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[6]
615 if protoimpl.UnsafeEnabled && x != nil {
616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
617 if ms.LoadMessageInfo() == nil {
618 ms.StoreMessageInfo(mi)
619 }
620 return ms
621 }
622 return mi.MessageOf(x)
623 }
624
625
626 func (*ExistenceFilter) Descriptor() ([]byte, []int) {
627 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{6}
628 }
629
630 func (x *ExistenceFilter) GetTargetId() int32 {
631 if x != nil {
632 return x.TargetId
633 }
634 return 0
635 }
636
637 func (x *ExistenceFilter) GetCount() int32 {
638 if x != nil {
639 return x.Count
640 }
641 return 0
642 }
643
644
645 type DocumentTransform_FieldTransform struct {
646 state protoimpl.MessageState
647 sizeCache protoimpl.SizeCache
648 unknownFields protoimpl.UnknownFields
649
650
651
652 FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
653
654
655
656
657
658
659
660
661
662
663 TransformType isDocumentTransform_FieldTransform_TransformType `protobuf_oneof:"transform_type"`
664 }
665
666 func (x *DocumentTransform_FieldTransform) Reset() {
667 *x = DocumentTransform_FieldTransform{}
668 if protoimpl.UnsafeEnabled {
669 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[7]
670 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
671 ms.StoreMessageInfo(mi)
672 }
673 }
674
675 func (x *DocumentTransform_FieldTransform) String() string {
676 return protoimpl.X.MessageStringOf(x)
677 }
678
679 func (*DocumentTransform_FieldTransform) ProtoMessage() {}
680
681 func (x *DocumentTransform_FieldTransform) ProtoReflect() protoreflect.Message {
682 mi := &file_google_firestore_v1beta1_write_proto_msgTypes[7]
683 if protoimpl.UnsafeEnabled && x != nil {
684 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
685 if ms.LoadMessageInfo() == nil {
686 ms.StoreMessageInfo(mi)
687 }
688 return ms
689 }
690 return mi.MessageOf(x)
691 }
692
693
694 func (*DocumentTransform_FieldTransform) Descriptor() ([]byte, []int) {
695 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{1, 0}
696 }
697
698 func (x *DocumentTransform_FieldTransform) GetFieldPath() string {
699 if x != nil {
700 return x.FieldPath
701 }
702 return ""
703 }
704
705 func (m *DocumentTransform_FieldTransform) GetTransformType() isDocumentTransform_FieldTransform_TransformType {
706 if m != nil {
707 return m.TransformType
708 }
709 return nil
710 }
711
712 func (x *DocumentTransform_FieldTransform) GetSetToServerValue() DocumentTransform_FieldTransform_ServerValue {
713 if x, ok := x.GetTransformType().(*DocumentTransform_FieldTransform_SetToServerValue); ok {
714 return x.SetToServerValue
715 }
716 return DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED
717 }
718
719 func (x *DocumentTransform_FieldTransform) GetIncrement() *Value {
720 if x, ok := x.GetTransformType().(*DocumentTransform_FieldTransform_Increment); ok {
721 return x.Increment
722 }
723 return nil
724 }
725
726 func (x *DocumentTransform_FieldTransform) GetMaximum() *Value {
727 if x, ok := x.GetTransformType().(*DocumentTransform_FieldTransform_Maximum); ok {
728 return x.Maximum
729 }
730 return nil
731 }
732
733 func (x *DocumentTransform_FieldTransform) GetMinimum() *Value {
734 if x, ok := x.GetTransformType().(*DocumentTransform_FieldTransform_Minimum); ok {
735 return x.Minimum
736 }
737 return nil
738 }
739
740 func (x *DocumentTransform_FieldTransform) GetAppendMissingElements() *ArrayValue {
741 if x, ok := x.GetTransformType().(*DocumentTransform_FieldTransform_AppendMissingElements); ok {
742 return x.AppendMissingElements
743 }
744 return nil
745 }
746
747 func (x *DocumentTransform_FieldTransform) GetRemoveAllFromArray() *ArrayValue {
748 if x, ok := x.GetTransformType().(*DocumentTransform_FieldTransform_RemoveAllFromArray); ok {
749 return x.RemoveAllFromArray
750 }
751 return nil
752 }
753
754 type isDocumentTransform_FieldTransform_TransformType interface {
755 isDocumentTransform_FieldTransform_TransformType()
756 }
757
758 type DocumentTransform_FieldTransform_SetToServerValue struct {
759
760 SetToServerValue DocumentTransform_FieldTransform_ServerValue `protobuf:"varint,2,opt,name=set_to_server_value,json=setToServerValue,proto3,enum=google.firestore.v1beta1.DocumentTransform_FieldTransform_ServerValue,oneof"`
761 }
762
763 type DocumentTransform_FieldTransform_Increment struct {
764
765
766
767
768
769
770
771
772
773
774 Increment *Value `protobuf:"bytes,3,opt,name=increment,proto3,oneof"`
775 }
776
777 type DocumentTransform_FieldTransform_Maximum struct {
778
779
780
781
782
783
784
785
786
787
788
789
790 Maximum *Value `protobuf:"bytes,4,opt,name=maximum,proto3,oneof"`
791 }
792
793 type DocumentTransform_FieldTransform_Minimum struct {
794
795
796
797
798
799
800
801
802
803
804
805
806 Minimum *Value `protobuf:"bytes,5,opt,name=minimum,proto3,oneof"`
807 }
808
809 type DocumentTransform_FieldTransform_AppendMissingElements struct {
810
811
812
813
814
815
816
817
818
819
820
821
822 AppendMissingElements *ArrayValue `protobuf:"bytes,6,opt,name=append_missing_elements,json=appendMissingElements,proto3,oneof"`
823 }
824
825 type DocumentTransform_FieldTransform_RemoveAllFromArray struct {
826
827
828
829
830
831
832
833
834
835
836 RemoveAllFromArray *ArrayValue `protobuf:"bytes,7,opt,name=remove_all_from_array,json=removeAllFromArray,proto3,oneof"`
837 }
838
839 func (*DocumentTransform_FieldTransform_SetToServerValue) isDocumentTransform_FieldTransform_TransformType() {
840 }
841
842 func (*DocumentTransform_FieldTransform_Increment) isDocumentTransform_FieldTransform_TransformType() {
843 }
844
845 func (*DocumentTransform_FieldTransform_Maximum) isDocumentTransform_FieldTransform_TransformType() {}
846
847 func (*DocumentTransform_FieldTransform_Minimum) isDocumentTransform_FieldTransform_TransformType() {}
848
849 func (*DocumentTransform_FieldTransform_AppendMissingElements) isDocumentTransform_FieldTransform_TransformType() {
850 }
851
852 func (*DocumentTransform_FieldTransform_RemoveAllFromArray) isDocumentTransform_FieldTransform_TransformType() {
853 }
854
855 var File_google_firestore_v1beta1_write_proto protoreflect.FileDescriptor
856
857 var file_google_firestore_v1beta1_write_proto_rawDesc = []byte{
858 0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
859 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x77, 0x72, 0x69, 0x74, 0x65,
860 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
861 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
862 0x1a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
863 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
864 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
865 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
866 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
867 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
868 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
869 0x6f, 0x22, 0xbe, 0x03, 0x0a, 0x05, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x75,
870 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f,
871 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
872 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x48,
873 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x06, 0x64, 0x65, 0x6c,
874 0x65, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x64, 0x65, 0x6c,
875 0x65, 0x74, 0x65, 0x12, 0x4b, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d,
876 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
877 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
878 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66,
879 0x6f, 0x72, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d,
880 0x12, 0x47, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18,
881 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
882 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
883 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75,
884 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x67, 0x0a, 0x11, 0x75, 0x70, 0x64,
885 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x07,
886 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
887 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
888 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72,
889 0x6d, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d,
890 0x52, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72,
891 0x6d, 0x73, 0x12, 0x51, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x6f,
892 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67,
893 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
894 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69,
895 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x6f, 0x63,
896 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
897 0x6f, 0x6e, 0x22, 0x88, 0x06, 0x0a, 0x11, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54,
898 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75,
899 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75,
900 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x65, 0x0a, 0x10, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x72,
901 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a,
902 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
903 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65,
904 0x6e, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x46, 0x69, 0x65, 0x6c,
905 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x0f, 0x66, 0x69, 0x65, 0x6c,
906 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x1a, 0xef, 0x04, 0x0a, 0x0e,
907 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1d,
908 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01,
909 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x77, 0x0a,
910 0x13, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x76,
911 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f,
912 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
913 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x72,
914 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x72, 0x61,
915 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x61, 0x6c,
916 0x75, 0x65, 0x48, 0x00, 0x52, 0x10, 0x73, 0x65, 0x74, 0x54, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65,
917 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3f, 0x0a, 0x09, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d,
918 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
919 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62,
920 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6e,
921 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x69, 0x6d,
922 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
923 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
924 0x74, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x61, 0x78,
925 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x3b, 0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18,
926 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
927 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
928 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75,
929 0x6d, 0x12, 0x5e, 0x0a, 0x17, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x6d, 0x69, 0x73, 0x73,
930 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01,
931 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
932 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x72,
933 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x15, 0x61, 0x70, 0x70, 0x65,
934 0x6e, 0x64, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74,
935 0x73, 0x12, 0x59, 0x0a, 0x15, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x5f,
936 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
937 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
938 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x61,
939 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65,
940 0x41, 0x6c, 0x6c, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x72, 0x72, 0x61, 0x79, 0x22, 0x3d, 0x0a, 0x0b,
941 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53,
942 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
943 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x51,
944 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x42, 0x10, 0x0a, 0x0e, 0x74,
945 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x98, 0x01,
946 0x0a, 0x0b, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3b, 0x0a,
947 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
948 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
949 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a,
950 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x11, 0x74, 0x72,
951 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18,
952 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66,
953 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
954 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72,
955 0x6d, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x0e, 0x44, 0x6f, 0x63,
956 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x64,
957 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e,
958 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
959 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
960 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74,
961 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52,
962 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65,
963 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73,
964 0x18, 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x54,
965 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x0e, 0x44, 0x6f, 0x63,
966 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64,
967 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64,
968 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x76,
969 0x65, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20,
970 0x03, 0x28, 0x05, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67,
971 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69,
972 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
973 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
974 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x93,
975 0x01, 0x0a, 0x0e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x76,
976 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
977 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a,
978 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f,
979 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76,
980 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x37, 0x0a, 0x09, 0x72,
981 0x65, 0x61, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
982 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
983 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64,
984 0x54, 0x69, 0x6d, 0x65, 0x22, 0x44, 0x0a, 0x0f, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63,
985 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65,
986 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67,
987 0x65, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,
988 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0xdc, 0x01, 0x0a, 0x1c, 0x63,
989 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
990 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x57, 0x72, 0x69,
991 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
992 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
993 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
994 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
995 0x61, 0x31, 0x3b, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x04, 0x47,
996 0x43, 0x46, 0x53, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
997 0x75, 0x64, 0x2e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x31, 0x42,
998 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
999 0x6f, 0x75, 0x64, 0x5c, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31,
1000 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
1001 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
1002 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1003 0x33,
1004 }
1005
1006 var (
1007 file_google_firestore_v1beta1_write_proto_rawDescOnce sync.Once
1008 file_google_firestore_v1beta1_write_proto_rawDescData = file_google_firestore_v1beta1_write_proto_rawDesc
1009 )
1010
1011 func file_google_firestore_v1beta1_write_proto_rawDescGZIP() []byte {
1012 file_google_firestore_v1beta1_write_proto_rawDescOnce.Do(func() {
1013 file_google_firestore_v1beta1_write_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_v1beta1_write_proto_rawDescData)
1014 })
1015 return file_google_firestore_v1beta1_write_proto_rawDescData
1016 }
1017
1018 var file_google_firestore_v1beta1_write_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1019 var file_google_firestore_v1beta1_write_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
1020 var file_google_firestore_v1beta1_write_proto_goTypes = []interface{}{
1021 (DocumentTransform_FieldTransform_ServerValue)(0),
1022 (*Write)(nil),
1023 (*DocumentTransform)(nil),
1024 (*WriteResult)(nil),
1025 (*DocumentChange)(nil),
1026 (*DocumentDelete)(nil),
1027 (*DocumentRemove)(nil),
1028 (*ExistenceFilter)(nil),
1029 (*DocumentTransform_FieldTransform)(nil),
1030 (*Document)(nil),
1031 (*DocumentMask)(nil),
1032 (*Precondition)(nil),
1033 (*timestamppb.Timestamp)(nil),
1034 (*Value)(nil),
1035 (*ArrayValue)(nil),
1036 }
1037 var file_google_firestore_v1beta1_write_proto_depIdxs = []int32{
1038 9,
1039 2,
1040 10,
1041 8,
1042 11,
1043 8,
1044 12,
1045 13,
1046 9,
1047 12,
1048 12,
1049 0,
1050 13,
1051 13,
1052 13,
1053 14,
1054 14,
1055 17,
1056 17,
1057 17,
1058 17,
1059 0,
1060 }
1061
1062 func init() { file_google_firestore_v1beta1_write_proto_init() }
1063 func file_google_firestore_v1beta1_write_proto_init() {
1064 if File_google_firestore_v1beta1_write_proto != nil {
1065 return
1066 }
1067 file_google_firestore_v1beta1_common_proto_init()
1068 file_google_firestore_v1beta1_document_proto_init()
1069 if !protoimpl.UnsafeEnabled {
1070 file_google_firestore_v1beta1_write_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1071 switch v := v.(*Write); i {
1072 case 0:
1073 return &v.state
1074 case 1:
1075 return &v.sizeCache
1076 case 2:
1077 return &v.unknownFields
1078 default:
1079 return nil
1080 }
1081 }
1082 file_google_firestore_v1beta1_write_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1083 switch v := v.(*DocumentTransform); i {
1084 case 0:
1085 return &v.state
1086 case 1:
1087 return &v.sizeCache
1088 case 2:
1089 return &v.unknownFields
1090 default:
1091 return nil
1092 }
1093 }
1094 file_google_firestore_v1beta1_write_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1095 switch v := v.(*WriteResult); i {
1096 case 0:
1097 return &v.state
1098 case 1:
1099 return &v.sizeCache
1100 case 2:
1101 return &v.unknownFields
1102 default:
1103 return nil
1104 }
1105 }
1106 file_google_firestore_v1beta1_write_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1107 switch v := v.(*DocumentChange); i {
1108 case 0:
1109 return &v.state
1110 case 1:
1111 return &v.sizeCache
1112 case 2:
1113 return &v.unknownFields
1114 default:
1115 return nil
1116 }
1117 }
1118 file_google_firestore_v1beta1_write_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1119 switch v := v.(*DocumentDelete); i {
1120 case 0:
1121 return &v.state
1122 case 1:
1123 return &v.sizeCache
1124 case 2:
1125 return &v.unknownFields
1126 default:
1127 return nil
1128 }
1129 }
1130 file_google_firestore_v1beta1_write_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1131 switch v := v.(*DocumentRemove); i {
1132 case 0:
1133 return &v.state
1134 case 1:
1135 return &v.sizeCache
1136 case 2:
1137 return &v.unknownFields
1138 default:
1139 return nil
1140 }
1141 }
1142 file_google_firestore_v1beta1_write_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1143 switch v := v.(*ExistenceFilter); i {
1144 case 0:
1145 return &v.state
1146 case 1:
1147 return &v.sizeCache
1148 case 2:
1149 return &v.unknownFields
1150 default:
1151 return nil
1152 }
1153 }
1154 file_google_firestore_v1beta1_write_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1155 switch v := v.(*DocumentTransform_FieldTransform); i {
1156 case 0:
1157 return &v.state
1158 case 1:
1159 return &v.sizeCache
1160 case 2:
1161 return &v.unknownFields
1162 default:
1163 return nil
1164 }
1165 }
1166 }
1167 file_google_firestore_v1beta1_write_proto_msgTypes[0].OneofWrappers = []interface{}{
1168 (*Write_Update)(nil),
1169 (*Write_Delete)(nil),
1170 (*Write_Transform)(nil),
1171 }
1172 file_google_firestore_v1beta1_write_proto_msgTypes[7].OneofWrappers = []interface{}{
1173 (*DocumentTransform_FieldTransform_SetToServerValue)(nil),
1174 (*DocumentTransform_FieldTransform_Increment)(nil),
1175 (*DocumentTransform_FieldTransform_Maximum)(nil),
1176 (*DocumentTransform_FieldTransform_Minimum)(nil),
1177 (*DocumentTransform_FieldTransform_AppendMissingElements)(nil),
1178 (*DocumentTransform_FieldTransform_RemoveAllFromArray)(nil),
1179 }
1180 type x struct{}
1181 out := protoimpl.TypeBuilder{
1182 File: protoimpl.DescBuilder{
1183 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1184 RawDescriptor: file_google_firestore_v1beta1_write_proto_rawDesc,
1185 NumEnums: 1,
1186 NumMessages: 8,
1187 NumExtensions: 0,
1188 NumServices: 0,
1189 },
1190 GoTypes: file_google_firestore_v1beta1_write_proto_goTypes,
1191 DependencyIndexes: file_google_firestore_v1beta1_write_proto_depIdxs,
1192 EnumInfos: file_google_firestore_v1beta1_write_proto_enumTypes,
1193 MessageInfos: file_google_firestore_v1beta1_write_proto_msgTypes,
1194 }.Build()
1195 File_google_firestore_v1beta1_write_proto = out.File
1196 file_google_firestore_v1beta1_write_proto_rawDesc = nil
1197 file_google_firestore_v1beta1_write_proto_goTypes = nil
1198 file_google_firestore_v1beta1_write_proto_depIdxs = nil
1199 }
1200
View as plain text