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