public final class FilterSplit extends GeneratedMessageV3 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.v1.FilterSplit
Static Fields
public static final int TEST_FILTER_FIELD_NUMBER
Field Value
public static final int TRAINING_FILTER_FIELD_NUMBER
Field Value
public static final int VALIDATION_FILTER_FIELD_NUMBER
Field Value
Static Methods
public static FilterSplit getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static FilterSplit.Builder newBuilder()
Returns
public static FilterSplit.Builder newBuilder(FilterSplit prototype)
Parameter
Returns
public static FilterSplit parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FilterSplit parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FilterSplit parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static FilterSplit parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FilterSplit parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static FilterSplit parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FilterSplit parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FilterSplit parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FilterSplit parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FilterSplit parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FilterSplit parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static FilterSplit parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<FilterSplit> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public FilterSplit getDefaultInstanceForType()
Returns
public Parser<FilterSplit> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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 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];
Returns
Type | Description |
String | The testFilter.
|
public 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 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];
Returns
Type | Description |
ByteString | The bytes for testFilter.
|
public 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 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];
Returns
Type | Description |
String | The trainingFilter.
|
public 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 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];
Returns
Type | Description |
ByteString | The bytes for trainingFilter.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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 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];
Returns
Type | Description |
String | The validationFilter.
|
public 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 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];
Returns
Type | Description |
ByteString | The bytes for validationFilter.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public FilterSplit.Builder newBuilderForType()
Returns
protected FilterSplit.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public FilterSplit.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions