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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int TEST_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TRAINING_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VALIDATION_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static FilterSplit getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static FilterSplit.Builder newBuilder()
public static FilterSplit.Builder newBuilder(FilterSplit prototype)
public static FilterSplit parseDelimitedFrom(InputStream input)
public static FilterSplit parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FilterSplit parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static FilterSplit parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FilterSplit parseFrom(ByteString data)
public static FilterSplit parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FilterSplit parseFrom(CodedInputStream input)
public static FilterSplit parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FilterSplit parseFrom(InputStream input)
public static FilterSplit parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FilterSplit parseFrom(ByteBuffer data)
public static FilterSplit parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<FilterSplit> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public FilterSplit getDefaultInstanceForType()
public Parser<FilterSplit> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FilterSplit.Builder newBuilderForType()
protected FilterSplit.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public FilterSplit.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides