public static final class FilterSplit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FilterSplit.Builder> implements FilterSplitOrBuilder
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.v1beta1.FilterSplit| Modifier and Type | Method and Description |
|---|---|
FilterSplit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FilterSplit |
build() |
FilterSplit |
buildPartial() |
FilterSplit.Builder |
clear() |
FilterSplit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FilterSplit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FilterSplit.Builder |
clearTestFilter()
Required.
|
FilterSplit.Builder |
clearTrainingFilter()
Required.
|
FilterSplit.Builder |
clearValidationFilter()
Required.
|
FilterSplit.Builder |
clone() |
FilterSplit |
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() |
FilterSplit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FilterSplit.Builder |
mergeFrom(FilterSplit other) |
FilterSplit.Builder |
mergeFrom(com.google.protobuf.Message other) |
FilterSplit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FilterSplit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FilterSplit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FilterSplit.Builder |
setTestFilter(String value)
Required.
|
FilterSplit.Builder |
setTestFilterBytes(com.google.protobuf.ByteString value)
Required.
|
FilterSplit.Builder |
setTrainingFilter(String value)
Required.
|
FilterSplit.Builder |
setTrainingFilterBytes(com.google.protobuf.ByteString value)
Required.
|
FilterSplit.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FilterSplit.Builder |
setValidationFilter(String value)
Required.
|
FilterSplit.Builder |
setValidationFilterBytes(com.google.protobuf.ByteString value)
Required.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FilterSplit.Builder>public FilterSplit.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FilterSplit.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<FilterSplit.Builder>public FilterSplit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FilterSplit build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FilterSplit buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FilterSplit.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FilterSplit.Builder>public FilterSplit.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<FilterSplit.Builder>public FilterSplit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FilterSplit.Builder>public FilterSplit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FilterSplit.Builder>public FilterSplit.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<FilterSplit.Builder>public FilterSplit.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<FilterSplit.Builder>public FilterSplit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FilterSplit.Builder>public FilterSplit.Builder mergeFrom(FilterSplit other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FilterSplit.Builder>public FilterSplit.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<FilterSplit.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.v1beta1.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 FilterSplitOrBuilderpublic 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.v1beta1.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 FilterSplitOrBuilderpublic FilterSplit.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.v1beta1.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 FilterSplit.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.v1beta1.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 FilterSplit.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.v1beta1.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.v1beta1.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 FilterSplitOrBuilderpublic 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.v1beta1.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 FilterSplitOrBuilderpublic FilterSplit.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.v1beta1.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 FilterSplit.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.v1beta1.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 FilterSplit.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.v1beta1.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.v1beta1.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 FilterSplitOrBuilderpublic 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.v1beta1.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 FilterSplitOrBuilderpublic FilterSplit.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.v1beta1.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 FilterSplit.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.v1beta1.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 FilterSplit.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.v1beta1.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 FilterSplit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FilterSplit.Builder>public final FilterSplit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FilterSplit.Builder>Copyright © 2022 Google LLC. All rights reserved.