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()
Methods
public ManualBatchTuningParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ManualBatchTuningParameters build()
public ManualBatchTuningParameters buildPartial()
public ManualBatchTuningParameters.Builder clear()
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];
public ManualBatchTuningParameters.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ManualBatchTuningParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ManualBatchTuningParameters.Builder clone()
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()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ManualBatchTuningParameters.Builder mergeFrom(ManualBatchTuningParameters other)
public ManualBatchTuningParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ManualBatchTuningParameters.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ManualBatchTuningParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
public ManualBatchTuningParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ManualBatchTuningParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ManualBatchTuningParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides