Class AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder (3.43.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.Value>
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueValue.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueValue.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Value.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

clone()

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder clone()
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder mergeFrom(AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass other)
Parameter
NameDescription
otherAnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuelong

The equivalenceClassSize to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueValue
Returns
TypeDescription
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
NameDescription
indexint
builderForValueValue.Builder
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass.Builder
Overrides