Class PrivacyMetric.CategoricalStatsConfig.Builder (3.57.0)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivacyMetric.CategoricalStatsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides

build()

public PrivacyMetric.CategoricalStatsConfig build()
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig

buildPartial()

public PrivacyMetric.CategoricalStatsConfig buildPartial()
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig

clear()

public PrivacyMetric.CategoricalStatsConfig.Builder clear()
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
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
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public PrivacyMetric.CategoricalStatsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivacyMetric.CategoricalStatsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides

clone()

public PrivacyMetric.CategoricalStatsConfig.Builder clone()
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides

getDefaultInstanceForType()

public PrivacyMetric.CategoricalStatsConfig getDefaultInstanceForType()
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldId

The field.

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

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

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Name Description
value FieldId
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder

mergeFrom(PrivacyMetric.CategoricalStatsConfig other)

public PrivacyMetric.CategoricalStatsConfig.Builder mergeFrom(PrivacyMetric.CategoricalStatsConfig other)
Parameter
Name Description
other PrivacyMetric.CategoricalStatsConfig
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivacyMetric.CategoricalStatsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PrivacyMetric.CategoricalStatsConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.CategoricalStatsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
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
Name Description
value FieldId
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder

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
Name Description
builderForValue FieldId.Builder
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PrivacyMetric.CategoricalStatsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.CategoricalStatsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides