Enum Session.State (4.32.0)

public enum Session.State extends Enum<Session.State> implements ProtocolMessageEnum

The session state.

Protobuf enum google.cloud.dataproc.v1.Session.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACTIVE

The session is running.

ACTIVE = 2;

ACTIVE_VALUE

The session is running.

ACTIVE = 2;

CREATING

The session is created prior to running.

CREATING = 1;

CREATING_VALUE

The session is created prior to running.

CREATING = 1;

FAILED

The session is no longer running due to an error.

FAILED = 5;

FAILED_VALUE

The session is no longer running due to an error.

FAILED = 5;

STATE_UNSPECIFIED

The session state is unknown.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The session state is unknown.

STATE_UNSPECIFIED = 0;

TERMINATED

The session is terminated successfully.

TERMINATED = 4;

TERMINATED_VALUE

The session is terminated successfully.

TERMINATED = 4;

TERMINATING

The session is terminating.

TERMINATING = 3;

TERMINATING_VALUE

The session is terminating.

TERMINATING = 3;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()