Class ExportFilterSplit.Builder (3.44.0)

public static final class ExportFilterSplit.Builder extends GeneratedMessageV3.Builder<ExportFilterSplit.Builder> implements ExportFilterSplitOrBuilder

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.ExportFilterSplit

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportFilterSplit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportFilterSplit.Builder
Overrides

build()

public ExportFilterSplit build()
Returns
Type Description
ExportFilterSplit

buildPartial()

public ExportFilterSplit buildPartial()
Returns
Type Description
ExportFilterSplit

clear()

public ExportFilterSplit.Builder clear()
Returns
Type Description
ExportFilterSplit.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExportFilterSplit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportFilterSplit.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportFilterSplit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportFilterSplit.Builder
Overrides

clearTestFilter()

public ExportFilterSplit.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 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
ExportFilterSplit.Builder

This builder for chaining.

clearTrainingFilter()

public ExportFilterSplit.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 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
ExportFilterSplit.Builder

This builder for chaining.

clearValidationFilter()

public ExportFilterSplit.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 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
ExportFilterSplit.Builder

This builder for chaining.

clone()

public ExportFilterSplit.Builder clone()
Returns
Type Description
ExportFilterSplit.Builder
Overrides

getDefaultInstanceForType()

public ExportFilterSplit getDefaultInstanceForType()
Returns
Type Description
ExportFilterSplit

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportFilterSplit other)

public ExportFilterSplit.Builder mergeFrom(ExportFilterSplit other)
Parameter
Name Description
other ExportFilterSplit
Returns
Type Description
ExportFilterSplit.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportFilterSplit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportFilterSplit.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportFilterSplit.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportFilterSplit.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportFilterSplit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportFilterSplit.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExportFilterSplit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportFilterSplit.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportFilterSplit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportFilterSplit.Builder
Overrides

setTestFilter(String value)

public ExportFilterSplit.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 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];

Parameter
Name Description
value String

The testFilter to set.

Returns
Type Description
ExportFilterSplit.Builder

This builder for chaining.

setTestFilterBytes(ByteString value)

public ExportFilterSplit.Builder setTestFilterBytes(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 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];

Parameter
Name Description
value ByteString

The bytes for testFilter to set.

Returns
Type Description
ExportFilterSplit.Builder

This builder for chaining.

setTrainingFilter(String value)

public ExportFilterSplit.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 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];

Parameter
Name Description
value String

The trainingFilter to set.

Returns
Type Description
ExportFilterSplit.Builder

This builder for chaining.

setTrainingFilterBytes(ByteString value)

public ExportFilterSplit.Builder setTrainingFilterBytes(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 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];

Parameter
Name Description
value ByteString

The bytes for trainingFilter to set.

Returns
Type Description
ExportFilterSplit.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportFilterSplit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportFilterSplit.Builder
Overrides

setValidationFilter(String value)

public ExportFilterSplit.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 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];

Parameter
Name Description
value String

The validationFilter to set.

Returns
Type Description
ExportFilterSplit.Builder

This builder for chaining.

setValidationFilterBytes(ByteString value)

public ExportFilterSplit.Builder setValidationFilterBytes(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 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];

Parameter
Name Description
value ByteString

The bytes for validationFilter to set.

Returns
Type Description
ExportFilterSplit.Builder

This builder for chaining.