Class AutoMlTextClassification.Builder (3.56.0)

public static final class AutoMlTextClassification.Builder extends GeneratedMessageV3.Builder<AutoMlTextClassification.Builder> implements AutoMlTextClassificationOrBuilder

A TrainingJob that trains and uploads an AutoML Text Classification Model.

Protobuf type google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassification

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutoMlTextClassification build()
Returns
Type Description
AutoMlTextClassification

buildPartial()

public AutoMlTextClassification buildPartial()
Returns
Type Description
AutoMlTextClassification

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInputs()

public AutoMlTextClassification.Builder clearInputs()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Returns
Type Description
AutoMlTextClassification.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AutoMlTextClassification getDefaultInstanceForType()
Returns
Type Description
AutoMlTextClassification

getDescriptorForType()

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

getInputs()

public AutoMlTextClassificationInputs getInputs()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Returns
Type Description
AutoMlTextClassificationInputs

The inputs.

getInputsBuilder()

public AutoMlTextClassificationInputs.Builder getInputsBuilder()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Returns
Type Description
AutoMlTextClassificationInputs.Builder

getInputsOrBuilder()

public AutoMlTextClassificationInputsOrBuilder getInputsOrBuilder()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Returns
Type Description
AutoMlTextClassificationInputsOrBuilder

hasInputs()

public boolean hasInputs()

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Returns
Type Description
boolean

Whether the inputs field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutoMlTextClassification other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInputs(AutoMlTextClassificationInputs value)

public AutoMlTextClassification.Builder mergeInputs(AutoMlTextClassificationInputs value)

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Parameter
Name Description
value AutoMlTextClassificationInputs
Returns
Type Description
AutoMlTextClassification.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputs(AutoMlTextClassificationInputs value)

public AutoMlTextClassification.Builder setInputs(AutoMlTextClassificationInputs value)

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Parameter
Name Description
value AutoMlTextClassificationInputs
Returns
Type Description
AutoMlTextClassification.Builder

setInputs(AutoMlTextClassificationInputs.Builder builderForValue)

public AutoMlTextClassification.Builder setInputs(AutoMlTextClassificationInputs.Builder builderForValue)

The input parameters of this TrainingJob.

.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassificationInputs inputs = 1;

Parameter
Name Description
builderForValue AutoMlTextClassificationInputs.Builder
Returns
Type Description
AutoMlTextClassification.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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