Debian Codegraph @

googleapis/datastore/v1beta3/entity.pb.go

raw
1 // Copyright 2018 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/datastore/v1beta3/entity.proto
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 // Verify that this generated code is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38 // Verify that runtime/protoimpl is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40 )
41
42 // A partition ID identifies a grouping of entities. The grouping is always
43 // by project and namespace, however the namespace ID may be empty.
44 //
45 // A partition ID contains several dimensions:
46 // project ID and namespace ID.
47 //
48 // Partition dimensions:
49 //
50 // - May be `""`.
51 // - Must be valid UTF-8 bytes.
52 // - Must have values that match regex `[A-Za-z\d\.\-_]{1,100}`
53 // If the value of any dimension matches regex `__.*__`, the partition is
54 // reserved/read-only.
55 // A reserved/read-only partition ID is forbidden in certain documented
56 // contexts.
57 //
58 // Foreign partition IDs (in which the project ID does
59 // not match the context project ID ) are discouraged.
60 // Reads and writes of foreign partition IDs may fail if the project is not in
61 // an active state.
62 type PartitionId struct {
63 state protoimpl.MessageState
64 sizeCache protoimpl.SizeCache
65 unknownFields protoimpl.UnknownFields
66
67 // The ID of the project to which the entities belong.
68 ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
69 // If not empty, the ID of the namespace to which the entities belong.
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 // Deprecated: Use PartitionId.ProtoReflect.Descriptor instead.
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 // A unique identifier for an entity.
120 // If a key's partition ID or any of its path kinds or names are
121 // reserved/read-only, the key is reserved/read-only.
122 // A reserved/read-only key is forbidden in certain documented contexts.
123 type Key struct {
124 state protoimpl.MessageState
125 sizeCache protoimpl.SizeCache
126 unknownFields protoimpl.UnknownFields
127
128 // Entities are partitioned into subsets, currently identified by a project
129 // ID and namespace ID.
130 // Queries are scoped to a single partition.
131 PartitionId *PartitionId `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
132 // The entity path.
133 // An entity path consists of one or more elements composed of a kind and a
134 // string or numerical identifier, which identify entities. The first
135 // element identifies a _root entity_, the second element identifies
136 // a _child_ of the root entity, the third element identifies a child of the
137 // second entity, and so forth. The entities identified by all prefixes of
138 // the path are called the element's _ancestors_.
139 //
140 // An entity path is always fully complete: *all* of the entity's ancestors
141 // are required to be in the path along with the entity identifier itself.
142 // The only exception is that in some documented cases, the identifier in the
143 // last path element (for the entity) itself may be omitted. For example,
144 // the last path element of the key of `Mutation.insert` may have no
145 // identifier.
146 //
147 // A path can never be empty, and a path can have at most 100 elements.
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 // Deprecated: Use Key.ProtoReflect.Descriptor instead.
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 // An array value.
198 type ArrayValue struct {
199 state protoimpl.MessageState
200 sizeCache protoimpl.SizeCache
201 unknownFields protoimpl.UnknownFields
202
203 // Values in the array.
204 // The order of this array may not be preserved if it contains a mix of
205 // indexed and unindexed values.
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 // Deprecated: Use ArrayValue.ProtoReflect.Descriptor instead.
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 // A message that can hold any of the supported value types and associated
249 // metadata.
250 type Value struct {
251 state protoimpl.MessageState
252 sizeCache protoimpl.SizeCache
253 unknownFields protoimpl.UnknownFields
254
255 // Must have a value set.
256 //
257 // Types that are assignable to ValueType:
258 // *Value_NullValue
259 // *Value_BooleanValue
260 // *Value_IntegerValue
261 // *Value_DoubleValue
262 // *Value_TimestampValue
263 // *Value_KeyValue
264 // *Value_StringValue
265 // *Value_BlobValue
266 // *Value_GeoPointValue
267 // *Value_EntityValue
268 // *Value_ArrayValue
269 ValueType isValue_ValueType `protobuf_oneof:"value_type"`
270 // The `meaning` field should only be populated for backwards compatibility.
271 Meaning int32 `protobuf:"varint,14,opt,name=meaning,proto3" json:"meaning,omitempty"`
272 // If the value should be excluded from all indexes including those defined
273 // explicitly.
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 // Deprecated: Use Value.ProtoReflect.Descriptor instead.
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 // A null value.
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 // A boolean value.
418 BooleanValue bool `protobuf:"varint,1,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
419 }
420
421 type Value_IntegerValue struct {
422 // An integer value.
423 IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
424 }
425
426 type Value_DoubleValue struct {
427 // A double value.
428 DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
429 }
430
431 type Value_TimestampValue struct {
432 // A timestamp value.
433 // When stored in the Datastore, precise only to microseconds;
434 // any additional precision is rounded down.
435 TimestampValue *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
436 }
437
438 type Value_KeyValue struct {
439 // A key value.
440 KeyValue *Key `protobuf:"bytes,5,opt,name=key_value,json=keyValue,proto3,oneof"`
441 }
442
443 type Value_StringValue struct {
444 // A UTF-8 encoded string value.
445 // When `exclude_from_indexes` is false (it is indexed), may have at most
446 // 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
447 StringValue string `protobuf:"bytes,17,opt,name=string_value,json=stringValue,proto3,oneof"`
448 }
449
450 type Value_BlobValue struct {
451 // A blob value.
452 // May have at most 1,000,000 bytes.
453 // When `exclude_from_indexes` is false, may have at most 1500 bytes.
454 // In JSON requests, must be base64-encoded.
455 BlobValue []byte `protobuf:"bytes,18,opt,name=blob_value,json=blobValue,proto3,oneof"`
456 }
457
458 type Value_GeoPointValue struct {
459 // A geo point value representing a point on the surface of Earth.
460 GeoPointValue *latlng.LatLng `protobuf:"bytes,8,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"`
461 }
462
463 type Value_EntityValue struct {
464 // An entity value.
465 //
466 // - May have no key.
467 // - May have a key with an incomplete key path.
468 // - May have a reserved/read-only key.
469 EntityValue *Entity `protobuf:"bytes,6,opt,name=entity_value,json=entityValue,proto3,oneof"`
470 }
471
472 type Value_ArrayValue struct {
473 // An array value.
474 // Cannot contain another array value.
475 // A `Value` instance that sets field `array_value` must not set fields
476 // `meaning` or `exclude_from_indexes`.
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 // A Datastore data object.
503 //
504 // An entity is limited to 1 megabyte when stored. That _roughly_
505 // corresponds to a limit of 1 megabyte for the serialized form of this
506 // message.
507 type Entity struct {
508 state protoimpl.MessageState
509 sizeCache protoimpl.SizeCache
510 unknownFields protoimpl.UnknownFields
511
512 // The entity's key.
513 //
514 // An entity must have a key, unless otherwise documented (for example,
515 // an entity in `Value.entity_value` may have no key).
516 // An entity's kind is its key path's last element's kind,
517 // or null if it has no key.
518 Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
519 // The entity's properties.
520 // The map's keys are property names.
521 // A property name matching regex `__.*__` is reserved.
522 // A reserved property name is forbidden in certain documented contexts.
523 // The name must not contain more than 500 characters.
524 // The name cannot be `""`.
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 // Deprecated: Use Entity.ProtoReflect.Descriptor instead.
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 // A (kind, ID/name) pair used to construct a key path.
575 //
576 // If either name or ID is set, the element is complete.
577 // If neither is set, the element is incomplete.
578 type Key_PathElement struct {
579 state protoimpl.MessageState
580 sizeCache protoimpl.SizeCache
581 unknownFields protoimpl.UnknownFields
582
583 // The kind of the entity.
584 // A kind matching regex `__.*__` is reserved/read-only.
585 // A kind must not contain more than 1500 bytes when UTF-8 encoded.
586 // Cannot be `""`.
587 Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
588 // The type of ID.
589 //
590 // Types that are assignable to IdType:
591 // *Key_PathElement_Id
592 // *Key_PathElement_Name
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 // Deprecated: Use Key_PathElement.ProtoReflect.Descriptor instead.
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 // The auto-allocated ID of the entity.
662 // Never equal to zero. Values less than zero are discouraged and may not
663 // be supported in the future.
664 Id int64 `protobuf:"varint,2,opt,name=id,proto3,oneof"`
665 }
666
667 type Key_PathElement_Name struct {
668 // The name of the entity.
669 // A name matching regex `__.*__` is reserved/read-only.
670 // A name must not be more than 1500 bytes when UTF-8 encoded.
671 // Cannot be `""`.
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), // 0: google.datastore.v1beta3.PartitionId
807 (*Key)(nil), // 1: google.datastore.v1beta3.Key
808 (*ArrayValue)(nil), // 2: google.datastore.v1beta3.ArrayValue
809 (*Value)(nil), // 3: google.datastore.v1beta3.Value
810 (*Entity)(nil), // 4: google.datastore.v1beta3.Entity
811 (*Key_PathElement)(nil), // 5: google.datastore.v1beta3.Key.PathElement
812 nil, // 6: google.datastore.v1beta3.Entity.PropertiesEntry
813 (structpb.NullValue)(0), // 7: google.protobuf.NullValue
814 (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
815 (*latlng.LatLng)(nil), // 9: google.type.LatLng
816 }
817 var file_google_datastore_v1beta3_entity_proto_depIdxs = []int32{
818 0, // 0: google.datastore.v1beta3.Key.partition_id:type_name -> google.datastore.v1beta3.PartitionId
819 5, // 1: google.datastore.v1beta3.Key.path:type_name -> google.datastore.v1beta3.Key.PathElement
820 3, // 2: google.datastore.v1beta3.ArrayValue.values:type_name -> google.datastore.v1beta3.Value
821 7, // 3: google.datastore.v1beta3.Value.null_value:type_name -> google.protobuf.NullValue
822 8, // 4: google.datastore.v1beta3.Value.timestamp_value:type_name -> google.protobuf.Timestamp
823 1, // 5: google.datastore.v1beta3.Value.key_value:type_name -> google.datastore.v1beta3.Key
824 9, // 6: google.datastore.v1beta3.Value.geo_point_value:type_name -> google.type.LatLng
825 4, // 7: google.datastore.v1beta3.Value.entity_value:type_name -> google.datastore.v1beta3.Entity
826 2, // 8: google.datastore.v1beta3.Value.array_value:type_name -> google.datastore.v1beta3.ArrayValue
827 1, // 9: google.datastore.v1beta3.Entity.key:type_name -> google.datastore.v1beta3.Key
828 6, // 10: google.datastore.v1beta3.Entity.properties:type_name -> google.datastore.v1beta3.Entity.PropertiesEntry
829 3, // 11: google.datastore.v1beta3.Entity.PropertiesEntry.value:type_name -> google.datastore.v1beta3.Value
830 12, // [12:12] is the sub-list for method output_type
831 12, // [12:12] is the sub-list for method input_type
832 12, // [12:12] is the sub-list for extension type_name
833 12, // [12:12] is the sub-list for extension extendee
834 0, // [0:12] is the sub-list for field type_name
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 }