Class PrivacyMetric.CategoricalStatsConfig.Builder (3.44.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PrivacyMetric.CategoricalStatsConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

build()

public PrivacyMetric.CategoricalStatsConfig build()

buildPartial()

public PrivacyMetric.CategoricalStatsConfig buildPartial()

clear()

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

clearField(Descriptors.FieldDescriptor field)

public PrivacyMetric.CategoricalStatsConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PrivacyMetric.CategoricalStatsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clone()

public PrivacyMetric.CategoricalStatsConfig.Builder clone()
Overrides

getDefaultInstanceForType()

public PrivacyMetric.CategoricalStatsConfig getDefaultInstanceForType()

getDescriptorForType()

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

Whether the field field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFieldId

mergeFrom(PrivacyMetric.CategoricalStatsConfig other)

public PrivacyMetric.CategoricalStatsConfig.Builder mergeFrom(PrivacyMetric.CategoricalStatsConfig other)
Parameter
NameDescription
otherPrivacyMetric.CategoricalStatsConfig

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PrivacyMetric.CategoricalStatsConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PrivacyMetric.CategoricalStatsConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.CategoricalStatsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
NameDescription
valueFieldId

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
NameDescription
builderForValueFieldId.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PrivacyMetric.CategoricalStatsConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

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

public PrivacyMetric.CategoricalStatsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PrivacyMetric.CategoricalStatsConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides