public interface EntityOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsProperties(String key)
The entity's properties.
|
Key |
getKey()
The entity's key.
|
KeyOrBuilder |
getKeyOrBuilder()
The entity's key.
|
Map<String,Value> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
The entity's properties.
|
Map<String,Value> |
getPropertiesMap()
The entity's properties.
|
Value |
getPropertiesOrDefault(String key,
Value defaultValue)
The entity's properties.
|
Value |
getPropertiesOrThrow(String key)
The entity's properties.
|
boolean |
hasKey()
The entity's key.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasKey()
The entity's key. An entity must have a key, unless otherwise documented (for example, an entity in `Value.entity_value` may have no key). An entity's kind is its key path's last element's kind, or null if it has no key.
.google.datastore.v1.Key key = 1;
Key getKey()
The entity's key. An entity must have a key, unless otherwise documented (for example, an entity in `Value.entity_value` may have no key). An entity's kind is its key path's last element's kind, or null if it has no key.
.google.datastore.v1.Key key = 1;
KeyOrBuilder getKeyOrBuilder()
The entity's key. An entity must have a key, unless otherwise documented (for example, an entity in `Value.entity_value` may have no key). An entity's kind is its key path's last element's kind, or null if it has no key.
.google.datastore.v1.Key key = 1;
int getPropertiesCount()
The entity's properties. The map's keys are property names. A property name matching regex `__.*__` is reserved. A reserved property name is forbidden in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.
map<string, .google.datastore.v1.Value> properties = 3;
boolean containsProperties(String key)
The entity's properties. The map's keys are property names. A property name matching regex `__.*__` is reserved. A reserved property name is forbidden in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.
map<string, .google.datastore.v1.Value> properties = 3;
@Deprecated Map<String,Value> getProperties()
getPropertiesMap()
instead.Map<String,Value> getPropertiesMap()
The entity's properties. The map's keys are property names. A property name matching regex `__.*__` is reserved. A reserved property name is forbidden in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.
map<string, .google.datastore.v1.Value> properties = 3;
Value getPropertiesOrDefault(String key, Value defaultValue)
The entity's properties. The map's keys are property names. A property name matching regex `__.*__` is reserved. A reserved property name is forbidden in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.
map<string, .google.datastore.v1.Value> properties = 3;
Value getPropertiesOrThrow(String key)
The entity's properties. The map's keys are property names. A property name matching regex `__.*__` is reserved. A reserved property name is forbidden in certain documented contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.
map<string, .google.datastore.v1.Value> properties = 3;
Copyright © 2023 Google LLC. All rights reserved.