Class AutoMlTextClassificationInputs.Builder (3.45.0)

public static final class AutoMlTextClassificationInputs.Builder extends GeneratedMessageV3.Builder<AutoMlTextClassificationInputs.Builder> implements AutoMlTextClassificationInputsOrBuilder

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutoMlTextClassificationInputs build()
Returns
Type Description
AutoMlTextClassificationInputs

buildPartial()

public AutoMlTextClassificationInputs buildPartial()
Returns
Type Description
AutoMlTextClassificationInputs

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMultiLabel()

public AutoMlTextClassificationInputs.Builder clearMultiLabel()

bool multi_label = 1;

Returns
Type Description
AutoMlTextClassificationInputs.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AutoMlTextClassificationInputs getDefaultInstanceForType()
Returns
Type Description
AutoMlTextClassificationInputs

getDescriptorForType()

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

getMultiLabel()

public boolean getMultiLabel()

bool multi_label = 1;

Returns
Type Description
boolean

The multiLabel.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutoMlTextClassificationInputs other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMultiLabel(boolean value)

public AutoMlTextClassificationInputs.Builder setMultiLabel(boolean value)

bool multi_label = 1;

Parameter
Name Description
value boolean

The multiLabel to set.

Returns
Type Description
AutoMlTextClassificationInputs.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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