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
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ValueFrequency getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ValueFrequency.Builder newBuilder()
Returns
newBuilder(ValueFrequency prototype)
public static ValueFrequency.Builder newBuilder(ValueFrequency prototype)
Parameter
Returns
public static ValueFrequency parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValueFrequency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ValueFrequency parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValueFrequency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ValueFrequency parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValueFrequency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValueFrequency parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ValueFrequency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValueFrequency parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValueFrequency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ValueFrequency parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ValueFrequency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ValueFrequency> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
getParserForType()
public Parser<ValueFrequency> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ValueFrequency.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ValueFrequency.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ValueFrequency.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions