Package com.google.cloud.notebooks.v1
Enum Instance.State
- java.lang.Object
-
- java.lang.Enum<Instance.State>
-
- com.google.cloud.notebooks.v1.Instance.State
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Instance.State>
- Enclosing class:
- Instance
public static enum Instance.State extends Enum<Instance.State> implements com.google.protobuf.ProtocolMessageEnum
The definition of the states of this instance.
Protobuf enumgoogle.cloud.notebooks.v1.Instance.State
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The instance is running.DELETED
The instance is deleted.INITIALIZING
The instance is being created.PROVISIONING
The control logic is installing required frameworks and registering the instance with notebook proxyREGISTERING
The instance is getting registered.STARTING
The control logic is starting the instance.STATE_UNSPECIFIED
State is not specified.STOPPED
The instance is stopped.STOPPING
The control logic is stopping the instance.SUSPENDED
The instance is suspended.SUSPENDING
The instance is suspending.UNRECOGNIZED
UPGRADING
The instance is upgrading.
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVE_VALUE
The instance is running.static int
DELETED_VALUE
The instance is deleted.static int
INITIALIZING_VALUE
The instance is being created.static int
PROVISIONING_VALUE
The control logic is installing required frameworks and registering the instance with notebook proxystatic int
REGISTERING_VALUE
The instance is getting registered.static int
STARTING_VALUE
The control logic is starting the instance.static int
STATE_UNSPECIFIED_VALUE
State is not specified.static int
STOPPED_VALUE
The instance is stopped.static int
STOPPING_VALUE
The control logic is stopping the instance.static int
SUSPENDED_VALUE
The instance is suspended.static int
SUSPENDING_VALUE
The instance is suspending.static int
UPGRADING_VALUE
The instance is upgrading.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Instance.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<Instance.State>
internalGetValueMap()
static Instance.State
valueOf(int value)
Deprecated.static Instance.State
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Instance.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static Instance.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 Instance.State STATE_UNSPECIFIED
State is not specified.
STATE_UNSPECIFIED = 0;
-
STARTING
public static final Instance.State STARTING
The control logic is starting the instance.
STARTING = 1;
-
PROVISIONING
public static final Instance.State PROVISIONING
The control logic is installing required frameworks and registering the instance with notebook proxy
PROVISIONING = 2;
-
ACTIVE
public static final Instance.State ACTIVE
The instance is running.
ACTIVE = 3;
-
STOPPING
public static final Instance.State STOPPING
The control logic is stopping the instance.
STOPPING = 4;
-
STOPPED
public static final Instance.State STOPPED
The instance is stopped.
STOPPED = 5;
-
DELETED
public static final Instance.State DELETED
The instance is deleted.
DELETED = 6;
-
UPGRADING
public static final Instance.State UPGRADING
The instance is upgrading.
UPGRADING = 7;
-
INITIALIZING
public static final Instance.State INITIALIZING
The instance is being created.
INITIALIZING = 8;
-
REGISTERING
public static final Instance.State REGISTERING
The instance is getting registered.
REGISTERING = 9;
-
SUSPENDING
public static final Instance.State SUSPENDING
The instance is suspending.
SUSPENDING = 10;
-
SUSPENDED
public static final Instance.State SUSPENDED
The instance is suspended.
SUSPENDED = 11;
-
UNRECOGNIZED
public static final Instance.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 control logic is starting the instance.
STARTING = 1;
- See Also:
- Constant Field Values
-
PROVISIONING_VALUE
public static final int PROVISIONING_VALUE
The control logic is installing required frameworks and registering the instance with notebook proxy
PROVISIONING = 2;
- See Also:
- Constant Field Values
-
ACTIVE_VALUE
public static final int ACTIVE_VALUE
The instance is running.
ACTIVE = 3;
- See Also:
- Constant Field Values
-
STOPPING_VALUE
public static final int STOPPING_VALUE
The control logic is stopping the instance.
STOPPING = 4;
- See Also:
- Constant Field Values
-
STOPPED_VALUE
public static final int STOPPED_VALUE
The instance is stopped.
STOPPED = 5;
- See Also:
- Constant Field Values
-
DELETED_VALUE
public static final int DELETED_VALUE
The instance is deleted.
DELETED = 6;
- See Also:
- Constant Field Values
-
UPGRADING_VALUE
public static final int UPGRADING_VALUE
The instance is upgrading.
UPGRADING = 7;
- See Also:
- Constant Field Values
-
INITIALIZING_VALUE
public static final int INITIALIZING_VALUE
The instance is being created.
INITIALIZING = 8;
- See Also:
- Constant Field Values
-
REGISTERING_VALUE
public static final int REGISTERING_VALUE
The instance is getting registered.
REGISTERING = 9;
- See Also:
- Constant Field Values
-
SUSPENDING_VALUE
public static final int SUSPENDING_VALUE
The instance is suspending.
SUSPENDING = 10;
- See Also:
- Constant Field Values
-
SUSPENDED_VALUE
public static final int SUSPENDED_VALUE
The instance is suspended.
SUSPENDED = 11;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Instance.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 (Instance.State c : Instance.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 Instance.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 Instance.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 Instance.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<Instance.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 Instance.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
-
-