Class ExportFilterSplit.Builder (3.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportFilterSplit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportFilterSplit.Builder
Overrides

build()

public ExportFilterSplit build()
Returns
TypeDescription
ExportFilterSplit

buildPartial()

public ExportFilterSplit buildPartial()
Returns
TypeDescription
ExportFilterSplit

clear()

public ExportFilterSplit.Builder clear()
Returns
TypeDescription
ExportFilterSplit.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExportFilterSplit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportFilterSplit.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportFilterSplit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ExportFilterSplit.Builder

This builder for chaining.

clone()

public ExportFilterSplit.Builder clone()
Returns
TypeDescription
ExportFilterSplit.Builder
Overrides

getDefaultInstanceForType()

public ExportFilterSplit getDefaultInstanceForType()
Returns
TypeDescription
ExportFilterSplit

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportFilterSplit other)

public ExportFilterSplit.Builder mergeFrom(ExportFilterSplit other)
Parameter
NameDescription
otherExportFilterSplit
Returns
TypeDescription
ExportFilterSplit.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportFilterSplit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportFilterSplit.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportFilterSplit.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportFilterSplit.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportFilterSplit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportFilterSplit.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExportFilterSplit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportFilterSplit.Builder
Overrides

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

public ExportFilterSplit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The testFilter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for testFilter to set.

Returns
TypeDescription
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
NameDescription
valueString

The trainingFilter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for trainingFilter to set.

Returns
TypeDescription
ExportFilterSplit.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportFilterSplit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The validationFilter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for validationFilter to set.

Returns
TypeDescription
ExportFilterSplit.Builder

This builder for chaining.