Class StatisticalTable.Builder

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

public static final class StatisticalTable.Builder extends com.google.protobuf.GeneratedMessage.Builder<StatisticalTable.Builder> implements StatisticalTableOrBuilder
 An auxiliary table containing statistical information on the relative
 frequency of different quasi-identifiers values. It has one or several
 quasi-identifiers columns, and one column that indicates the relative
 frequency of each quasi-identifier tuple.
 If a tuple is present in the data but not in the auxiliary table, the
 corresponding relative frequency is assumed to be zero (and thus, the
 tuple is highly reidentifiable).
 
Protobuf type google.privacy.dlp.v2.StatisticalTable
  • 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<StatisticalTable.Builder>
    • clear

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

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

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

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

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

      public StatisticalTable.Builder mergeFrom(StatisticalTable other)
    • isInitialized

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

      public StatisticalTable.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<StatisticalTable.Builder>
      Throws:
      IOException
    • hasTable

      public boolean hasTable()
       Required. Auxiliary table location.
       
      .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTable in interface StatisticalTableOrBuilder
      Returns:
      Whether the table field is set.
    • getTable

      public BigQueryTable getTable()
       Required. Auxiliary table location.
       
      .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTable in interface StatisticalTableOrBuilder
      Returns:
      The table.
    • setTable

      public StatisticalTable.Builder setTable(BigQueryTable value)
       Required. Auxiliary table location.
       
      .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
    • setTable

      public StatisticalTable.Builder setTable(BigQueryTable.Builder builderForValue)
       Required. Auxiliary table location.
       
      .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeTable

      public StatisticalTable.Builder mergeTable(BigQueryTable value)
       Required. Auxiliary table location.
       
      .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearTable

      public StatisticalTable.Builder clearTable()
       Required. Auxiliary table location.
       
      .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
    • getTableBuilder

      public BigQueryTable.Builder getTableBuilder()
       Required. Auxiliary table location.
       
      .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
    • getTableOrBuilder

      public BigQueryTableOrBuilder getTableOrBuilder()
       Required. Auxiliary table location.
       
      .google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableOrBuilder in interface StatisticalTableOrBuilder
    • getQuasiIdsList

      public List<StatisticalTable.QuasiIdentifierField> getQuasiIdsList()
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQuasiIdsList in interface StatisticalTableOrBuilder
    • getQuasiIdsCount

      public int getQuasiIdsCount()
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQuasiIdsCount in interface StatisticalTableOrBuilder
    • getQuasiIds

      public StatisticalTable.QuasiIdentifierField getQuasiIds(int index)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQuasiIds in interface StatisticalTableOrBuilder
    • setQuasiIds

      public StatisticalTable.Builder setQuasiIds(int index, StatisticalTable.QuasiIdentifierField value)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • setQuasiIds

      public StatisticalTable.Builder setQuasiIds(int index, StatisticalTable.QuasiIdentifierField.Builder builderForValue)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addQuasiIds

       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addQuasiIds

      public StatisticalTable.Builder addQuasiIds(int index, StatisticalTable.QuasiIdentifierField value)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addQuasiIds

       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addQuasiIds

      public StatisticalTable.Builder addQuasiIds(int index, StatisticalTable.QuasiIdentifierField.Builder builderForValue)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllQuasiIds

      public StatisticalTable.Builder addAllQuasiIds(Iterable<? extends StatisticalTable.QuasiIdentifierField> values)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearQuasiIds

      public StatisticalTable.Builder clearQuasiIds()
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeQuasiIds

      public StatisticalTable.Builder removeQuasiIds(int index)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • getQuasiIdsBuilder

      public StatisticalTable.QuasiIdentifierField.Builder getQuasiIdsBuilder(int index)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • getQuasiIdsOrBuilder

      public StatisticalTable.QuasiIdentifierFieldOrBuilder getQuasiIdsOrBuilder(int index)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQuasiIdsOrBuilder in interface StatisticalTableOrBuilder
    • getQuasiIdsOrBuilderList

      public List<? extends StatisticalTable.QuasiIdentifierFieldOrBuilder> getQuasiIdsOrBuilderList()
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getQuasiIdsOrBuilderList in interface StatisticalTableOrBuilder
    • addQuasiIdsBuilder

      public StatisticalTable.QuasiIdentifierField.Builder addQuasiIdsBuilder()
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • addQuasiIdsBuilder

      public StatisticalTable.QuasiIdentifierField.Builder addQuasiIdsBuilder(int index)
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • getQuasiIdsBuilderList

      public List<StatisticalTable.QuasiIdentifierField.Builder> getQuasiIdsBuilderList()
       Required. Quasi-identifier columns.
       
      repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasRelativeFrequency

      public boolean hasRelativeFrequency()
       Required. The relative frequency column must contain a floating-point
       number between 0 and 1 (inclusive). Null values are assumed to be zero.
       
      .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasRelativeFrequency in interface StatisticalTableOrBuilder
      Returns:
      Whether the relativeFrequency field is set.
    • getRelativeFrequency

      public FieldId getRelativeFrequency()
       Required. The relative frequency column must contain a floating-point
       number between 0 and 1 (inclusive). Null values are assumed to be zero.
       
      .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRelativeFrequency in interface StatisticalTableOrBuilder
      Returns:
      The relativeFrequency.
    • setRelativeFrequency

      public StatisticalTable.Builder setRelativeFrequency(FieldId value)
       Required. The relative frequency column must contain a floating-point
       number between 0 and 1 (inclusive). Null values are assumed to be zero.
       
      .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
    • setRelativeFrequency

      public StatisticalTable.Builder setRelativeFrequency(FieldId.Builder builderForValue)
       Required. The relative frequency column must contain a floating-point
       number between 0 and 1 (inclusive). Null values are assumed to be zero.
       
      .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeRelativeFrequency

      public StatisticalTable.Builder mergeRelativeFrequency(FieldId value)
       Required. The relative frequency column must contain a floating-point
       number between 0 and 1 (inclusive). Null values are assumed to be zero.
       
      .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearRelativeFrequency

      public StatisticalTable.Builder clearRelativeFrequency()
       Required. The relative frequency column must contain a floating-point
       number between 0 and 1 (inclusive). Null values are assumed to be zero.
       
      .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRelativeFrequencyBuilder

      public FieldId.Builder getRelativeFrequencyBuilder()
       Required. The relative frequency column must contain a floating-point
       number between 0 and 1 (inclusive). Null values are assumed to be zero.
       
      .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRelativeFrequencyOrBuilder

      public FieldIdOrBuilder getRelativeFrequencyOrBuilder()
       Required. The relative frequency column must contain a floating-point
       number between 0 and 1 (inclusive). Null values are assumed to be zero.
       
      .google.privacy.dlp.v2.FieldId relative_frequency = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRelativeFrequencyOrBuilder in interface StatisticalTableOrBuilder