Class DeviceSession.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeviceSession.Builder>
com.google.cloud.devicestreaming.v1.DeviceSession.Builder
- All Implemented Interfaces:
DeviceSessionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeviceSession
public static final class DeviceSession.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DeviceSession.Builder>
implements DeviceSessionOrBuilder
Protobuf message describing the device message, used from several RPCs.Protobuf type
google.cloud.devicestreaming.v1.DeviceSession-
Method Summary
Modifier and TypeMethodDescriptionaddAllStateHistories(Iterable<? extends DeviceSession.SessionStateEvent> values) Output only.addStateHistories(int index, DeviceSession.SessionStateEvent value) Output only.addStateHistories(int index, DeviceSession.SessionStateEvent.Builder builderForValue) Output only.Output only.addStateHistories(DeviceSession.SessionStateEvent.Builder builderForValue) Output only.Output only.addStateHistoriesBuilder(int index) Output only.build()clear()Output only.Required.Output only.Output only.Optional.Output only.Optional.Output only.Output only.clearTtl()Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOptional.com.google.protobuf.Timestamp.BuilderOptional.com.google.protobuf.TimestampOrBuilderOptional.com.google.protobuf.DurationOutput only.com.google.protobuf.Duration.BuilderOutput only.com.google.protobuf.DurationOrBuilderOutput only.getName()Optional.com.google.protobuf.ByteStringOptional.getState()Output only.getStateHistories(int index) Output only.getStateHistoriesBuilder(int index) Output only.Output only.intOutput only.Output only.getStateHistoriesOrBuilder(int index) Output only.List<? extends DeviceSession.SessionStateEventOrBuilder>Output only.intOutput only.com.google.protobuf.DurationgetTtl()Optional.com.google.protobuf.Duration.BuilderOptional.com.google.protobuf.DurationOrBuilderOptional.booleanOutput only.booleanRequired.booleanOutput only.booleanOptional.booleanOutput only.booleanhasTtl()Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeActiveStartTime(com.google.protobuf.Timestamp value) Output only.mergeAndroidDevice(AndroidDevice value) Required.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeExpireTime(com.google.protobuf.Timestamp value) Optional.mergeFrom(DeviceSession other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInactivityTimeout(com.google.protobuf.Duration value) Output only.mergeTtl(com.google.protobuf.Duration value) Optional.removeStateHistories(int index) Output only.setActiveStartTime(com.google.protobuf.Timestamp value) Output only.setActiveStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setAndroidDevice(AndroidDevice value) Required.setAndroidDevice(AndroidDevice.Builder builderForValue) Required.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.setExpireTime(com.google.protobuf.Timestamp value) Optional.setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional.setInactivityTimeout(com.google.protobuf.Duration value) Output only.setInactivityTimeout(com.google.protobuf.Duration.Builder builderForValue) Output only.Optional.setNameBytes(com.google.protobuf.ByteString value) Optional.Output only.setStateHistories(int index, DeviceSession.SessionStateEvent value) Output only.setStateHistories(int index, DeviceSession.SessionStateEvent.Builder builderForValue) Output only.setStateValue(int value) Output only.setTtl(com.google.protobuf.Duration value) Optional.setTtl(com.google.protobuf.Duration.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeviceSession.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DeviceSession.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DeviceSession.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeviceSession.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeviceSession.Builder>
-
mergeFrom
public DeviceSession.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeviceSession.Builder>- Throws:
IOException
-
getExpirationCase
- Specified by:
getExpirationCasein interfaceDeviceSessionOrBuilder
-
clearExpiration
-
getName
Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamein interfaceDeviceSessionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNameBytesin interfaceDeviceSessionOrBuilder- Returns:
- The bytes for name.
-
setName
Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setNameBytes
Optional. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}"string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Output only. The title of the DeviceSession to be presented in the UI.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceDeviceSessionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The title of the DeviceSession to be presented in the UI.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceDeviceSessionOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. The title of the DeviceSession to be presented in the UI.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. The title of the DeviceSession to be presented in the UI.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Output only. The title of the DeviceSession to be presented in the UI.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. Current state of the DeviceSession.
.google.cloud.devicestreaming.v1.DeviceSession.SessionState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceDeviceSessionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Current state of the DeviceSession.
.google.cloud.devicestreaming.v1.DeviceSession.SessionState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. Current state of the DeviceSession.
.google.cloud.devicestreaming.v1.DeviceSession.SessionState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceDeviceSessionOrBuilder- Returns:
- The state.
-
setState
Output only. Current state of the DeviceSession.
.google.cloud.devicestreaming.v1.DeviceSession.SessionState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Current state of the DeviceSession.
.google.cloud.devicestreaming.v1.DeviceSession.SessionState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStateHistoriesList
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateHistoriesListin interfaceDeviceSessionOrBuilder
-
getStateHistoriesCount
public int getStateHistoriesCount()Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateHistoriesCountin interfaceDeviceSessionOrBuilder
-
getStateHistories
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateHistoriesin interfaceDeviceSessionOrBuilder
-
setStateHistories
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStateHistories
public DeviceSession.Builder setStateHistories(int index, DeviceSession.SessionStateEvent.Builder builderForValue) Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateHistories
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateHistories
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateHistories
public DeviceSession.Builder addStateHistories(DeviceSession.SessionStateEvent.Builder builderForValue) Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateHistories
public DeviceSession.Builder addStateHistories(int index, DeviceSession.SessionStateEvent.Builder builderForValue) Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllStateHistories
public DeviceSession.Builder addAllStateHistories(Iterable<? extends DeviceSession.SessionStateEvent> values) Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStateHistories
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeStateHistories
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateHistoriesBuilder
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateHistoriesOrBuilder
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateHistoriesOrBuilderin interfaceDeviceSessionOrBuilder
-
getStateHistoriesOrBuilderList
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateHistoriesOrBuilderListin interfaceDeviceSessionOrBuilder
-
addStateHistoriesBuilder
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addStateHistoriesBuilder
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateHistoriesBuilderList
Output only. The historical state transitions of the session_state message including the current session state.
repeated .google.cloud.devicestreaming.v1.DeviceSession.SessionStateEvent state_histories = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasTtl
public boolean hasTtl()Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
.google.protobuf.Duration ttl = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasTtlin interfaceDeviceSessionOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
public com.google.protobuf.Duration getTtl()Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
.google.protobuf.Duration ttl = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTtlin interfaceDeviceSessionOrBuilder- Returns:
- The ttl.
-
setTtl
Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
.google.protobuf.Duration ttl = 13 [(.google.api.field_behavior) = OPTIONAL]; -
setTtl
Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
.google.protobuf.Duration ttl = 13 [(.google.api.field_behavior) = OPTIONAL]; -
mergeTtl
Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
.google.protobuf.Duration ttl = 13 [(.google.api.field_behavior) = OPTIONAL]; -
clearTtl
Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
.google.protobuf.Duration ttl = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getTtlBuilder
public com.google.protobuf.Duration.Builder getTtlBuilder()Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
.google.protobuf.Duration ttl = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getTtlOrBuilder
public com.google.protobuf.DurationOrBuilder getTtlOrBuilder()Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 15 minutes.
.google.protobuf.Duration ttl = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTtlOrBuilderin interfaceDeviceSessionOrBuilder
-
hasExpireTime
public boolean hasExpireTime()Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasExpireTimein interfaceDeviceSessionOrBuilder- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExpireTimein interfaceDeviceSessionOrBuilder- Returns:
- The expireTime.
-
setExpireTime
Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setExpireTime
Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeExpireTime
Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearExpireTime
Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()Optional. If the device is still in use at this time, any connections will be ended and the SessionState will transition from ACTIVE to FINISHED.
.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExpireTimeOrBuilderin interfaceDeviceSessionOrBuilder
-
hasInactivityTimeout
public boolean hasInactivityTimeout()Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
.google.protobuf.Duration inactivity_timeout = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasInactivityTimeoutin interfaceDeviceSessionOrBuilder- Returns:
- Whether the inactivityTimeout field is set.
-
getInactivityTimeout
public com.google.protobuf.Duration getInactivityTimeout()Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
.google.protobuf.Duration inactivity_timeout = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInactivityTimeoutin interfaceDeviceSessionOrBuilder- Returns:
- The inactivityTimeout.
-
setInactivityTimeout
Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
.google.protobuf.Duration inactivity_timeout = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setInactivityTimeout
public DeviceSession.Builder setInactivityTimeout(com.google.protobuf.Duration.Builder builderForValue) Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
.google.protobuf.Duration inactivity_timeout = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeInactivityTimeout
Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
.google.protobuf.Duration inactivity_timeout = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearInactivityTimeout
Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
.google.protobuf.Duration inactivity_timeout = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInactivityTimeoutBuilder
public com.google.protobuf.Duration.Builder getInactivityTimeoutBuilder()Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
.google.protobuf.Duration inactivity_timeout = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInactivityTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getInactivityTimeoutOrBuilder()Output only. The interval of time that this device must be interacted with before it transitions from ACTIVE to TIMEOUT_INACTIVITY.
.google.protobuf.Duration inactivity_timeout = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInactivityTimeoutOrBuilderin interfaceDeviceSessionOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. The time that the Session was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDeviceSessionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time that the Session was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDeviceSessionOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time that the Session was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time that the Session was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time that the Session was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time that the Session was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time that the Session was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time that the Session was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDeviceSessionOrBuilder
-
hasActiveStartTime
public boolean hasActiveStartTime()Output only. The timestamp that the session first became ACTIVE.
.google.protobuf.Timestamp active_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasActiveStartTimein interfaceDeviceSessionOrBuilder- Returns:
- Whether the activeStartTime field is set.
-
getActiveStartTime
public com.google.protobuf.Timestamp getActiveStartTime()Output only. The timestamp that the session first became ACTIVE.
.google.protobuf.Timestamp active_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActiveStartTimein interfaceDeviceSessionOrBuilder- Returns:
- The activeStartTime.
-
setActiveStartTime
Output only. The timestamp that the session first became ACTIVE.
.google.protobuf.Timestamp active_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setActiveStartTime
public DeviceSession.Builder setActiveStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The timestamp that the session first became ACTIVE.
.google.protobuf.Timestamp active_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeActiveStartTime
Output only. The timestamp that the session first became ACTIVE.
.google.protobuf.Timestamp active_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearActiveStartTime
Output only. The timestamp that the session first became ACTIVE.
.google.protobuf.Timestamp active_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getActiveStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getActiveStartTimeBuilder()Output only. The timestamp that the session first became ACTIVE.
.google.protobuf.Timestamp active_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getActiveStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getActiveStartTimeOrBuilder()Output only. The timestamp that the session first became ACTIVE.
.google.protobuf.Timestamp active_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActiveStartTimeOrBuilderin interfaceDeviceSessionOrBuilder
-
hasAndroidDevice
public boolean hasAndroidDevice()Required. The requested device
.google.cloud.devicestreaming.v1.AndroidDevice android_device = 15 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasAndroidDevicein interfaceDeviceSessionOrBuilder- Returns:
- Whether the androidDevice field is set.
-
getAndroidDevice
Required. The requested device
.google.cloud.devicestreaming.v1.AndroidDevice android_device = 15 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAndroidDevicein interfaceDeviceSessionOrBuilder- Returns:
- The androidDevice.
-
setAndroidDevice
Required. The requested device
.google.cloud.devicestreaming.v1.AndroidDevice android_device = 15 [(.google.api.field_behavior) = REQUIRED]; -
setAndroidDevice
Required. The requested device
.google.cloud.devicestreaming.v1.AndroidDevice android_device = 15 [(.google.api.field_behavior) = REQUIRED]; -
mergeAndroidDevice
Required. The requested device
.google.cloud.devicestreaming.v1.AndroidDevice android_device = 15 [(.google.api.field_behavior) = REQUIRED]; -
clearAndroidDevice
Required. The requested device
.google.cloud.devicestreaming.v1.AndroidDevice android_device = 15 [(.google.api.field_behavior) = REQUIRED]; -
getAndroidDeviceBuilder
Required. The requested device
.google.cloud.devicestreaming.v1.AndroidDevice android_device = 15 [(.google.api.field_behavior) = REQUIRED]; -
getAndroidDeviceOrBuilder
Required. The requested device
.google.cloud.devicestreaming.v1.AndroidDevice android_device = 15 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAndroidDeviceOrBuilderin interfaceDeviceSessionOrBuilder
-