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 latlng "google.golang.org/genproto/googleapis/type/latlng"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 structpb "google.golang.org/protobuf/types/known/structpb"
31 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32 )
33
34 const (
35
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41
42
43
44 type Document struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49
50
51 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76 Fields map[string]*Value `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
77
78
79
80
81
82 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
83
84
85
86
87
88 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
89 }
90
91 func (x *Document) Reset() {
92 *x = Document{}
93 if protoimpl.UnsafeEnabled {
94 mi := &file_google_firestore_v1beta1_document_proto_msgTypes[0]
95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
96 ms.StoreMessageInfo(mi)
97 }
98 }
99
100 func (x *Document) String() string {
101 return protoimpl.X.MessageStringOf(x)
102 }
103
104 func (*Document) ProtoMessage() {}
105
106 func (x *Document) ProtoReflect() protoreflect.Message {
107 mi := &file_google_firestore_v1beta1_document_proto_msgTypes[0]
108 if protoimpl.UnsafeEnabled && x != nil {
109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
110 if ms.LoadMessageInfo() == nil {
111 ms.StoreMessageInfo(mi)
112 }
113 return ms
114 }
115 return mi.MessageOf(x)
116 }
117
118
119 func (*Document) Descriptor() ([]byte, []int) {
120 return file_google_firestore_v1beta1_document_proto_rawDescGZIP(), []int{0}
121 }
122
123 func (x *Document) GetName() string {
124 if x != nil {
125 return x.Name
126 }
127 return ""
128 }
129
130 func (x *Document) GetFields() map[string]*Value {
131 if x != nil {
132 return x.Fields
133 }
134 return nil
135 }
136
137 func (x *Document) GetCreateTime() *timestamppb.Timestamp {
138 if x != nil {
139 return x.CreateTime
140 }
141 return nil
142 }
143
144 func (x *Document) GetUpdateTime() *timestamppb.Timestamp {
145 if x != nil {
146 return x.UpdateTime
147 }
148 return nil
149 }
150
151
152 type Value struct {
153 state protoimpl.MessageState
154 sizeCache protoimpl.SizeCache
155 unknownFields protoimpl.UnknownFields
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172 ValueType isValue_ValueType `protobuf_oneof:"value_type"`
173 }
174
175 func (x *Value) Reset() {
176 *x = Value{}
177 if protoimpl.UnsafeEnabled {
178 mi := &file_google_firestore_v1beta1_document_proto_msgTypes[1]
179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
180 ms.StoreMessageInfo(mi)
181 }
182 }
183
184 func (x *Value) String() string {
185 return protoimpl.X.MessageStringOf(x)
186 }
187
188 func (*Value) ProtoMessage() {}
189
190 func (x *Value) ProtoReflect() protoreflect.Message {
191 mi := &file_google_firestore_v1beta1_document_proto_msgTypes[1]
192 if protoimpl.UnsafeEnabled && x != nil {
193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
194 if ms.LoadMessageInfo() == nil {
195 ms.StoreMessageInfo(mi)
196 }
197 return ms
198 }
199 return mi.MessageOf(x)
200 }
201
202
203 func (*Value) Descriptor() ([]byte, []int) {
204 return file_google_firestore_v1beta1_document_proto_rawDescGZIP(), []int{1}
205 }
206
207 func (m *Value) GetValueType() isValue_ValueType {
208 if m != nil {
209 return m.ValueType
210 }
211 return nil
212 }
213
214 func (x *Value) GetNullValue() structpb.NullValue {
215 if x, ok := x.GetValueType().(*Value_NullValue); ok {
216 return x.NullValue
217 }
218 return structpb.NullValue_NULL_VALUE
219 }
220
221 func (x *Value) GetBooleanValue() bool {
222 if x, ok := x.GetValueType().(*Value_BooleanValue); ok {
223 return x.BooleanValue
224 }
225 return false
226 }
227
228 func (x *Value) GetIntegerValue() int64 {
229 if x, ok := x.GetValueType().(*Value_IntegerValue); ok {
230 return x.IntegerValue
231 }
232 return 0
233 }
234
235 func (x *Value) GetDoubleValue() float64 {
236 if x, ok := x.GetValueType().(*Value_DoubleValue); ok {
237 return x.DoubleValue
238 }
239 return 0
240 }
241
242 func (x *Value) GetTimestampValue() *timestamppb.Timestamp {
243 if x, ok := x.GetValueType().(*Value_TimestampValue); ok {
244 return x.TimestampValue
245 }
246 return nil
247 }
248
249 func (x *Value) GetStringValue() string {
250 if x, ok := x.GetValueType().(*Value_StringValue); ok {
251 return x.StringValue
252 }
253 return ""
254 }
255
256 func (x *Value) GetBytesValue() []byte {
257 if x, ok := x.GetValueType().(*Value_BytesValue); ok {
258 return x.BytesValue
259 }
260 return nil
261 }
262
263 func (x *Value) GetReferenceValue() string {
264 if x, ok := x.GetValueType().(*Value_ReferenceValue); ok {
265 return x.ReferenceValue
266 }
267 return ""
268 }
269
270 func (x *Value) GetGeoPointValue() *latlng.LatLng {
271 if x, ok := x.GetValueType().(*Value_GeoPointValue); ok {
272 return x.GeoPointValue
273 }
274 return nil
275 }
276
277 func (x *Value) GetArrayValue() *ArrayValue {
278 if x, ok := x.GetValueType().(*Value_ArrayValue); ok {
279 return x.ArrayValue
280 }
281 return nil
282 }
283
284 func (x *Value) GetMapValue() *MapValue {
285 if x, ok := x.GetValueType().(*Value_MapValue); ok {
286 return x.MapValue
287 }
288 return nil
289 }
290
291 type isValue_ValueType interface {
292 isValue_ValueType()
293 }
294
295 type Value_NullValue struct {
296
297 NullValue structpb.NullValue `protobuf:"varint,11,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
298 }
299
300 type Value_BooleanValue struct {
301
302 BooleanValue bool `protobuf:"varint,1,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
303 }
304
305 type Value_IntegerValue struct {
306
307 IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
308 }
309
310 type Value_DoubleValue struct {
311
312 DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
313 }
314
315 type Value_TimestampValue struct {
316
317
318
319
320 TimestampValue *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
321 }
322
323 type Value_StringValue struct {
324
325
326
327
328
329 StringValue string `protobuf:"bytes,17,opt,name=string_value,json=stringValue,proto3,oneof"`
330 }
331
332 type Value_BytesValue struct {
333
334
335
336
337 BytesValue []byte `protobuf:"bytes,18,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
338 }
339
340 type Value_ReferenceValue struct {
341
342
343 ReferenceValue string `protobuf:"bytes,5,opt,name=reference_value,json=referenceValue,proto3,oneof"`
344 }
345
346 type Value_GeoPointValue struct {
347
348 GeoPointValue *latlng.LatLng `protobuf:"bytes,8,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"`
349 }
350
351 type Value_ArrayValue struct {
352
353
354
355
356 ArrayValue *ArrayValue `protobuf:"bytes,9,opt,name=array_value,json=arrayValue,proto3,oneof"`
357 }
358
359 type Value_MapValue struct {
360
361 MapValue *MapValue `protobuf:"bytes,6,opt,name=map_value,json=mapValue,proto3,oneof"`
362 }
363
364 func (*Value_NullValue) isValue_ValueType() {}
365
366 func (*Value_BooleanValue) isValue_ValueType() {}
367
368 func (*Value_IntegerValue) isValue_ValueType() {}
369
370 func (*Value_DoubleValue) isValue_ValueType() {}
371
372 func (*Value_TimestampValue) isValue_ValueType() {}
373
374 func (*Value_StringValue) isValue_ValueType() {}
375
376 func (*Value_BytesValue) isValue_ValueType() {}
377
378 func (*Value_ReferenceValue) isValue_ValueType() {}
379
380 func (*Value_GeoPointValue) isValue_ValueType() {}
381
382 func (*Value_ArrayValue) isValue_ValueType() {}
383
384 func (*Value_MapValue) isValue_ValueType() {}
385
386
387 type ArrayValue struct {
388 state protoimpl.MessageState
389 sizeCache protoimpl.SizeCache
390 unknownFields protoimpl.UnknownFields
391
392
393 Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
394 }
395
396 func (x *ArrayValue) Reset() {
397 *x = ArrayValue{}
398 if protoimpl.UnsafeEnabled {
399 mi := &file_google_firestore_v1beta1_document_proto_msgTypes[2]
400 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
401 ms.StoreMessageInfo(mi)
402 }
403 }
404
405 func (x *ArrayValue) String() string {
406 return protoimpl.X.MessageStringOf(x)
407 }
408
409 func (*ArrayValue) ProtoMessage() {}
410
411 func (x *ArrayValue) ProtoReflect() protoreflect.Message {
412 mi := &file_google_firestore_v1beta1_document_proto_msgTypes[2]
413 if protoimpl.UnsafeEnabled && x != nil {
414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
415 if ms.LoadMessageInfo() == nil {
416 ms.StoreMessageInfo(mi)
417 }
418 return ms
419 }
420 return mi.MessageOf(x)
421 }
422
423
424 func (*ArrayValue) Descriptor() ([]byte, []int) {
425 return file_google_firestore_v1beta1_document_proto_rawDescGZIP(), []int{2}
426 }
427
428 func (x *ArrayValue) GetValues() []*Value {
429 if x != nil {
430 return x.Values
431 }
432 return nil
433 }
434
435
436 type MapValue struct {
437 state protoimpl.MessageState
438 sizeCache protoimpl.SizeCache
439 unknownFields protoimpl.UnknownFields
440
441
442
443
444
445
446
447 Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
448 }
449
450 func (x *MapValue) Reset() {
451 *x = MapValue{}
452 if protoimpl.UnsafeEnabled {
453 mi := &file_google_firestore_v1beta1_document_proto_msgTypes[3]
454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
455 ms.StoreMessageInfo(mi)
456 }
457 }
458
459 func (x *MapValue) String() string {
460 return protoimpl.X.MessageStringOf(x)
461 }
462
463 func (*MapValue) ProtoMessage() {}
464
465 func (x *MapValue) ProtoReflect() protoreflect.Message {
466 mi := &file_google_firestore_v1beta1_document_proto_msgTypes[3]
467 if protoimpl.UnsafeEnabled && x != nil {
468 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
469 if ms.LoadMessageInfo() == nil {
470 ms.StoreMessageInfo(mi)
471 }
472 return ms
473 }
474 return mi.MessageOf(x)
475 }
476
477
478 func (*MapValue) Descriptor() ([]byte, []int) {
479 return file_google_firestore_v1beta1_document_proto_rawDescGZIP(), []int{3}
480 }
481
482 func (x *MapValue) GetFields() map[string]*Value {
483 if x != nil {
484 return x.Fields
485 }
486 return nil
487 }
488
489 var File_google_firestore_v1beta1_document_proto protoreflect.FileDescriptor
490
491 var file_google_firestore_v1beta1_document_proto_rawDesc = []byte{
492 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
493 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d,
494 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
495 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65,
496 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
497 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
498 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
499 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
500 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f,
501 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x02, 0x0a,
502 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
503 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a,
504 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e,
505 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
506 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e,
507 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66,
508 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
509 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
510 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
511 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,
512 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
513 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
514 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
515 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x1a,
516 0x5a, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
517 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
518 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
519 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
520 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65,
521 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xca, 0x04, 0x0a, 0x05,
522 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61,
523 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
524 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c,
525 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c,
526 0x75, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x5f, 0x76, 0x61,
527 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x6f, 0x6f,
528 0x6c, 0x65, 0x61, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x69, 0x6e, 0x74,
529 0x65, 0x67, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
530 0x48, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65,
531 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
532 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
533 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
534 0x6d, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
535 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
536 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x69,
537 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c,
538 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01,
539 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75,
540 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
541 0x18, 0x12, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x56,
542 0x61, 0x6c, 0x75, 0x65, 0x12, 0x29, 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
543 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
544 0x0e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
545 0x3d, 0x0a, 0x0f, 0x67, 0x65, 0x6f, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c,
546 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
547 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x48, 0x00, 0x52,
548 0x0d, 0x67, 0x65, 0x6f, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x47,
549 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20,
550 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72,
551 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41,
552 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x72,
553 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x76,
554 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f,
555 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
556 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00,
557 0x52, 0x08, 0x6d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x76, 0x61,
558 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x45, 0x0a, 0x0a, 0x41, 0x72, 0x72, 0x61,
559 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
560 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
561 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
562 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22,
563 0xae, 0x01, 0x0a, 0x08, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x46, 0x0a, 0x06,
564 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67,
565 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
566 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65,
567 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69,
568 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x5a, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e,
569 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
570 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
571 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
572 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
573 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
574 0x42, 0xdf, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
575 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
576 0x31, 0x42, 0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
577 0x50, 0x01, 0x5a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
578 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
579 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
580 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x66, 0x69, 0x72, 0x65,
581 0x73, 0x74, 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x46, 0x53, 0xaa, 0x02, 0x1e, 0x47,
582 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69, 0x72, 0x65,
583 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1e,
584 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x46, 0x69, 0x72,
585 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02,
586 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
587 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74,
588 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
589 }
590
591 var (
592 file_google_firestore_v1beta1_document_proto_rawDescOnce sync.Once
593 file_google_firestore_v1beta1_document_proto_rawDescData = file_google_firestore_v1beta1_document_proto_rawDesc
594 )
595
596 func file_google_firestore_v1beta1_document_proto_rawDescGZIP() []byte {
597 file_google_firestore_v1beta1_document_proto_rawDescOnce.Do(func() {
598 file_google_firestore_v1beta1_document_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_v1beta1_document_proto_rawDescData)
599 })
600 return file_google_firestore_v1beta1_document_proto_rawDescData
601 }
602
603 var file_google_firestore_v1beta1_document_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
604 var file_google_firestore_v1beta1_document_proto_goTypes = []interface{}{
605 (*Document)(nil),
606 (*Value)(nil),
607 (*ArrayValue)(nil),
608 (*MapValue)(nil),
609 nil,
610 nil,
611 (*timestamppb.Timestamp)(nil),
612 (structpb.NullValue)(0),
613 (*latlng.LatLng)(nil),
614 }
615 var file_google_firestore_v1beta1_document_proto_depIdxs = []int32{
616 4,
617 6,
618 6,
619 7,
620 6,
621 8,
622 2,
623 3,
624 1,
625 5,
626 1,
627 1,
628 12,
629 12,
630 12,
631 12,
632 0,
633 }
634
635 func init() { file_google_firestore_v1beta1_document_proto_init() }
636 func file_google_firestore_v1beta1_document_proto_init() {
637 if File_google_firestore_v1beta1_document_proto != nil {
638 return
639 }
640 if !protoimpl.UnsafeEnabled {
641 file_google_firestore_v1beta1_document_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
642 switch v := v.(*Document); i {
643 case 0:
644 return &v.state
645 case 1:
646 return &v.sizeCache
647 case 2:
648 return &v.unknownFields
649 default:
650 return nil
651 }
652 }
653 file_google_firestore_v1beta1_document_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
654 switch v := v.(*Value); i {
655 case 0:
656 return &v.state
657 case 1:
658 return &v.sizeCache
659 case 2:
660 return &v.unknownFields
661 default:
662 return nil
663 }
664 }
665 file_google_firestore_v1beta1_document_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
666 switch v := v.(*ArrayValue); i {
667 case 0:
668 return &v.state
669 case 1:
670 return &v.sizeCache
671 case 2:
672 return &v.unknownFields
673 default:
674 return nil
675 }
676 }
677 file_google_firestore_v1beta1_document_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
678 switch v := v.(*MapValue); i {
679 case 0:
680 return &v.state
681 case 1:
682 return &v.sizeCache
683 case 2:
684 return &v.unknownFields
685 default:
686 return nil
687 }
688 }
689 }
690 file_google_firestore_v1beta1_document_proto_msgTypes[1].OneofWrappers = []interface{}{
691 (*Value_NullValue)(nil),
692 (*Value_BooleanValue)(nil),
693 (*Value_IntegerValue)(nil),
694 (*Value_DoubleValue)(nil),
695 (*Value_TimestampValue)(nil),
696 (*Value_StringValue)(nil),
697 (*Value_BytesValue)(nil),
698 (*Value_ReferenceValue)(nil),
699 (*Value_GeoPointValue)(nil),
700 (*Value_ArrayValue)(nil),
701 (*Value_MapValue)(nil),
702 }
703 type x struct{}
704 out := protoimpl.TypeBuilder{
705 File: protoimpl.DescBuilder{
706 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
707 RawDescriptor: file_google_firestore_v1beta1_document_proto_rawDesc,
708 NumEnums: 0,
709 NumMessages: 6,
710 NumExtensions: 0,
711 NumServices: 0,
712 },
713 GoTypes: file_google_firestore_v1beta1_document_proto_goTypes,
714 DependencyIndexes: file_google_firestore_v1beta1_document_proto_depIdxs,
715 MessageInfos: file_google_firestore_v1beta1_document_proto_msgTypes,
716 }.Build()
717 File_google_firestore_v1beta1_document_proto = out.File
718 file_google_firestore_v1beta1_document_proto_rawDesc = nil
719 file_google_firestore_v1beta1_document_proto_goTypes = nil
720 file_google_firestore_v1beta1_document_proto_depIdxs = nil
721 }
722
View as plain text