public static enum Session.State extends Enum<Session.State> implements com.google.protobuf.ProtocolMessageEnum
The session state.Protobuf enum
google.cloud.dataproc.v1.Session.State| Enum Constant and Description |
|---|
ACTIVE
The session is running.
|
CREATING
The session is created prior to running.
|
FAILED
The session is no longer running due to an error.
|
STATE_UNSPECIFIED
The session state is unknown.
|
TERMINATED
The session is terminated successfully.
|
TERMINATING
The session is terminating.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The session is running.
|
static int |
CREATING_VALUE
The session is created prior to running.
|
static int |
FAILED_VALUE
The session is no longer running due to an error.
|
static int |
STATE_UNSPECIFIED_VALUE
The session state is unknown.
|
static int |
TERMINATED_VALUE
The session is terminated successfully.
|
static int |
TERMINATING_VALUE
The session is terminating.
|
| Modifier and Type | Method and Description |
|---|---|
static Session.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<Session.State> |
internalGetValueMap() |
static Session.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Session.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Session.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Session.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session.State STATE_UNSPECIFIED
The session state is unknown.
STATE_UNSPECIFIED = 0;public static final Session.State CREATING
The session is created prior to running.
CREATING = 1;public static final Session.State ACTIVE
The session is running.
ACTIVE = 2;public static final Session.State TERMINATING
The session is terminating.
TERMINATING = 3;public static final Session.State TERMINATED
The session is terminated successfully.
TERMINATED = 4;public static final Session.State FAILED
The session is no longer running due to an error.
FAILED = 5;public static final Session.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The session state is unknown.
STATE_UNSPECIFIED = 0;public static final int CREATING_VALUE
The session is created prior to running.
CREATING = 1;public static final int ACTIVE_VALUE
The session is running.
ACTIVE = 2;public static final int TERMINATING_VALUE
The session is terminating.
TERMINATING = 3;public static final int TERMINATED_VALUE
The session is terminated successfully.
TERMINATED = 4;public static final int FAILED_VALUE
The session is no longer running due to an error.
FAILED = 5;public static Session.State[] values()
for (Session.State c : Session.State.values()) System.out.println(c);
public static Session.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 Session.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Session.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Session.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 Session.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.