Class AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder (3.42.0)

public static final class AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder extends GeneratedMessageV3.Builder<AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder> implements AutoMlTablesInputs.Transformation.CategoricalArrayTransformationOrBuilder

Treats the column as categorical array and performs following transformation functions.

  • For each element in the array, convert the category name to a dictionary lookup index and generate an embedding for each index. Combine the embedding of all elements into a single embedding using the mean.
  • Empty arrays treated as an embedding of zeroes.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation build()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

buildPartial()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation buildPartial()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

clear()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clear()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

clearColumnName()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clearColumnName()

string column_name = 1;

Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

clone()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clone()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
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.CategoricalArrayTransformation getDefaultInstanceForType()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

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.CategoricalArrayTransformation other)

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeFrom(AutoMlTablesInputs.Transformation.CategoricalArrayTransformation other)
Parameter
Name Description
other AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

setColumnName(String value)

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

string column_name = 1;

Parameter
Name Description
value String

The columnName to set.

Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

This builder for chaining.

setColumnNameBytes(ByteString value)

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

string column_name = 1;

Parameter
Name Description
value ByteString

The bytes for columnName to set.

Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides