public static enum DocumentTransform.FieldTransform.ServerValue extends java.lang.Enum<DocumentTransform.FieldTransform.ServerValue> implements ProtocolMessageEnum
A value that is calculated by the server.Protobuf enum
google.firestore.v1beta1.DocumentTransform.FieldTransform.ServerValue
Enum Constant and Description |
---|
REQUEST_TIME
The time at which the server processed the request, with millisecond
precision.
|
SERVER_VALUE_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_TIME_VALUE
The time at which the server processed the request, with millisecond
precision.
|
static int |
SERVER_VALUE_UNSPECIFIED_VALUE
Unspecified.
|
Modifier and Type | Method and Description |
---|---|
static DocumentTransform.FieldTransform.ServerValue |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<DocumentTransform.FieldTransform.ServerValue> |
internalGetValueMap() |
static DocumentTransform.FieldTransform.ServerValue |
valueOf(Descriptors.EnumValueDescriptor desc) |
static DocumentTransform.FieldTransform.ServerValue |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DocumentTransform.FieldTransform.ServerValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentTransform.FieldTransform.ServerValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentTransform.FieldTransform.ServerValue SERVER_VALUE_UNSPECIFIED
Unspecified. This value must not be used.
SERVER_VALUE_UNSPECIFIED = 0;
public static final DocumentTransform.FieldTransform.ServerValue REQUEST_TIME
The time at which the server processed the request, with millisecond precision.
REQUEST_TIME = 1;
public static final DocumentTransform.FieldTransform.ServerValue UNRECOGNIZED
public static final int SERVER_VALUE_UNSPECIFIED_VALUE
Unspecified. This value must not be used.
SERVER_VALUE_UNSPECIFIED = 0;
public static final int REQUEST_TIME_VALUE
The time at which the server processed the request, with millisecond precision.
REQUEST_TIME = 1;
public static DocumentTransform.FieldTransform.ServerValue[] values()
for (DocumentTransform.FieldTransform.ServerValue c : DocumentTransform.FieldTransform.ServerValue.values()) System.out.println(c);
public static DocumentTransform.FieldTransform.ServerValue valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static DocumentTransform.FieldTransform.ServerValue valueOf(int value)
forNumber(int)
instead.public static DocumentTransform.FieldTransform.ServerValue forNumber(int value)
public static Internal.EnumLiteMap<DocumentTransform.FieldTransform.ServerValue> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static DocumentTransform.FieldTransform.ServerValue valueOf(Descriptors.EnumValueDescriptor desc)