public static final class ManualBatchTuningParameters.Builder extends GeneratedMessageV3.Builder<ManualBatchTuningParameters.Builder> implements ManualBatchTuningParametersOrBuilder
Manual batch tuning parameters.
Protobuf type google.cloud.aiplatform.v1beta1.ManualBatchTuningParameters
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ManualBatchTuningParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ManualBatchTuningParameters build()
Returns
public ManualBatchTuningParameters buildPartial()
Returns
public ManualBatchTuningParameters.Builder clear()
Returns
Overrides
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
public ManualBatchTuningParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ManualBatchTuningParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ManualBatchTuningParameters.Builder clone()
Returns
Overrides
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.
|
public ManualBatchTuningParameters getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ManualBatchTuningParameters.Builder mergeFrom(ManualBatchTuningParameters other)
Parameter
Returns
public ManualBatchTuningParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ManualBatchTuningParameters.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ManualBatchTuningParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
public ManualBatchTuningParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ManualBatchTuningParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ManualBatchTuningParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides