Interface DeviceSession.SessionStateEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeviceSession.SessionStateEvent,DeviceSession.SessionStateEvent.Builder
- Enclosing class:
- DeviceSession
public static interface DeviceSession.SessionStateEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSessionStateValue
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:
- The enum numeric value on the wire for sessionState.
-
getSessionState
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:
- The sessionState.
-
hasEventTime
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:
- Whether the eventTime field is set.
-
getEventTime
com.google.protobuf.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:
- The eventTime.
-
getEventTimeOrBuilder
com.google.protobuf.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]; -
getStateMessage
String getStateMessage()Output only. A human-readable message to explain the state.
string state_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The stateMessage.
-
getStateMessageBytes
com.google.protobuf.ByteString getStateMessageBytes()Output only. A human-readable message to explain the state.
string state_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for stateMessage.
-