Class ExportFilterSplit.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportFilterSplit.Builder>
com.google.cloud.aiplatform.v1.ExportFilterSplit.Builder
All Implemented Interfaces:
ExportFilterSplitOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExportFilterSplit

public static final class ExportFilterSplit.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ExportFilterSplit.Builder>
    • clear

      public ExportFilterSplit.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ExportFilterSplit.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ExportFilterSplit.Builder>
    • getDefaultInstanceForType

      public ExportFilterSplit getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ExportFilterSplit build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExportFilterSplit buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExportFilterSplit.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportFilterSplit.Builder>
    • mergeFrom

      public ExportFilterSplit.Builder mergeFrom(ExportFilterSplit other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExportFilterSplit.Builder>
    • mergeFrom

      public ExportFilterSplit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportFilterSplit.Builder>
      Throws:
      IOException
    • 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][google.cloud.aiplatform.v1.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];
      Specified by:
      getTrainingFilter in interface ExportFilterSplitOrBuilder
      Returns:
      The trainingFilter.
    • getTrainingFilterBytes

      public com.google.protobuf.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][google.cloud.aiplatform.v1.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];
      Specified by:
      getTrainingFilterBytes in interface ExportFilterSplitOrBuilder
      Returns:
      The bytes for trainingFilter.
    • setTrainingFilter

      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][google.cloud.aiplatform.v1.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];
      Parameters:
      value - The trainingFilter to set.
      Returns:
      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][google.cloud.aiplatform.v1.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:
      This builder for chaining.
    • setTrainingFilterBytes

      public ExportFilterSplit.Builder setTrainingFilterBytes(com.google.protobuf.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][google.cloud.aiplatform.v1.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];
      Parameters:
      value - The bytes for trainingFilter to set.
      Returns:
      This builder for chaining.
    • 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][google.cloud.aiplatform.v1.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];
      Specified by:
      getValidationFilter in interface ExportFilterSplitOrBuilder
      Returns:
      The validationFilter.
    • getValidationFilterBytes

      public com.google.protobuf.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][google.cloud.aiplatform.v1.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];
      Specified by:
      getValidationFilterBytes in interface ExportFilterSplitOrBuilder
      Returns:
      The bytes for validationFilter.
    • setValidationFilter

      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][google.cloud.aiplatform.v1.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];
      Parameters:
      value - The validationFilter to set.
      Returns:
      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][google.cloud.aiplatform.v1.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:
      This builder for chaining.
    • setValidationFilterBytes

      public ExportFilterSplit.Builder setValidationFilterBytes(com.google.protobuf.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][google.cloud.aiplatform.v1.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];
      Parameters:
      value - The bytes for validationFilter to set.
      Returns:
      This builder for chaining.
    • 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][google.cloud.aiplatform.v1.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];
      Specified by:
      getTestFilter in interface ExportFilterSplitOrBuilder
      Returns:
      The testFilter.
    • getTestFilterBytes

      public com.google.protobuf.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][google.cloud.aiplatform.v1.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];
      Specified by:
      getTestFilterBytes in interface ExportFilterSplitOrBuilder
      Returns:
      The bytes for testFilter.
    • setTestFilter

      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][google.cloud.aiplatform.v1.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];
      Parameters:
      value - The testFilter to set.
      Returns:
      This builder for chaining.
    • 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][google.cloud.aiplatform.v1.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:
      This builder for chaining.
    • setTestFilterBytes

      public ExportFilterSplit.Builder setTestFilterBytes(com.google.protobuf.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][google.cloud.aiplatform.v1.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];
      Parameters:
      value - The bytes for testFilter to set.
      Returns:
      This builder for chaining.