Device Streaming V1 API - Class Google::Cloud::DeviceStreaming::V1::DeviceMessage (v0.1.0)

Reference documentation and code samples for the Device Streaming V1 API class Google::Cloud::DeviceStreaming::V1::DeviceMessage.

A message returned from a device.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#status_update

def status_update() -> ::Google::Cloud::DeviceStreaming::V1::StatusUpdate
Returns
  • (::Google::Cloud::DeviceStreaming::V1::StatusUpdate) — Information about the device's state.

    Note: The following fields are mutually exclusive: status_update, stream_status, stream_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

#status_update=

def status_update=(value) -> ::Google::Cloud::DeviceStreaming::V1::StatusUpdate
Parameter
  • value (::Google::Cloud::DeviceStreaming::V1::StatusUpdate) — Information about the device's state.

    Note: The following fields are mutually exclusive: status_update, stream_status, stream_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::DeviceStreaming::V1::StatusUpdate) — Information about the device's state.

    Note: The following fields are mutually exclusive: status_update, stream_status, stream_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

#stream_data

def stream_data() -> ::Google::Cloud::DeviceStreaming::V1::StreamData
Returns
  • (::Google::Cloud::DeviceStreaming::V1::StreamData) — Data from an open stream.

    Note: The following fields are mutually exclusive: stream_data, status_update, stream_status. If a field in that set is populated, all other fields in the set will automatically be cleared.

#stream_data=

def stream_data=(value) -> ::Google::Cloud::DeviceStreaming::V1::StreamData
Parameter
  • value (::Google::Cloud::DeviceStreaming::V1::StreamData) — Data from an open stream.

    Note: The following fields are mutually exclusive: stream_data, status_update, stream_status. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::DeviceStreaming::V1::StreamData) — Data from an open stream.

    Note: The following fields are mutually exclusive: stream_data, status_update, stream_status. If a field in that set is populated, all other fields in the set will automatically be cleared.

#stream_status

def stream_status() -> ::Google::Cloud::DeviceStreaming::V1::StreamStatus
Returns
  • (::Google::Cloud::DeviceStreaming::V1::StreamStatus) — The result of a device stream from ADB.

    Note: The following fields are mutually exclusive: stream_status, status_update, stream_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

#stream_status=

def stream_status=(value) -> ::Google::Cloud::DeviceStreaming::V1::StreamStatus
Parameter
  • value (::Google::Cloud::DeviceStreaming::V1::StreamStatus) — The result of a device stream from ADB.

    Note: The following fields are mutually exclusive: stream_status, status_update, stream_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::DeviceStreaming::V1::StreamStatus) — The result of a device stream from ADB.

    Note: The following fields are mutually exclusive: stream_status, status_update, stream_data. If a field in that set is populated, all other fields in the set will automatically be cleared.