public static final class AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder extends GeneratedMessage.Builder<AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder> 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AutoMlForecastingInputs.Transformation.TimestampTransformation.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AutoMlForecastingInputs.Transformation.TimestampTransformation build()| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
buildPartial()
public AutoMlForecastingInputs.Transformation.TimestampTransformation buildPartial()| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
|
clear()
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder clear()| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
|
clearColumnName()
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder clearColumnName()string column_name = 1;
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
This builder for chaining. |
clearTimeFormat()
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder clearTimeFormat()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 |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AutoMlForecastingInputs.Transformation.TimestampTransformation other)
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder mergeFrom(AutoMlForecastingInputs.Transformation.TimestampTransformation other)| Parameter | |
|---|---|
| Name | Description |
other |
AutoMlForecastingInputs.Transformation.TimestampTransformation |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
|
setColumnName(String value)
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setColumnName(String value)string column_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe columnName to set. |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
This builder for chaining. |
setColumnNameBytes(ByteString value)
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setColumnNameBytes(ByteString value)string column_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for columnName to set. |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
This builder for chaining. |
setTimeFormat(String value)
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setTimeFormat(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe timeFormat to set. |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
This builder for chaining. |
setTimeFormatBytes(ByteString value)
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setTimeFormatBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for timeFormat to set. |
| Returns | |
|---|---|
| Type | Description |
AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder |
This builder for chaining. |