Class FilterSplit (2.9.7)

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
TypeDescription
int

TRAINING_FILTER_FIELD_NUMBER

public static final int TRAINING_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

VALIDATION_FILTER_FIELD_NUMBER

public static final int VALIDATION_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FilterSplit getDefaultInstance()
Returns
TypeDescription
FilterSplit

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FilterSplit.Builder newBuilder()
Returns
TypeDescription
FilterSplit.Builder

newBuilder(FilterSplit prototype)

public static FilterSplit.Builder newBuilder(FilterSplit prototype)
Parameter
NameDescription
prototypeFilterSplit
Returns
TypeDescription
FilterSplit.Builder

parseDelimitedFrom(InputStream input)

public static FilterSplit parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FilterSplit parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FilterSplit parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FilterSplit parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FilterSplit parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FilterSplit parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FilterSplit parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FilterSplit
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FilterSplit> parser()
Returns
TypeDescription
Parser<FilterSplit>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FilterSplit getDefaultInstanceForType()
Returns
TypeDescription
FilterSplit

getParserForType()

public Parser<FilterSplit> getParserForType()
Returns
TypeDescription
Parser<FilterSplit>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for trainingFilter.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
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
TypeDescription
ByteString

The bytes for validationFilter.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FilterSplit.Builder newBuilderForType()
Returns
TypeDescription
FilterSplit.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FilterSplit.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FilterSplit.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FilterSplit.Builder toBuilder()
Returns
TypeDescription
FilterSplit.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException