Interface DeviceSession.SessionStateEventOrBuilder (0.2.0)

public static interface DeviceSession.SessionStateEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventTime()

public abstract Timestamp getEventTime()

Output only. The time that the session_state first encountered that state.

.google.protobuf.Timestamp event_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The eventTime.

getEventTimeOrBuilder()

public abstract TimestampOrBuilder getEventTimeOrBuilder()

Output only. The time that the session_state first encountered that state.

.google.protobuf.Timestamp event_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getSessionState()

public abstract DeviceSession.SessionState getSessionState()

Output only. The session_state tracked by this event

.google.cloud.devicestreaming.v1.DeviceSession.SessionState session_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeviceSession.SessionState

The sessionState.

getSessionStateValue()

public abstract int getSessionStateValue()

Output only. The session_state tracked by this event

.google.cloud.devicestreaming.v1.DeviceSession.SessionState session_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for sessionState.

getStateMessage()

public abstract String getStateMessage()

Output only. A human-readable message to explain the state.

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

Returns
Type Description
String

The stateMessage.

getStateMessageBytes()

public abstract ByteString getStateMessageBytes()

Output only. A human-readable message to explain the state.

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

Returns
Type Description
ByteString

The bytes for stateMessage.

hasEventTime()

public abstract boolean hasEventTime()

Output only. The time that the session_state first encountered that state.

.google.protobuf.Timestamp event_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the eventTime field is set.