public enum ServingStatus extends java.lang.Enum<ServingStatus> implements ProtocolMessageEnum
Run states of a version.Protobuf enum
google.appengine.v1.ServingStatus| Enum Constant and Description |
|---|
SERVING
Currently serving.
|
SERVING_STATUS_UNSPECIFIED
Not specified.
|
STOPPED
Disabled.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SERVING_STATUS_UNSPECIFIED_VALUE
Not specified.
|
static int |
SERVING_VALUE
Currently serving.
|
static int |
STOPPED_VALUE
Disabled.
|
| Modifier and Type | Method and Description |
|---|---|
static ServingStatus |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ServingStatus> |
internalGetValueMap() |
static ServingStatus |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ServingStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServingStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServingStatus SERVING_STATUS_UNSPECIFIED
Not specified.
SERVING_STATUS_UNSPECIFIED = 0;public static final ServingStatus SERVING
Currently serving. Instances are created according to the scaling settings of the version.
SERVING = 1;public static final ServingStatus STOPPED
Disabled. No instances will be created and the scaling settings are ignored until the state of the version changes to `SERVING`.
STOPPED = 2;public static final ServingStatus UNRECOGNIZED
public static final int SERVING_STATUS_UNSPECIFIED_VALUE
Not specified.
SERVING_STATUS_UNSPECIFIED = 0;public static final int SERVING_VALUE
Currently serving. Instances are created according to the scaling settings of the version.
SERVING = 1;public static final int STOPPED_VALUE
Disabled. No instances will be created and the scaling settings are ignored until the state of the version changes to `SERVING`.
STOPPED = 2;public static ServingStatus[] values()
for (ServingStatus c : ServingStatus.values()) System.out.println(c);
public static ServingStatus 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.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static ServingStatus valueOf(int value)
forNumber(int) instead.public static ServingStatus forNumber(int value)
public static Internal.EnumLiteMap<ServingStatus> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static ServingStatus valueOf(Descriptors.EnumValueDescriptor desc)