Debian Codegraph @

googleapis/firestore/v1beta1/write.pb.go

raw
1 // Copyright 2021 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.26.0
18 // protoc v3.12.2
19 // source: google/firestore/v1beta1/write.proto
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 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // A value that is calculated by the server.
40 type DocumentTransform_FieldTransform_ServerValue int32
41
42 const (
43 // Unspecified. This value must not be used.
44 DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED DocumentTransform_FieldTransform_ServerValue = 0
45 // The time at which the server processed the request, with millisecond
46 // precision. If used on multiple fields (same or different documents) in
47 // a transaction, all the fields will get the same server timestamp.
48 DocumentTransform_FieldTransform_REQUEST_TIME DocumentTransform_FieldTransform_ServerValue = 1
49 )
50
51 // Enum value maps for DocumentTransform_FieldTransform_ServerValue.
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 // Deprecated: Use DocumentTransform_FieldTransform_ServerValue.Descriptor instead.
86 func (DocumentTransform_FieldTransform_ServerValue) EnumDescriptor() ([]byte, []int) {
87 return file_google_firestore_v1beta1_write_proto_rawDescGZIP(), []int{1, 0, 0}
88 }
89
90 // A write on a document.
91 type Write struct {
92 state protoimpl.MessageState
93 sizeCache protoimpl.SizeCache
94 unknownFields protoimpl.UnknownFields
95
96 // The operation to execute.
97 //
98 // Types that are assignable to Operation:
99 //
100 // *Write_Update
101 // *Write_Delete
102 // *Write_Transform
103 Operation isWrite_Operation `protobuf_oneof:"operation"`
104 // The fields to update in this write.
105 //
106 // This field can be set only when the operation is `update`.
107 // If the mask is not set for an `update` and the document exists, any
108 // existing data will be overwritten.
109 // If the mask is set and the document on the server has fields not covered by
110 // the mask, they are left unchanged.
111 // Fields referenced in the mask, but not present in the input document, are
112 // deleted from the document on the server.
113 // The field paths in this mask must not contain a reserved field name.
114 UpdateMask *DocumentMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
115 // The transforms to perform after update.
116 //
117 // This field can be set only when the operation is `update`. If present, this
118 // write is equivalent to performing `update` and `transform` to the same
119 // document atomically and in order.
120 UpdateTransforms []*DocumentTransform_FieldTransform `protobuf:"bytes,7,rep,name=update_transforms,json=updateTransforms,proto3" json:"update_transforms,omitempty"`
121 // An optional precondition on the document.
122 //
123 // The write will fail if this is set and not met by the target document.
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 // Deprecated: Use Write.ProtoReflect.Descriptor instead.
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 // A document to write.
214 Update *Document `protobuf:"bytes,1,opt,name=update,proto3,oneof"`
215 }
216
217 type Write_Delete struct {
218 // A document name to delete. In the format:
219 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
220 Delete string `protobuf:"bytes,2,opt,name=delete,proto3,oneof"`
221 }
222
223 type Write_Transform struct {
224 // Applies a transformation to a document.
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 // A transformation of a document.
235 type DocumentTransform struct {
236 state protoimpl.MessageState
237 sizeCache protoimpl.SizeCache
238 unknownFields protoimpl.UnknownFields
239
240 // The name of the document to transform.
241 Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
242 // The list of transformations to apply to the fields of the document, in
243 // order.
244 // This must not be empty.
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 // Deprecated: Use DocumentTransform.ProtoReflect.Descriptor instead.
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 // The result of applying a write.
295 type WriteResult struct {
296 state protoimpl.MessageState
297 sizeCache protoimpl.SizeCache
298 unknownFields protoimpl.UnknownFields
299
300 // The last update time of the document after applying the write. Not set
301 // after a `delete`.
302 //
303 // If the write did not actually change the document, this will be the
304 // previous update_time.
305 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
306 // The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the
307 // same order.
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 // Deprecated: Use WriteResult.ProtoReflect.Descriptor instead.
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 // A [Document][google.firestore.v1beta1.Document] has changed.
358 //
359 // May be the result of multiple [writes][google.firestore.v1beta1.Write], including deletes, that
360 // ultimately resulted in a new value for the [Document][google.firestore.v1beta1.Document].
361 //
362 // Multiple [DocumentChange][google.firestore.v1beta1.DocumentChange] messages may be returned for the same logical
363 // change, if multiple targets are affected.
364 type DocumentChange struct {
365 state protoimpl.MessageState
366 sizeCache protoimpl.SizeCache
367 unknownFields protoimpl.UnknownFields
368
369 // The new state of the [Document][google.firestore.v1beta1.Document].
370 //
371 // If `mask` is set, contains only fields that were updated or added.
372 Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
373 // A set of target IDs of targets that match this document.
374 TargetIds []int32 `protobuf:"varint,5,rep,packed,name=target_ids,json=targetIds,proto3" json:"target_ids,omitempty"`
375 // A set of target IDs for targets that no longer match this document.
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 // Deprecated: Use DocumentChange.ProtoReflect.Descriptor instead.
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 // A [Document][google.firestore.v1beta1.Document] has been deleted.
433 //
434 // May be the result of multiple [writes][google.firestore.v1beta1.Write], including updates, the
435 // last of which deleted the [Document][google.firestore.v1beta1.Document].
436 //
437 // Multiple [DocumentDelete][google.firestore.v1beta1.DocumentDelete] messages may be returned for the same logical
438 // delete, if multiple targets are affected.
439 type DocumentDelete struct {
440 state protoimpl.MessageState
441 sizeCache protoimpl.SizeCache
442 unknownFields protoimpl.UnknownFields
443
444 // The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted.
445 Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
446 // A set of target IDs for targets that previously matched this entity.
447 RemovedTargetIds []int32 `protobuf:"varint,6,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"`
448 // The read timestamp at which the delete was observed.
449 //
450 // Greater or equal to the `commit_time` of the delete.
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 // Deprecated: Use DocumentDelete.ProtoReflect.Descriptor instead.
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 // A [Document][google.firestore.v1beta1.Document] has been removed from the view of the targets.
508 //
509 // Sent if the document is no longer relevant to a target and is out of view.
510 // Can be sent instead of a DocumentDelete or a DocumentChange if the server
511 // can not send the new value of the document.
512 //
513 // Multiple [DocumentRemove][google.firestore.v1beta1.DocumentRemove] messages may be returned for the same logical
514 // write or delete, if multiple targets are affected.
515 type DocumentRemove struct {
516 state protoimpl.MessageState
517 sizeCache protoimpl.SizeCache
518 unknownFields protoimpl.UnknownFields
519
520 // The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view.
521 Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
522 // A set of target IDs for targets that previously matched this document.
523 RemovedTargetIds []int32 `protobuf:"varint,2,rep,packed,name=removed_target_ids,json=removedTargetIds,proto3" json:"removed_target_ids,omitempty"`
524 // The read timestamp at which the remove was observed.
525 //
526 // Greater or equal to the `commit_time` of the change/delete/remove.
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 // Deprecated: Use DocumentRemove.ProtoReflect.Descriptor instead.
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 // A digest of all the documents that match a given target.
584 type ExistenceFilter struct {
585 state protoimpl.MessageState
586 sizeCache protoimpl.SizeCache
587 unknownFields protoimpl.UnknownFields
588
589 // The target ID to which this filter applies.
590 TargetId int32 `protobuf:"varint,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
591 // The total count of documents that match [target_id][google.firestore.v1beta1.ExistenceFilter.target_id].
592 //
593 // If different from the count of documents in the client that match, the
594 // client must manually determine which documents no longer match the target.
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 // Deprecated: Use ExistenceFilter.ProtoReflect.Descriptor instead.
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 // A transformation of a field of the document.
645 type DocumentTransform_FieldTransform struct {
646 state protoimpl.MessageState
647 sizeCache protoimpl.SizeCache
648 unknownFields protoimpl.UnknownFields
649
650 // The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax
651 // reference.
652 FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
653 // The transformation to apply on the field.
654 //
655 // Types that are assignable to TransformType:
656 //
657 // *DocumentTransform_FieldTransform_SetToServerValue
658 // *DocumentTransform_FieldTransform_Increment
659 // *DocumentTransform_FieldTransform_Maximum
660 // *DocumentTransform_FieldTransform_Minimum
661 // *DocumentTransform_FieldTransform_AppendMissingElements
662 // *DocumentTransform_FieldTransform_RemoveAllFromArray
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 // Deprecated: Use DocumentTransform_FieldTransform.ProtoReflect.Descriptor instead.
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 // Sets the field to the given server value.
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 // Adds the given value to the field's current value.
765 //
766 // This must be an integer or a double value.
767 // If the field is not an integer or double, or if the field does not yet
768 // exist, the transformation will set the field to the given value.
769 // If either of the given value or the current field value are doubles,
770 // both values will be interpreted as doubles. Double arithmetic and
771 // representation of double values follow IEEE 754 semantics.
772 // If there is positive/negative integer overflow, the field is resolved
773 // to the largest magnitude positive/negative integer.
774 Increment *Value `protobuf:"bytes,3,opt,name=increment,proto3,oneof"`
775 }
776
777 type DocumentTransform_FieldTransform_Maximum struct {
778 // Sets the field to the maximum of its current value and the given value.
779 //
780 // This must be an integer or a double value.
781 // If the field is not an integer or double, or if the field does not yet
782 // exist, the transformation will set the field to the given value.
783 // If a maximum operation is applied where the field and the input value
784 // are of mixed types (that is - one is an integer and one is a double)
785 // the field takes on the type of the larger operand. If the operands are
786 // equivalent (e.g. 3 and 3.0), the field does not change.
787 // 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
788 // zero input value is always the stored value.
789 // The maximum of any numeric value x and NaN is NaN.
790 Maximum *Value `protobuf:"bytes,4,opt,name=maximum,proto3,oneof"`
791 }
792
793 type DocumentTransform_FieldTransform_Minimum struct {
794 // Sets the field to the minimum of its current value and the given value.
795 //
796 // This must be an integer or a double value.
797 // If the field is not an integer or double, or if the field does not yet
798 // exist, the transformation will set the field to the input value.
799 // If a minimum operation is applied where the field and the input value
800 // are of mixed types (that is - one is an integer and one is a double)
801 // the field takes on the type of the smaller operand. If the operands are
802 // equivalent (e.g. 3 and 3.0), the field does not change.
803 // 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
804 // zero input value is always the stored value.
805 // The minimum of any numeric value x and NaN is NaN.
806 Minimum *Value `protobuf:"bytes,5,opt,name=minimum,proto3,oneof"`
807 }
808
809 type DocumentTransform_FieldTransform_AppendMissingElements struct {
810 // Append the given elements in order if they are not already present in
811 // the current field value.
812 // If the field is not an array, or if the field does not yet exist, it is
813 // first set to the empty array.
814 //
815 // Equivalent numbers of different types (e.g. 3L and 3.0) are
816 // considered equal when checking if a value is missing.
817 // NaN is equal to NaN, and Null is equal to Null.
818 // If the input contains multiple equivalent values, only the first will
819 // be considered.
820 //
821 // The corresponding transform_result will be the null value.
822 AppendMissingElements *ArrayValue `protobuf:"bytes,6,opt,name=append_missing_elements,json=appendMissingElements,proto3,oneof"`
823 }
824
825 type DocumentTransform_FieldTransform_RemoveAllFromArray struct {
826 // Remove all of the given elements from the array in the field.
827 // If the field is not an array, or if the field does not yet exist, it is
828 // set to the empty array.
829 //
830 // Equivalent numbers of the different types (e.g. 3L and 3.0) are
831 // considered equal when deciding whether an element should be removed.
832 // NaN is equal to NaN, and Null is equal to Null.
833 // This will remove all equivalent values if there are duplicates.
834 //
835 // The corresponding transform_result will be the null value.
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), // 0: google.firestore.v1beta1.DocumentTransform.FieldTransform.ServerValue
1022 (*Write)(nil), // 1: google.firestore.v1beta1.Write
1023 (*DocumentTransform)(nil), // 2: google.firestore.v1beta1.DocumentTransform
1024 (*WriteResult)(nil), // 3: google.firestore.v1beta1.WriteResult
1025 (*DocumentChange)(nil), // 4: google.firestore.v1beta1.DocumentChange
1026 (*DocumentDelete)(nil), // 5: google.firestore.v1beta1.DocumentDelete
1027 (*DocumentRemove)(nil), // 6: google.firestore.v1beta1.DocumentRemove
1028 (*ExistenceFilter)(nil), // 7: google.firestore.v1beta1.ExistenceFilter
1029 (*DocumentTransform_FieldTransform)(nil), // 8: google.firestore.v1beta1.DocumentTransform.FieldTransform
1030 (*Document)(nil), // 9: google.firestore.v1beta1.Document
1031 (*DocumentMask)(nil), // 10: google.firestore.v1beta1.DocumentMask
1032 (*Precondition)(nil), // 11: google.firestore.v1beta1.Precondition
1033 (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
1034 (*Value)(nil), // 13: google.firestore.v1beta1.Value
1035 (*ArrayValue)(nil), // 14: google.firestore.v1beta1.ArrayValue
1036 }
1037 var file_google_firestore_v1beta1_write_proto_depIdxs = []int32{
1038 9, // 0: google.firestore.v1beta1.Write.update:type_name -> google.firestore.v1beta1.Document
1039 2, // 1: google.firestore.v1beta1.Write.transform:type_name -> google.firestore.v1beta1.DocumentTransform
1040 10, // 2: google.firestore.v1beta1.Write.update_mask:type_name -> google.firestore.v1beta1.DocumentMask
1041 8, // 3: google.firestore.v1beta1.Write.update_transforms:type_name -> google.firestore.v1beta1.DocumentTransform.FieldTransform
1042 11, // 4: google.firestore.v1beta1.Write.current_document:type_name -> google.firestore.v1beta1.Precondition
1043 8, // 5: google.firestore.v1beta1.DocumentTransform.field_transforms:type_name -> google.firestore.v1beta1.DocumentTransform.FieldTransform
1044 12, // 6: google.firestore.v1beta1.WriteResult.update_time:type_name -> google.protobuf.Timestamp
1045 13, // 7: google.firestore.v1beta1.WriteResult.transform_results:type_name -> google.firestore.v1beta1.Value
1046 9, // 8: google.firestore.v1beta1.DocumentChange.document:type_name -> google.firestore.v1beta1.Document
1047 12, // 9: google.firestore.v1beta1.DocumentDelete.read_time:type_name -> google.protobuf.Timestamp
1048 12, // 10: google.firestore.v1beta1.DocumentRemove.read_time:type_name -> google.protobuf.Timestamp
1049 0, // 11: google.firestore.v1beta1.DocumentTransform.FieldTransform.set_to_server_value:type_name -> google.firestore.v1beta1.DocumentTransform.FieldTransform.ServerValue
1050 13, // 12: google.firestore.v1beta1.DocumentTransform.FieldTransform.increment:type_name -> google.firestore.v1beta1.Value
1051 13, // 13: google.firestore.v1beta1.DocumentTransform.FieldTransform.maximum:type_name -> google.firestore.v1beta1.Value
1052 13, // 14: google.firestore.v1beta1.DocumentTransform.FieldTransform.minimum:type_name -> google.firestore.v1beta1.Value
1053 14, // 15: google.firestore.v1beta1.DocumentTransform.FieldTransform.append_missing_elements:type_name -> google.firestore.v1beta1.ArrayValue
1054 14, // 16: google.firestore.v1beta1.DocumentTransform.FieldTransform.remove_all_from_array:type_name -> google.firestore.v1beta1.ArrayValue
1055 17, // [17:17] is the sub-list for method output_type
1056 17, // [17:17] is the sub-list for method input_type
1057 17, // [17:17] is the sub-list for extension type_name
1058 17, // [17:17] is the sub-list for extension extendee
1059 0, // [0:17] is the sub-list for field type_name
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 }