...

Source file src/google.golang.org/genproto/googleapis/datastore/v1/entity.pb.go

Documentation: google.golang.org/genproto/googleapis/datastore/v1

     1  // Copyright 2024 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v4.24.4
    19  // source: google/datastore/v1/entity.proto
    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  	// Verify that this generated code is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    37  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    39  )
    40  
    41  // A partition ID identifies a grouping of entities. The grouping is always
    42  // by project and namespace, however the namespace ID may be empty.
    43  //
    44  // A partition ID contains several dimensions:
    45  // project ID and namespace ID.
    46  //
    47  // Partition dimensions:
    48  //
    49  // - May be `""`.
    50  // - Must be valid UTF-8 bytes.
    51  // - Must have values that match regex `[A-Za-z\d\.\-_]{1,100}`
    52  // If the value of any dimension matches regex `__.*__`, the partition is
    53  // reserved/read-only.
    54  // A reserved/read-only partition ID is forbidden in certain documented
    55  // contexts.
    56  //
    57  // Foreign partition IDs (in which the project ID does
    58  // not match the context project ID ) are discouraged.
    59  // Reads and writes of foreign partition IDs may fail if the project is not in
    60  // an active state.
    61  type PartitionId struct {
    62  	state         protoimpl.MessageState
    63  	sizeCache     protoimpl.SizeCache
    64  	unknownFields protoimpl.UnknownFields
    65  
    66  	// The ID of the project to which the entities belong.
    67  	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    68  	// If not empty, the ID of the database to which the entities
    69  	// belong.
    70  	DatabaseId string `protobuf:"bytes,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
    71  	// If not empty, the ID of the namespace to which the entities belong.
    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  // Deprecated: Use PartitionId.ProtoReflect.Descriptor instead.
   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  // A unique identifier for an entity.
   129  // If a key's partition ID or any of its path kinds or names are
   130  // reserved/read-only, the key is reserved/read-only.
   131  // A reserved/read-only key is forbidden in certain documented contexts.
   132  type Key struct {
   133  	state         protoimpl.MessageState
   134  	sizeCache     protoimpl.SizeCache
   135  	unknownFields protoimpl.UnknownFields
   136  
   137  	// Entities are partitioned into subsets, currently identified by a project
   138  	// ID and namespace ID.
   139  	// Queries are scoped to a single partition.
   140  	PartitionId *PartitionId `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
   141  	// The entity path.
   142  	// An entity path consists of one or more elements composed of a kind and a
   143  	// string or numerical identifier, which identify entities. The first
   144  	// element identifies a _root entity_, the second element identifies
   145  	// a _child_ of the root entity, the third element identifies a child of the
   146  	// second entity, and so forth. The entities identified by all prefixes of
   147  	// the path are called the element's _ancestors_.
   148  	//
   149  	// An entity path is always fully complete: *all* of the entity's ancestors
   150  	// are required to be in the path along with the entity identifier itself.
   151  	// The only exception is that in some documented cases, the identifier in the
   152  	// last path element (for the entity) itself may be omitted. For example,
   153  	// the last path element of the key of `Mutation.insert` may have no
   154  	// identifier.
   155  	//
   156  	// A path can never be empty, and a path can have at most 100 elements.
   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  // Deprecated: Use Key.ProtoReflect.Descriptor instead.
   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  // An array value.
   207  type ArrayValue struct {
   208  	state         protoimpl.MessageState
   209  	sizeCache     protoimpl.SizeCache
   210  	unknownFields protoimpl.UnknownFields
   211  
   212  	// Values in the array.
   213  	// The order of values in an array is preserved as long as all values have
   214  	// identical settings for 'exclude_from_indexes'.
   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  // Deprecated: Use ArrayValue.ProtoReflect.Descriptor instead.
   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  // A message that can hold any of the supported value types and associated
   258  // metadata.
   259  type Value struct {
   260  	state         protoimpl.MessageState
   261  	sizeCache     protoimpl.SizeCache
   262  	unknownFields protoimpl.UnknownFields
   263  
   264  	// Must have a value set.
   265  	//
   266  	// Types that are assignable to ValueType:
   267  	//
   268  	//	*Value_NullValue
   269  	//	*Value_BooleanValue
   270  	//	*Value_IntegerValue
   271  	//	*Value_DoubleValue
   272  	//	*Value_TimestampValue
   273  	//	*Value_KeyValue
   274  	//	*Value_StringValue
   275  	//	*Value_BlobValue
   276  	//	*Value_GeoPointValue
   277  	//	*Value_EntityValue
   278  	//	*Value_ArrayValue
   279  	ValueType isValue_ValueType `protobuf_oneof:"value_type"`
   280  	// The `meaning` field should only be populated for backwards compatibility.
   281  	Meaning int32 `protobuf:"varint,14,opt,name=meaning,proto3" json:"meaning,omitempty"`
   282  	// If the value should be excluded from all indexes including those defined
   283  	// explicitly.
   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  // Deprecated: Use Value.ProtoReflect.Descriptor instead.
   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  	// A null value.
   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  	// A boolean value.
   428  	BooleanValue bool `protobuf:"varint,1,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
   429  }
   430  
   431  type Value_IntegerValue struct {
   432  	// An integer value.
   433  	IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
   434  }
   435  
   436  type Value_DoubleValue struct {
   437  	// A double value.
   438  	DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
   439  }
   440  
   441  type Value_TimestampValue struct {
   442  	// A timestamp value.
   443  	// When stored in the Datastore, precise only to microseconds;
   444  	// any additional precision is rounded down.
   445  	TimestampValue *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
   446  }
   447  
   448  type Value_KeyValue struct {
   449  	// A key value.
   450  	KeyValue *Key `protobuf:"bytes,5,opt,name=key_value,json=keyValue,proto3,oneof"`
   451  }
   452  
   453  type Value_StringValue struct {
   454  	// A UTF-8 encoded string value.
   455  	// When `exclude_from_indexes` is false (it is indexed) , may have at most
   456  	// 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
   457  	StringValue string `protobuf:"bytes,17,opt,name=string_value,json=stringValue,proto3,oneof"`
   458  }
   459  
   460  type Value_BlobValue struct {
   461  	// A blob value.
   462  	// May have at most 1,000,000 bytes.
   463  	// When `exclude_from_indexes` is false, may have at most 1500 bytes.
   464  	// In JSON requests, must be base64-encoded.
   465  	BlobValue []byte `protobuf:"bytes,18,opt,name=blob_value,json=blobValue,proto3,oneof"`
   466  }
   467  
   468  type Value_GeoPointValue struct {
   469  	// A geo point value representing a point on the surface of Earth.
   470  	GeoPointValue *latlng.LatLng `protobuf:"bytes,8,opt,name=geo_point_value,json=geoPointValue,proto3,oneof"`
   471  }
   472  
   473  type Value_EntityValue struct {
   474  	// An entity value.
   475  	//
   476  	// - May have no key.
   477  	// - May have a key with an incomplete key path.
   478  	// - May have a reserved/read-only key.
   479  	EntityValue *Entity `protobuf:"bytes,6,opt,name=entity_value,json=entityValue,proto3,oneof"`
   480  }
   481  
   482  type Value_ArrayValue struct {
   483  	// An array value.
   484  	// Cannot contain another array value.
   485  	// A `Value` instance that sets field `array_value` must not set fields
   486  	// `meaning` or `exclude_from_indexes`.
   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  // A Datastore data object.
   513  //
   514  // Must not exceed 1 MiB - 4 bytes.
   515  type Entity struct {
   516  	state         protoimpl.MessageState
   517  	sizeCache     protoimpl.SizeCache
   518  	unknownFields protoimpl.UnknownFields
   519  
   520  	// The entity's key.
   521  	//
   522  	// An entity must have a key, unless otherwise documented (for example,
   523  	// an entity in `Value.entity_value` may have no key).
   524  	// An entity's kind is its key path's last element's kind,
   525  	// or null if it has no key.
   526  	Key *Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   527  	// The entity's properties.
   528  	// The map's keys are property names.
   529  	// A property name matching regex `__.*__` is reserved.
   530  	// A reserved property name is forbidden in certain documented contexts.
   531  	// The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot
   532  	// be empty.
   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  // Deprecated: Use Entity.ProtoReflect.Descriptor instead.
   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  // A (kind, ID/name) pair used to construct a key path.
   583  //
   584  // If either name or ID is set, the element is complete.
   585  // If neither is set, the element is incomplete.
   586  type Key_PathElement struct {
   587  	state         protoimpl.MessageState
   588  	sizeCache     protoimpl.SizeCache
   589  	unknownFields protoimpl.UnknownFields
   590  
   591  	// The kind of the entity.
   592  	//
   593  	// A kind matching regex `__.*__` is reserved/read-only.
   594  	// A kind must not contain more than 1500 bytes when UTF-8 encoded.
   595  	// Cannot be `""`.
   596  	//
   597  	// Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are
   598  	// encoded as `__bytes<X>__` where `<X>` is the base-64 encoding of the
   599  	// bytes.
   600  	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
   601  	// The type of ID.
   602  	//
   603  	// Types that are assignable to IdType:
   604  	//
   605  	//	*Key_PathElement_Id
   606  	//	*Key_PathElement_Name
   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  // Deprecated: Use Key_PathElement.ProtoReflect.Descriptor instead.
   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  	// The auto-allocated ID of the entity.
   676  	//
   677  	// Never equal to zero. Values less than zero are discouraged and may not
   678  	// be supported in the future.
   679  	Id int64 `protobuf:"varint,2,opt,name=id,proto3,oneof"`
   680  }
   681  
   682  type Key_PathElement_Name struct {
   683  	// The name of the entity.
   684  	//
   685  	// A name matching regex `__.*__` is reserved/read-only.
   686  	// A name must not be more than 1500 bytes when UTF-8 encoded.
   687  	// Cannot be `""`.
   688  	//
   689  	// Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are
   690  	// encoded as `__bytes<X>__` where `<X>` is the base-64 encoding of the
   691  	// bytes.
   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),           // 0: google.datastore.v1.PartitionId
   822  	(*Key)(nil),                   // 1: google.datastore.v1.Key
   823  	(*ArrayValue)(nil),            // 2: google.datastore.v1.ArrayValue
   824  	(*Value)(nil),                 // 3: google.datastore.v1.Value
   825  	(*Entity)(nil),                // 4: google.datastore.v1.Entity
   826  	(*Key_PathElement)(nil),       // 5: google.datastore.v1.Key.PathElement
   827  	nil,                           // 6: google.datastore.v1.Entity.PropertiesEntry
   828  	(structpb.NullValue)(0),       // 7: google.protobuf.NullValue
   829  	(*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
   830  	(*latlng.LatLng)(nil),         // 9: google.type.LatLng
   831  }
   832  var file_google_datastore_v1_entity_proto_depIdxs = []int32{
   833  	0,  // 0: google.datastore.v1.Key.partition_id:type_name -> google.datastore.v1.PartitionId
   834  	5,  // 1: google.datastore.v1.Key.path:type_name -> google.datastore.v1.Key.PathElement
   835  	3,  // 2: google.datastore.v1.ArrayValue.values:type_name -> google.datastore.v1.Value
   836  	7,  // 3: google.datastore.v1.Value.null_value:type_name -> google.protobuf.NullValue
   837  	8,  // 4: google.datastore.v1.Value.timestamp_value:type_name -> google.protobuf.Timestamp
   838  	1,  // 5: google.datastore.v1.Value.key_value:type_name -> google.datastore.v1.Key
   839  	9,  // 6: google.datastore.v1.Value.geo_point_value:type_name -> google.type.LatLng
   840  	4,  // 7: google.datastore.v1.Value.entity_value:type_name -> google.datastore.v1.Entity
   841  	2,  // 8: google.datastore.v1.Value.array_value:type_name -> google.datastore.v1.ArrayValue
   842  	1,  // 9: google.datastore.v1.Entity.key:type_name -> google.datastore.v1.Key
   843  	6,  // 10: google.datastore.v1.Entity.properties:type_name -> google.datastore.v1.Entity.PropertiesEntry
   844  	3,  // 11: google.datastore.v1.Entity.PropertiesEntry.value:type_name -> google.datastore.v1.Value
   845  	12, // [12:12] is the sub-list for method output_type
   846  	12, // [12:12] is the sub-list for method input_type
   847  	12, // [12:12] is the sub-list for extension type_name
   848  	12, // [12:12] is the sub-list for extension extendee
   849  	0,  // [0:12] is the sub-list for field type_name
   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