Class AutoMlTextClassification.Builder (2.8.9)

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.v1.schema.trainingjob.definition.AutoMlTextClassification

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutoMlTextClassification build()
Returns
TypeDescription
AutoMlTextClassification

buildPartial()

public AutoMlTextClassification buildPartial()
Returns
TypeDescription
AutoMlTextClassification

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInputs()

public AutoMlTextClassification.Builder clearInputs()

The input parameters of this TrainingJob.

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

Returns
TypeDescription
AutoMlTextClassification.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlTextClassification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoMlTextClassification.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public AutoMlTextClassification getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTextClassification

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputs()

public AutoMlTextClassificationInputs getInputs()

The input parameters of this TrainingJob.

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

Returns
TypeDescription
AutoMlTextClassificationInputs

The inputs.

getInputsBuilder()

public AutoMlTextClassificationInputs.Builder getInputsBuilder()

The input parameters of this TrainingJob.

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

Returns
TypeDescription
AutoMlTextClassificationInputs.Builder

getInputsOrBuilder()

public AutoMlTextClassificationInputsOrBuilder getInputsOrBuilder()

The input parameters of this TrainingJob.

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

Returns
TypeDescription
AutoMlTextClassificationInputsOrBuilder

hasInputs()

public boolean hasInputs()

The input parameters of this TrainingJob.

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

Returns
TypeDescription
boolean

Whether the inputs field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoMlTextClassification other)

public AutoMlTextClassification.Builder mergeFrom(AutoMlTextClassification other)
Parameter
NameDescription
otherAutoMlTextClassification
Returns
TypeDescription
AutoMlTextClassification.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInputs(AutoMlTextClassificationInputs value)

public AutoMlTextClassification.Builder mergeInputs(AutoMlTextClassificationInputs value)

The input parameters of this TrainingJob.

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

Parameter
NameDescription
valueAutoMlTextClassificationInputs
Returns
TypeDescription
AutoMlTextClassification.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputs(AutoMlTextClassificationInputs value)

public AutoMlTextClassification.Builder setInputs(AutoMlTextClassificationInputs value)

The input parameters of this TrainingJob.

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

Parameter
NameDescription
valueAutoMlTextClassificationInputs
Returns
TypeDescription
AutoMlTextClassification.Builder

setInputs(AutoMlTextClassificationInputs.Builder builderForValue)

public AutoMlTextClassification.Builder setInputs(AutoMlTextClassificationInputs.Builder builderForValue)

The input parameters of this TrainingJob.

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

Parameter
NameDescription
builderForValueAutoMlTextClassificationInputs.Builder
Returns
TypeDescription
AutoMlTextClassification.Builder

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

public AutoMlTextClassification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoMlTextClassification.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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