public static enum NotebookRuntime.RuntimeState extends Enum<NotebookRuntime.RuntimeState> implements com.google.protobuf.ProtocolMessageEnum
The substate of the NotebookRuntime to display state of runtime. The resource of NotebookRuntime is in ACTIVE state for these sub state.Protobuf enum
google.cloud.aiplatform.v1.NotebookRuntime.RuntimeState| Enum Constant and Description |
|---|
BEING_STARTED
NotebookRuntime is in starting state.
|
BEING_STOPPED
NotebookRuntime is in stopping state.
|
BEING_UPGRADED
NotebookRuntime is in upgrading state.
|
ERROR
NotebookRuntime was unable to start/stop properly.
|
INVALID
NotebookRuntime is in invalid state.
|
RUNNING
NotebookRuntime is in running state.
|
RUNTIME_STATE_UNSPECIFIED
Unspecified runtime state.
|
STOPPED
NotebookRuntime is in stopped state.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BEING_STARTED_VALUE
NotebookRuntime is in starting state.
|
static int |
BEING_STOPPED_VALUE
NotebookRuntime is in stopping state.
|
static int |
BEING_UPGRADED_VALUE
NotebookRuntime is in upgrading state.
|
static int |
ERROR_VALUE
NotebookRuntime was unable to start/stop properly.
|
static int |
INVALID_VALUE
NotebookRuntime is in invalid state.
|
static int |
RUNNING_VALUE
NotebookRuntime is in running state.
|
static int |
RUNTIME_STATE_UNSPECIFIED_VALUE
Unspecified runtime state.
|
static int |
STOPPED_VALUE
NotebookRuntime is in stopped state.
|
| Modifier and Type | Method and Description |
|---|---|
static NotebookRuntime.RuntimeState |
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<NotebookRuntime.RuntimeState> |
internalGetValueMap() |
static NotebookRuntime.RuntimeState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NotebookRuntime.RuntimeState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NotebookRuntime.RuntimeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotebookRuntime.RuntimeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotebookRuntime.RuntimeState RUNTIME_STATE_UNSPECIFIED
Unspecified runtime state.
RUNTIME_STATE_UNSPECIFIED = 0;public static final NotebookRuntime.RuntimeState RUNNING
NotebookRuntime is in running state.
RUNNING = 1;public static final NotebookRuntime.RuntimeState BEING_STARTED
NotebookRuntime is in starting state.
BEING_STARTED = 2;public static final NotebookRuntime.RuntimeState BEING_STOPPED
NotebookRuntime is in stopping state.
BEING_STOPPED = 3;public static final NotebookRuntime.RuntimeState STOPPED
NotebookRuntime is in stopped state.
STOPPED = 4;public static final NotebookRuntime.RuntimeState BEING_UPGRADED
NotebookRuntime is in upgrading state. It is in the middle of upgrading process.
BEING_UPGRADED = 5;public static final NotebookRuntime.RuntimeState ERROR
NotebookRuntime was unable to start/stop properly.
ERROR = 100;public static final NotebookRuntime.RuntimeState INVALID
NotebookRuntime is in invalid state. Cannot be recovered.
INVALID = 101;public static final NotebookRuntime.RuntimeState UNRECOGNIZED
public static final int RUNTIME_STATE_UNSPECIFIED_VALUE
Unspecified runtime state.
RUNTIME_STATE_UNSPECIFIED = 0;public static final int RUNNING_VALUE
NotebookRuntime is in running state.
RUNNING = 1;public static final int BEING_STARTED_VALUE
NotebookRuntime is in starting state.
BEING_STARTED = 2;public static final int BEING_STOPPED_VALUE
NotebookRuntime is in stopping state.
BEING_STOPPED = 3;public static final int STOPPED_VALUE
NotebookRuntime is in stopped state.
STOPPED = 4;public static final int BEING_UPGRADED_VALUE
NotebookRuntime is in upgrading state. It is in the middle of upgrading process.
BEING_UPGRADED = 5;public static final int ERROR_VALUE
NotebookRuntime was unable to start/stop properly.
ERROR = 100;public static final int INVALID_VALUE
NotebookRuntime is in invalid state. Cannot be recovered.
INVALID = 101;public static NotebookRuntime.RuntimeState[] values()
for (NotebookRuntime.RuntimeState c : NotebookRuntime.RuntimeState.values()) System.out.println(c);
public static NotebookRuntime.RuntimeState 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 NotebookRuntime.RuntimeState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NotebookRuntime.RuntimeState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NotebookRuntime.RuntimeState> 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 NotebookRuntime.RuntimeState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.