Class QuasiId.Builder

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

public static final class QuasiId.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuasiId.Builder> implements QuasiIdOrBuilder
 A column with a semantic tag attached.
 
Protobuf type google.privacy.dlp.v2.QuasiId
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    A column can be tagged with a custom tag.
    Required.
    If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data
    A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.
     
    A column can be tagged with a custom tag.
    com.google.protobuf.ByteString
    A column can be tagged with a custom tag.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Required.
    Required.
    Required.
    com.google.protobuf.Empty
    If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data
    com.google.protobuf.Empty.Builder
    If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data
    com.google.protobuf.EmptyOrBuilder
    If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data
    A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.
    A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.
    A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.
     
    boolean
    A column can be tagged with a custom tag.
    boolean
    Required.
    boolean
    If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data
    boolean
    A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    Required.
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    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
    A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.
    A column can be tagged with a custom tag.
    setCustomTagBytes(com.google.protobuf.ByteString value)
    A column can be tagged with a custom tag.
    Required.
    setField(FieldId.Builder builderForValue)
    Required.
    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
    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
    A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.
    setInfoType(InfoType.Builder builderForValue)
    A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<QuasiId.Builder>
    • clear

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

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

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

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

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

      public QuasiId.Builder mergeFrom(QuasiId other)
    • isInitialized

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

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

      public QuasiId.TagCase getTagCase()
      Specified by:
      getTagCase in interface QuasiIdOrBuilder
    • clearTag

      public QuasiId.Builder 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 QuasiIdOrBuilder
      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 QuasiIdOrBuilder
      Returns:
      The field.
    • setField

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

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

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

      public QuasiId.Builder 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 QuasiIdOrBuilder
    • 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 QuasiIdOrBuilder
      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 QuasiIdOrBuilder
      Returns:
      The infoType.
    • setInfoType

      public QuasiId.Builder setInfoType(InfoType value)
       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

      public QuasiId.Builder setInfoType(InfoType.Builder builderForValue)
       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

      public QuasiId.Builder mergeInfoType(InfoType value)
       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

      public QuasiId.Builder 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 QuasiIdOrBuilder
    • 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 QuasiIdOrBuilder
      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 QuasiIdOrBuilder
      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 QuasiIdOrBuilder
      Returns:
      The bytes for customTag.
    • setCustomTag

      public QuasiId.Builder setCustomTag(String 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 customTag to set.
      Returns:
      This builder for chaining.
    • clearCustomTag

      public QuasiId.Builder 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 QuasiId.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 QuasiIdOrBuilder
      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 QuasiIdOrBuilder
      Returns:
      The inferred.
    • setInferred

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

      public QuasiId.Builder 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 QuasiIdOrBuilder