public static final class PredefinedSplit.Builder extends com.google.protobuf.GeneratedMessage.Builder<PredefinedSplit.Builder> implements PredefinedSplitOrBuilder
Assigns input data to training, validation, and test sets based on the value of a provided key. Supported only for tabular Datasets.Protobuf type
google.cloud.aiplatform.v1.PredefinedSplit| Modifier and Type | Method and Description |
|---|---|
PredefinedSplit |
build() |
PredefinedSplit |
buildPartial() |
PredefinedSplit.Builder |
clear() |
PredefinedSplit.Builder |
clearKey()
Required.
|
PredefinedSplit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey()
Required.
|
com.google.protobuf.ByteString |
getKeyBytes()
Required.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PredefinedSplit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PredefinedSplit.Builder |
mergeFrom(com.google.protobuf.Message other) |
PredefinedSplit.Builder |
mergeFrom(PredefinedSplit other) |
PredefinedSplit.Builder |
setKey(String value)
Required.
|
PredefinedSplit.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
Required.
|
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<PredefinedSplit.Builder>public PredefinedSplit.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<PredefinedSplit.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<PredefinedSplit.Builder>public PredefinedSplit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PredefinedSplit build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PredefinedSplit buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PredefinedSplit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PredefinedSplit.Builder>public PredefinedSplit.Builder mergeFrom(PredefinedSplit other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<PredefinedSplit.Builder>public PredefinedSplit.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<PredefinedSplit.Builder>IOExceptionpublic String getKey()
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {`training`, `validation`, `test`}, and it defines to which
set the given piece of data is assigned. 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 = 1 [(.google.api.field_behavior) = REQUIRED];getKey in interface PredefinedSplitOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {`training`, `validation`, `test`}, and it defines to which
set the given piece of data is assigned. 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 = 1 [(.google.api.field_behavior) = REQUIRED];getKeyBytes in interface PredefinedSplitOrBuilderpublic PredefinedSplit.Builder setKey(String value)
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {`training`, `validation`, `test`}, and it defines to which
set the given piece of data is assigned. 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 = 1 [(.google.api.field_behavior) = REQUIRED];value - The key to set.public PredefinedSplit.Builder clearKey()
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {`training`, `validation`, `test`}, and it defines to which
set the given piece of data is assigned. 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 = 1 [(.google.api.field_behavior) = REQUIRED];public PredefinedSplit.Builder setKeyBytes(com.google.protobuf.ByteString value)
Required. The key is a name of one of the Dataset's data columns.
The value of the key (either the label's value or value in the column)
must be one of {`training`, `validation`, `test`}, and it defines to which
set the given piece of data is assigned. 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 = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for key to set.Copyright © 2026 Google LLC. All rights reserved.