Class AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder>
com.google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder
- All Implemented Interfaces:
AutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutoMlForecastingInputs.Transformation.TimestampTransformation
public static final class AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()string column_name = 1;The format in which that time field is expressed.string column_name = 1;com.google.protobuf.ByteStringstring column_name = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe format in which that time field is expressed.com.google.protobuf.ByteStringThe format in which that time field is expressed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setColumnName(String value) string column_name = 1;setColumnNameBytes(com.google.protobuf.ByteString value) string column_name = 1;setTimeFormat(String value) The format in which that time field is expressed.setTimeFormatBytes(com.google.protobuf.ByteString value) The format in which that time field is expressed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder>
-
mergeFrom
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder>- Throws:
IOException
-
getColumnName
string column_name = 1;- Specified by:
getColumnNamein interfaceAutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilder- Returns:
- The columnName.
-
getColumnNameBytes
public com.google.protobuf.ByteString getColumnNameBytes()string column_name = 1;- Specified by:
getColumnNameBytesin interfaceAutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilder- Returns:
- The bytes for columnName.
-
setColumnName
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setColumnName(String value) string column_name = 1;- Parameters:
value- The columnName to set.- Returns:
- This builder for chaining.
-
clearColumnName
string column_name = 1;- Returns:
- This builder for chaining.
-
setColumnNameBytes
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setColumnNameBytes(com.google.protobuf.ByteString value) string column_name = 1;- Parameters:
value- The bytes for columnName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getTimeFormatin interfaceAutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilder- Returns:
- The timeFormat.
-
getTimeFormatBytes
public com.google.protobuf.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;- Specified by:
getTimeFormatBytesin interfaceAutoMlForecastingInputs.Transformation.TimestampTransformationOrBuilder- Returns:
- The bytes for timeFormat.
-
setTimeFormat
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;- Parameters:
value- The timeFormat to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setTimeFormatBytes
public AutoMlForecastingInputs.Transformation.TimestampTransformation.Builder setTimeFormatBytes(com.google.protobuf.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;- Parameters:
value- The bytes for timeFormat to set.- Returns:
- This builder for chaining.
-