Class AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder (3.55.0)

See more code actions.
public static final class AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder extends GeneratedMessageV3.Builder<AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder> implements AutoMlTablesInputs.Transformation.CategoricalTransformationOrBuilder

Training pipeline will perform following transformation functions.

  • The categorical string as is--no change to case, punctuation, spelling, tense, and so on.
  • Convert the category name to a dictionary lookup index and generate an embedding for each index.
  • Categories that appear less than 5 times in the training dataset are treated as the "unknown" category. The "unknown" category gets its own special lookup index and resulting embedding.

Protobuf type google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalTransformation

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public AutoMlTablesInputs.Transformation.CategoricalTransformation build()

buildPartial()

public AutoMlTablesInputs.Transformation.CategoricalTransformation buildPartial()

clear()

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder clear()
Overrides

clearColumnName()

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder clearColumnName()

string column_name = 1;

Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clone()

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder clone()
Overrides

getColumnName()

public String getColumnName()

string column_name = 1;

Returns
Type Description
String

The columnName.

getColumnNameBytes()

public ByteString getColumnNameBytes()

string column_name = 1;

Returns
Type Description
ByteString

The bytes for columnName.

getDefaultInstanceForType()

public AutoMlTablesInputs.Transformation.CategoricalTransformation getDefaultInstanceForType()

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutoMlTablesInputs.Transformation.CategoricalTransformation other)

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder mergeFrom(AutoMlTablesInputs.Transformation.CategoricalTransformation other)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setColumnName(String value)

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder setColumnName(String value)

string column_name = 1;

Parameter
Name Description
value String

The columnName to set.

Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder

This builder for chaining.

setColumnNameBytes(ByteString value)

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder setColumnNameBytes(ByteString value)

string column_name = 1;

Parameter
Name Description
value ByteString

The bytes for columnName to set.

Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

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

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides