Class StatisticalTable (3.21.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
TypeDescription
int

RELATIVE_FREQUENCY_FIELD_NUMBER

public static final int RELATIVE_FREQUENCY_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_FIELD_NUMBER

public static final int TABLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StatisticalTable getDefaultInstance()
Returns
TypeDescription
StatisticalTable

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StatisticalTable.Builder newBuilder()
Returns
TypeDescription
StatisticalTable.Builder

newBuilder(StatisticalTable prototype)

public static StatisticalTable.Builder newBuilder(StatisticalTable prototype)
Parameter
NameDescription
prototypeStatisticalTable
Returns
TypeDescription
StatisticalTable.Builder

parseDelimitedFrom(InputStream input)

public static StatisticalTable parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StatisticalTable parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StatisticalTable parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StatisticalTable parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StatisticalTable parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StatisticalTable parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StatisticalTable parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StatisticalTable
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StatisticalTable> parser()
Returns
TypeDescription
Parser<StatisticalTable>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StatisticalTable getDefaultInstanceForType()
Returns
TypeDescription
StatisticalTable

getParserForType()

public Parser<StatisticalTable> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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.

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getTableOrBuilder()

public BigQueryTableOrBuilder getTableOrBuilder()

Required. Auxiliary table location.

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

Returns
TypeDescription
BigQueryTableOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StatisticalTable.Builder newBuilderForType()
Returns
TypeDescription
StatisticalTable.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StatisticalTable.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StatisticalTable.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StatisticalTable.Builder toBuilder()
Returns
TypeDescription
StatisticalTable.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException