public static enum DatastoreV1.EntityResult.ResultType extends Enum<DatastoreV1.EntityResult.ResultType> implements com.google.protobuf.ProtocolMessageEnum
api.services.datastore.EntityResult.ResultType
Specifies what data the 'entity' field contains. A ResultType is either implied (for example, in LookupResponse.found it is always FULL) or specified by context (for example, in message QueryResultBatch, field 'entity_result_type' specifies a ResultType for all the values in field 'entity_result').
Enum Constant and Description |
---|
FULL
FULL = 1; |
KEY_ONLY
KEY_ONLY = 3; |
PROJECTION
PROJECTION = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
FULL_VALUE
FULL = 1; |
static int |
KEY_ONLY_VALUE
KEY_ONLY = 3; |
static int |
PROJECTION_VALUE
PROJECTION = 2; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DatastoreV1.EntityResult.ResultType> |
internalGetValueMap() |
static DatastoreV1.EntityResult.ResultType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DatastoreV1.EntityResult.ResultType |
valueOf(int value) |
static DatastoreV1.EntityResult.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatastoreV1.EntityResult.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatastoreV1.EntityResult.ResultType FULL
FULL = 1;
The entire entity.
public static final DatastoreV1.EntityResult.ResultType PROJECTION
PROJECTION = 2;
A projected subset of properties.
public static final DatastoreV1.EntityResult.ResultType KEY_ONLY
KEY_ONLY = 3;
The entity may have no key. A property value may have meaning 18.
public static final int FULL_VALUE
FULL = 1;
The entire entity.
public static final int PROJECTION_VALUE
PROJECTION = 2;
A projected subset of properties.
public static final int KEY_ONLY_VALUE
KEY_ONLY = 3;
The entity may have no key. A property value may have meaning 18.
public static DatastoreV1.EntityResult.ResultType[] values()
for (DatastoreV1.EntityResult.ResultType c : DatastoreV1.EntityResult.ResultType.values()) System.out.println(c);
public static DatastoreV1.EntityResult.ResultType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static DatastoreV1.EntityResult.ResultType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<DatastoreV1.EntityResult.ResultType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DatastoreV1.EntityResult.ResultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013. All Rights Reserved.