Class PrivacyMetric.CategoricalStatsConfig (3.49.0)

public static final class PrivacyMetric.CategoricalStatsConfig extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PrivacyMetric.CategoricalStatsConfig

Static Fields

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PrivacyMetric.CategoricalStatsConfig getDefaultInstance()
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PrivacyMetric.CategoricalStatsConfig.Builder newBuilder()
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder

newBuilder(PrivacyMetric.CategoricalStatsConfig prototype)

public static PrivacyMetric.CategoricalStatsConfig.Builder newBuilder(PrivacyMetric.CategoricalStatsConfig prototype)
Parameter
Name Description
prototype PrivacyMetric.CategoricalStatsConfig
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder

parseDelimitedFrom(InputStream input)

public static PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PrivacyMetric.CategoricalStatsConfig> parser()
Returns
Type Description
Parser<CategoricalStatsConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

public Parser<PrivacyMetric.CategoricalStatsConfig> getParserForType()
Returns
Type Description
Parser<CategoricalStatsConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PrivacyMetric.CategoricalStatsConfig.Builder newBuilderForType()
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivacyMetric.CategoricalStatsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PrivacyMetric.CategoricalStatsConfig.Builder toBuilder()
Returns
Type Description
PrivacyMetric.CategoricalStatsConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException