Debian Codegraph @

firestore/apiv1/firestorepb/document.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/firestore/v1/document.proto
20
21 package firestorepb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 latlng "google.golang.org/genproto/googleapis/type/latlng"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 structpb "google.golang.org/protobuf/types/known/structpb"
29 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 reflect "reflect"
31 sync "sync"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // A Firestore document.
42 //
43 // Must not exceed 1 MiB - 4 bytes.
44 type Document struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49 // The resource name of the document, for example
50 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
51 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
52 // The document's fields.
53 //
54 // The map keys represent field names.
55 //
56 // Field names matching the regular expression `__.*__` are reserved. Reserved
57 // field names are forbidden except in certain documented contexts. The field
58 // names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
59 // empty.
60 //
61 // Field paths may be used in other contexts to refer to structured fields
62 // defined here. For `map_value`, the field path is represented by a
63 // dot-delimited (`.`) string of segments. Each segment is either a simple
64 // field name (defined below) or a quoted field name. For example, the
65 // structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
66 // }}}` would be represented by the field path “ foo.`x&y` “.
67 //
68 // A simple field name contains only characters `a` to `z`, `A` to `Z`,
69 // `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
70 // `foo_bar_17`.
71 //
72 // A quoted field name starts and ends with “ ` “ and
73 // may contain any character. Some characters, including “ ` “, must be
74 // escaped using a `\`. For example, “ `x&y` “ represents `x&y` and
75 // “ `bak\`tik` “ represents “ bak`tik “.
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 // Output only. The time at which the document was created.
78 //
79 // This value increases monotonically when a document is deleted then
80 // recreated. It can also be compared to values from other documents and
81 // the `read_time` of a query.
82 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
83 // Output only. The time at which the document was last changed.
84 //
85 // This value is initially set to the `create_time` then increases
86 // monotonically with each change to the document. It can also be
87 // compared to values from other documents and the `read_time` of a query.
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 mi := &file_google_firestore_v1_document_proto_msgTypes[0]
94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
95 ms.StoreMessageInfo(mi)
96 }
97
98 func (x *Document) String() string {
99 return protoimpl.X.MessageStringOf(x)
100 }
101
102 func (*Document) ProtoMessage() {}
103
104 func (x *Document) ProtoReflect() protoreflect.Message {
105 mi := &file_google_firestore_v1_document_proto_msgTypes[0]
106 if x != nil {
107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
108 if ms.LoadMessageInfo() == nil {
109 ms.StoreMessageInfo(mi)
110 }
111 return ms
112 }
113 return mi.MessageOf(x)
114 }
115
116 // Deprecated: Use Document.ProtoReflect.Descriptor instead.
117 func (*Document) Descriptor() ([]byte, []int) {
118 return file_google_firestore_v1_document_proto_rawDescGZIP(), []int{0}
119 }
120
121 func (x *Document) GetName() string {
122 if x != nil {
123 return x.Name
124 }
125 return ""
126 }
127
128 func (x *Document) GetFields() map[string]*Value {
129 if x != nil {
130 return x.Fields
131 }
132 return nil
133 }
134
135 func (x *Document) GetCreateTime() *timestamppb.Timestamp {
136 if x != nil {
137 return x.CreateTime
138 }
139 return nil
140 }
141
142 func (x *Document) GetUpdateTime() *timestamppb.Timestamp {
143 if x != nil {
144 return x.UpdateTime
145 }
146 return nil
147 }
148
149 // A message that can hold any of the supported value types.
150 type Value struct {
151 state protoimpl.MessageState
152 sizeCache protoimpl.SizeCache
153 unknownFields protoimpl.UnknownFields
154
155 // Must have a value set.
156 //
157 // Types that are assignable to ValueType:
158 //
159 // *Value_NullValue
160 // *Value_BooleanValue
161 // *Value_IntegerValue
162 // *Value_DoubleValue
163 // *Value_TimestampValue
164 // *Value_StringValue
165 // *Value_BytesValue
166 // *Value_ReferenceValue
167 // *Value_GeoPointValue
168 // *Value_ArrayValue
169 // *Value_MapValue
170 ValueType isValue_ValueType `protobuf_oneof:"value_type"`
171 }
172
173 func (x *Value) Reset() {
174 *x = Value{}
175 mi := &file_google_firestore_v1_document_proto_msgTypes[1]
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 ms.StoreMessageInfo(mi)
178 }
179
180 func (x *Value) String() string {
181 return protoimpl.X.MessageStringOf(x)
182 }
183
184 func (*Value) ProtoMessage() {}
185
186 func (x *Value) ProtoReflect() protoreflect.Message {
187 mi := &file_google_firestore_v1_document_proto_msgTypes[1]
188 if x != nil {
189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190 if ms.LoadMessageInfo() == nil {
191 ms.StoreMessageInfo(mi)
192 }
193 return ms
194 }
195 return mi.MessageOf(x)
196 }
197
198 // Deprecated: Use Value.ProtoReflect.Descriptor instead.
199 func (*Value) Descriptor() ([]byte, []int) {
200 return file_google_firestore_v1_document_proto_rawDescGZIP(), []int{1}
201 }
202
203 func (m *Value) GetValueType() isValue_ValueType {
204 if m != nil {
205 return m.ValueType
206 }
207 return nil
208 }
209
210 func (x *Value) GetNullValue() structpb.NullValue {
211 if x, ok := x.GetValueType().(*Value_NullValue); ok {
212 return x.NullValue
213 }
214 return structpb.NullValue(0)
215 }
216
217 func (x *Value) GetBooleanValue() bool {
218 if x, ok := x.GetValueType().(*Value_BooleanValue); ok {
219 return x.BooleanValue
220 }
221 return false
222 }
223
224 func (x *Value) GetIntegerValue() int64 {
225 if x, ok := x.GetValueType().(*Value_IntegerValue); ok {
226 return x.IntegerValue
227 }
228 return 0
229 }
230
231 func (x *Value) GetDoubleValue() float64 {
232 if x, ok := x.GetValueType().(*Value_DoubleValue); ok {
233 return x.DoubleValue
234 }
235 return 0
236 }
237
238 func (x *Value) GetTimestampValue() *timestamppb.Timestamp {
239 if x, ok := x.GetValueType().(*Value_TimestampValue); ok {
240 return x.TimestampValue
241 }
242 return nil
243 }
244
245 func (x *Value) GetStringValue() string {
246 if x, ok := x.GetValueType().(*Value_StringValue); ok {
247 return x.StringValue
248 }
249 return ""
250 }
251
252 func (x *Value) GetBytesValue() []byte {
253 if x, ok := x.GetValueType().(*Value_BytesValue); ok {
254 return x.BytesValue
255 }
256 return nil
257 }
258
259 func (x *Value) GetReferenceValue() string {
260 if x, ok := x.GetValueType().(*Value_ReferenceValue); ok {
261 return x.ReferenceValue
262 }
263 return ""
264 }
265
266 func (x *Value) GetGeoPointValue() *latlng.LatLng {
267 if x, ok := x.GetValueType().(*Value_GeoPointValue); ok {
268 return x.GeoPointValue
269 }
270 return nil
271 }
272
273 func (x *Value) GetArrayValue() *ArrayValue {
274 if x, ok := x.GetValueType().(*Value_ArrayValue); ok {
275 return x.ArrayValue
276 }
277 return nil
278 }
279
280 func (x *Value) GetMapValue() *MapValue {
281 if x, ok := x.GetValueType().(*Value_MapValue); ok {
282 return x.MapValue
283 }
284 return nil
285 }
286
287 type isValue_ValueType interface {
288 isValue_ValueType()
289 }
290
291 type Value_NullValue struct {
292 // A null value.
293 NullValue structpb.NullValue `protobuf:"varint,11,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
294 }
295
296 type Value_BooleanValue struct {
297 // A boolean value.
298 BooleanValue bool `protobuf:"varint,1,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
299 }
300
301 type Value_IntegerValue struct {
302 // An integer value.
303 IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
304 }
305
306 type Value_DoubleValue struct {
307 // A double value.
308 DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
309 }
310
311 type Value_TimestampValue struct {
312 // A timestamp value.
313 //
314 // Precise only to microseconds. When stored, any additional precision is
315 // rounded down.
316 TimestampValue *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
317 }
318
319 type Value_StringValue struct {
320 // A string value.
321 //
322 // The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes.
323 // Only the first 1,500 bytes of the UTF-8 representation are considered by
324 // queries.
325 StringValue string `protobuf:"bytes,17,opt,name=string_value,json=stringValue,proto3,oneof"`
326 }
327
328 type Value_BytesValue struct {
329 // A bytes value.
330 //
331 // Must not exceed 1 MiB - 89 bytes.
332 // Only the first 1,500 bytes are considered by queries.
333 BytesValue []byte `protobuf:"bytes,18,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
334 }
335
336 type Value_ReferenceValue struct {
337 // A reference to a document. For example:
338 // `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
339 ReferenceValue string `protobuf:"bytes,5,opt,name=reference_value,json=referenceValue,proto3,oneof"`
340 }
341
342 type Value_GeoPointValue struct {
343 // A geo point value representing a point on the surface of Earth.
344 GeoPointValue *latlng.LatLng `protobuf:"bytes,8,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"`
345 }
346
347 type Value_ArrayValue struct {
348 // An array value.
349 //
350 // Cannot directly contain another array value, though can contain a
351 // map which contains another array.
352 ArrayValue *ArrayValue `protobuf:"bytes,9,opt,name=array_value,json=arrayValue,proto3,oneof"`
353 }
354
355 type Value_MapValue struct {
356 // A map value.
357 MapValue *MapValue `protobuf:"bytes,6,opt,name=map_value,json=mapValue,proto3,oneof"`
358 }
359
360 func (*Value_NullValue) isValue_ValueType() {}
361
362 func (*Value_BooleanValue) isValue_ValueType() {}
363
364 func (*Value_IntegerValue) isValue_ValueType() {}
365
366 func (*Value_DoubleValue) isValue_ValueType() {}
367
368 func (*Value_TimestampValue) isValue_ValueType() {}
369
370 func (*Value_StringValue) isValue_ValueType() {}
371
372 func (*Value_BytesValue) isValue_ValueType() {}
373
374 func (*Value_ReferenceValue) isValue_ValueType() {}
375
376 func (*Value_GeoPointValue) isValue_ValueType() {}
377
378 func (*Value_ArrayValue) isValue_ValueType() {}
379
380 func (*Value_MapValue) isValue_ValueType() {}
381
382 // An array value.
383 type ArrayValue struct {
384 state protoimpl.MessageState
385 sizeCache protoimpl.SizeCache
386 unknownFields protoimpl.UnknownFields
387
388 // Values in the array.
389 Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
390 }
391
392 func (x *ArrayValue) Reset() {
393 *x = ArrayValue{}
394 mi := &file_google_firestore_v1_document_proto_msgTypes[2]
395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
396 ms.StoreMessageInfo(mi)
397 }
398
399 func (x *ArrayValue) String() string {
400 return protoimpl.X.MessageStringOf(x)
401 }
402
403 func (*ArrayValue) ProtoMessage() {}
404
405 func (x *ArrayValue) ProtoReflect() protoreflect.Message {
406 mi := &file_google_firestore_v1_document_proto_msgTypes[2]
407 if x != nil {
408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
409 if ms.LoadMessageInfo() == nil {
410 ms.StoreMessageInfo(mi)
411 }
412 return ms
413 }
414 return mi.MessageOf(x)
415 }
416
417 // Deprecated: Use ArrayValue.ProtoReflect.Descriptor instead.
418 func (*ArrayValue) Descriptor() ([]byte, []int) {
419 return file_google_firestore_v1_document_proto_rawDescGZIP(), []int{2}
420 }
421
422 func (x *ArrayValue) GetValues() []*Value {
423 if x != nil {
424 return x.Values
425 }
426 return nil
427 }
428
429 // A map value.
430 type MapValue struct {
431 state protoimpl.MessageState
432 sizeCache protoimpl.SizeCache
433 unknownFields protoimpl.UnknownFields
434
435 // The map's fields.
436 //
437 // The map keys represent field names. Field names matching the regular
438 // expression `__.*__` are reserved. Reserved field names are forbidden except
439 // in certain documented contexts. The map keys, represented as UTF-8, must
440 // not exceed 1,500 bytes and cannot be empty.
441 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"`
442 }
443
444 func (x *MapValue) Reset() {
445 *x = MapValue{}
446 mi := &file_google_firestore_v1_document_proto_msgTypes[3]
447 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
448 ms.StoreMessageInfo(mi)
449 }
450
451 func (x *MapValue) String() string {
452 return protoimpl.X.MessageStringOf(x)
453 }
454
455 func (*MapValue) ProtoMessage() {}
456
457 func (x *MapValue) ProtoReflect() protoreflect.Message {
458 mi := &file_google_firestore_v1_document_proto_msgTypes[3]
459 if x != nil {
460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
461 if ms.LoadMessageInfo() == nil {
462 ms.StoreMessageInfo(mi)
463 }
464 return ms
465 }
466 return mi.MessageOf(x)
467 }
468
469 // Deprecated: Use MapValue.ProtoReflect.Descriptor instead.
470 func (*MapValue) Descriptor() ([]byte, []int) {
471 return file_google_firestore_v1_document_proto_rawDescGZIP(), []int{3}
472 }
473
474 func (x *MapValue) GetFields() map[string]*Value {
475 if x != nil {
476 return x.Fields
477 }
478 return nil
479 }
480
481 var File_google_firestore_v1_document_proto protoreflect.FileDescriptor
482
483 var file_google_firestore_v1_document_proto_rawDesc = []byte{
484 0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f,
485 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70,
486 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72,
487 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
488 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
489 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
490 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75,
491 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
492 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
493 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
494 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72,
495 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x02, 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74,
496 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
497 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02,
498 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69,
499 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d,
500 0x65, 0x6e, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
501 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
502 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
503 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
504 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
505 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
506 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
507 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
508 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
509 0x65, 0x1a, 0x55, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
510 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
511 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
512 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73,
513 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76,
514 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc0, 0x04, 0x0a, 0x05, 0x56, 0x61, 0x6c,
515 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
516 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
517 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c,
518 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
519 0x25, 0x0a, 0x0d, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
520 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61,
521 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65,
522 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52,
523 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a,
524 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20,
525 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c,
526 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f,
527 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
528 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
529 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x73,
530 0x74, 0x61, 0x6d, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72,
531 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x48,
532 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21,
533 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x12, 0x20,
534 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75,
535 0x65, 0x12, 0x29, 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x76,
536 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65,
537 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3d, 0x0a, 0x0f,
538 0x67, 0x65, 0x6f, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
539 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74,
540 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x0d, 0x67, 0x65,
541 0x6f, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x61,
542 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b,
543 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74,
544 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75,
545 0x65, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
546 0x3c, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01,
547 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65,
548 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75,
549 0x65, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a,
550 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x40, 0x0a, 0x0a, 0x41,
551 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x76, 0x61, 0x6c,
552 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
553 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e,
554 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xa4, 0x01,
555 0x0a, 0x08, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x66, 0x69,
556 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f,
557 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
558 0x2e, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73,
559 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x55, 0x0a,
560 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
561 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30,
562 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
563 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
564 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
565 0x3a, 0x02, 0x38, 0x01, 0x42, 0xc5, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
566 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31,
567 0x42, 0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
568 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
569 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
570 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
571 0x70, 0x62, 0x3b, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x70, 0x62, 0xa2, 0x02,
572 0x04, 0x47, 0x43, 0x46, 0x53, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
573 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x56,
574 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
575 0x5c, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c,
576 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x46,
577 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
578 0x6f, 0x74, 0x6f, 0x33,
579 }
580
581 var (
582 file_google_firestore_v1_document_proto_rawDescOnce sync.Once
583 file_google_firestore_v1_document_proto_rawDescData = file_google_firestore_v1_document_proto_rawDesc
584 )
585
586 func file_google_firestore_v1_document_proto_rawDescGZIP() []byte {
587 file_google_firestore_v1_document_proto_rawDescOnce.Do(func() {
588 file_google_firestore_v1_document_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_v1_document_proto_rawDescData)
589 })
590 return file_google_firestore_v1_document_proto_rawDescData
591 }
592
593 var file_google_firestore_v1_document_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
594 var file_google_firestore_v1_document_proto_goTypes = []any{
595 (*Document)(nil), // 0: google.firestore.v1.Document
596 (*Value)(nil), // 1: google.firestore.v1.Value
597 (*ArrayValue)(nil), // 2: google.firestore.v1.ArrayValue
598 (*MapValue)(nil), // 3: google.firestore.v1.MapValue
599 nil, // 4: google.firestore.v1.Document.FieldsEntry
600 nil, // 5: google.firestore.v1.MapValue.FieldsEntry
601 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
602 (structpb.NullValue)(0), // 7: google.protobuf.NullValue
603 (*latlng.LatLng)(nil), // 8: google.type.LatLng
604 }
605 var file_google_firestore_v1_document_proto_depIdxs = []int32{
606 4, // 0: google.firestore.v1.Document.fields:type_name -> google.firestore.v1.Document.FieldsEntry
607 6, // 1: google.firestore.v1.Document.create_time:type_name -> google.protobuf.Timestamp
608 6, // 2: google.firestore.v1.Document.update_time:type_name -> google.protobuf.Timestamp
609 7, // 3: google.firestore.v1.Value.null_value:type_name -> google.protobuf.NullValue
610 6, // 4: google.firestore.v1.Value.timestamp_value:type_name -> google.protobuf.Timestamp
611 8, // 5: google.firestore.v1.Value.geo_point_value:type_name -> google.type.LatLng
612 2, // 6: google.firestore.v1.Value.array_value:type_name -> google.firestore.v1.ArrayValue
613 3, // 7: google.firestore.v1.Value.map_value:type_name -> google.firestore.v1.MapValue
614 1, // 8: google.firestore.v1.ArrayValue.values:type_name -> google.firestore.v1.Value
615 5, // 9: google.firestore.v1.MapValue.fields:type_name -> google.firestore.v1.MapValue.FieldsEntry
616 1, // 10: google.firestore.v1.Document.FieldsEntry.value:type_name -> google.firestore.v1.Value
617 1, // 11: google.firestore.v1.MapValue.FieldsEntry.value:type_name -> google.firestore.v1.Value
618 12, // [12:12] is the sub-list for method output_type
619 12, // [12:12] is the sub-list for method input_type
620 12, // [12:12] is the sub-list for extension type_name
621 12, // [12:12] is the sub-list for extension extendee
622 0, // [0:12] is the sub-list for field type_name
623 }
624
625 func init() { file_google_firestore_v1_document_proto_init() }
626 func file_google_firestore_v1_document_proto_init() {
627 if File_google_firestore_v1_document_proto != nil {
628 return
629 }
630 file_google_firestore_v1_document_proto_msgTypes[1].OneofWrappers = []any{
631 (*Value_NullValue)(nil),
632 (*Value_BooleanValue)(nil),
633 (*Value_IntegerValue)(nil),
634 (*Value_DoubleValue)(nil),
635 (*Value_TimestampValue)(nil),
636 (*Value_StringValue)(nil),
637 (*Value_BytesValue)(nil),
638 (*Value_ReferenceValue)(nil),
639 (*Value_GeoPointValue)(nil),
640 (*Value_ArrayValue)(nil),
641 (*Value_MapValue)(nil),
642 }
643 type x struct{}
644 out := protoimpl.TypeBuilder{
645 File: protoimpl.DescBuilder{
646 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
647 RawDescriptor: file_google_firestore_v1_document_proto_rawDesc,
648 NumEnums: 0,
649 NumMessages: 6,
650 NumExtensions: 0,
651 NumServices: 0,
652 },
653 GoTypes: file_google_firestore_v1_document_proto_goTypes,
654 DependencyIndexes: file_google_firestore_v1_document_proto_depIdxs,
655 MessageInfos: file_google_firestore_v1_document_proto_msgTypes,
656 }.Build()
657 File_google_firestore_v1_document_proto = out.File
658 file_google_firestore_v1_document_proto_rawDesc = nil
659 file_google_firestore_v1_document_proto_goTypes = nil
660 file_google_firestore_v1_document_proto_depIdxs = nil
661 }