Interface Session.SessionStateHistoryOrBuilder (4.38.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the stateStartTime field is set.