Class AutoMlTablesInputs.Transformation.NumericArrayTransformation.Builder (2.4.0)

public static final class AutoMlTablesInputs.Transformation.NumericArrayTransformation.Builder extends GeneratedMessageV3.Builder<AutoMlTablesInputs.Transformation.NumericArrayTransformation.Builder> implements AutoMlTablesInputs.Transformation.NumericArrayTransformationOrBuilder

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

  • All transformations for Numerical types applied to the average of the all elements.
  • The average of empty arrays is treated as zero.

Protobuf type google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericArrayTransformation

Inheritance

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutoMlTablesInputs.Transformation.NumericArrayTransformation build()
Returns

buildPartial()

public AutoMlTablesInputs.Transformation.NumericArrayTransformation buildPartial()
Returns

clear()

public AutoMlTablesInputs.Transformation.NumericArrayTransformation.Builder clear()
Returns Overrides

clearColumnName()

public AutoMlTablesInputs.Transformation.NumericArrayTransformation.Builder clearColumnName()

string column_name = 1;

Returns

clearField(Descriptors.FieldDescriptor field)

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

clearInvalidValuesAllowed()

public AutoMlTablesInputs.Transformation.NumericArrayTransformation.Builder clearInvalidValuesAllowed()

If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.

bool invalid_values_allowed = 2;

Returns

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInvalidValuesAllowed()

public boolean getInvalidValuesAllowed()

If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.

bool invalid_values_allowed = 2;

Returns
TypeDescription
boolean

The invalidValuesAllowed.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoMlTablesInputs.Transformation.NumericArrayTransformation other)

public AutoMlTablesInputs.Transformation.NumericArrayTransformation.Builder mergeFrom(AutoMlTablesInputs.Transformation.NumericArrayTransformation other)
Parameter Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setColumnName(String value)

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

string column_name = 1;

Parameter
NameDescription
valueString

The columnName to set.

Returns

setColumnNameBytes(ByteString value)

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

string column_name = 1;

Parameter
NameDescription
valueByteString

The bytes for columnName to set.

Returns

setField(Descriptors.FieldDescriptor field, Object value)

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

setInvalidValuesAllowed(boolean value)

public AutoMlTablesInputs.Transformation.NumericArrayTransformation.Builder setInvalidValuesAllowed(boolean value)

If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.

bool invalid_values_allowed = 2;

Parameter
NameDescription
valueboolean

The invalidValuesAllowed to set.

Returns

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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