NAME

Google::Cloud::Devicestreaming::V1::AdbService - Compiled Protocol Buffers messages for google/cloud/devicestreaming/v1/adb_service.proto

SYNOPSIS

use Google::Cloud::Devicestreaming::V1::AdbService;

my $msg = Google::Cloud::Devicestreaming::V1::AdbService::DeviceMessage->new({
    status_update => $status_update,
    stream_status => $stream_status,
    stream_data => $stream_data,
});

# Read or update a field
my $val = $msg->status_update();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Devicestreaming::V1::AdbService::DeviceMessage->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/devicestreaming/v1/adb_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Devicestreaming::V1::AdbService::DeviceMessage

A message returned from a device.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Devicestreaming::V1::AdbService::AdbMessage

A message to an ADB server.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Devicestreaming::V1::AdbService::StatusUpdate

A StatusUpdate message given over the ADB protocol for the device state.

Inherits from Protobuf::Message.

Accessors

Enum: StatusUpdate::DeviceState

  • DEVICE_STATE_UNSPECIFIED => 0

  • DEVICE => 1

  • RECOVERY => 2

  • RESCUE => 3

  • SIDELOAD => 4

  • MISSING => 10

  • OFFLINE => 11

  • UNAUTHORIZED => 12

  • AUTHORIZING => 13

  • CONNECTING => 14

Google::Cloud::Devicestreaming::V1::AdbService::StreamStatus

The result of a stream.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Devicestreaming::V1::AdbService::Open

Message for opening a new stream.

Inherits from Protobuf::Message.

Accessors

  • $msg->stream_id() / $msg->stream_id($value)

    Type: Int32

    Required. The unique ID that will be used to talk to this stream. This should probably just be a number that increments for each new Open request.

  • $msg->service() / $msg->service($value)

    Type: String

    Optional. An ADB service to use in the new stream.

Google::Cloud::Devicestreaming::V1::AdbService::StreamData

Data for a stream.

Inherits from Protobuf::Message.

Accessors

  • $msg->stream_id() / $msg->stream_id($value)

    Type: Int32

    Required. The unique ID of this stream, assigned by the client.

  • $msg->data() / $msg->data($value)

    Type: Bytes

    Data in the stream.

  • $msg->close() / $msg->close($value)

    Type: Message (Google::Cloud::Devicestreaming::V1::AdbService::Close)

    The stream is closing. EOF.

Google::Cloud::Devicestreaming::V1::AdbService::Okay

Message signifying that the stream is open

Inherits from Protobuf::Message.

Google::Cloud::Devicestreaming::V1::AdbService::Fail

Message signifying that the stream failed to open

Inherits from Protobuf::Message.

Accessors

  • $msg->reason() / $msg->reason($value)

    Type: String

    A user-displayable failure reason.

Google::Cloud::Devicestreaming::V1::AdbService::Close

Message signifying that the stream closed.

Inherits from Protobuf::Message.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Devicestreaming::V1::AdbService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.