Class PrivacyMetric.KMapEstimationConfig.TaggedField.Builder

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

public static final class PrivacyMetric.KMapEstimationConfig.TaggedField.Builder extends com.google.protobuf.GeneratedMessage.Builder<PrivacyMetric.KMapEstimationConfig.TaggedField.Builder> implements PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
 A column with a semantic tag attached.
 
Protobuf type google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
  • 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.KMapEstimationConfig.TaggedField.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.KMapEstimationConfig.TaggedField.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.KMapEstimationConfig.TaggedField.Builder>
    • getDefaultInstanceForType

      public PrivacyMetric.KMapEstimationConfig.TaggedField 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

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

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

      public PrivacyMetric.KMapEstimationConfig.TaggedField.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.KMapEstimationConfig.TaggedField.Builder>
      Throws:
      IOException
    • getTagCase

      Specified by:
      getTagCase in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
    • clearTag

    • hasField

      public boolean hasField()
       Required. Identifies the column.
       
      .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasField in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
      Returns:
      Whether the field field is set.
    • getField

      public FieldId getField()
       Required. Identifies the column.
       
      .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getField in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
      Returns:
      The field.
    • setField

       Required. Identifies the column.
       
      .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
    • setField

       Required. Identifies the column.
       
      .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeField

       Required. Identifies the column.
       
      .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearField

       Required. Identifies the column.
       
      .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
    • getFieldBuilder

      public FieldId.Builder getFieldBuilder()
       Required. Identifies the column.
       
      .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
    • getFieldOrBuilder

      public FieldIdOrBuilder getFieldOrBuilder()
       Required. Identifies the column.
       
      .google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFieldOrBuilder in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
    • hasInfoType

      public boolean hasInfoType()
       A column can be tagged with a InfoType to use the relevant public
       dataset as a statistical model of population, if available. We
       currently support US ZIP codes, region codes, ages and genders.
       To programmatically obtain the list of supported InfoTypes, use
       ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
      Specified by:
      hasInfoType in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
      Returns:
      Whether the infoType field is set.
    • getInfoType

      public InfoType getInfoType()
       A column can be tagged with a InfoType to use the relevant public
       dataset as a statistical model of population, if available. We
       currently support US ZIP codes, region codes, ages and genders.
       To programmatically obtain the list of supported InfoTypes, use
       ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
      Specified by:
      getInfoType in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
      Returns:
      The infoType.
    • setInfoType

       A column can be tagged with a InfoType to use the relevant public
       dataset as a statistical model of population, if available. We
       currently support US ZIP codes, region codes, ages and genders.
       To programmatically obtain the list of supported InfoTypes, use
       ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • setInfoType

       A column can be tagged with a InfoType to use the relevant public
       dataset as a statistical model of population, if available. We
       currently support US ZIP codes, region codes, ages and genders.
       To programmatically obtain the list of supported InfoTypes, use
       ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • mergeInfoType

       A column can be tagged with a InfoType to use the relevant public
       dataset as a statistical model of population, if available. We
       currently support US ZIP codes, region codes, ages and genders.
       To programmatically obtain the list of supported InfoTypes, use
       ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • clearInfoType

       A column can be tagged with a InfoType to use the relevant public
       dataset as a statistical model of population, if available. We
       currently support US ZIP codes, region codes, ages and genders.
       To programmatically obtain the list of supported InfoTypes, use
       ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • getInfoTypeBuilder

      public InfoType.Builder getInfoTypeBuilder()
       A column can be tagged with a InfoType to use the relevant public
       dataset as a statistical model of population, if available. We
       currently support US ZIP codes, region codes, ages and genders.
       To programmatically obtain the list of supported InfoTypes, use
       ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • getInfoTypeOrBuilder

      public InfoTypeOrBuilder getInfoTypeOrBuilder()
       A column can be tagged with a InfoType to use the relevant public
       dataset as a statistical model of population, if available. We
       currently support US ZIP codes, region codes, ages and genders.
       To programmatically obtain the list of supported InfoTypes, use
       ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
      Specified by:
      getInfoTypeOrBuilder in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
    • hasCustomTag

      public boolean hasCustomTag()
       A column can be tagged with a custom tag. In this case, the user must
       indicate an auxiliary table that contains statistical information on
       the possible values of this column.
       
      string custom_tag = 3;
      Specified by:
      hasCustomTag in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
      Returns:
      Whether the customTag field is set.
    • getCustomTag

      public String getCustomTag()
       A column can be tagged with a custom tag. In this case, the user must
       indicate an auxiliary table that contains statistical information on
       the possible values of this column.
       
      string custom_tag = 3;
      Specified by:
      getCustomTag in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
      Returns:
      The customTag.
    • getCustomTagBytes

      public com.google.protobuf.ByteString getCustomTagBytes()
       A column can be tagged with a custom tag. In this case, the user must
       indicate an auxiliary table that contains statistical information on
       the possible values of this column.
       
      string custom_tag = 3;
      Specified by:
      getCustomTagBytes in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
      Returns:
      The bytes for customTag.
    • setCustomTag

       A column can be tagged with a custom tag. In this case, the user must
       indicate an auxiliary table that contains statistical information on
       the possible values of this column.
       
      string custom_tag = 3;
      Parameters:
      value - The customTag to set.
      Returns:
      This builder for chaining.
    • clearCustomTag

       A column can be tagged with a custom tag. In this case, the user must
       indicate an auxiliary table that contains statistical information on
       the possible values of this column.
       
      string custom_tag = 3;
      Returns:
      This builder for chaining.
    • setCustomTagBytes

      public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder setCustomTagBytes(com.google.protobuf.ByteString value)
       A column can be tagged with a custom tag. In this case, the user must
       indicate an auxiliary table that contains statistical information on
       the possible values of this column.
       
      string custom_tag = 3;
      Parameters:
      value - The bytes for customTag to set.
      Returns:
      This builder for chaining.
    • hasInferred

      public boolean hasInferred()
       If no semantic tag is indicated, we infer the statistical model from
       the distribution of values in the input data
       
      .google.protobuf.Empty inferred = 4;
      Specified by:
      hasInferred in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
      Returns:
      Whether the inferred field is set.
    • getInferred

      public com.google.protobuf.Empty getInferred()
       If no semantic tag is indicated, we infer the statistical model from
       the distribution of values in the input data
       
      .google.protobuf.Empty inferred = 4;
      Specified by:
      getInferred in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder
      Returns:
      The inferred.
    • setInferred

      public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder setInferred(com.google.protobuf.Empty value)
       If no semantic tag is indicated, we infer the statistical model from
       the distribution of values in the input data
       
      .google.protobuf.Empty inferred = 4;
    • setInferred

      public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder setInferred(com.google.protobuf.Empty.Builder builderForValue)
       If no semantic tag is indicated, we infer the statistical model from
       the distribution of values in the input data
       
      .google.protobuf.Empty inferred = 4;
    • mergeInferred

      public PrivacyMetric.KMapEstimationConfig.TaggedField.Builder mergeInferred(com.google.protobuf.Empty value)
       If no semantic tag is indicated, we infer the statistical model from
       the distribution of values in the input data
       
      .google.protobuf.Empty inferred = 4;
    • clearInferred

       If no semantic tag is indicated, we infer the statistical model from
       the distribution of values in the input data
       
      .google.protobuf.Empty inferred = 4;
    • getInferredBuilder

      public com.google.protobuf.Empty.Builder getInferredBuilder()
       If no semantic tag is indicated, we infer the statistical model from
       the distribution of values in the input data
       
      .google.protobuf.Empty inferred = 4;
    • getInferredOrBuilder

      public com.google.protobuf.EmptyOrBuilder getInferredOrBuilder()
       If no semantic tag is indicated, we infer the statistical model from
       the distribution of values in the input data
       
      .google.protobuf.Empty inferred = 4;
      Specified by:
      getInferredOrBuilder in interface PrivacyMetric.KMapEstimationConfig.TaggedFieldOrBuilder