public static final class RunStatus.Builder extends GeneratedMessageV3.Builder<RunStatus.Builder> implements RunStatusOrBuilder
Message describing the status of the Process.
Protobuf type google.cloud.visionai.v1.RunStatus
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public RunStatus buildPartial()
clear()
public RunStatus.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RunStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RunStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReason()
public RunStatus.Builder clearReason()
The reason of becoming the state.
string reason = 2;
clearState()
public RunStatus.Builder clearState()
The state of the Process.
.google.cloud.visionai.v1.RunStatus.State state = 1;
clone()
public RunStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public RunStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RunStatus other)
public RunStatus.Builder mergeFrom(RunStatus other)
public RunStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RunStatus.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RunStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReason(String value)
public RunStatus.Builder setReason(String value)
The reason of becoming the state.
string reason = 2;
Parameter |
Name |
Description |
value |
String
The reason to set.
|
setReasonBytes(ByteString value)
public RunStatus.Builder setReasonBytes(ByteString value)
The reason of becoming the state.
string reason = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for reason to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setState(RunStatus.State value)
public RunStatus.Builder setState(RunStatus.State value)
The state of the Process.
.google.cloud.visionai.v1.RunStatus.State state = 1;
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 |
int
The enum numeric value on the wire for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RunStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides