public static final class TimestampSplit.Builder extends com.google.protobuf.GeneratedMessage.Builder<TimestampSplit.Builder> implements TimestampSplitOrBuilder
Assigns input data to training, validation, and test sets based on a provided timestamps. The youngest data pieces are assigned to training set, next to validation set, and the oldest to the test set. Supported only for tabular Datasets.Protobuf type
google.cloud.aiplatform.v1.TimestampSplit| Modifier and Type | Method and Description |
|---|---|
TimestampSplit |
build() |
TimestampSplit |
buildPartial() |
TimestampSplit.Builder |
clear() |
TimestampSplit.Builder |
clearKey()
Required.
|
TimestampSplit.Builder |
clearTestFraction()
The fraction of the input data that is to be used to evaluate the Model.
|
TimestampSplit.Builder |
clearTrainingFraction()
The fraction of the input data that is to be used to train the Model.
|
TimestampSplit.Builder |
clearValidationFraction()
The fraction of the input data that is to be used to validate the Model.
|
TimestampSplit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey()
Required.
|
com.google.protobuf.ByteString |
getKeyBytes()
Required.
|
double |
getTestFraction()
The fraction of the input data that is to be used to evaluate the Model.
|
double |
getTrainingFraction()
The fraction of the input data that is to be used to train the Model.
|
double |
getValidationFraction()
The fraction of the input data that is to be used to validate the Model.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TimestampSplit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TimestampSplit.Builder |
mergeFrom(com.google.protobuf.Message other) |
TimestampSplit.Builder |
mergeFrom(TimestampSplit other) |
TimestampSplit.Builder |
setKey(String value)
Required.
|
TimestampSplit.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
Required.
|
TimestampSplit.Builder |
setTestFraction(double value)
The fraction of the input data that is to be used to evaluate the Model.
|
TimestampSplit.Builder |
setTrainingFraction(double value)
The fraction of the input data that is to be used to train the Model.
|
TimestampSplit.Builder |
setValidationFraction(double value)
The fraction of the input data that is to be used to validate the Model.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TimestampSplit.Builder>public TimestampSplit.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<TimestampSplit.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TimestampSplit.Builder>public TimestampSplit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TimestampSplit build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TimestampSplit buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TimestampSplit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimestampSplit.Builder>public TimestampSplit.Builder mergeFrom(TimestampSplit other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<TimestampSplit.Builder>public TimestampSplit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimestampSplit.Builder>IOExceptionpublic double getTrainingFraction()
The fraction of the input data that is to be used to train the Model.
double training_fraction = 1;getTrainingFraction in interface TimestampSplitOrBuilderpublic TimestampSplit.Builder setTrainingFraction(double value)
The fraction of the input data that is to be used to train the Model.
double training_fraction = 1;value - The trainingFraction to set.public TimestampSplit.Builder clearTrainingFraction()
The fraction of the input data that is to be used to train the Model.
double training_fraction = 1;public double getValidationFraction()
The fraction of the input data that is to be used to validate the Model.
double validation_fraction = 2;getValidationFraction in interface TimestampSplitOrBuilderpublic TimestampSplit.Builder setValidationFraction(double value)
The fraction of the input data that is to be used to validate the Model.
double validation_fraction = 2;value - The validationFraction to set.public TimestampSplit.Builder clearValidationFraction()
The fraction of the input data that is to be used to validate the Model.
double validation_fraction = 2;public double getTestFraction()
The fraction of the input data that is to be used to evaluate the Model.
double test_fraction = 3;getTestFraction in interface TimestampSplitOrBuilderpublic TimestampSplit.Builder setTestFraction(double value)
The fraction of the input data that is to be used to evaluate the Model.
double test_fraction = 3;value - The testFraction to set.public TimestampSplit.Builder clearTestFraction()
The fraction of the input data that is to be used to evaluate the Model.
double test_fraction = 3;public String getKey()
Required. The key is a name of one of the Dataset's data columns. The values of the key (the values in the column) must be in RFC 3339 `date-time` format, where `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z). If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.
string key = 4 [(.google.api.field_behavior) = REQUIRED];getKey in interface TimestampSplitOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
Required. The key is a name of one of the Dataset's data columns. The values of the key (the values in the column) must be in RFC 3339 `date-time` format, where `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z). If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.
string key = 4 [(.google.api.field_behavior) = REQUIRED];getKeyBytes in interface TimestampSplitOrBuilderpublic TimestampSplit.Builder setKey(String value)
Required. The key is a name of one of the Dataset's data columns. The values of the key (the values in the column) must be in RFC 3339 `date-time` format, where `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z). If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.
string key = 4 [(.google.api.field_behavior) = REQUIRED];value - The key to set.public TimestampSplit.Builder clearKey()
Required. The key is a name of one of the Dataset's data columns. The values of the key (the values in the column) must be in RFC 3339 `date-time` format, where `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z). If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.
string key = 4 [(.google.api.field_behavior) = REQUIRED];public TimestampSplit.Builder setKeyBytes(com.google.protobuf.ByteString value)
Required. The key is a name of one of the Dataset's data columns. The values of the key (the values in the column) must be in RFC 3339 `date-time` format, where `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z). If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.
string key = 4 [(.google.api.field_behavior) = REQUIRED];value - The bytes for key to set.Copyright © 2026 Google LLC. All rights reserved.