Class PrivacyMetric.CategoricalStatsConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.CategoricalStatsConfig.Builder>
com.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig.Builder
All Implemented Interfaces:
PrivacyMetric.CategoricalStatsConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PrivacyMetric.CategoricalStatsConfig

public static final class PrivacyMetric.CategoricalStatsConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.CategoricalStatsConfig.Builder> implements PrivacyMetric.CategoricalStatsConfigOrBuilder
 Compute numerical stats over an individual column, including
 number of distinct values and value count distribution.
 
Protobuf type google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
  • 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<PrivacyMetric.CategoricalStatsConfig.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<PrivacyMetric.CategoricalStatsConfig.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<PrivacyMetric.CategoricalStatsConfig.Builder>
    • getDefaultInstanceForType

      public PrivacyMetric.CategoricalStatsConfig 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 PrivacyMetric.CategoricalStatsConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public PrivacyMetric.CategoricalStatsConfig.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<PrivacyMetric.CategoricalStatsConfig.Builder>
      Throws:
      IOException
    • hasField

      public boolean hasField()
       Field to compute categorical stats on. All column types are
       supported except for arrays and structs. However, it may be more
       informative to use NumericalStats when the field type is supported,
       depending on the data.
       
      .google.privacy.dlp.v2.FieldId field = 1;
      Specified by:
      hasField in interface PrivacyMetric.CategoricalStatsConfigOrBuilder
      Returns:
      Whether the field field is set.
    • getField

      public FieldId getField()
       Field to compute categorical stats on. All column types are
       supported except for arrays and structs. However, it may be more
       informative to use NumericalStats when the field type is supported,
       depending on the data.
       
      .google.privacy.dlp.v2.FieldId field = 1;
      Specified by:
      getField in interface PrivacyMetric.CategoricalStatsConfigOrBuilder
      Returns:
      The field.
    • setField

       Field to compute categorical stats on. All column types are
       supported except for arrays and structs. However, it may be more
       informative to use NumericalStats when the field type is supported,
       depending on the data.
       
      .google.privacy.dlp.v2.FieldId field = 1;
    • setField

       Field to compute categorical stats on. All column types are
       supported except for arrays and structs. However, it may be more
       informative to use NumericalStats when the field type is supported,
       depending on the data.
       
      .google.privacy.dlp.v2.FieldId field = 1;
    • mergeField

       Field to compute categorical stats on. All column types are
       supported except for arrays and structs. However, it may be more
       informative to use NumericalStats when the field type is supported,
       depending on the data.
       
      .google.privacy.dlp.v2.FieldId field = 1;
    • clearField

       Field to compute categorical stats on. All column types are
       supported except for arrays and structs. However, it may be more
       informative to use NumericalStats when the field type is supported,
       depending on the data.
       
      .google.privacy.dlp.v2.FieldId field = 1;
    • getFieldBuilder

      public FieldId.Builder getFieldBuilder()
       Field to compute categorical stats on. All column types are
       supported except for arrays and structs. However, it may be more
       informative to use NumericalStats when the field type is supported,
       depending on the data.
       
      .google.privacy.dlp.v2.FieldId field = 1;
    • getFieldOrBuilder

      public FieldIdOrBuilder getFieldOrBuilder()
       Field to compute categorical stats on. All column types are
       supported except for arrays and structs. However, it may be more
       informative to use NumericalStats when the field type is supported,
       depending on the data.
       
      .google.privacy.dlp.v2.FieldId field = 1;
      Specified by:
      getFieldOrBuilder in interface PrivacyMetric.CategoricalStatsConfigOrBuilder