Class ManualBatchTuningParameters.Builder (2.4.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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManualBatchTuningParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManualBatchTuningParameters.Builder
Overrides

build()

public ManualBatchTuningParameters build()
Returns
TypeDescription
ManualBatchTuningParameters

buildPartial()

public ManualBatchTuningParameters buildPartial()
Returns
TypeDescription
ManualBatchTuningParameters

clear()

public ManualBatchTuningParameters.Builder clear()
Returns
TypeDescription
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 4.

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

Returns
TypeDescription
ManualBatchTuningParameters.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ManualBatchTuningParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ManualBatchTuningParameters.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ManualBatchTuningParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ManualBatchTuningParameters.Builder
Overrides

clone()

public ManualBatchTuningParameters.Builder clone()
Returns
TypeDescription
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 4.

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

Returns
TypeDescription
int

The batchSize.

getDefaultInstanceForType()

public ManualBatchTuningParameters getDefaultInstanceForType()
Returns
TypeDescription
ManualBatchTuningParameters

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ManualBatchTuningParameters other)

public ManualBatchTuningParameters.Builder mergeFrom(ManualBatchTuningParameters other)
Parameter
NameDescription
otherManualBatchTuningParameters
Returns
TypeDescription
ManualBatchTuningParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManualBatchTuningParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManualBatchTuningParameters.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ManualBatchTuningParameters.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ManualBatchTuningParameters.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManualBatchTuningParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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 4.

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

Parameter
NameDescription
valueint

The batchSize to set.

Returns
TypeDescription
ManualBatchTuningParameters.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ManualBatchTuningParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManualBatchTuningParameters.Builder
Overrides

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

public ManualBatchTuningParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ManualBatchTuningParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ManualBatchTuningParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ManualBatchTuningParameters.Builder
Overrides