Class TrainingConfig.Builder (3.56.0)

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.v1beta1.TrainingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrainingConfig build()
Returns
Type Description
TrainingConfig

buildPartial()

public TrainingConfig buildPartial()
Returns
Type Description
TrainingConfig

clear()

public TrainingConfig.Builder clear()
Returns
Type Description
TrainingConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTimeoutTrainingMilliHours()

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
Type Description
TrainingConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TrainingConfig getDefaultInstanceForType()
Returns
Type Description
TrainingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTimeoutTrainingMilliHours()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrainingConfig other)

public TrainingConfig.Builder mergeFrom(TrainingConfig other)
Parameter
Name Description
other TrainingConfig
Returns
Type Description
TrainingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TrainingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TrainingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TrainingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrainingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrainingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTimeoutTrainingMilliHours(long value)

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
Type Description
TrainingConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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