Class TrainingConfig (3.44.0)

public final class TrainingConfig extends GeneratedMessageV3 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 Fields

TIMEOUT_TRAINING_MILLI_HOURS_FIELD_NUMBER

public static final int TIMEOUT_TRAINING_MILLI_HOURS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TrainingConfig getDefaultInstance()
Returns
Type Description
TrainingConfig

getDescriptor()

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

newBuilder()

public static TrainingConfig.Builder newBuilder()
Returns
Type Description
TrainingConfig.Builder

newBuilder(TrainingConfig prototype)

public static TrainingConfig.Builder newBuilder(TrainingConfig prototype)
Parameter
Name Description
prototype TrainingConfig
Returns
Type Description
TrainingConfig.Builder

parseDelimitedFrom(InputStream input)

public static TrainingConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrainingConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrainingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainingConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TrainingConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TrainingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TrainingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TrainingConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TrainingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TrainingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TrainingConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TrainingConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TrainingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TrainingConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrainingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrainingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainingConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TrainingConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TrainingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TrainingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrainingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TrainingConfig> parser()
Returns
Type Description
Parser<TrainingConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TrainingConfig getDefaultInstanceForType()
Returns
Type Description
TrainingConfig

getParserForType()

public Parser<TrainingConfig> getParserForType()
Returns
Type Description
Parser<TrainingConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TrainingConfig.Builder newBuilderForType()
Returns
Type Description
TrainingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrainingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TrainingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TrainingConfig.Builder toBuilder()
Returns
Type Description
TrainingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException