Class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder (3.52.0)

public static final class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder extends GeneratedMessageV3.Builder<AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

Static Methods

getDescriptor()

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

Methods

addAllQuasiIdsValues(Iterable<? extends Value> values)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addAllQuasiIdsValues(Iterable<? extends Value> values)

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
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.Value>
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

addQuasiIdsValues(Value value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addQuasiIdsValues(Value value)

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
Name Description
value Value
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

addQuasiIdsValues(Value.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addQuasiIdsValues(Value.Builder builderForValue)

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
Name Description
builderForValue Value.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

addQuasiIdsValues(int index, Value value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addQuasiIdsValues(int index, Value value)

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;

Parameters
Name Description
index int
value Value
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

addQuasiIdsValues(int index, Value.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addQuasiIdsValues(int index, Value.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Value.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

addQuasiIdsValuesBuilder()

public Value.Builder addQuasiIdsValuesBuilder()

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
Type Description
Value.Builder

addQuasiIdsValuesBuilder(int index)

public Value.Builder addQuasiIdsValuesBuilder(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
Name Description
index int
Returns
Type Description
Value.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

build()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass build()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

buildPartial()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass buildPartial()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

clear()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder clear()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

clearEquivalenceClassSize()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder clearEquivalenceClassSize()

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

int64 equivalence_class_size = 2;

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

clearQuasiIdsValues()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder clearQuasiIdsValues()

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
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

clone()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder clone()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

getDefaultInstanceForType()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass getDefaultInstanceForType()
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
long

The equivalenceClassSize.

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
Name Description
index int
Returns
Type Description
Value

getQuasiIdsValuesBuilder(int index)

public Value.Builder getQuasiIdsValuesBuilder(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
Name Description
index int
Returns
Type Description
Value.Builder

getQuasiIdsValuesBuilderList()

public List<Value.Builder> getQuasiIdsValuesBuilderList()

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
Type Description
List<Builder>

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.privacy.dlp.v2.ValueOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder mergeFrom(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other)
Parameter
Name Description
other AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

removeQuasiIdsValues(int index)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder removeQuasiIdsValues(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
Name Description
index int
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

setEquivalenceClassSize(long value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder setEquivalenceClassSize(long value)

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

int64 equivalence_class_size = 2;

Parameter
Name Description
value long

The equivalenceClassSize to set.

Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

setQuasiIdsValues(int index, Value value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder setQuasiIdsValues(int index, Value value)

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;

Parameters
Name Description
index int
value Value
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

setQuasiIdsValues(int index, Value.Builder builderForValue)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder setQuasiIdsValues(int index, Value.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue Value.Builder
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides