public final class StreamStatus extends GeneratedMessage implements StreamStatusOrBuilderThe result of a stream.
Protobuf type google.cloud.devicestreaming.v1.StreamStatus
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > StreamStatusImplements
StreamStatusOrBuilderStatic Fields
FAIL_FIELD_NUMBER
public static final int FAIL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
OKAY_FIELD_NUMBER
public static final int OKAY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STREAM_ID_FIELD_NUMBER
public static final int STREAM_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static StreamStatus getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static StreamStatus.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
newBuilder(StreamStatus prototype)
public static StreamStatus.Builder newBuilder(StreamStatus prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
StreamStatus |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
parseDelimitedFrom(InputStream input)
public static StreamStatus parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static StreamStatus parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static StreamStatus parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static StreamStatus parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static StreamStatus parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static StreamStatus parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<StreamStatus> parser()| Returns | |
|---|---|
| Type | Description |
Parser<StreamStatus> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public StreamStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
getFail()
public Fail getFail()Fail for failure.
.google.cloud.devicestreaming.v1.Fail fail = 3;
| Returns | |
|---|---|
| Type | Description |
Fail |
The fail. |
getFailOrBuilder()
public FailOrBuilder getFailOrBuilder()Fail for failure.
.google.cloud.devicestreaming.v1.Fail fail = 3;
| Returns | |
|---|---|
| Type | Description |
FailOrBuilder |
|
getOkay()
public Okay getOkay()Okay for success.
.google.cloud.devicestreaming.v1.Okay okay = 2;
| Returns | |
|---|---|
| Type | Description |
Okay |
The okay. |
getOkayOrBuilder()
public OkayOrBuilder getOkayOrBuilder()Okay for success.
.google.cloud.devicestreaming.v1.Okay okay = 2;
| Returns | |
|---|---|
| Type | Description |
OkayOrBuilder |
|
getParserForType()
public Parser<StreamStatus> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<StreamStatus> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStatusCase()
public StreamStatus.StatusCase getStatusCase()| Returns | |
|---|---|
| Type | Description |
StreamStatus.StatusCase |
|
getStreamId()
public int getStreamId()The unique ID of this stream, assigned by the client.
int32 stream_id = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The streamId. |
hasFail()
public boolean hasFail()Fail for failure.
.google.cloud.devicestreaming.v1.Fail fail = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the fail field is set. |
hasOkay()
public boolean hasOkay()Okay for success.
.google.cloud.devicestreaming.v1.Okay okay = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the okay 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 StreamStatus.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected StreamStatus.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
toBuilder()
public StreamStatus.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|