Class StatisticalTable (3.47.0)

public final class StatisticalTable extends GeneratedMessageV3 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 Fields

QUASI_IDS_FIELD_NUMBER

public static final int QUASI_IDS_FIELD_NUMBER
Field Value
Type Description
int

RELATIVE_FREQUENCY_FIELD_NUMBER

public static final int RELATIVE_FREQUENCY_FIELD_NUMBER
Field Value
Type Description
int

TABLE_FIELD_NUMBER

public static final int TABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StatisticalTable getDefaultInstance()
Returns
Type Description
StatisticalTable

getDescriptor()

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

newBuilder()

public static StatisticalTable.Builder newBuilder()
Returns
Type Description
StatisticalTable.Builder

newBuilder(StatisticalTable prototype)

public static StatisticalTable.Builder newBuilder(StatisticalTable prototype)
Parameter
Name Description
prototype StatisticalTable
Returns
Type Description
StatisticalTable.Builder

parseDelimitedFrom(InputStream input)

public static StatisticalTable parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StatisticalTable
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatisticalTable
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StatisticalTable parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StatisticalTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatisticalTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StatisticalTable parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StatisticalTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatisticalTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StatisticalTable parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StatisticalTable
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatisticalTable
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StatisticalTable parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StatisticalTable
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatisticalTable
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StatisticalTable parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StatisticalTable
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatisticalTable
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StatisticalTable> parser()
Returns
Type Description
Parser<StatisticalTable>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StatisticalTable getDefaultInstanceForType()
Returns
Type Description
StatisticalTable

getParserForType()

public Parser<StatisticalTable> getParserForType()
Returns
Type Description
Parser<StatisticalTable>
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

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StatisticalTable.Builder newBuilderForType()
Returns
Type Description
StatisticalTable.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StatisticalTable.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StatisticalTable.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StatisticalTable.Builder toBuilder()
Returns
Type Description
StatisticalTable.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException