Class BatchRunProcessRequest.BatchRunProcessOptions.Builder (0.1.0)

public static final class BatchRunProcessRequest.BatchRunProcessOptions.Builder extends GeneratedMessageV3.Builder<BatchRunProcessRequest.BatchRunProcessOptions.Builder> implements BatchRunProcessRequest.BatchRunProcessOptionsOrBuilder

Options for batch processes.

Protobuf type google.cloud.visionai.v1.BatchRunProcessRequest.BatchRunProcessOptions

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchRunProcessRequest.BatchRunProcessOptions build()
Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions

buildPartial()

public BatchRunProcessRequest.BatchRunProcessOptions buildPartial()
Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions

clear()

public BatchRunProcessRequest.BatchRunProcessOptions.Builder clear()
Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions.Builder
Overrides

clearBatchSize()

public BatchRunProcessRequest.BatchRunProcessOptions.Builder clearBatchSize()

The batch size. Default: 5, maximum: 100.

int32 batch_size = 2;

Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRetryCount()

public BatchRunProcessRequest.BatchRunProcessOptions.Builder clearRetryCount()

The retry counts per process. Default: 3.

int32 retry_count = 1;

Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions.Builder

This builder for chaining.

clone()

public BatchRunProcessRequest.BatchRunProcessOptions.Builder clone()
Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions.Builder
Overrides

getBatchSize()

public int getBatchSize()

The batch size. Default: 5, maximum: 100.

int32 batch_size = 2;

Returns
Type Description
int

The batchSize.

getDefaultInstanceForType()

public BatchRunProcessRequest.BatchRunProcessOptions getDefaultInstanceForType()
Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions

getDescriptorForType()

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

getRetryCount()

public int getRetryCount()

The retry counts per process. Default: 3.

int32 retry_count = 1;

Returns
Type Description
int

The retryCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchRunProcessRequest.BatchRunProcessOptions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBatchSize(int value)

public BatchRunProcessRequest.BatchRunProcessOptions.Builder setBatchSize(int value)

The batch size. Default: 5, maximum: 100.

int32 batch_size = 2;

Parameter
Name Description
value int

The batchSize to set.

Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRetryCount(int value)

public BatchRunProcessRequest.BatchRunProcessOptions.Builder setRetryCount(int value)

The retry counts per process. Default: 3.

int32 retry_count = 1;

Parameter
Name Description
value int

The retryCount to set.

Returns
Type Description
BatchRunProcessRequest.BatchRunProcessOptions.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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