Class AutoMlTablesInputs.Transformation.TimestampTransformation (3.17.0)

public static final class AutoMlTablesInputs.Transformation.TimestampTransformation extends GeneratedMessageV3 implements AutoMlTablesInputs.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.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TimestampTransformation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutoMlTablesInputs.Transformation.TimestampTransformation

Static Fields

COLUMN_NAME_FIELD_NUMBER

public static final int COLUMN_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

INVALID_VALUES_ALLOWED_FIELD_NUMBER

public static final int INVALID_VALUES_ALLOWED_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_FORMAT_FIELD_NUMBER

public static final int TIME_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutoMlTablesInputs.Transformation.TimestampTransformation getDefaultInstance()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilder()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation.Builder

newBuilder(AutoMlTablesInputs.Transformation.TimestampTransformation prototype)

public static AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilder(AutoMlTablesInputs.Transformation.TimestampTransformation prototype)
Parameter
NameDescription
prototypeAutoMlTablesInputs.Transformation.TimestampTransformation
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation.Builder

parseDelimitedFrom(InputStream input)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.TimestampTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AutoMlTablesInputs.Transformation.TimestampTransformation> parser()
Returns
TypeDescription
Parser<TimestampTransformation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getColumnName()

public String getColumnName()

string column_name = 1;

Returns
TypeDescription
String

The columnName.

getColumnNameBytes()

public ByteString getColumnNameBytes()

string column_name = 1;

Returns
TypeDescription
ByteString

The bytes for columnName.

getDefaultInstanceForType()

public AutoMlTablesInputs.Transformation.TimestampTransformation getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation

getInvalidValuesAllowed()

public boolean getInvalidValuesAllowed()

If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.

bool invalid_values_allowed = 3;

Returns
TypeDescription
boolean

The invalidValuesAllowed.

getParserForType()

public Parser<AutoMlTablesInputs.Transformation.TimestampTransformation> getParserForType()
Returns
TypeDescription
Parser<TimestampTransformation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimeFormat()

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
TypeDescription
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-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
TypeDescription
ByteString

The bytes for timeFormat.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilderForType()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutoMlTablesInputs.Transformation.TimestampTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AutoMlTablesInputs.Transformation.TimestampTransformation.Builder toBuilder()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.TimestampTransformation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException