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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int COLUMN_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int INVALID_VALUES_ALLOWED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIME_FORMAT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static AutoMlTablesInputs.Transformation.TimestampTransformation getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilder()
public static AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilder(AutoMlTablesInputs.Transformation.TimestampTransformation prototype)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteString data)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(InputStream input)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data)
public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<AutoMlTablesInputs.Transformation.TimestampTransformation> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 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()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilderForType()
protected AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides