Class StatisticalTable.Builder (3.32.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField>
Returns
TypeDescription
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
NameDescription
valueStatisticalTable.QuasiIdentifierField
Returns
TypeDescription
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
NameDescription
builderForValueStatisticalTable.QuasiIdentifierField.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueStatisticalTable.QuasiIdentifierField
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStatisticalTable.QuasiIdentifierField.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
StatisticalTable.QuasiIdentifierField.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StatisticalTable.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StatisticalTable.Builder
Overrides

build()

public StatisticalTable build()
Returns
TypeDescription
StatisticalTable

buildPartial()

public StatisticalTable buildPartial()
Returns
TypeDescription
StatisticalTable

clear()

public StatisticalTable.Builder clear()
Returns
TypeDescription
StatisticalTable.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StatisticalTable.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StatisticalTable.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public StatisticalTable.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
StatisticalTable.Builder

clearTable()

public StatisticalTable.Builder clearTable()

Required. Auxiliary table location.

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

Returns
TypeDescription
StatisticalTable.Builder

clone()

public StatisticalTable.Builder clone()
Returns
TypeDescription
StatisticalTable.Builder
Overrides

getDefaultInstanceForType()

public StatisticalTable getDefaultInstanceForType()
Returns
TypeDescription
StatisticalTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldIdOrBuilder

getTable()

public BigQueryTable getTable()

Required. Auxiliary table location.

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

Returns
TypeDescription
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
TypeDescription
BigQueryTable.Builder

getTableOrBuilder()

public BigQueryTableOrBuilder getTableOrBuilder()

Required. Auxiliary table location.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the table field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StatisticalTable other)

public StatisticalTable.Builder mergeFrom(StatisticalTable other)
Parameter
NameDescription
otherStatisticalTable
Returns
TypeDescription
StatisticalTable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StatisticalTable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatisticalTable.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StatisticalTable.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFieldId
Returns
TypeDescription
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
NameDescription
valueBigQueryTable
Returns
TypeDescription
StatisticalTable.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StatisticalTable.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
StatisticalTable.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StatisticalTable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueStatisticalTable.QuasiIdentifierField
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStatisticalTable.QuasiIdentifierField.Builder
Returns
TypeDescription
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
NameDescription
valueFieldId
Returns
TypeDescription
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
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
StatisticalTable.Builder

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

public StatisticalTable.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueBigQueryTable
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryTable.Builder
Returns
TypeDescription
StatisticalTable.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final StatisticalTable.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StatisticalTable.Builder
Overrides