public interface CreateDeviceSessionRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDeviceSession()
public abstract DeviceSession getDeviceSession()
Required. A DeviceSession to create.
.google.cloud.devicestreaming.v1.DeviceSession device_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DeviceSession |
The deviceSession. |
getDeviceSessionId()
public abstract String getDeviceSessionId()
Optional. The ID to use for the DeviceSession, which will become the final component of the DeviceSession's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
string device_session_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The deviceSessionId. |
getDeviceSessionIdBytes()
public abstract ByteString getDeviceSessionIdBytes()
Optional. The ID to use for the DeviceSession, which will become the final component of the DeviceSession's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
string device_session_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for deviceSessionId. |
getDeviceSessionOrBuilder()
public abstract DeviceSessionOrBuilder getDeviceSessionOrBuilder()
Required. A DeviceSession to create.
.google.cloud.devicestreaming.v1.DeviceSession device_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DeviceSessionOrBuilder |
getParent()
public abstract String getParent()
Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
hasDeviceSession()
public abstract boolean hasDeviceSession()
Required. A DeviceSession to create.
.google.cloud.devicestreaming.v1.DeviceSession device_session = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the deviceSession field is set. |