public final class AdbMessage extends GeneratedMessage implements AdbMessageOrBuilderA message to an ADB server.
Protobuf type google.cloud.devicestreaming.v1.AdbMessage
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AdbMessageImplements
AdbMessageOrBuilderStatic Fields
OPEN_FIELD_NUMBER
public static final int OPEN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STREAM_DATA_FIELD_NUMBER
public static final int STREAM_DATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AdbMessage getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AdbMessage.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AdbMessage.Builder |
|
newBuilder(AdbMessage prototype)
public static AdbMessage.Builder newBuilder(AdbMessage prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AdbMessage |
| Returns | |
|---|---|
| Type | Description |
AdbMessage.Builder |
|
parseDelimitedFrom(InputStream input)
public static AdbMessage parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AdbMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AdbMessage parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdbMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AdbMessage parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdbMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AdbMessage parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AdbMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AdbMessage parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AdbMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AdbMessage parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdbMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AdbMessage> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AdbMessage> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getContentsCase()
public AdbMessage.ContentsCase getContentsCase()| Returns | |
|---|---|
| Type | Description |
AdbMessage.ContentsCase |
|
getDefaultInstanceForType()
public AdbMessage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AdbMessage |
|
getOpen()
public Open getOpen()Open a new stream.
.google.cloud.devicestreaming.v1.Open open = 1;
| Returns | |
|---|---|
| Type | Description |
Open |
The open. |
getOpenOrBuilder()
public OpenOrBuilder getOpenOrBuilder()Open a new stream.
.google.cloud.devicestreaming.v1.Open open = 1;
| Returns | |
|---|---|
| Type | Description |
OpenOrBuilder |
|
getParserForType()
public Parser<AdbMessage> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AdbMessage> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStreamData()
public StreamData getStreamData()Send data to a stream.
.google.cloud.devicestreaming.v1.StreamData stream_data = 2;
| Returns | |
|---|---|
| Type | Description |
StreamData |
The streamData. |
getStreamDataOrBuilder()
public StreamDataOrBuilder getStreamDataOrBuilder()Send data to a stream.
.google.cloud.devicestreaming.v1.StreamData stream_data = 2;
| Returns | |
|---|---|
| Type | Description |
StreamDataOrBuilder |
|
hasOpen()
public boolean hasOpen()Open a new stream.
.google.cloud.devicestreaming.v1.Open open = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the open field is set. |
hasStreamData()
public boolean hasStreamData()Send data to a stream.
.google.cloud.devicestreaming.v1.StreamData stream_data = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the streamData field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AdbMessage.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AdbMessage.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AdbMessage.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AdbMessage.Builder |
|
toBuilder()
public AdbMessage.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AdbMessage.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|