public static final class ExportFilterSplit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder> implements ExportFilterSplitOrBuilder
Assigns input data to training, validation, and test sets based on the given filters, data pieces not matched by any filter are ignored. Currently only supported for Datasets containing DataItems. If any of the filters in this message are to match nothing, then they can be set as '-' (the minus sign). Supported only for unstructured Datasets.Protobuf type
google.cloud.aiplatform.v1.ExportFilterSplit| Modifier and Type | Method and Description |
|---|---|
ExportFilterSplit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportFilterSplit |
build() |
ExportFilterSplit |
buildPartial() |
ExportFilterSplit.Builder |
clear() |
ExportFilterSplit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExportFilterSplit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExportFilterSplit.Builder |
clearTestFilter()
Required.
|
ExportFilterSplit.Builder |
clearTrainingFilter()
Required.
|
ExportFilterSplit.Builder |
clearValidationFilter()
Required.
|
ExportFilterSplit.Builder |
clone() |
ExportFilterSplit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getTestFilter()
Required.
|
com.google.protobuf.ByteString |
getTestFilterBytes()
Required.
|
String |
getTrainingFilter()
Required.
|
com.google.protobuf.ByteString |
getTrainingFilterBytes()
Required.
|
String |
getValidationFilter()
Required.
|
com.google.protobuf.ByteString |
getValidationFilterBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExportFilterSplit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExportFilterSplit.Builder |
mergeFrom(ExportFilterSplit other) |
ExportFilterSplit.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExportFilterSplit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExportFilterSplit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportFilterSplit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExportFilterSplit.Builder |
setTestFilter(String value)
Required.
|
ExportFilterSplit.Builder |
setTestFilterBytes(com.google.protobuf.ByteString value)
Required.
|
ExportFilterSplit.Builder |
setTrainingFilter(String value)
Required.
|
ExportFilterSplit.Builder |
setTrainingFilterBytes(com.google.protobuf.ByteString value)
Required.
|
ExportFilterSplit.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExportFilterSplit.Builder |
setValidationFilter(String value)
Required.
|
ExportFilterSplit.Builder |
setValidationFilterBytes(com.google.protobuf.ByteString value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public ExportFilterSplit.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.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.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public ExportFilterSplit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExportFilterSplit build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExportFilterSplit buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExportFilterSplit.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public ExportFilterSplit.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public ExportFilterSplit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public ExportFilterSplit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public ExportFilterSplit.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public ExportFilterSplit.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public ExportFilterSplit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportFilterSplit.Builder>public ExportFilterSplit.Builder mergeFrom(ExportFilterSplit other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public ExportFilterSplit.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<ExportFilterSplit.Builder>IOExceptionpublic String getTrainingFilter()
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to train the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string training_filter = 1 [(.google.api.field_behavior) = REQUIRED];getTrainingFilter in interface ExportFilterSplitOrBuilderpublic com.google.protobuf.ByteString getTrainingFilterBytes()
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to train the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string training_filter = 1 [(.google.api.field_behavior) = REQUIRED];getTrainingFilterBytes in interface ExportFilterSplitOrBuilderpublic ExportFilterSplit.Builder setTrainingFilter(String value)
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to train the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string training_filter = 1 [(.google.api.field_behavior) = REQUIRED];value - The trainingFilter to set.public ExportFilterSplit.Builder clearTrainingFilter()
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to train the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string training_filter = 1 [(.google.api.field_behavior) = REQUIRED];public ExportFilterSplit.Builder setTrainingFilterBytes(com.google.protobuf.ByteString value)
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to train the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string training_filter = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for trainingFilter to set.public String getValidationFilter()
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to validate the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED];getValidationFilter in interface ExportFilterSplitOrBuilderpublic com.google.protobuf.ByteString getValidationFilterBytes()
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to validate the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED];getValidationFilterBytes in interface ExportFilterSplitOrBuilderpublic ExportFilterSplit.Builder setValidationFilter(String value)
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to validate the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED];value - The validationFilter to set.public ExportFilterSplit.Builder clearValidationFilter()
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to validate the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED];public ExportFilterSplit.Builder setValidationFilterBytes(com.google.protobuf.ByteString value)
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to validate the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for validationFilter to set.public String getTestFilter()
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to test the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string test_filter = 3 [(.google.api.field_behavior) = REQUIRED];getTestFilter in interface ExportFilterSplitOrBuilderpublic com.google.protobuf.ByteString getTestFilterBytes()
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to test the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string test_filter = 3 [(.google.api.field_behavior) = REQUIRED];getTestFilterBytes in interface ExportFilterSplitOrBuilderpublic ExportFilterSplit.Builder setTestFilter(String value)
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to test the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string test_filter = 3 [(.google.api.field_behavior) = REQUIRED];value - The testFilter to set.public ExportFilterSplit.Builder clearTestFilter()
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to test the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string test_filter = 3 [(.google.api.field_behavior) = REQUIRED];public ExportFilterSplit.Builder setTestFilterBytes(com.google.protobuf.ByteString value)
Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to test the Model. A filter with same syntax as the one used in [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.
string test_filter = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for testFilter to set.public final ExportFilterSplit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>public final ExportFilterSplit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFilterSplit.Builder>Copyright © 2025 Google LLC. All rights reserved.