Package com.google.cloud.notebooks.v1
Enum Runtime.State
- java.lang.Object
-
- java.lang.Enum<Runtime.State>
-
- com.google.cloud.notebooks.v1.Runtime.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Runtime.State>
- Enclosing class:
- Runtime
public static enum Runtime.State extends Enum<Runtime.State> implements com.google.protobuf.ProtocolMessageEnum
The definition of the states of this runtime.
Protobuf enumgoogle.cloud.notebooks.v1.Runtime.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The runtime is currently running.DELETING
The runtime is being deleted.INITIALIZING
The runtime is being created and set up.PROVISIONING
The compute layer is installing required frameworks and registering the runtime with notebook proxy.STARTING
The compute layer is starting the runtime.STATE_UNSPECIFIED
State is not specified.STOPPED
The runtime is stopped.STOPPING
The control logic is stopping the runtime.UNRECOGNIZED
UPGRADING
The runtime is upgrading.
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVE_VALUE
The runtime is currently running.static int
DELETING_VALUE
The runtime is being deleted.static int
INITIALIZING_VALUE
The runtime is being created and set up.static int
PROVISIONING_VALUE
The compute layer is installing required frameworks and registering the runtime with notebook proxy.static int
STARTING_VALUE
The compute layer is starting the runtime.static int
STATE_UNSPECIFIED_VALUE
State is not specified.static int
STOPPED_VALUE
The runtime is stopped.static int
STOPPING_VALUE
The control logic is stopping the runtime.static int
UPGRADING_VALUE
The runtime is upgrading.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Runtime.State
forNumber(int value)
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<Runtime.State>
internalGetValueMap()
static Runtime.State
valueOf(int value)
Deprecated.static Runtime.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Runtime.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static Runtime.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATE_UNSPECIFIED
public static final Runtime.State STATE_UNSPECIFIED
State is not specified.
STATE_UNSPECIFIED = 0;
-
STARTING
public static final Runtime.State STARTING
The compute layer is starting the runtime. It is not ready for use.
STARTING = 1;
-
PROVISIONING
public static final Runtime.State PROVISIONING
The compute layer is installing required frameworks and registering the runtime with notebook proxy. It cannot be used.
PROVISIONING = 2;
-
ACTIVE
public static final Runtime.State ACTIVE
The runtime is currently running. It is ready for use.
ACTIVE = 3;
-
STOPPING
public static final Runtime.State STOPPING
The control logic is stopping the runtime. It cannot be used.
STOPPING = 4;
-
STOPPED
public static final Runtime.State STOPPED
The runtime is stopped. It cannot be used.
STOPPED = 5;
-
DELETING
public static final Runtime.State DELETING
The runtime is being deleted. It cannot be used.
DELETING = 6;
-
UPGRADING
public static final Runtime.State UPGRADING
The runtime is upgrading. It cannot be used.
UPGRADING = 7;
-
INITIALIZING
public static final Runtime.State INITIALIZING
The runtime is being created and set up. It is not ready for use.
INITIALIZING = 8;
-
UNRECOGNIZED
public static final Runtime.State UNRECOGNIZED
-
-
Field Detail
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUE
State is not specified.
STATE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
STARTING_VALUE
public static final int STARTING_VALUE
The compute layer is starting the runtime. It is not ready for use.
STARTING = 1;
- See Also:
- Constant Field Values
-
PROVISIONING_VALUE
public static final int PROVISIONING_VALUE
The compute layer is installing required frameworks and registering the runtime with notebook proxy. It cannot be used.
PROVISIONING = 2;
- See Also:
- Constant Field Values
-
ACTIVE_VALUE
public static final int ACTIVE_VALUE
The runtime is currently running. It is ready for use.
ACTIVE = 3;
- See Also:
- Constant Field Values
-
STOPPING_VALUE
public static final int STOPPING_VALUE
The control logic is stopping the runtime. It cannot be used.
STOPPING = 4;
- See Also:
- Constant Field Values
-
STOPPED_VALUE
public static final int STOPPED_VALUE
The runtime is stopped. It cannot be used.
STOPPED = 5;
- See Also:
- Constant Field Values
-
DELETING_VALUE
public static final int DELETING_VALUE
The runtime is being deleted. It cannot be used.
DELETING = 6;
- See Also:
- Constant Field Values
-
UPGRADING_VALUE
public static final int UPGRADING_VALUE
The runtime is upgrading. It cannot be used.
UPGRADING = 7;
- See Also:
- Constant Field Values
-
INITIALIZING_VALUE
public static final int INITIALIZING_VALUE
The runtime is being created and set up. It is not ready for use.
INITIALIZING = 8;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Runtime.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Runtime.State c : Runtime.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Runtime.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Runtime.State valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static Runtime.State forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Runtime.State> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Runtime.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-