Class FilterSplit.Builder

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

public static final class FilterSplit.Builder extends com.google.protobuf.GeneratedMessage.Builder<FilterSplit.Builder> 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.v1.FilterSplit
  • 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<FilterSplit.Builder>
    • clear

      public FilterSplit.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<FilterSplit.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<FilterSplit.Builder>
    • getDefaultInstanceForType

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

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

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

      public FilterSplit.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<FilterSplit.Builder>
    • mergeFrom

      public FilterSplit.Builder mergeFrom(FilterSplit other)
    • isInitialized

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

      public FilterSplit.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<FilterSplit.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 FilterSplitOrBuilder
      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 FilterSplitOrBuilder
      Returns:
      The bytes for trainingFilter.
    • setTrainingFilter

      public FilterSplit.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 FilterSplit.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 FilterSplit.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 FilterSplitOrBuilder
      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 FilterSplitOrBuilder
      Returns:
      The bytes for validationFilter.
    • setValidationFilter

      public FilterSplit.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 FilterSplit.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 FilterSplit.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 FilterSplitOrBuilder
      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 FilterSplitOrBuilder
      Returns:
      The bytes for testFilter.
    • setTestFilter

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