Class AutoMlTablesInputs.Transformation.TextTransformation.Builder (3.29.0)

public static final class AutoMlTablesInputs.Transformation.TextTransformation.Builder extends GeneratedMessageV3.Builder<AutoMlTablesInputs.Transformation.TextTransformation.Builder> implements AutoMlTablesInputs.Transformation.TextTransformationOrBuilder

Training pipeline will perform following transformation functions.

  • The text as is--no change to case, punctuation, spelling, tense, and so on.
  • Tokenize text to words. Convert each words 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.
  • Tokenization is based on unicode script boundaries.
  • Missing values get their own lookup index and resulting embedding.
  • Stop-words receive no special treatment and are not removed.

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearColumnName()

public AutoMlTablesInputs.Transformation.TextTransformation.Builder clearColumnName()

string column_name = 1;

Returns
TypeDescription
AutoMlTablesInputs.Transformation.TextTransformation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AutoMlTablesInputs.Transformation.TextTransformation.Builder clone()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TextTransformation.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.TextTransformation getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TextTransformation

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setColumnName(String value)

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

string column_name = 1;

Parameter
NameDescription
valueString

The columnName to set.

Returns
TypeDescription
AutoMlTablesInputs.Transformation.TextTransformation.Builder

This builder for chaining.

setColumnNameBytes(ByteString value)

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

string column_name = 1;

Parameter
NameDescription
valueByteString

The bytes for columnName to set.

Returns
TypeDescription
AutoMlTablesInputs.Transformation.TextTransformation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AutoMlTablesInputs.Transformation.TextTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TextTransformation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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