Class AutoMlTextClassificationInputs.Builder (3.12.0)

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutoMlTextClassificationInputs build()
Returns
TypeDescription
AutoMlTextClassificationInputs

buildPartial()

public AutoMlTextClassificationInputs buildPartial()
Returns
TypeDescription
AutoMlTextClassificationInputs

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMultiLabel()

public AutoMlTextClassificationInputs.Builder clearMultiLabel()

bool multi_label = 1;

Returns
TypeDescription
AutoMlTextClassificationInputs.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AutoMlTextClassificationInputs getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTextClassificationInputs

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMultiLabel()

public boolean getMultiLabel()

bool multi_label = 1;

Returns
TypeDescription
boolean

The multiLabel.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoMlTextClassificationInputs other)

public AutoMlTextClassificationInputs.Builder mergeFrom(AutoMlTextClassificationInputs other)
Parameter
NameDescription
otherAutoMlTextClassificationInputs
Returns
TypeDescription
AutoMlTextClassificationInputs.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMultiLabel(boolean value)

public AutoMlTextClassificationInputs.Builder setMultiLabel(boolean value)

bool multi_label = 1;

Parameter
NameDescription
valueboolean

The multiLabel to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoMlTextClassificationInputs.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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