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
Inherited Members
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AutoMlTablesInputs.Transformation.TextTransformation build()
Returns
buildPartial()
public AutoMlTablesInputs.Transformation.TextTransformation buildPartial()
Returns
clear()
public AutoMlTablesInputs.Transformation.TextTransformation.Builder clear()
Returns
Overrides
clearColumnName()
public AutoMlTablesInputs.Transformation.TextTransformation.Builder clearColumnName()
Returns
clearField(Descriptors.FieldDescriptor field)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AutoMlTablesInputs.Transformation.TextTransformation.Builder clone()
Returns
Overrides
getColumnName()
public String getColumnName()
Returns
Type | Description |
String | The columnName.
|
getColumnNameBytes()
public ByteString getColumnNameBytes()
Returns
Type | Description |
ByteString | The bytes for columnName.
|
getDefaultInstanceForType()
public AutoMlTablesInputs.Transformation.TextTransformation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AutoMlTablesInputs.Transformation.TextTransformation other)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder mergeFrom(AutoMlTablesInputs.Transformation.TextTransformation other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutoMlTablesInputs.Transformation.TextTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setColumnName(String value)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder setColumnName(String value)
Parameter
Name | Description |
value | String
The columnName to set.
|
Returns
setColumnNameBytes(ByteString value)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder setColumnNameBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for columnName to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutoMlTablesInputs.Transformation.TextTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AutoMlTablesInputs.Transformation.TextTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides