AdbMessage
Stay organized with collections
Save and categorize content based on your preferences.
A message to an ADB server.
JSON representation |
{
// Union field contents can be only one of the following:
"open": {
object (Open )
},
"streamData": {
object (StreamData )
}
// End of list of possible types for union field contents .
} |
Fields |
Union field contents . contents can be only one of the following:
|
open |
object (Open )
Open a new stream.
|
streamData |
object (StreamData )
Send data to a stream.
|
Open
Message for opening a new stream.
JSON representation |
{
"streamId": integer,
"service": string
} |
Fields |
streamId |
integer
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.
|
service |
string
An ADB service to use in the new stream.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-25 UTC.
[null,null,["Last updated 2024-07-25 UTC."],[],[],null,["# AdbMessage\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Open](#Open)\n - [JSON representation](#Open.SCHEMA_REPRESENTATION)\n\nA message to an ADB server.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `contents` can be only one of the following: \"open\": { object (/docs/test-lab/reference/testing/rest/v1/AdbMessage#Open) }, \"streamData\": { object (/docs/test-lab/reference/testing/rest/v1/StreamData) } // End of list of possible types for union field `contents`. } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------|\n| Union field `contents`. `contents` can be only one of the following: ||\n| `open` | `object (`[Open](/docs/test-lab/reference/testing/rest/v1/AdbMessage#Open)`)` Open a new stream. |\n| `streamData` | `object (`[StreamData](/docs/test-lab/reference/testing/rest/v1/StreamData)`)` Send data to a stream. |\n\nOpen\n----\n\nMessage for opening a new stream.\n\n| JSON representation |\n|----------------------------------------------------|\n| ``` { \"streamId\": integer, \"service\": string } ``` |\n\n| Fields ||\n|------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `streamId` | `integer` 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. |\n| `service` | `string` An ADB service to use in the new stream. |"]]