Class AutoMlTextClassification.Builder (3.3.0)

See more code actions.
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 Overrides

build()

public AutoMlTextClassification build()
Returns

buildPartial()

public AutoMlTextClassification buildPartial()
Returns

clear()

public AutoMlTextClassification.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearInputs()

public AutoMlTextClassification.Builder clearInputs()

The input parameters of this TrainingJob.

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

Returns

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AutoMlTextClassification.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public AutoMlTextClassification getDefaultInstanceForType()
Returns

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

getInputsOrBuilder()

public AutoMlTextClassificationInputsOrBuilder getInputsOrBuilder()

The input parameters of this TrainingJob.

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

Returns

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AutoMlTextClassification.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns 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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AutoMlTextClassification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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

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

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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