public final class ValueFrequency extends GeneratedMessageV3 implements ValueFrequencyOrBuilder
A value of a field, including its frequency.
Protobuf type google.privacy.dlp.v2.ValueFrequency
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ValueFrequency.Builder newBuilder()
newBuilder(ValueFrequency prototype)
public static ValueFrequency.Builder newBuilder(ValueFrequency prototype)
public static ValueFrequency parseDelimitedFrom(InputStream input)
public static ValueFrequency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ValueFrequency parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValueFrequency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ValueFrequency parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValueFrequency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValueFrequency parseFrom(CodedInputStream input)
public static ValueFrequency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ValueFrequency parseFrom(InputStream input)
public static ValueFrequency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ValueFrequency parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ValueFrequency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ValueFrequency> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
getParserForType()
public Parser<ValueFrequency> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ValueFrequency.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ValueFrequency.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ValueFrequency.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides