Class RunStatus (0.14.1)

public final class RunStatus extends GeneratedMessageV3 implements RunStatusOrBuilder

Message describing the status of the Process.

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

Implements

RunStatusOrBuilder

Static Fields

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RunStatus getDefaultInstance()
Returns
TypeDescription
RunStatus

getDescriptor()

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

newBuilder()

public static RunStatus.Builder newBuilder()
Returns
TypeDescription
RunStatus.Builder

newBuilder(RunStatus prototype)

public static RunStatus.Builder newBuilder(RunStatus prototype)
Parameter
NameDescription
prototypeRunStatus
Returns
TypeDescription
RunStatus.Builder

parseDelimitedFrom(InputStream input)

public static RunStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RunStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RunStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RunStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RunStatus> parser()
Returns
TypeDescription
Parser<RunStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RunStatus getDefaultInstanceForType()
Returns
TypeDescription
RunStatus

getParserForType()

public Parser<RunStatus> getParserForType()
Returns
TypeDescription
Parser<RunStatus>
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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RunStatus.Builder newBuilderForType()
Returns
TypeDescription
RunStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RunStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RunStatus.Builder toBuilder()
Returns
TypeDescription
RunStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException