public static final class AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder extends GeneratedMessageV3.Builder<AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder> 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
Methods
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AutoMlForecastingInputs.Transformation.TimestampTransformation build()
Returns
public AutoMlForecastingInputs.Transformation.TimestampTransformation buildPartial()
Returns
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder clear()
Returns
Overrides
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder clearColumnName()
Returns
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder clearTimeFormat()
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
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder clone()
Returns
Overrides
public String getColumnName()
Returns
Type | Description |
String | The columnName.
|
public ByteString getColumnNameBytes()
Returns
Type | Description |
ByteString | The bytes for columnName.
|
public AutoMlForecastingInputs.Transformation.TimestampTransformation getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder mergeFrom(AutoMlForecastingInputs.Transformation.TimestampTransformation other)
Parameter
Returns
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setColumnName(String value)
Parameter
Name | Description |
value | String
The columnName to set.
|
Returns
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setColumnNameBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for columnName to set.
|
Returns
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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-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;
Parameter
Name | Description |
value | String
The timeFormat to set.
|
Returns
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-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;
Parameter
Name | Description |
value | ByteString
The bytes for timeFormat to set.
|
Returns
public final AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides