public static final class StreamStatus.Builder extends GeneratedMessage.Builder<StreamStatus.Builder> implements StreamStatusOrBuilderThe result of a stream.
Protobuf type google.cloud.devicestreaming.v1.StreamStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamStatus.BuilderImplements
StreamStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StreamStatus build()| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
buildPartial()
public StreamStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
clear()
public StreamStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
clearFail()
public StreamStatus.Builder clearFail()Fail for failure.
.google.cloud.devicestreaming.v1.Fail fail = 3;
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
clearOkay()
public StreamStatus.Builder clearOkay()Okay for success.
.google.cloud.devicestreaming.v1.Okay okay = 2;
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
clearStatus()
public StreamStatus.Builder clearStatus()| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
clearStreamId()
public StreamStatus.Builder clearStreamId()The unique ID of this stream, assigned by the client.
int32 stream_id = 1;
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public StreamStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFail()
public Fail getFail()Fail for failure.
.google.cloud.devicestreaming.v1.Fail fail = 3;
| Returns | |
|---|---|
| Type | Description |
Fail |
The fail. |
getFailBuilder()
public Fail.Builder getFailBuilder()Fail for failure.
.google.cloud.devicestreaming.v1.Fail fail = 3;
| Returns | |
|---|---|
| Type | Description |
Fail.Builder |
|
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. |
getOkayBuilder()
public Okay.Builder getOkayBuilder()Okay for success.
.google.cloud.devicestreaming.v1.Okay okay = 2;
| Returns | |
|---|---|
| Type | Description |
Okay.Builder |
|
getOkayOrBuilder()
public OkayOrBuilder getOkayOrBuilder()Okay for success.
.google.cloud.devicestreaming.v1.Okay okay = 2;
| Returns | |
|---|---|
| Type | Description |
OkayOrBuilder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFail(Fail value)
public StreamStatus.Builder mergeFail(Fail value)Fail for failure.
.google.cloud.devicestreaming.v1.Fail fail = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Fail |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
mergeFrom(StreamStatus other)
public StreamStatus.Builder mergeFrom(StreamStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamStatus |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
mergeOkay(Okay value)
public StreamStatus.Builder mergeOkay(Okay value)Okay for success.
.google.cloud.devicestreaming.v1.Okay okay = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Okay |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
setFail(Fail value)
public StreamStatus.Builder setFail(Fail value)Fail for failure.
.google.cloud.devicestreaming.v1.Fail fail = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Fail |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
setFail(Fail.Builder builderForValue)
public StreamStatus.Builder setFail(Fail.Builder builderForValue)Fail for failure.
.google.cloud.devicestreaming.v1.Fail fail = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Fail.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
setOkay(Okay value)
public StreamStatus.Builder setOkay(Okay value)Okay for success.
.google.cloud.devicestreaming.v1.Okay okay = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Okay |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
setOkay(Okay.Builder builderForValue)
public StreamStatus.Builder setOkay(Okay.Builder builderForValue)Okay for success.
.google.cloud.devicestreaming.v1.Okay okay = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Okay.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
|
setStreamId(int value)
public StreamStatus.Builder setStreamId(int value)The unique ID of this stream, assigned by the client.
int32 stream_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe streamId to set. |
| Returns | |
|---|---|
| Type | Description |
StreamStatus.Builder |
This builder for chaining. |