Class ManualBatchTuningParameters.Builder (3.55.0)

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

Manual batch tuning parameters.

Protobuf type google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManualBatchTuningParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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