Interface Session.SessionStateHistoryOrBuilder (4.39.0)

public static interface Session.SessionStateHistoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getState()

public abstract Session.State getState()

Output only. The state of the session at this point in the session history.

.google.cloud.dataproc.v1.Session.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Session.State

The state.

getStateMessage()

public abstract String getStateMessage()

Output only. Details about the state at this point in the session history.

string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The stateMessage.

getStateMessageBytes()

public abstract ByteString getStateMessageBytes()

Output only. Details about the state at this point in the session history.

string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for stateMessage.

getStateStartTime()

public abstract Timestamp getStateStartTime()

Output only. The time when the session entered the historical state.

.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The stateStartTime.

getStateStartTimeOrBuilder()

public abstract TimestampOrBuilder getStateStartTimeOrBuilder()

Output only. The time when the session entered the historical state.

.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStateValue()

public abstract int getStateValue()

Output only. The state of the session at this point in the session history.

.google.cloud.dataproc.v1.Session.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasStateStartTime()

public abstract boolean hasStateStartTime()

Output only. The time when the session entered the historical state.

.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the stateStartTime field is set.