public static final class RunStatus.Builder extends GeneratedMessage.Builder<RunStatus.Builder> implements RunStatusOrBuilderMessage describing the status of the Process.
Protobuf type google.cloud.visionai.v1.RunStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RunStatus.BuilderImplements
RunStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RunStatus build()| Returns | |
|---|---|
| Type | Description |
RunStatus |
|
buildPartial()
public RunStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
RunStatus |
|
clear()
public RunStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
|
clearReason()
public RunStatus.Builder clearReason()The reason of becoming the state.
string reason = 2;
| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
This builder for chaining. |
clearState()
public RunStatus.Builder clearState()The state of the Process.
.google.cloud.visionai.v1.RunStatus.State state = 1;
| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RunStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RunStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getReason()
public String getReason()The reason of becoming the state.
string reason = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The reason. |
getReasonBytes()
public ByteString getReasonBytes()The reason of becoming the state.
string reason = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reason. |
getState()
public RunStatus.State getState()The state of the Process.
.google.cloud.visionai.v1.RunStatus.State state = 1;
| Returns | |
|---|---|
| Type | Description |
RunStatus.State |
The state. |
getStateValue()
public int getStateValue()The state of the Process.
.google.cloud.visionai.v1.RunStatus.State state = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RunStatus other)
public RunStatus.Builder mergeFrom(RunStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
RunStatus |
| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RunStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RunStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
|
setReason(String value)
public RunStatus.Builder setReason(String value)The reason of becoming the state.
string reason = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reason to set. |
| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
This builder for chaining. |
setReasonBytes(ByteString value)
public RunStatus.Builder setReasonBytes(ByteString value)The reason of becoming the state.
string reason = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reason to set. |
| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
This builder for chaining. |
setState(RunStatus.State value)
public RunStatus.Builder setState(RunStatus.State value)The state of the Process.
.google.cloud.visionai.v1.RunStatus.State state = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
RunStatus.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
This builder for chaining. |
setStateValue(int value)
public RunStatus.Builder setStateValue(int value)The state of the Process.
.google.cloud.visionai.v1.RunStatus.State state = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
RunStatus.Builder |
This builder for chaining. |