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