public enum EntityResult.ResultType extends Enum<EntityResult.ResultType> implements ProtocolMessageEnum
Specifies what data the 'entity' field contains.
A ResultType
is either implied (for example, in LookupResponse.missing
from datastore.proto
, it is always KEY_ONLY
) or specified by context
(for example, in message QueryResultBatch
, field entity_result_type
specifies a ResultType
for all the values in field entity_results
).
Protobuf enum google.datastore.v1.EntityResult.ResultType
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
FULL | The key and properties. |
FULL_VALUE | The key and properties. |
KEY_ONLY | Only the key. |
KEY_ONLY_VALUE | Only the key. |
PROJECTION | A projected subset of properties. The entity may have no key. |
PROJECTION_VALUE | A projected subset of properties. The entity may have no key. |
RESULT_TYPE_UNSPECIFIED | Unspecified. This value is never used. |
RESULT_TYPE_UNSPECIFIED_VALUE | Unspecified. This value is never used. |
UNRECOGNIZED |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |