Class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass (3.40.0)

public static final class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass extends GeneratedMessageV3 implements AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClassOrBuilder

The set of columns' values that share the same ldiversity value

Protobuf type google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

Static Fields

EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER

public static final int EQUIVALENCE_CLASS_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

QUASI_IDS_VALUES_FIELD_NUMBER

public static final int QUASI_IDS_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstance()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

getDescriptor()

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

newBuilder()

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder newBuilder()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

newBuilder(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass prototype)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder newBuilder(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass prototype)
Parameter
NameDescription
prototypeAnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> parser()
Returns
TypeDescription
Parser<KAnonymityEquivalenceClass>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

getEquivalenceClassSize()

public long getEquivalenceClassSize()

Size of the equivalence class, for example number of rows with the above set of values.

int64 equivalence_class_size = 2;

Returns
TypeDescription
long

The equivalenceClassSize.

getParserForType()

public Parser<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass> getParserForType()
Returns
TypeDescription
Parser<KAnonymityEquivalenceClass>
Overrides

getQuasiIdsValues(int index)

public Value getQuasiIdsValues(int index)

Set of values defining the equivalence class. One value per quasi-identifier column in the original KAnonymity metric message. The order is always the same as the original request.

repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Value

getQuasiIdsValuesCount()

public int getQuasiIdsValuesCount()

Set of values defining the equivalence class. One value per quasi-identifier column in the original KAnonymity metric message. The order is always the same as the original request.

repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;

Returns
TypeDescription
int

getQuasiIdsValuesList()

public List<Value> getQuasiIdsValuesList()

Set of values defining the equivalence class. One value per quasi-identifier column in the original KAnonymity metric message. The order is always the same as the original request.

repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;

Returns
TypeDescription
List<Value>

getQuasiIdsValuesOrBuilder(int index)

public ValueOrBuilder getQuasiIdsValuesOrBuilder(int index)

Set of values defining the equivalence class. One value per quasi-identifier column in the original KAnonymity metric message. The order is always the same as the original request.

repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ValueOrBuilder

getQuasiIdsValuesOrBuilderList()

public List<? extends ValueOrBuilder> getQuasiIdsValuesOrBuilderList()

Set of values defining the equivalence class. One value per quasi-identifier column in the original KAnonymity metric message. The order is always the same as the original request.

repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder newBuilderForType()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder toBuilder()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

writeTo(CodedOutputStream output)

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