Class Process (0.14.1)

public final class Process extends GeneratedMessageV3 implements ProcessOrBuilder

Message describing the Process object.

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

Implements

ProcessOrBuilder

Static Fields

ANALYSIS_FIELD_NUMBER

public static final int ANALYSIS_FIELD_NUMBER
Field Value
TypeDescription
int

ATTRIBUTE_OVERRIDES_FIELD_NUMBER

public static final int ATTRIBUTE_OVERRIDES_FIELD_NUMBER
Field Value
TypeDescription
int

BATCH_ID_FIELD_NUMBER

public static final int BATCH_ID_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_ID_FIELD_NUMBER

public static final int EVENT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RETRY_COUNT_FIELD_NUMBER

public static final int RETRY_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

RUN_MODE_FIELD_NUMBER

public static final int RUN_MODE_FIELD_NUMBER
Field Value
TypeDescription
int

RUN_STATUS_FIELD_NUMBER

public static final int RUN_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Process getDefaultInstance()
Returns
TypeDescription
Process

getDescriptor()

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

newBuilder()

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

newBuilder(Process prototype)

public static Process.Builder newBuilder(Process prototype)
Parameter
NameDescription
prototypeProcess
Returns
TypeDescription
Process.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAnalysis()

public String getAnalysis()

Required. Reference to an existing Analysis resource.

string analysis = 4;

Returns
TypeDescription
String

The analysis.

getAnalysisBytes()

public ByteString getAnalysisBytes()

Required. Reference to an existing Analysis resource.

string analysis = 4;

Returns
TypeDescription
ByteString

The bytes for analysis.

getAttributeOverrides(int index)

public String getAttributeOverrides(int index)

Optional. Attribute overrides of the Analyzers. Format for each single override item: "{analyzer_name}:{attribute_key}={value}"

repeated string attribute_overrides = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The attributeOverrides at the given index.

getAttributeOverridesBytes(int index)

public ByteString getAttributeOverridesBytes(int index)

Optional. Attribute overrides of the Analyzers. Format for each single override item: "{analyzer_name}:{attribute_key}={value}"

repeated string attribute_overrides = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the attributeOverrides at the given index.

getAttributeOverridesCount()

public int getAttributeOverridesCount()

Optional. Attribute overrides of the Analyzers. Format for each single override item: "{analyzer_name}:{attribute_key}={value}"

repeated string attribute_overrides = 5;

Returns
TypeDescription
int

The count of attributeOverrides.

getAttributeOverridesList()

public ProtocolStringList getAttributeOverridesList()

Optional. Attribute overrides of the Analyzers. Format for each single override item: "{analyzer_name}:{attribute_key}={value}"

repeated string attribute_overrides = 5;

Returns
TypeDescription
ProtocolStringList

A list containing the attributeOverrides.

getBatchId()

public String getBatchId()

Optional. Optional: Batch ID of the Process.

string batch_id = 9;

Returns
TypeDescription
String

The batchId.

getBatchIdBytes()

public ByteString getBatchIdBytes()

Optional. Optional: Batch ID of the Process.

string batch_id = 9;

Returns
TypeDescription
ByteString

The bytes for batchId.

getCreateTime()

public Timestamp getCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Process getDefaultInstanceForType()
Returns
TypeDescription
Process

getEventId()

public String getEventId()

Optional. Event ID of the input/output streams. This is useful when you have a StreamSource/StreamSink operator in the Analysis, and you want to manually specify the Event to read from/write to.

string event_id = 8;

Returns
TypeDescription
String

The eventId.

getEventIdBytes()

public ByteString getEventIdBytes()

Optional. Event ID of the input/output streams. This is useful when you have a StreamSource/StreamSink operator in the Analysis, and you want to manually specify the Event to read from/write to.

string event_id = 8;

Returns
TypeDescription
ByteString

The bytes for eventId.

getName()

public String getName()

The name of resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Process> getParserForType()
Returns
TypeDescription
Parser<Process>
Overrides

getRetryCount()

public int getRetryCount()

Optional. Optional: The number of retries for a process in submission mode the system should try before declaring failure. By default, no retry will be performed.

int32 retry_count = 10;

Returns
TypeDescription
int

The retryCount.

getRunMode()

public RunMode getRunMode()

Optional. Run mode of the Process.

.google.events.cloud.visionai.v1.RunMode run_mode = 7;

Returns
TypeDescription
RunMode

The runMode.

getRunModeValue()

public int getRunModeValue()

Optional. Run mode of the Process.

.google.events.cloud.visionai.v1.RunMode run_mode = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for runMode.

getRunStatus()

public RunStatus getRunStatus()

Optional. Status of the Process.

.google.events.cloud.visionai.v1.RunStatus run_status = 6;

Returns
TypeDescription
RunStatus

The runStatus.

getRunStatusOrBuilder()

public RunStatusOrBuilder getRunStatusOrBuilder()

Optional. Status of the Process.

.google.events.cloud.visionai.v1.RunStatus run_status = 6;

Returns
TypeDescription
RunStatusOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The create timestamp.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasRunStatus()

public boolean hasRunStatus()

Optional. Status of the Process.

.google.events.cloud.visionai.v1.RunStatus run_status = 6;

Returns
TypeDescription
boolean

Whether the runStatus field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The update timestamp.

.google.protobuf.Timestamp update_time = 3;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

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 Process.Builder newBuilderForType()
Returns
TypeDescription
Process.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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