Class FeatureSelectionConfig.FeatureConfig.Builder

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

public static final class FeatureSelectionConfig.FeatureConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureSelectionConfig.FeatureConfig.Builder> implements FeatureSelectionConfig.FeatureConfigOrBuilder
 Feature configuration.
 
Protobuf type google.cloud.aiplatform.v1beta1.FeatureSelectionConfig.FeatureConfig
  • 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<FeatureSelectionConfig.FeatureConfig.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<FeatureSelectionConfig.FeatureConfig.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<FeatureSelectionConfig.FeatureConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public FeatureSelectionConfig.FeatureConfig.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<FeatureSelectionConfig.FeatureConfig.Builder>
      Throws:
      IOException
    • getFeatureId

      public String getFeatureId()
       Required. The ID of the feature resource. Final component of the
       Feature's resource name.
       
      string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureId in interface FeatureSelectionConfig.FeatureConfigOrBuilder
      Returns:
      The featureId.
    • getFeatureIdBytes

      public com.google.protobuf.ByteString getFeatureIdBytes()
       Required. The ID of the feature resource. Final component of the
       Feature's resource name.
       
      string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureIdBytes in interface FeatureSelectionConfig.FeatureConfigOrBuilder
      Returns:
      The bytes for featureId.
    • setFeatureId

       Required. The ID of the feature resource. Final component of the
       Feature's resource name.
       
      string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The featureId to set.
      Returns:
      This builder for chaining.
    • clearFeatureId

       Required. The ID of the feature resource. Final component of the
       Feature's resource name.
       
      string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setFeatureIdBytes

      public FeatureSelectionConfig.FeatureConfig.Builder setFeatureIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the feature resource. Final component of the
       Feature's resource name.
       
      string feature_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for featureId to set.
      Returns:
      This builder for chaining.
    • getDriftThreshold

      public double getDriftThreshold()
       Optional. Drift threshold. If calculated difference with baseline data
       larger than threshold, it will be considered as the feature has drift. If
       not present, the threshold will be default to 0.3.
       
      double drift_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDriftThreshold in interface FeatureSelectionConfig.FeatureConfigOrBuilder
      Returns:
      The driftThreshold.
    • setDriftThreshold

      public FeatureSelectionConfig.FeatureConfig.Builder setDriftThreshold(double value)
       Optional. Drift threshold. If calculated difference with baseline data
       larger than threshold, it will be considered as the feature has drift. If
       not present, the threshold will be default to 0.3.
       
      double drift_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The driftThreshold to set.
      Returns:
      This builder for chaining.
    • clearDriftThreshold

      public FeatureSelectionConfig.FeatureConfig.Builder clearDriftThreshold()
       Optional. Drift threshold. If calculated difference with baseline data
       larger than threshold, it will be considered as the feature has drift. If
       not present, the threshold will be default to 0.3.
       
      double drift_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.