Class PrivacyMetric.CategoricalStatsConfig (3.6.6)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static PrivacyMetric.CategoricalStatsConfig getDefaultInstance()
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig

getDescriptor()

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

newBuilder()

public static PrivacyMetric.CategoricalStatsConfig.Builder newBuilder()
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig.Builder

newBuilder(PrivacyMetric.CategoricalStatsConfig prototype)

public static PrivacyMetric.CategoricalStatsConfig.Builder newBuilder(PrivacyMetric.CategoricalStatsConfig prototype)
Parameter
NameDescription
prototypePrivacyMetric.CategoricalStatsConfig
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig.Builder

parseDelimitedFrom(InputStream input)

public static PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PrivacyMetric.CategoricalStatsConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PrivacyMetric.CategoricalStatsConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FieldIdOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the field field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PrivacyMetric.CategoricalStatsConfig.Builder newBuilderForType()
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PrivacyMetric.CategoricalStatsConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PrivacyMetric.CategoricalStatsConfig.Builder toBuilder()
Returns
TypeDescription
PrivacyMetric.CategoricalStatsConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException