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
RELATIVE_FREQUENCY_FIELD_NUMBER
public static final int RELATIVE_FREQUENCY_FIELD_NUMBER
Field Value
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StatisticalTable getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StatisticalTable.Builder newBuilder()
Returns
newBuilder(StatisticalTable prototype)
public static StatisticalTable.Builder newBuilder(StatisticalTable prototype)
Parameter
Returns
public static StatisticalTable parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatisticalTable parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StatisticalTable parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StatisticalTable parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StatisticalTable parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatisticalTable parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatisticalTable parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StatisticalTable parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatisticalTable parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatisticalTable parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StatisticalTable parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StatisticalTable parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StatisticalTable> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public StatisticalTable getDefaultInstanceForType()
Returns
getParserForType()
public Parser<StatisticalTable> getParserForType()
Returns
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
Returns
getQuasiIdsCount()
public int getQuasiIdsCount()
Required. Quasi-identifier columns.
repeated .google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierField quasi_ids = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTable()
public BigQueryTable getTable()
Required. Auxiliary table location.
.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getTableOrBuilder()
public BigQueryTableOrBuilder getTableOrBuilder()
Required. Auxiliary table location.
.google.privacy.dlp.v2.BigQueryTable table = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StatisticalTable.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StatisticalTable.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StatisticalTable.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions