Class ValueFrequency (3.16.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
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ValueFrequency getDefaultInstance()
Returns
TypeDescription
ValueFrequency

getDescriptor()

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

newBuilder()

public static ValueFrequency.Builder newBuilder()
Returns
TypeDescription
ValueFrequency.Builder

newBuilder(ValueFrequency prototype)

public static ValueFrequency.Builder newBuilder(ValueFrequency prototype)
Parameter
NameDescription
prototypeValueFrequency
Returns
TypeDescription
ValueFrequency.Builder

parseDelimitedFrom(InputStream input)

public static ValueFrequency parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValueFrequency
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ValueFrequency parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ValueFrequency
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ValueFrequency parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ValueFrequency
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ValueFrequency parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValueFrequency
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ValueFrequency parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ValueFrequency
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ValueFrequency> parser()
Returns
TypeDescription
Parser<ValueFrequency>

Methods

equals(Object obj)

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

getCount()

public long getCount()

How many times the value is contained in the field.

int64 count = 2;

Returns
TypeDescription
long

The count.

getDefaultInstanceForType()

public ValueFrequency getDefaultInstanceForType()
Returns
TypeDescription
ValueFrequency

getParserForType()

public Parser<ValueFrequency> getParserForType()
Returns
TypeDescription
Parser<ValueFrequency>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public Value getValue()

A value contained in the field in question.

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

Returns
TypeDescription
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

A value contained in the field in question.

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

Returns
TypeDescription
ValueOrBuilder

hasValue()

public boolean hasValue()

A value contained in the field in question.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ValueFrequency.Builder toBuilder()
Returns
TypeDescription
ValueFrequency.Builder

writeTo(CodedOutputStream output)

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