public static final class PrivacyMetric.CategoricalStatsConfig.Builder extends GeneratedMessageV3.Builder<PrivacyMetric.CategoricalStatsConfig.Builder> implements PrivacyMetric.CategoricalStatsConfigOrBuilder
Compute numerical stats over an individual column, including
number of distinct values and value count distribution.
Protobuf type google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.CategoricalStatsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PrivacyMetric.CategoricalStatsConfig build()
Returns
buildPartial()
public PrivacyMetric.CategoricalStatsConfig buildPartial()
Returns
clear()
public PrivacyMetric.CategoricalStatsConfig.Builder clear()
Returns
Overrides
clearField()
public PrivacyMetric.CategoricalStatsConfig.Builder clearField()
Field to compute categorical stats on. All column types are
supported except for arrays and structs. However, it may be more
informative to use NumericalStats when the field type is supported,
depending on the data.
.google.privacy.dlp.v2.FieldId field = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public PrivacyMetric.CategoricalStatsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivacyMetric.CategoricalStatsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public PrivacyMetric.CategoricalStatsConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PrivacyMetric.CategoricalStatsConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getField()
public FieldId getField()
Field to compute categorical stats on. All column types are
supported except for arrays and structs. However, it may be more
informative to use NumericalStats when the field type is supported,
depending on the data.
.google.privacy.dlp.v2.FieldId field = 1;
Returns
getFieldBuilder()
public FieldId.Builder getFieldBuilder()
Field to compute categorical stats on. All column types are
supported except for arrays and structs. However, it may be more
informative to use NumericalStats when the field type is supported,
depending on the data.
.google.privacy.dlp.v2.FieldId field = 1;
Returns
getFieldOrBuilder()
public FieldIdOrBuilder getFieldOrBuilder()
Field to compute categorical stats on. All column types are
supported except for arrays and structs. However, it may be more
informative to use NumericalStats when the field type is supported,
depending on the data.
.google.privacy.dlp.v2.FieldId field = 1;
Returns
hasField()
public boolean hasField()
Field to compute categorical stats on. All column types are
supported except for arrays and structs. However, it may be more
informative to use NumericalStats when the field type is supported,
depending on the data.
.google.privacy.dlp.v2.FieldId field = 1;
Returns
Type | Description |
boolean | Whether the field field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeField(FieldId value)
public PrivacyMetric.CategoricalStatsConfig.Builder mergeField(FieldId value)
Field to compute categorical stats on. All column types are
supported except for arrays and structs. However, it may be more
informative to use NumericalStats when the field type is supported,
depending on the data.
.google.privacy.dlp.v2.FieldId field = 1;
Parameter
Returns
mergeFrom(PrivacyMetric.CategoricalStatsConfig other)
public PrivacyMetric.CategoricalStatsConfig.Builder mergeFrom(PrivacyMetric.CategoricalStatsConfig other)
Parameter
Returns
public PrivacyMetric.CategoricalStatsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PrivacyMetric.CategoricalStatsConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.CategoricalStatsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(FieldId value)
public PrivacyMetric.CategoricalStatsConfig.Builder setField(FieldId value)
Field to compute categorical stats on. All column types are
supported except for arrays and structs. However, it may be more
informative to use NumericalStats when the field type is supported,
depending on the data.
.google.privacy.dlp.v2.FieldId field = 1;
Parameter
Returns
setField(FieldId.Builder builderForValue)
public PrivacyMetric.CategoricalStatsConfig.Builder setField(FieldId.Builder builderForValue)
Field to compute categorical stats on. All column types are
supported except for arrays and structs. However, it may be more
informative to use NumericalStats when the field type is supported,
depending on the data.
.google.privacy.dlp.v2.FieldId field = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PrivacyMetric.CategoricalStatsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivacyMetric.CategoricalStatsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivacyMetric.CategoricalStatsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides