Class ManualBatchTuningParameters.Builder (3.84.0)

public static final class ManualBatchTuningParameters.Builder extends GeneratedMessage.Builder<ManualBatchTuningParameters.Builder> implements ManualBatchTuningParametersOrBuilder

Manual batch tuning parameters.

Protobuf type google.cloud.aiplatform.v1.ManualBatchTuningParameters

Static Methods

getDescriptor()

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

Methods

build()

public ManualBatchTuningParameters build()
Returns
Type Description
ManualBatchTuningParameters

buildPartial()

public ManualBatchTuningParameters buildPartial()
Returns
Type Description
ManualBatchTuningParameters

clear()

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

clearBatchSize()

public ManualBatchTuningParameters.Builder clearBatchSize()

Immutable. The number of the records (e.g. instances) of the operation given in each batch to a machine replica. Machine type, and size of a single record should be considered when setting this parameter, higher value speeds up the batch operation's execution, but too high value will result in a whole batch not fitting in a machine's memory, and the whole operation will fail. The default value is 64.

int32 batch_size = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ManualBatchTuningParameters.Builder

This builder for chaining.

getBatchSize()

public int getBatchSize()

Immutable. The number of the records (e.g. instances) of the operation given in each batch to a machine replica. Machine type, and size of a single record should be considered when setting this parameter, higher value speeds up the batch operation's execution, but too high value will result in a whole batch not fitting in a machine's memory, and the whole operation will fail. The default value is 64.

int32 batch_size = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The batchSize.

getDefaultInstanceForType()

public ManualBatchTuningParameters getDefaultInstanceForType()
Returns
Type Description
ManualBatchTuningParameters

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ManualBatchTuningParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBatchSize(int value)

public ManualBatchTuningParameters.Builder setBatchSize(int value)

Immutable. The number of the records (e.g. instances) of the operation given in each batch to a machine replica. Machine type, and size of a single record should be considered when setting this parameter, higher value speeds up the batch operation's execution, but too high value will result in a whole batch not fitting in a machine's memory, and the whole operation will fail. The default value is 64.

int32 batch_size = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value int

The batchSize to set.

Returns
Type Description
ManualBatchTuningParameters.Builder

This builder for chaining.