Class BatchRunProcessResponse.Builder (0.12.0)

public static final class BatchRunProcessResponse.Builder extends GeneratedMessageV3.Builder<BatchRunProcessResponse.Builder> implements BatchRunProcessResponseOrBuilder

Response message for running the processes in a batch.

Protobuf type google.cloud.visionai.v1.BatchRunProcessResponse

Static Methods

getDescriptor()

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

Methods

addAllProcesses(Iterable<? extends Process> values)

public BatchRunProcessResponse.Builder addAllProcesses(Iterable<? extends Process> values)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.Process>
Returns
Type Description
BatchRunProcessResponse.Builder

addProcesses(Process value)

public BatchRunProcessResponse.Builder addProcesses(Process value)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameter
Name Description
value Process
Returns
Type Description
BatchRunProcessResponse.Builder

addProcesses(Process.Builder builderForValue)

public BatchRunProcessResponse.Builder addProcesses(Process.Builder builderForValue)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameter
Name Description
builderForValue Process.Builder
Returns
Type Description
BatchRunProcessResponse.Builder

addProcesses(int index, Process value)

public BatchRunProcessResponse.Builder addProcesses(int index, Process value)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameters
Name Description
index int
value Process
Returns
Type Description
BatchRunProcessResponse.Builder

addProcesses(int index, Process.Builder builderForValue)

public BatchRunProcessResponse.Builder addProcesses(int index, Process.Builder builderForValue)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameters
Name Description
index int
builderForValue Process.Builder
Returns
Type Description
BatchRunProcessResponse.Builder

addProcessesBuilder()

public Process.Builder addProcessesBuilder()

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Returns
Type Description
Process.Builder

addProcessesBuilder(int index)

public Process.Builder addProcessesBuilder(int index)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameter
Name Description
index int
Returns
Type Description
Process.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchRunProcessResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides

build()

public BatchRunProcessResponse build()
Returns
Type Description
BatchRunProcessResponse

buildPartial()

public BatchRunProcessResponse buildPartial()
Returns
Type Description
BatchRunProcessResponse

clear()

public BatchRunProcessResponse.Builder clear()
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides

clearBatchId()

public BatchRunProcessResponse.Builder clearBatchId()

The batch ID.

string batch_id = 1;

Returns
Type Description
BatchRunProcessResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BatchRunProcessResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchRunProcessResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides

clearProcesses()

public BatchRunProcessResponse.Builder clearProcesses()

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Returns
Type Description
BatchRunProcessResponse.Builder

clone()

public BatchRunProcessResponse.Builder clone()
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides

getBatchId()

public String getBatchId()

The batch ID.

string batch_id = 1;

Returns
Type Description
String

The batchId.

getBatchIdBytes()

public ByteString getBatchIdBytes()

The batch ID.

string batch_id = 1;

Returns
Type Description
ByteString

The bytes for batchId.

getDefaultInstanceForType()

public BatchRunProcessResponse getDefaultInstanceForType()
Returns
Type Description
BatchRunProcessResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProcesses(int index)

public Process getProcesses(int index)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameter
Name Description
index int
Returns
Type Description
Process

getProcessesBuilder(int index)

public Process.Builder getProcessesBuilder(int index)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameter
Name Description
index int
Returns
Type Description
Process.Builder

getProcessesBuilderList()

public List<Process.Builder> getProcessesBuilderList()

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Returns
Type Description
List<Builder>

getProcessesCount()

public int getProcessesCount()

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Returns
Type Description
int

getProcessesList()

public List<Process> getProcessesList()

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Returns
Type Description
List<Process>

getProcessesOrBuilder(int index)

public ProcessOrBuilder getProcessesOrBuilder(int index)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameter
Name Description
index int
Returns
Type Description
ProcessOrBuilder

getProcessesOrBuilderList()

public List<? extends ProcessOrBuilder> getProcessesOrBuilderList()

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.ProcessOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchRunProcessResponse other)

public BatchRunProcessResponse.Builder mergeFrom(BatchRunProcessResponse other)
Parameter
Name Description
other BatchRunProcessResponse
Returns
Type Description
BatchRunProcessResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchRunProcessResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchRunProcessResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunProcessResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides

removeProcesses(int index)

public BatchRunProcessResponse.Builder removeProcesses(int index)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchRunProcessResponse.Builder

setBatchId(String value)

public BatchRunProcessResponse.Builder setBatchId(String value)

The batch ID.

string batch_id = 1;

Parameter
Name Description
value String

The batchId to set.

Returns
Type Description
BatchRunProcessResponse.Builder

This builder for chaining.

setBatchIdBytes(ByteString value)

public BatchRunProcessResponse.Builder setBatchIdBytes(ByteString value)

The batch ID.

string batch_id = 1;

Parameter
Name Description
value ByteString

The bytes for batchId to set.

Returns
Type Description
BatchRunProcessResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BatchRunProcessResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides

setProcesses(int index, Process value)

public BatchRunProcessResponse.Builder setProcesses(int index, Process value)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameters
Name Description
index int
value Process
Returns
Type Description
BatchRunProcessResponse.Builder

setProcesses(int index, Process.Builder builderForValue)

public BatchRunProcessResponse.Builder setProcesses(int index, Process.Builder builderForValue)

Processes created.

repeated .google.cloud.visionai.v1.Process processes = 2;

Parameters
Name Description
index int
builderForValue Process.Builder
Returns
Type Description
BatchRunProcessResponse.Builder

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

public BatchRunProcessResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchRunProcessResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchRunProcessResponse.Builder
Overrides