Class RunStatus (0.6.0)

public final class RunStatus extends GeneratedMessageV3 implements RunStatusOrBuilder

Message describing the status of the Process.

Protobuf type google.cloud.visionai.v1.RunStatus

Implements

RunStatusOrBuilder

Static Fields

REASON_FIELD_NUMBER

public static final int REASON_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RunStatus getDefaultInstance()
Returns
Type Description
RunStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RunStatus.Builder newBuilder()
Returns
Type Description
RunStatus.Builder

newBuilder(RunStatus prototype)

public static RunStatus.Builder newBuilder(RunStatus prototype)
Parameter
Name Description
prototype RunStatus
Returns
Type Description
RunStatus.Builder

parseDelimitedFrom(InputStream input)

public static RunStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RunStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RunStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RunStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RunStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RunStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RunStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RunStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RunStatus> parser()
Returns
Type Description
Parser<RunStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RunStatus getDefaultInstanceForType()
Returns
Type Description
RunStatus

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RunStatus.Builder newBuilderForType()
Returns
Type Description
RunStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RunStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RunStatus.Builder toBuilder()
Returns
Type Description
RunStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException