Class StatisticalTable.Builder (3.50.0)

public static final class StatisticalTable.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllQuasiIds(Iterable<? extends StatisticalTable.QuasiIdentifierField> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField>
Returns
Type Description
StatisticalTable.Builder

addQuasiIds(StatisticalTable.QuasiIdentifierField value)

public StatisticalTable.Builder addQuasiIds(StatisticalTable.QuasiIdentifierField value)

Required. Quasi-identifier columns.

repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value StatisticalTable.QuasiIdentifierField
Returns
Type Description
StatisticalTable.Builder

addQuasiIds(StatisticalTable.QuasiIdentifierField.Builder builderForValue)

public StatisticalTable.Builder addQuasiIds(StatisticalTable.QuasiIdentifierField.Builder builderForValue)

Required. Quasi-identifier columns.

repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue StatisticalTable.QuasiIdentifierField.Builder
Returns
Type Description
StatisticalTable.Builder

addQuasiIds(int index, StatisticalTable.QuasiIdentifierField value)

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];

Parameters
Name Description
index int
value StatisticalTable.QuasiIdentifierField
Returns
Type Description
StatisticalTable.Builder

addQuasiIds(int index, StatisticalTable.QuasiIdentifierField.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue StatisticalTable.QuasiIdentifierField.Builder
Returns
Type Description
StatisticalTable.Builder

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];

Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder

addQuasiIdsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StatisticalTable.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StatisticalTable.Builder
Overrides

build()

public StatisticalTable build()
Returns
Type Description
StatisticalTable

buildPartial()

public StatisticalTable buildPartial()
Returns
Type Description
StatisticalTable

clear()

public StatisticalTable.Builder clear()
Returns
Type Description
StatisticalTable.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StatisticalTable.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StatisticalTable.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StatisticalTable.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StatisticalTable.Builder
Overrides

clearQuasiIds()

public StatisticalTable.Builder clearQuasiIds()

Required. Quasi-identifier columns.

repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StatisticalTable.Builder

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];

Returns
Type Description
StatisticalTable.Builder

clearTable()

public StatisticalTable.Builder clearTable()

Required. Auxiliary table location.

.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StatisticalTable.Builder

clone()

public StatisticalTable.Builder clone()
Returns
Type Description
StatisticalTable.Builder
Overrides

getDefaultInstanceForType()

public StatisticalTable getDefaultInstanceForType()
Returns
Type Description
StatisticalTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getQuasiIds(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
StatisticalTable.QuasiIdentifierField

getQuasiIdsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
StatisticalTable.QuasiIdentifierField.Builder

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];

Returns
Type Description
List<Builder>

getQuasiIdsCount()

public int getQuasiIdsCount()

Required. Quasi-identifier columns.

repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

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];

Returns
Type Description
List<QuasiIdentifierField>

getQuasiIdsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
StatisticalTable.QuasiIdentifierFieldOrBuilder

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];

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldOrBuilder>

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];

Returns
Type Description
FieldId

The relativeFrequency.

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];

Returns
Type Description
FieldId.Builder

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];

Returns
Type Description
FieldIdOrBuilder

getTable()

public BigQueryTable getTable()

Required. Auxiliary table location.

.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryTable

The table.

getTableBuilder()

public BigQueryTable.Builder getTableBuilder()

Required. Auxiliary table location.

.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryTable.Builder

getTableOrBuilder()

public BigQueryTableOrBuilder getTableOrBuilder()

Required. Auxiliary table location.

.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryTableOrBuilder

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];

Returns
Type Description
boolean

Whether the relativeFrequency field is set.

hasTable()

public boolean hasTable()

Required. Auxiliary table location.

.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the table field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StatisticalTable other)

public StatisticalTable.Builder mergeFrom(StatisticalTable other)
Parameter
Name Description
other StatisticalTable
Returns
Type Description
StatisticalTable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StatisticalTable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatisticalTable.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StatisticalTable.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StatisticalTable.Builder
Overrides

mergeRelativeFrequency(FieldId value)

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];

Parameter
Name Description
value FieldId
Returns
Type Description
StatisticalTable.Builder

mergeTable(BigQueryTable value)

public StatisticalTable.Builder mergeTable(BigQueryTable value)

Required. Auxiliary table location.

.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BigQueryTable
Returns
Type Description
StatisticalTable.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StatisticalTable.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StatisticalTable.Builder
Overrides

removeQuasiIds(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
StatisticalTable.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StatisticalTable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StatisticalTable.Builder
Overrides

setQuasiIds(int index, StatisticalTable.QuasiIdentifierField value)

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];

Parameters
Name Description
index int
value StatisticalTable.QuasiIdentifierField
Returns
Type Description
StatisticalTable.Builder

setQuasiIds(int index, StatisticalTable.QuasiIdentifierField.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue StatisticalTable.QuasiIdentifierField.Builder
Returns
Type Description
StatisticalTable.Builder

setRelativeFrequency(FieldId value)

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];

Parameter
Name Description
value FieldId
Returns
Type Description
StatisticalTable.Builder

setRelativeFrequency(FieldId.Builder builderForValue)

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];

Parameter
Name Description
builderForValue FieldId.Builder
Returns
Type Description
StatisticalTable.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StatisticalTable.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StatisticalTable.Builder
Overrides

setTable(BigQueryTable value)

public StatisticalTable.Builder setTable(BigQueryTable value)

Required. Auxiliary table location.

.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BigQueryTable
Returns
Type Description
StatisticalTable.Builder

setTable(BigQueryTable.Builder builderForValue)

public StatisticalTable.Builder setTable(BigQueryTable.Builder builderForValue)

Required. Auxiliary table location.

.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue BigQueryTable.Builder
Returns
Type Description
StatisticalTable.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StatisticalTable.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StatisticalTable.Builder
Overrides