Enum EntityResult.ResultType (2.20.2)

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

ProtocolMessageEnum

Static Fields

Name Description
FULL

The key and properties.

FULL = 1;

FULL_VALUE

The key and properties.

FULL = 1;

KEY_ONLY

Only the key.

KEY_ONLY = 3;

KEY_ONLY_VALUE

Only the key.

KEY_ONLY = 3;

PROJECTION

A projected subset of properties. The entity may have no key.

PROJECTION = 2;

PROJECTION_VALUE

A projected subset of properties. The entity may have no key.

PROJECTION = 2;

RESULT_TYPE_UNSPECIFIED

Unspecified. This value is never used.

RESULT_TYPE_UNSPECIFIED = 0;

RESULT_TYPE_UNSPECIFIED_VALUE

Unspecified. This value is never used.

RESULT_TYPE_UNSPECIFIED = 0;

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()