Class AutoMlTextClassificationInputs.Builder (3.13.0)

See more code actions.
public static final class AutoMlTextClassificationInputs.Builder extends GeneratedMessageV3.Builder<AutoMlTextClassificationInputs.Builder> implements AutoMlTextClassificationInputsOrBuilder

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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public AutoMlTextClassificationInputs build()
Returns

buildPartial()

public AutoMlTextClassificationInputs buildPartial()
Returns

clear()

public AutoMlTextClassificationInputs.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

public AutoMlTextClassificationInputs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns 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 Overrides

clone()

public AutoMlTextClassificationInputs.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public AutoMlTextClassificationInputs getDefaultInstanceForType()
Returns

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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