public static final class AutoMlTablesInputs.Transformation.TimestampTransformation extends GeneratedMessageV3 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
Static Fields
public static final int COLUMN_NAME_FIELD_NUMBER
Field Value
public static final int INVALID_VALUES_ALLOWED_FIELD_NUMBER
Field Value
public static final int TIME_FORMAT_FIELD_NUMBER
Field Value
Static Methods
public static AutoMlTablesInputs.Transformation.TimestampTransformation getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilder()
Returns
public static AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilder(AutoMlTablesInputs.Transformation.TimestampTransformation prototype)
Parameter
Returns
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<AutoMlTablesInputs.Transformation.TimestampTransformation> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
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()
Returns
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 Parser<AutoMlTablesInputs.Transformation.TimestampTransformation> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilderForType()
Returns
protected AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions