public static final class AutoMlForecastingInputs.Transformation.TimestampTransformation extends GeneratedMessageV3 implements AutoMlForecastingInputs.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.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation
Fields
public static final int COLUMN_NAME_FIELD_NUMBER
Field Value
public static final int TIME_FORMAT_FIELD_NUMBER
Field Value
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 static AutoMlForecastingInputs.Transformation.TimestampTransformation getDefaultInstance()
Returns
public AutoMlForecastingInputs.Transformation.TimestampTransformation getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Parser<AutoMlForecastingInputs.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 static AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder newBuilder()
Returns
public static AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder newBuilder(AutoMlForecastingInputs.Transformation.TimestampTransformation prototype)
Parameter
Returns
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder newBuilderForType()
Returns
protected AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<AutoMlForecastingInputs.Transformation.TimestampTransformation> parser()
Returns
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions