public static final class AutoMlForecastingInputs.Transformation.TimestampTransformation extends GeneratedMessage implements AutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilderTraining 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AutoMlForecastingInputs.Transformation.TimestampTransformationStatic Fields
COLUMN_NAME_FIELD_NUMBER
public static final int COLUMN_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TIME_FORMAT_FIELD_NUMBER
public static final int TIME_FORMAT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AutoMlForecastingInputs.Transformation.TimestampTransformation getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
|
newBuilder(AutoMlForecastingInputs.Transformation.TimestampTransformation prototype)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder newBuilder(AutoMlForecastingInputs.Transformation.TimestampTransformation prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
|
parseDelimitedFrom(InputStream input)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoMlForecastingInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AutoMlForecastingInputs.Transformation.TimestampTransformation> parser()| Returns | |
|---|---|
| Type | Description |
Parser<TimestampTransformation> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getColumnName()
public String getColumnName()string column_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The columnName. |
getColumnNameBytes()
public ByteString getColumnNameBytes()string column_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for columnName. |
getDefaultInstanceForType()
public AutoMlForecastingInputs.Transformation.TimestampTransformation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
getParserForType()
public Parser<AutoMlForecastingInputs.Transformation.TimestampTransformation> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<TimestampTransformation> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTimeFormat()
public String getTimeFormat()The format in which that time field is expressed. The time_format must either be one of:
unix-secondsunix-millisecondsunix-microsecondsunix-nanoseconds(for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch);
or be written in
strftimesyntax.If time_format is not set, then the default format is RFC 3339
date-timeformat, wheretime-offset="Z"(e.g. 1985-04-12T23:20:50.52Z)
string time_format = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The timeFormat. |
getTimeFormatBytes()
public ByteString getTimeFormatBytes()The format in which that time field is expressed. The time_format must either be one of:
unix-secondsunix-millisecondsunix-microsecondsunix-nanoseconds(for respectively number of seconds, milliseconds, microseconds and nanoseconds since start of the Unix epoch);
or be written in
strftimesyntax.If time_format is not set, then the default format is RFC 3339
date-timeformat, wheretime-offset="Z"(e.g. 1985-04-12T23:20:50.52Z)
string time_format = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for timeFormat. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
|
toBuilder()
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|