1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package datastore
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61 type PartitionId struct {
62 state protoimpl.MessageState
63 sizeCache protoimpl.SizeCache
64 unknownFields protoimpl.UnknownFields
65
66
67 ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
68
69
70 DatabaseId string `protobuf:"bytes,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
71
72 NamespaceId string `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
73 }
74
75 func (x *PartitionId) Reset() {
76 *x = PartitionId{}
77 if protoimpl.UnsafeEnabled {
78 mi := &file_google_datastore_v1_entity_proto_msgTypes[0]
79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80 ms.StoreMessageInfo(mi)
81 }
82 }
83
84 func (x *PartitionId) String() string {
85 return protoimpl.X.MessageStringOf(x)
86 }
87
88 func (*PartitionId) ProtoMessage() {}
89
90 func (x *PartitionId) ProtoReflect() protoreflect.Message {
91 mi := &file_google_datastore_v1_entity_proto_msgTypes[0]
92 if protoimpl.UnsafeEnabled && x != nil {
93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
94 if ms.LoadMessageInfo() == nil {
95 ms.StoreMessageInfo(mi)
96 }
97 return ms
98 }
99 return mi.MessageOf(x)
100 }
101
102
103 func (*PartitionId) Descriptor() ([]byte, []int) {
104 return file_google_datastore_v1_entity_proto_rawDescGZIP(), []int{0}
105 }
106
107 func (x *PartitionId) GetProjectId() string {
108 if x != nil {
109 return x.ProjectId
110 }
111 return ""
112 }
113
114 func (x *PartitionId) GetDatabaseId() string {
115 if x != nil {
116 return x.DatabaseId
117 }
118 return ""
119 }
120
121 func (x *PartitionId) GetNamespaceId() string {
122 if x != nil {
123 return x.NamespaceId
124 }
125 return ""
126 }
127
128
129
130
131
132 type Key struct {
133 state protoimpl.MessageState
134 sizeCache protoimpl.SizeCache
135 unknownFields protoimpl.UnknownFields
136
137
138
139
140 PartitionId *PartitionId `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157 Path []*Key_PathElement `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
158 }
159
160 func (x *Key) Reset() {
161 *x = Key{}
162 if protoimpl.UnsafeEnabled {
163 mi := &file_google_datastore_v1_entity_proto_msgTypes[1]
164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
165 ms.StoreMessageInfo(mi)
166 }
167 }
168
169 func (x *Key) String() string {
170 return protoimpl.X.MessageStringOf(x)
171 }
172
173 func (*Key) ProtoMessage() {}
174
175 func (x *Key) ProtoReflect() protoreflect.Message {
176 mi := &file_google_datastore_v1_entity_proto_msgTypes[1]
177 if protoimpl.UnsafeEnabled && x != nil {
178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
179 if ms.LoadMessageInfo() == nil {
180 ms.StoreMessageInfo(mi)
181 }
182 return ms
183 }
184 return mi.MessageOf(x)
185 }
186
187
188 func (*Key) Descriptor() ([]byte, []int) {
189 return file_google_datastore_v1_entity_proto_rawDescGZIP(), []int{1}
190 }
191
192 func (x *Key) GetPartitionId() *PartitionId {
193 if x != nil {
194 return x.PartitionId
195 }
196 return nil
197 }
198
199 func (x *Key) GetPath() []*Key_PathElement {
200 if x != nil {
201 return x.Path
202 }
203 return nil
204 }
205
206
207 type ArrayValue struct {
208 state protoimpl.MessageState
209 sizeCache protoimpl.SizeCache
210 unknownFields protoimpl.UnknownFields
211
212
213
214
215 Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
216 }
217
218 func (x *ArrayValue) Reset() {
219 *x = ArrayValue{}
220 if protoimpl.UnsafeEnabled {
221 mi := &file_google_datastore_v1_entity_proto_msgTypes[2]
222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
223 ms.StoreMessageInfo(mi)
224 }
225 }
226
227 func (x *ArrayValue) String() string {
228 return protoimpl.X.MessageStringOf(x)
229 }
230
231 func (*ArrayValue) ProtoMessage() {}
232
233 func (x *ArrayValue) ProtoReflect() protoreflect.Message {
234 mi := &file_google_datastore_v1_entity_proto_msgTypes[2]
235 if protoimpl.UnsafeEnabled && x != nil {
236 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
237 if ms.LoadMessageInfo() == nil {
238 ms.StoreMessageInfo(mi)
239 }
240 return ms
241 }
242 return mi.MessageOf(x)
243 }
244
245
246 func (*ArrayValue) Descriptor() ([]byte, []int) {
247 return file_google_datastore_v1_entity_proto_rawDescGZIP(), []int{2}
248 }
249
250 func (x *ArrayValue) GetValues() []*Value {
251 if x != nil {
252 return x.Values
253 }
254 return nil
255 }
256
257
258
259 type Value struct {
260 state protoimpl.MessageState
261 sizeCache protoimpl.SizeCache
262 unknownFields protoimpl.UnknownFields
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279 ValueType isValue_ValueType `protobuf_oneof:"value_type"`
280
281 Meaning int32 `protobuf:"varint,14,opt,name=meaning,proto3" json:"meaning,omitempty"`
282
283
284 ExcludeFromIndexes bool `protobuf:"varint,19,opt,name=exclude_from_indexes,json=excludeFromIndexes,proto3" json:"exclude_from_indexes,omitempty"`
285 }
286
287 func (x *Value) Reset() {
288 *x = Value{}
289 if protoimpl.UnsafeEnabled {
290 mi := &file_google_datastore_v1_entity_proto_msgTypes[3]
291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
292 ms.StoreMessageInfo(mi)
293 }
294 }
295
296 func (x *Value) String() string {
297 return protoimpl.X.MessageStringOf(x)
298 }
299
300 func (*Value) ProtoMessage() {}
301
302 func (x *Value) ProtoReflect() protoreflect.Message {
303 mi := &file_google_datastore_v1_entity_proto_msgTypes[3]
304 if protoimpl.UnsafeEnabled && x != nil {
305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
306 if ms.LoadMessageInfo() == nil {
307 ms.StoreMessageInfo(mi)
308 }
309 return ms
310 }
311 return mi.MessageOf(x)
312 }
313
314
315 func (*Value) Descriptor() ([]byte, []int) {
316 return file_google_datastore_v1_entity_proto_rawDescGZIP(), []int{3}
317 }
318
319 func (m *Value) GetValueType() isValue_ValueType {
320 if m != nil {
321 return m.ValueType
322 }
323 return nil
324 }
325
326 func (x *Value) GetNullValue() structpb.NullValue {
327 if x, ok := x.GetValueType().(*Value_NullValue); ok {
328 return x.NullValue
329 }
330 return structpb.NullValue_NULL_VALUE
331 }
332
333 func (x *Value) GetBooleanValue() bool {
334 if x, ok := x.GetValueType().(*Value_BooleanValue); ok {
335 return x.BooleanValue
336 }
337 return false
338 }
339
340 func (x *Value) GetIntegerValue() int64 {
341 if x, ok := x.GetValueType().(*Value_IntegerValue); ok {
342 return x.IntegerValue
343 }
344 return 0
345 }
346
347 func (x *Value) GetDoubleValue() float64 {
348 if x, ok := x.GetValueType().(*Value_DoubleValue); ok {
349 return x.DoubleValue
350 }
351 return 0
352 }
353
354 func (x *Value) GetTimestampValue() *timestamppb.Timestamp {
355 if x, ok := x.GetValueType().(*Value_TimestampValue); ok {
356 return x.TimestampValue
357 }
358 return nil
359 }
360
361 func (x *Value) GetKeyValue() *Key {
362 if x, ok := x.GetValueType().(*Value_KeyValue); ok {
363 return x.KeyValue
364 }
365 return nil
366 }
367
368 func (x *Value) GetStringValue() string {
369 if x, ok := x.GetValueType().(*Value_StringValue); ok {
370 return x.StringValue
371 }
372 return ""
373 }
374
375 func (x *Value) GetBlobValue() []byte {
376 if x, ok := x.GetValueType().(*Value_BlobValue); ok {
377 return x.BlobValue
378 }
379 return nil
380 }
381
382 func (x *Value) GetGeoPointValue() *latlng.LatLng {
383 if x, ok := x.GetValueType().(*Value_GeoPointValue); ok {
384 return x.GeoPointValue
385 }
386 return nil
387 }
388
389 func (x *Value) GetEntityValue() *Entity {
390 if x, ok := x.GetValueType().(*Value_EntityValue); ok {
391 return x.EntityValue
392 }
393 return nil
394 }
395
396 func (x *Value) GetArrayValue() *ArrayValue {
397 if x, ok := x.GetValueType().(*Value_ArrayValue); ok {
398 return x.ArrayValue
399 }
400 return nil
401 }
402
403 func (x *Value) GetMeaning() int32 {
404 if x != nil {
405 return x.Meaning
406 }
407 return 0
408 }
409
410 func (x *Value) GetExcludeFromIndexes() bool {
411 if x != nil {
412 return x.ExcludeFromIndexes
413 }
414 return false
415 }
416
417 type isValue_ValueType interface {
418 isValue_ValueType()
419 }
420
421 type Value_NullValue struct {
422
423 NullValue structpb.NullValue `protobuf:"varint,11,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
424 }
425
426 type Value_BooleanValue struct {
427
428 BooleanValue bool `protobuf:"varint,1,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
429 }
430
431 type Value_IntegerValue struct {
432
433 IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
434 }
435
436 type Value_DoubleValue struct {
437
438 DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
439 }
440
441 type Value_TimestampValue struct {
442
443
444
445 TimestampValue *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
446 }
447
448 type Value_KeyValue struct {
449
450 KeyValue *Key `protobuf:"bytes,5,opt,name=key_value,json=keyValue,proto3,oneof"`
451 }
452
453 type Value_StringValue struct {
454
455
456
457 StringValue string `protobuf:"bytes,17,opt,name=string_value,json=stringValue,proto3,oneof"`
458 }
459
460 type Value_BlobValue struct {
461
462
463
464
465 BlobValue []byte `protobuf:"bytes,18,opt,name=blob_value,json=blobValue,proto3,oneof"`
466 }
467
468 type Value_GeoPointValue struct {
469
470 GeoPointValue *latlng.LatLng `protobuf:"bytes,8,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"`
471 }
472
473 type Value_EntityValue struct {
474
475
476
477
478
479 EntityValue *Entity `protobuf:"bytes,6,opt,name=entity_value,json=entityValue,proto3,oneof"`
480 }
481
482 type Value_ArrayValue struct {
483
484
485
486
487 ArrayValue *ArrayValue `protobuf:"bytes,9,opt,name=array_value,json=arrayValue,proto3,oneof"`
488 }
489
490 func (*Value_NullValue) isValue_ValueType() {}
491
492 func (*Value_BooleanValue) isValue_ValueType() {}
493
494 func (*Value_IntegerValue) isValue_ValueType() {}
495
496 func (*Value_DoubleValue) isValue_ValueType() {}
497
498 func (*Value_TimestampValue) isValue_ValueType() {}
499
500 func (*Value_KeyValue) isValue_ValueType() {}
501
502 func (*Value_StringValue) isValue_ValueType() {}
503
504 func (*Value_BlobValue) isValue_ValueType() {}
505
506 func (*Value_GeoPointValue) isValue_ValueType() {}
507
508 func (*Value_EntityValue) isValue_ValueType() {}
509
510 func (*Value_ArrayValue) isValue_ValueType() {}
511
512
513
514
515 type Entity struct {
516 state protoimpl.MessageState
517 sizeCache protoimpl.SizeCache
518 unknownFields protoimpl.UnknownFields
519
520
521
522
523
524
525
526 Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
527
528
529
530
531
532
533 Properties map[string]*Value `protobuf:"bytes,3,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
534 }
535
536 func (x *Entity) Reset() {
537 *x = Entity{}
538 if protoimpl.UnsafeEnabled {
539 mi := &file_google_datastore_v1_entity_proto_msgTypes[4]
540 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
541 ms.StoreMessageInfo(mi)
542 }
543 }
544
545 func (x *Entity) String() string {
546 return protoimpl.X.MessageStringOf(x)
547 }
548
549 func (*Entity) ProtoMessage() {}
550
551 func (x *Entity) ProtoReflect() protoreflect.Message {
552 mi := &file_google_datastore_v1_entity_proto_msgTypes[4]
553 if protoimpl.UnsafeEnabled && x != nil {
554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
555 if ms.LoadMessageInfo() == nil {
556 ms.StoreMessageInfo(mi)
557 }
558 return ms
559 }
560 return mi.MessageOf(x)
561 }
562
563
564 func (*Entity) Descriptor() ([]byte, []int) {
565 return file_google_datastore_v1_entity_proto_rawDescGZIP(), []int{4}
566 }
567
568 func (x *Entity) GetKey() *Key {
569 if x != nil {
570 return x.Key
571 }
572 return nil
573 }
574
575 func (x *Entity) GetProperties() map[string]*Value {
576 if x != nil {
577 return x.Properties
578 }
579 return nil
580 }
581
582
583
584
585
586 type Key_PathElement struct {
587 state protoimpl.MessageState
588 sizeCache protoimpl.SizeCache
589 unknownFields protoimpl.UnknownFields
590
591
592
593
594
595
596
597
598
599
600 Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
601
602
603
604
605
606
607 IdType isKey_PathElement_IdType `protobuf_oneof:"id_type"`
608 }
609
610 func (x *Key_PathElement) Reset() {
611 *x = Key_PathElement{}
612 if protoimpl.UnsafeEnabled {
613 mi := &file_google_datastore_v1_entity_proto_msgTypes[5]
614 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
615 ms.StoreMessageInfo(mi)
616 }
617 }
618
619 func (x *Key_PathElement) String() string {
620 return protoimpl.X.MessageStringOf(x)
621 }
622
623 func (*Key_PathElement) ProtoMessage() {}
624
625 func (x *Key_PathElement) ProtoReflect() protoreflect.Message {
626 mi := &file_google_datastore_v1_entity_proto_msgTypes[5]
627 if protoimpl.UnsafeEnabled && x != nil {
628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
629 if ms.LoadMessageInfo() == nil {
630 ms.StoreMessageInfo(mi)
631 }
632 return ms
633 }
634 return mi.MessageOf(x)
635 }
636
637
638 func (*Key_PathElement) Descriptor() ([]byte, []int) {
639 return file_google_datastore_v1_entity_proto_rawDescGZIP(), []int{1, 0}
640 }
641
642 func (x *Key_PathElement) GetKind() string {
643 if x != nil {
644 return x.Kind
645 }
646 return ""
647 }
648
649 func (m *Key_PathElement) GetIdType() isKey_PathElement_IdType {
650 if m != nil {
651 return m.IdType
652 }
653 return nil
654 }
655
656 func (x *Key_PathElement) GetId() int64 {
657 if x, ok := x.GetIdType().(*Key_PathElement_Id); ok {
658 return x.Id
659 }
660 return 0
661 }
662
663 func (x *Key_PathElement) GetName() string {
664 if x, ok := x.GetIdType().(*Key_PathElement_Name); ok {
665 return x.Name
666 }
667 return ""
668 }
669
670 type isKey_PathElement_IdType interface {
671 isKey_PathElement_IdType()
672 }
673
674 type Key_PathElement_Id struct {
675
676
677
678
679 Id int64 `protobuf:"varint,2,opt,name=id,proto3,oneof"`
680 }
681
682 type Key_PathElement_Name struct {
683
684
685
686
687
688
689
690
691
692 Name string `protobuf:"bytes,3,opt,name=name,proto3,oneof"`
693 }
694
695 func (*Key_PathElement_Id) isKey_PathElement_IdType() {}
696
697 func (*Key_PathElement_Name) isKey_PathElement_IdType() {}
698
699 var File_google_datastore_v1_entity_proto protoreflect.FileDescriptor
700
701 var file_google_datastore_v1_entity_proto_rawDesc = []byte{
702 0x0a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f,
703 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f,
704 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73,
705 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
706 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e,
707 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
708 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
709 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74,
710 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
711 0x22, 0x70, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
712 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
713 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1f,
714 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
715 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12,
716 0x21, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18,
717 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
718 0x49, 0x64, 0x22, 0xda, 0x01, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x0c, 0x70, 0x61,
719 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
720 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74,
721 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
722 0x49, 0x64, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
723 0x38, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
724 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
725 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x45, 0x6c, 0x65, 0x6d,
726 0x65, 0x6e, 0x74, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x1a, 0x54, 0x0a, 0x0b, 0x50, 0x61, 0x74,
727 0x68, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64,
728 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x02,
729 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14,
730 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04,
731 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x69, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22,
732 0x40, 0x0a, 0x0a, 0x41, 0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x32, 0x0a,
733 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
734 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65,
735 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65,
736 0x73, 0x22, 0x9c, 0x05, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e,
737 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32,
738 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
739 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6e,
740 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x62, 0x6f, 0x6f, 0x6c,
741 0x65, 0x61, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48,
742 0x00, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
743 0x25, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
744 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65,
745 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
746 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b,
747 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x74,
748 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a,
749 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
750 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
751 0x48, 0x00, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x56, 0x61, 0x6c,
752 0x75, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
753 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
754 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x48,
755 0x00, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73,
756 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28,
757 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
758 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x12,
759 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x62, 0x56, 0x61, 0x6c, 0x75,
760 0x65, 0x12, 0x3d, 0x0a, 0x0f, 0x67, 0x65, 0x6f, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x76,
761 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f,
762 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x48,
763 0x00, 0x52, 0x0d, 0x67, 0x65, 0x6f, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
764 0x12, 0x40, 0x0a, 0x0c, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
765 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
766 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74,
767 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x56, 0x61, 0x6c,
768 0x75, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75,
769 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
770 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72,
771 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x72, 0x72, 0x61,
772 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x61, 0x6e, 0x69, 0x6e,
773 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x65, 0x61, 0x6e, 0x69, 0x6e, 0x67,
774 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d,
775 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,
776 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78,
777 0x65, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
778 0x22, 0xdc, 0x01, 0x0a, 0x06, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2a, 0x0a, 0x03, 0x6b,
779 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
780 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b,
781 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4b, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65,
782 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f,
783 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
784 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
785 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
786 0x74, 0x69, 0x65, 0x73, 0x1a, 0x59, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69,
787 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
788 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c,
789 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
790 0x65, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56,
791 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42,
792 0xbd, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
793 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x45, 0x6e, 0x74,
794 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x6f, 0x6f, 0x67,
795 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
796 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
797 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x64,
798 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
799 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72,
800 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
801 0x6f, 0x75, 0x64, 0x5c, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x56, 0x31,
802 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64,
803 0x3a, 0x3a, 0x44, 0x61, 0x74, 0x61, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62,
804 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
805 }
806
807 var (
808 file_google_datastore_v1_entity_proto_rawDescOnce sync.Once
809 file_google_datastore_v1_entity_proto_rawDescData = file_google_datastore_v1_entity_proto_rawDesc
810 )
811
812 func file_google_datastore_v1_entity_proto_rawDescGZIP() []byte {
813 file_google_datastore_v1_entity_proto_rawDescOnce.Do(func() {
814 file_google_datastore_v1_entity_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_datastore_v1_entity_proto_rawDescData)
815 })
816 return file_google_datastore_v1_entity_proto_rawDescData
817 }
818
819 var file_google_datastore_v1_entity_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
820 var file_google_datastore_v1_entity_proto_goTypes = []interface{}{
821 (*PartitionId)(nil),
822 (*Key)(nil),
823 (*ArrayValue)(nil),
824 (*Value)(nil),
825 (*Entity)(nil),
826 (*Key_PathElement)(nil),
827 nil,
828 (structpb.NullValue)(0),
829 (*timestamppb.Timestamp)(nil),
830 (*latlng.LatLng)(nil),
831 }
832 var file_google_datastore_v1_entity_proto_depIdxs = []int32{
833 0,
834 5,
835 3,
836 7,
837 8,
838 1,
839 9,
840 4,
841 2,
842 1,
843 6,
844 3,
845 12,
846 12,
847 12,
848 12,
849 0,
850 }
851
852 func init() { file_google_datastore_v1_entity_proto_init() }
853 func file_google_datastore_v1_entity_proto_init() {
854 if File_google_datastore_v1_entity_proto != nil {
855 return
856 }
857 if !protoimpl.UnsafeEnabled {
858 file_google_datastore_v1_entity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
859 switch v := v.(*PartitionId); i {
860 case 0:
861 return &v.state
862 case 1:
863 return &v.sizeCache
864 case 2:
865 return &v.unknownFields
866 default:
867 return nil
868 }
869 }
870 file_google_datastore_v1_entity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
871 switch v := v.(*Key); i {
872 case 0:
873 return &v.state
874 case 1:
875 return &v.sizeCache
876 case 2:
877 return &v.unknownFields
878 default:
879 return nil
880 }
881 }
882 file_google_datastore_v1_entity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
883 switch v := v.(*ArrayValue); i {
884 case 0:
885 return &v.state
886 case 1:
887 return &v.sizeCache
888 case 2:
889 return &v.unknownFields
890 default:
891 return nil
892 }
893 }
894 file_google_datastore_v1_entity_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
895 switch v := v.(*Value); i {
896 case 0:
897 return &v.state
898 case 1:
899 return &v.sizeCache
900 case 2:
901 return &v.unknownFields
902 default:
903 return nil
904 }
905 }
906 file_google_datastore_v1_entity_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
907 switch v := v.(*Entity); i {
908 case 0:
909 return &v.state
910 case 1:
911 return &v.sizeCache
912 case 2:
913 return &v.unknownFields
914 default:
915 return nil
916 }
917 }
918 file_google_datastore_v1_entity_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
919 switch v := v.(*Key_PathElement); i {
920 case 0:
921 return &v.state
922 case 1:
923 return &v.sizeCache
924 case 2:
925 return &v.unknownFields
926 default:
927 return nil
928 }
929 }
930 }
931 file_google_datastore_v1_entity_proto_msgTypes[3].OneofWrappers = []interface{}{
932 (*Value_NullValue)(nil),
933 (*Value_BooleanValue)(nil),
934 (*Value_IntegerValue)(nil),
935 (*Value_DoubleValue)(nil),
936 (*Value_TimestampValue)(nil),
937 (*Value_KeyValue)(nil),
938 (*Value_StringValue)(nil),
939 (*Value_BlobValue)(nil),
940 (*Value_GeoPointValue)(nil),
941 (*Value_EntityValue)(nil),
942 (*Value_ArrayValue)(nil),
943 }
944 file_google_datastore_v1_entity_proto_msgTypes[5].OneofWrappers = []interface{}{
945 (*Key_PathElement_Id)(nil),
946 (*Key_PathElement_Name)(nil),
947 }
948 type x struct{}
949 out := protoimpl.TypeBuilder{
950 File: protoimpl.DescBuilder{
951 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
952 RawDescriptor: file_google_datastore_v1_entity_proto_rawDesc,
953 NumEnums: 0,
954 NumMessages: 7,
955 NumExtensions: 0,
956 NumServices: 0,
957 },
958 GoTypes: file_google_datastore_v1_entity_proto_goTypes,
959 DependencyIndexes: file_google_datastore_v1_entity_proto_depIdxs,
960 MessageInfos: file_google_datastore_v1_entity_proto_msgTypes,
961 }.Build()
962 File_google_datastore_v1_entity_proto = out.File
963 file_google_datastore_v1_entity_proto_rawDesc = nil
964 file_google_datastore_v1_entity_proto_goTypes = nil
965 file_google_datastore_v1_entity_proto_depIdxs = nil
966 }
967
View as plain text