Interface CreateDeviceSessionRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateDeviceSessionRequest, CreateDeviceSessionRequest.Builder

@Generated public interface CreateDeviceSessionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      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:
      The parent.
    • getParentBytes

      com.google.protobuf.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:
      The bytes for parent.
    • hasDeviceSession

      boolean hasDeviceSession()
       Required. A DeviceSession to create.
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the deviceSession field is set.
    • getDeviceSession

      DeviceSession getDeviceSession()
       Required. A DeviceSession to create.
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The deviceSession.
    • getDeviceSessionOrBuilder

      DeviceSessionOrBuilder getDeviceSessionOrBuilder()
       Required. A DeviceSession to create.
       
      .google.cloud.devicestreaming.v1.DeviceSession device_session = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDeviceSessionId

      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][0-9]-/.
       
      string device_session_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The deviceSessionId.
    • getDeviceSessionIdBytes

      com.google.protobuf.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][0-9]-/.
       
      string device_session_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for deviceSessionId.