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 ACTIVEThe runtime is currently running.DELETINGThe runtime is being deleted.INITIALIZINGThe runtime is being created and set up.PROVISIONINGThe compute layer is installing required frameworks and registering the runtime with notebook proxy.STARTINGThe compute layer is starting the runtime.STATE_UNSPECIFIEDState is not specified.STOPPEDThe runtime is stopped.STOPPINGThe control logic is stopping the runtime.UNRECOGNIZEDUPGRADINGThe runtime is upgrading.
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_VALUEThe runtime is currently running.static intDELETING_VALUEThe runtime is being deleted.static intINITIALIZING_VALUEThe runtime is being created and set up.static intPROVISIONING_VALUEThe compute layer is installing required frameworks and registering the runtime with notebook proxy.static intSTARTING_VALUEThe compute layer is starting the runtime.static intSTATE_UNSPECIFIED_VALUEState is not specified.static intSTOPPED_VALUEThe runtime is stopped.static intSTOPPING_VALUEThe control logic is stopping the runtime.static intUPGRADING_VALUEThe runtime is upgrading.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Runtime.StateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Runtime.State>internalGetValueMap()static Runtime.StatevalueOf(int value)Deprecated.static Runtime.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Runtime.StatevalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-