Class AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder (3.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation build()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

buildPartial()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation buildPartial()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

clear()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clear()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

clearColumnName()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clearColumnName()

string column_name = 1;

Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

clone()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clone()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

getColumnName()

public String getColumnName()

string column_name = 1;

Returns
TypeDescription
String

The columnName.

getColumnNameBytes()

public ByteString getColumnNameBytes()

string column_name = 1;

Returns
TypeDescription
ByteString

The bytes for columnName.

getDefaultInstanceForType()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoMlTablesInputs.Transformation.CategoricalArrayTransformation other)

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeFrom(AutoMlTablesInputs.Transformation.CategoricalArrayTransformation other)
Parameter
NameDescription
otherAutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

setColumnName(String value)

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

string column_name = 1;

Parameter
NameDescription
valueString

The columnName to set.

Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

This builder for chaining.

setColumnNameBytes(ByteString value)

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

string column_name = 1;

Parameter
NameDescription
valueByteString

The bytes for columnName to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides