NAME
Google::Devtools::Testing::V1::AdbService - Compiled Protocol Buffers messages for google/devtools/testing/v1/adb_service.proto
SYNOPSIS
use Google::Devtools::Testing::V1::AdbService;
my $msg = Google::Devtools::Testing::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::Devtools::Testing::V1::AdbService::DeviceMessage->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/testing/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::Devtools::Testing::V1::AdbService::DeviceMessage
A message returned from a device.
Inherits from Protobuf::Message.
Accessors
$msg->status_update()/$msg->status_update($value)Type:
Message(Google::Devtools::Testing::V1::AdbService::StatusUpdate)Information about the device's state.
$msg->stream_status()/$msg->stream_status($value)Type:
Message(Google::Devtools::Testing::V1::AdbService::StreamStatus)The result of a device stream from ADB.
$msg->stream_data()/$msg->stream_data($value)Type:
Message(Google::Devtools::Testing::V1::AdbService::StreamData)Data from an open stream.
Google::Devtools::Testing::V1::AdbService::AdbMessage
A message to an ADB server.
Inherits from Protobuf::Message.
Accessors
$msg->open()/$msg->open($value)Type:
Message(Google::Devtools::Testing::V1::AdbService::Open)Open a new stream.
$msg->stream_data()/$msg->stream_data($value)Type:
Message(Google::Devtools::Testing::V1::AdbService::StreamData)Send data to a stream.
Google::Devtools::Testing::V1::AdbService::StatusUpdate
A StatusUpdate message given over the ADB protocol for the device state.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Devtools::Testing::V1::StatusUpdate::DeviceState)The device's state
$msg->properties()/$msg->properties($value)Type:
Message(Google::Devtools::Testing::V1::AdbService::StatusUpdate::PropertiesEntry)A map of properties with information about this device.
$msg->features()/$msg->features($value)Type:
StringA comma-separated list of "features" that this device supports.
Enum: StatusUpdate::DeviceState
DEVICE_STATE_UNSPECIFIED=>0DEVICE=>1RECOVERY=>2RESCUE=>3SIDELOAD=>4MISSING=>10OFFLINE=>11UNAUTHORIZED=>12AUTHORIZING=>13CONNECTING=>14
Google::Devtools::Testing::V1::AdbService::StreamStatus
The result of a stream.
Inherits from Protobuf::Message.
Accessors
$msg->stream_id()/$msg->stream_id($value)Type:
Int32The unique ID of this stream, assigned by the client.
$msg->okay()/$msg->okay($value)Type:
Message(Google::Devtools::Testing::V1::AdbService::Okay)Okay for success.
$msg->fail()/$msg->fail($value)Type:
Message(Google::Devtools::Testing::V1::AdbService::Fail)Fail for failure.
Google::Devtools::Testing::V1::AdbService::Open
Message for opening a new stream.
Inherits from Protobuf::Message.
Accessors
$msg->stream_id()/$msg->stream_id($value)Type:
Int32The 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:
StringAn ADB service to use in the new stream.
Google::Devtools::Testing::V1::AdbService::StreamData
Data for a stream.
Inherits from Protobuf::Message.
Accessors
$msg->stream_id()/$msg->stream_id($value)Type:
Int32The unique ID of this stream, assigned by the client.
$msg->data()/$msg->data($value)Type:
BytesData in the stream.
$msg->close()/$msg->close($value)Type:
Message(Google::Devtools::Testing::V1::AdbService::Close)The stream is closing. EOF.
Google::Devtools::Testing::V1::AdbService::Okay
Message signifying that the stream is open
Inherits from Protobuf::Message.
Google::Devtools::Testing::V1::AdbService::Fail
Message signifying that the stream failed to open
Inherits from Protobuf::Message.
Accessors
$msg->reason()/$msg->reason($value)Type:
StringA user-displayable failure reason.
Google::Devtools::Testing::V1::AdbService::Close
Message signifying that the stream closed.
Inherits from Protobuf::Message.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Testing::V1::AdbService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.