public static final class TrainingConfig.Builder extends GeneratedMessageV3.Builder<TrainingConfig.Builder> implements TrainingConfigOrBuilder
CMLE training config. For every active learning labeling iteration, system
will train a machine learning model on CMLE. The trained model will be used
by data sampling algorithm to select DataItems.
Protobuf type google.cloud.aiplatform.v1.TrainingConfig
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 TrainingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TrainingConfig build()
Returns
public TrainingConfig buildPartial()
Returns
public TrainingConfig.Builder clear()
Returns
Overrides
public TrainingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TrainingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TrainingConfig.Builder clearTimeoutTrainingMilliHours()
The timeout hours for the CMLE training job, expressed in milli hours
i.e. 1,000 value in this field means 1 hour.
int64 timeout_training_milli_hours = 1;
Returns
public TrainingConfig.Builder clone()
Returns
Overrides
public TrainingConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public long getTimeoutTrainingMilliHours()
The timeout hours for the CMLE training job, expressed in milli hours
i.e. 1,000 value in this field means 1 hour.
int64 timeout_training_milli_hours = 1;
Returns
Type | Description |
long | The timeoutTrainingMilliHours.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TrainingConfig.Builder mergeFrom(TrainingConfig other)
Parameter
Returns
public TrainingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TrainingConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final TrainingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public TrainingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TrainingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public TrainingConfig.Builder setTimeoutTrainingMilliHours(long value)
The timeout hours for the CMLE training job, expressed in milli hours
i.e. 1,000 value in this field means 1 hour.
int64 timeout_training_milli_hours = 1;
Parameter
Name | Description |
value | long
The timeoutTrainingMilliHours to set.
|
Returns
public final TrainingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides