Class ValueFrequency (3.46.0)

public final class ValueFrequency extends GeneratedMessageV3 implements ValueFrequencyOrBuilder

A value of a field, including its frequency.

Protobuf type google.privacy.dlp.v2.ValueFrequency

Static Fields

COUNT_FIELD_NUMBER

public static final int COUNT_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ValueFrequency getDefaultInstance()
Returns
Type Description
ValueFrequency

getDescriptor()

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

newBuilder()

public static ValueFrequency.Builder newBuilder()
Returns
Type Description
ValueFrequency.Builder

newBuilder(ValueFrequency prototype)

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

parseDelimitedFrom(InputStream input)

public static ValueFrequency parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValueFrequency
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ValueFrequency parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ValueFrequency
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ValueFrequency parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ValueFrequency
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ValueFrequency parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValueFrequency
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ValueFrequency parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ValueFrequency
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ValueFrequency> parser()
Returns
Type Description
Parser<ValueFrequency>

Methods

equals(Object obj)

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

getCount()

public long getCount()

How many times the value is contained in the field.

int64 count = 2;

Returns
Type Description
long

The count.

getDefaultInstanceForType()

public ValueFrequency getDefaultInstanceForType()
Returns
Type Description
ValueFrequency

getParserForType()

public Parser<ValueFrequency> getParserForType()
Returns
Type Description
Parser<ValueFrequency>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValue()

public Value getValue()

A value contained in the field in question.

.google.privacy.dlp.v2.Value value = 1;

Returns
Type Description
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

A value contained in the field in question.

.google.privacy.dlp.v2.Value value = 1;

Returns
Type Description
ValueOrBuilder

hasValue()

public boolean hasValue()

A value contained in the field in question.

.google.privacy.dlp.v2.Value value = 1;

Returns
Type Description
boolean

Whether the value 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 ValueFrequency.Builder newBuilderForType()
Returns
Type Description
ValueFrequency.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ValueFrequency.Builder toBuilder()
Returns
Type Description
ValueFrequency.Builder

writeTo(CodedOutputStream output)

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