public static enum Instance.State extends Enum<Instance.State> implements com.google.protobuf.ProtocolMessageEnum
The definition of the states of this instance.Protobuf enum
google.cloud.notebooks.v1beta1.Instance.State| Enum Constant and 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 proxy
|
REGISTERING
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.
|
| Modifier and Type | Field and 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 proxy
|
static 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.
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final Instance.State STATE_UNSPECIFIED
State is not specified.
STATE_UNSPECIFIED = 0;public static final Instance.State STARTING
The control logic is starting the instance.
STARTING = 1;public static final Instance.State PROVISIONING
The control logic is installing required frameworks and registering the instance with notebook proxy
PROVISIONING = 2;public static final Instance.State ACTIVE
The instance is running.
ACTIVE = 3;public static final Instance.State STOPPING
The control logic is stopping the instance.
STOPPING = 4;public static final Instance.State STOPPED
The instance is stopped.
STOPPED = 5;public static final Instance.State DELETED
The instance is deleted.
DELETED = 6;public static final Instance.State UPGRADING
The instance is upgrading.
UPGRADING = 7;public static final Instance.State INITIALIZING
The instance is being created.
INITIALIZING = 8;public static final Instance.State REGISTERING
The instance is getting registered.
REGISTERING = 9;public static final Instance.State SUSPENDING
The instance is suspending.
SUSPENDING = 10;public static final Instance.State SUSPENDED
The instance is suspended.
SUSPENDED = 11;public static final Instance.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
State is not specified.
STATE_UNSPECIFIED = 0;public static final int STARTING_VALUE
The control logic is starting the instance.
STARTING = 1;public static final int PROVISIONING_VALUE
The control logic is installing required frameworks and registering the instance with notebook proxy
PROVISIONING = 2;public static final int ACTIVE_VALUE
The instance is running.
ACTIVE = 3;public static final int STOPPING_VALUE
The control logic is stopping the instance.
STOPPING = 4;public static final int STOPPED_VALUE
The instance is stopped.
STOPPED = 5;public static final int DELETED_VALUE
The instance is deleted.
DELETED = 6;public static final int UPGRADING_VALUE
The instance is upgrading.
UPGRADING = 7;public static final int INITIALIZING_VALUE
The instance is being created.
INITIALIZING = 8;public static final int REGISTERING_VALUE
The instance is getting registered.
REGISTERING = 9;public static final int SUSPENDING_VALUE
The instance is suspending.
SUSPENDING = 10;public static final int SUSPENDED_VALUE
The instance is suspended.
SUSPENDED = 11;public static Instance.State[] values()
for (Instance.State c : Instance.State.values()) System.out.println(c);
public static Instance.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Instance.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Instance.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.