Class TrainingConfig.Builder (3.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TrainingConfig build()
Returns
TypeDescription
TrainingConfig

buildPartial()

public TrainingConfig buildPartial()
Returns
TypeDescription
TrainingConfig

clear()

public TrainingConfig.Builder clear()
Returns
TypeDescription
TrainingConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TrainingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TrainingConfig.Builder

This builder for chaining.

clone()

public TrainingConfig.Builder clone()
Returns
TypeDescription
TrainingConfig.Builder
Overrides

getDefaultInstanceForType()

public TrainingConfig getDefaultInstanceForType()
Returns
TypeDescription
TrainingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
long

The timeoutTrainingMilliHours.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TrainingConfig other)

public TrainingConfig.Builder mergeFrom(TrainingConfig other)
Parameter
NameDescription
otherTrainingConfig
Returns
TypeDescription
TrainingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrainingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TrainingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TrainingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The timeoutTrainingMilliHours to set.

Returns
TypeDescription
TrainingConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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