public static final class AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder extends GeneratedMessageV3.Builder<AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder> implements AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClassOrBuilder
The set of columns' values that share the same ldiversity value.
Protobuf type
google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllQuasiIdsValues(Iterable<? extends Value> values)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addAllQuasiIdsValues(Iterable<? extends Value> values)
Quasi-identifier values defining the k-anonymity equivalence
class. 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
addAllTopSensitiveValues(Iterable<? extends ValueFrequency> values)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addAllTopSensitiveValues(Iterable<? extends ValueFrequency> values)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameter
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.ValueFrequency>
|
Returns
addQuasiIdsValues(Value value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addQuasiIdsValues(Value value)
Quasi-identifier values defining the k-anonymity equivalence
class. 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
addQuasiIdsValues(Value.Builder builderForValue)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addQuasiIdsValues(Value.Builder builderForValue)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameter
Returns
addQuasiIdsValues(int index, Value value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addQuasiIdsValues(int index, Value value)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameters
Returns
addQuasiIdsValues(int index, Value.Builder builderForValue)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addQuasiIdsValues(int index, Value.Builder builderForValue)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameters
Returns
addQuasiIdsValuesBuilder()
public Value.Builder addQuasiIdsValuesBuilder()
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Returns
addQuasiIdsValuesBuilder(int index)
public Value.Builder addQuasiIdsValuesBuilder(int index)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addTopSensitiveValues(ValueFrequency value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addTopSensitiveValues(ValueFrequency value)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameter
Returns
addTopSensitiveValues(ValueFrequency.Builder builderForValue)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addTopSensitiveValues(ValueFrequency.Builder builderForValue)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameter
Returns
addTopSensitiveValues(int index, ValueFrequency value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addTopSensitiveValues(int index, ValueFrequency value)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameters
Returns
addTopSensitiveValues(int index, ValueFrequency.Builder builderForValue)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder addTopSensitiveValues(int index, ValueFrequency.Builder builderForValue)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameters
Returns
addTopSensitiveValuesBuilder()
public ValueFrequency.Builder addTopSensitiveValuesBuilder()
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Returns
addTopSensitiveValuesBuilder(int index)
public ValueFrequency.Builder addTopSensitiveValuesBuilder(int index)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameter
Returns
build()
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass build()
Returns
buildPartial()
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass buildPartial()
Returns
clear()
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder clear()
Returns
Overrides
clearEquivalenceClassSize()
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder clearEquivalenceClassSize()
Size of the k-anonymity equivalence class.
int64 equivalence_class_size = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNumDistinctSensitiveValues()
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder clearNumDistinctSensitiveValues()
Number of distinct sensitive values in this equivalence class.
int64 num_distinct_sensitive_values = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearQuasiIdsValues()
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder clearQuasiIdsValues()
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Returns
clearTopSensitiveValues()
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder clearTopSensitiveValues()
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Returns
clone()
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEquivalenceClassSize()
public long getEquivalenceClassSize()
Size of the k-anonymity equivalence class.
int64 equivalence_class_size = 2;
Returns
Type | Description |
long | The equivalenceClassSize.
|
getNumDistinctSensitiveValues()
public long getNumDistinctSensitiveValues()
Number of distinct sensitive values in this equivalence class.
int64 num_distinct_sensitive_values = 3;
Returns
Type | Description |
long | The numDistinctSensitiveValues.
|
getQuasiIdsValues(int index)
public Value getQuasiIdsValues(int index)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameter
Returns
getQuasiIdsValuesBuilder(int index)
public Value.Builder getQuasiIdsValuesBuilder(int index)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameter
Returns
getQuasiIdsValuesBuilderList()
public List<Value.Builder> getQuasiIdsValuesBuilderList()
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Returns
getQuasiIdsValuesCount()
public int getQuasiIdsValuesCount()
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Returns
getQuasiIdsValuesList()
public List<Value> getQuasiIdsValuesList()
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Returns
getQuasiIdsValuesOrBuilder(int index)
public ValueOrBuilder getQuasiIdsValuesOrBuilder(int index)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameter
Returns
getQuasiIdsValuesOrBuilderList()
public List<? extends ValueOrBuilder> getQuasiIdsValuesOrBuilderList()
Quasi-identifier values defining the k-anonymity equivalence
class. 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> | |
getTopSensitiveValues(int index)
public ValueFrequency getTopSensitiveValues(int index)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameter
Returns
getTopSensitiveValuesBuilder(int index)
public ValueFrequency.Builder getTopSensitiveValuesBuilder(int index)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameter
Returns
getTopSensitiveValuesBuilderList()
public List<ValueFrequency.Builder> getTopSensitiveValuesBuilderList()
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Returns
getTopSensitiveValuesCount()
public int getTopSensitiveValuesCount()
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Returns
getTopSensitiveValuesList()
public List<ValueFrequency> getTopSensitiveValuesList()
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Returns
getTopSensitiveValuesOrBuilder(int index)
public ValueFrequencyOrBuilder getTopSensitiveValuesOrBuilder(int index)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameter
Returns
getTopSensitiveValuesOrBuilderList()
public List<? extends ValueFrequencyOrBuilder> getTopSensitiveValuesOrBuilderList()
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.ValueFrequencyOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass other)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder mergeFrom(AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass other)
Parameter
Returns
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeQuasiIdsValues(int index)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder removeQuasiIdsValues(int index)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameter
Returns
removeTopSensitiveValues(int index)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder removeTopSensitiveValues(int index)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameter
Returns
setEquivalenceClassSize(long value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder setEquivalenceClassSize(long value)
Size of the k-anonymity equivalence class.
int64 equivalence_class_size = 2;
Parameter
Name | Description |
value | long
The equivalenceClassSize to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNumDistinctSensitiveValues(long value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder setNumDistinctSensitiveValues(long value)
Number of distinct sensitive values in this equivalence class.
int64 num_distinct_sensitive_values = 3;
Parameter
Name | Description |
value | long
The numDistinctSensitiveValues to set.
|
Returns
setQuasiIdsValues(int index, Value value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder setQuasiIdsValues(int index, Value value)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameters
Returns
setQuasiIdsValues(int index, Value.Builder builderForValue)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder setQuasiIdsValues(int index, Value.Builder builderForValue)
Quasi-identifier values defining the k-anonymity equivalence
class. The order is always the same as the original request.
repeated .google.privacy.dlp.v2.Value quasi_ids_values = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTopSensitiveValues(int index, ValueFrequency value)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder setTopSensitiveValues(int index, ValueFrequency value)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameters
Returns
setTopSensitiveValues(int index, ValueFrequency.Builder builderForValue)
public AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder setTopSensitiveValues(int index, ValueFrequency.Builder builderForValue)
Estimated frequencies of top sensitive values.
repeated .google.privacy.dlp.v2.ValueFrequency top_sensitive_values = 4;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides