Class FilterSplit (3.47.0)

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.v1beta1.FilterSplit

Static Fields

TEST_FILTER_FIELD_NUMBER

public static final int TEST_FILTER_FIELD_NUMBER
Field Value
Type Description
int

TRAINING_FILTER_FIELD_NUMBER

public static final int TRAINING_FILTER_FIELD_NUMBER
Field Value
Type Description
int

VALIDATION_FILTER_FIELD_NUMBER

public static final int VALIDATION_FILTER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FilterSplit getDefaultInstance()
Returns
Type Description
FilterSplit

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FilterSplit.Builder newBuilder()
Returns
Type Description
FilterSplit.Builder

newBuilder(FilterSplit prototype)

public static FilterSplit.Builder newBuilder(FilterSplit prototype)
Parameter
Name Description
prototype FilterSplit
Returns
Type Description
FilterSplit.Builder

parseDelimitedFrom(InputStream input)

public static FilterSplit parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FilterSplit
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FilterSplit
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FilterSplit parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FilterSplit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FilterSplit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FilterSplit parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FilterSplit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FilterSplit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FilterSplit parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FilterSplit
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FilterSplit
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FilterSplit parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FilterSplit
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FilterSplit
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FilterSplit parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FilterSplit
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FilterSplit
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FilterSplit> parser()
Returns
Type Description
Parser<FilterSplit>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FilterSplit getDefaultInstanceForType()
Returns
Type Description
FilterSplit

getParserForType()

public Parser<FilterSplit> getParserForType()
Returns
Type Description
Parser<FilterSplit>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTestFilter()

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.

getTestFilterBytes()

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.

getTrainingFilter()

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.

getTrainingFilterBytes()

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.

getValidationFilter()

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.

getValidationFilterBytes()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FilterSplit.Builder newBuilderForType()
Returns
Type Description
FilterSplit.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FilterSplit.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FilterSplit.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FilterSplit.Builder toBuilder()
Returns
Type Description
FilterSplit.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException