public static final class AutoMlTablesInputs.Transformation.TimestampTransformation.Builder extends GeneratedMessageV3.Builder<AutoMlTablesInputs.Transformation.TimestampTransformation.Builder> implements AutoMlTablesInputs.Transformation.TimestampTransformationOrBuilder
Training pipeline will perform following transformation functions.
- Apply the transformation functions for Numerical columns.
- Determine the year, month, day,and weekday. Treat each value from the
- timestamp as a Categorical column.
- Invalid numerical values (for example, values that fall outside of a
typical timestamp range, or are extreme values) receive no special
treatment and are not removed.
Protobuf type
google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TimestampTransformation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation build()
public AutoMlTablesInputs.Transformation.TimestampTransformation buildPartial()
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder clear()
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder clearColumnName()
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.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 = 3;
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder clearTimeFormat()
The format in which that time field is expressed. The time_format must
either be one of:
unix-seconds
unix-milliseconds
unix-microseconds
unix-nanoseconds
(for respectively number of seconds, milliseconds, microseconds and
nanoseconds since start of the Unix epoch);
or be written in strftime
syntax. If time_format is not set, then the
default format is RFC 3339 date-time
format, where
time-offset
= "Z"
(e.g. 1985-04-12T23:20:50.52Z)
string time_format = 2;
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder clone()
Overrides
public String getColumnName()
Returns |
---|
Type | Description |
String | The columnName.
|
public ByteString getColumnNameBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for columnName.
|
public AutoMlTablesInputs.Transformation.TimestampTransformation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 = 3;
Returns |
---|
Type | Description |
boolean | The invalidValuesAllowed.
|
public String getTimeFormat()
The format in which that time field is expressed. The time_format must
either be one of:
unix-seconds
unix-milliseconds
unix-microseconds
unix-nanoseconds
(for respectively number of seconds, milliseconds, microseconds and
nanoseconds since start of the Unix epoch);
or be written in strftime
syntax. If time_format is not set, then the
default format is RFC 3339 date-time
format, where
time-offset
= "Z"
(e.g. 1985-04-12T23:20:50.52Z)
string time_format = 2;
Returns |
---|
Type | Description |
String | The timeFormat.
|
public ByteString getTimeFormatBytes()
The format in which that time field is expressed. The time_format must
either be one of:
unix-seconds
unix-milliseconds
unix-microseconds
unix-nanoseconds
(for respectively number of seconds, milliseconds, microseconds and
nanoseconds since start of the Unix epoch);
or be written in strftime
syntax. If time_format is not set, then the
default format is RFC 3339 date-time
format, where
time-offset
= "Z"
(e.g. 1985-04-12T23:20:50.52Z)
string time_format = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for timeFormat.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder mergeFrom(AutoMlTablesInputs.Transformation.TimestampTransformation other)
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final AutoMlTablesInputs.Transformation.TimestampTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder setColumnName(String value)
Parameter |
---|
Name | Description |
value | String
The columnName to set.
|
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder setColumnNameBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for columnName to set.
|
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.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 = 3;
Parameter |
---|
Name | Description |
value | boolean
The invalidValuesAllowed to set.
|
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder setTimeFormat(String value)
The format in which that time field is expressed. The time_format must
either be one of:
unix-seconds
unix-milliseconds
unix-microseconds
unix-nanoseconds
(for respectively number of seconds, milliseconds, microseconds and
nanoseconds since start of the Unix epoch);
or be written in strftime
syntax. If time_format is not set, then the
default format is RFC 3339 date-time
format, where
time-offset
= "Z"
(e.g. 1985-04-12T23:20:50.52Z)
string time_format = 2;
Parameter |
---|
Name | Description |
value | String
The timeFormat to set.
|
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder setTimeFormatBytes(ByteString value)
The format in which that time field is expressed. The time_format must
either be one of:
unix-seconds
unix-milliseconds
unix-microseconds
unix-nanoseconds
(for respectively number of seconds, milliseconds, microseconds and
nanoseconds since start of the Unix epoch);
or be written in strftime
syntax. If time_format is not set, then the
default format is RFC 3339 date-time
format, where
time-offset
= "Z"
(e.g. 1985-04-12T23:20:50.52Z)
string time_format = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for timeFormat to set.
|
public final AutoMlTablesInputs.Transformation.TimestampTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides