Class RunStatus.Builder (0.14.1)

public static final class RunStatus.Builder extends GeneratedMessageV3.Builder<RunStatus.Builder> implements RunStatusOrBuilder

Message describing the status of the Process.

Protobuf type google.events.cloud.visionai.v1.RunStatus

Implements

RunStatusOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RunStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RunStatus.Builder
Overrides

build()

public RunStatus build()
Returns
TypeDescription
RunStatus

buildPartial()

public RunStatus buildPartial()
Returns
TypeDescription
RunStatus

clear()

public RunStatus.Builder clear()
Returns
TypeDescription
RunStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RunStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RunStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RunStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RunStatus.Builder
Overrides

clearReason()

public RunStatus.Builder clearReason()

The reason of becoming the state.

string reason = 2;

Returns
TypeDescription
RunStatus.Builder

This builder for chaining.

clearState()

public RunStatus.Builder clearState()

The state of the Process.

.google.events.cloud.visionai.v1.RunStatus.State state = 1;

Returns
TypeDescription
RunStatus.Builder

This builder for chaining.

clone()

public RunStatus.Builder clone()
Returns
TypeDescription
RunStatus.Builder
Overrides

getDefaultInstanceForType()

public RunStatus getDefaultInstanceForType()
Returns
TypeDescription
RunStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReason()

public String getReason()

The reason of becoming the state.

string reason = 2;

Returns
TypeDescription
String

The reason.

getReasonBytes()

public ByteString getReasonBytes()

The reason of becoming the state.

string reason = 2;

Returns
TypeDescription
ByteString

The bytes for reason.

getState()

public RunStatus.State getState()

The state of the Process.

.google.events.cloud.visionai.v1.RunStatus.State state = 1;

Returns
TypeDescription
RunStatus.State

The state.

getStateValue()

public int getStateValue()

The state of the Process.

.google.events.cloud.visionai.v1.RunStatus.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunStatus other)

public RunStatus.Builder mergeFrom(RunStatus other)
Parameter
NameDescription
otherRunStatus
Returns
TypeDescription
RunStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RunStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RunStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RunStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RunStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RunStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RunStatus.Builder
Overrides

setReason(String value)

public RunStatus.Builder setReason(String value)

The reason of becoming the state.

string reason = 2;

Parameter
NameDescription
valueString

The reason to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for reason to set.

Returns
TypeDescription
RunStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RunStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RunStatus.Builder
Overrides

setState(RunStatus.State value)

public RunStatus.Builder setState(RunStatus.State value)

The state of the Process.

.google.events.cloud.visionai.v1.RunStatus.State state = 1;

Parameter
NameDescription
valueRunStatus.State

The state to set.

Returns
TypeDescription
RunStatus.Builder

This builder for chaining.

setStateValue(int value)

public RunStatus.Builder setStateValue(int value)

The state of the Process.

.google.events.cloud.visionai.v1.RunStatus.State state = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
RunStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RunStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RunStatus.Builder
Overrides