Send feedback
Class ValueFrequency.Builder (3.38.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.38.0 keyboard_arrow_down
public static final class ValueFrequency . Builder extends GeneratedMessageV3 . Builder<ValueFrequency . Builder > implements ValueFrequencyOrBuilder
A value of a field, including its frequency.
Protobuf type google.privacy.dlp.v2.ValueFrequency
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ValueFrequency . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ValueFrequency build ()
buildPartial()
public ValueFrequency buildPartial ()
clear()
public ValueFrequency . Builder clear ()
Overrides
clearCount()
public ValueFrequency . Builder clearCount ()
How many times the value is contained in the field.
int64 count = 2;
clearField(Descriptors.FieldDescriptor field)
public ValueFrequency . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ValueFrequency . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearValue()
public ValueFrequency . Builder clearValue ()
A value contained in the field in question.
.google.privacy.dlp.v2.Value value = 1;
clone()
public ValueFrequency . Builder clone ()
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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getValue()
A value contained in the field in question.
.google.privacy.dlp.v2.Value value = 1;
Returns Type Description Value
The value.
getValueBuilder()
public Value . Builder getValueBuilder ()
A value contained in the field in question.
.google.privacy.dlp.v2.Value value = 1;
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ValueFrequency other)
public ValueFrequency . Builder mergeFrom ( ValueFrequency other )
public ValueFrequency . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ValueFrequency . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ValueFrequency . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
mergeValue(Value value)
public ValueFrequency . Builder mergeValue ( Value value )
A value contained in the field in question.
.google.privacy.dlp.v2.Value value = 1;
Parameter Name Description value
Value
setCount(long value)
public ValueFrequency . Builder setCount ( long value )
How many times the value is contained in the field.
int64 count = 2;
Parameter Name Description value
long
The count to set.
setField(Descriptors.FieldDescriptor field, Object value)
public ValueFrequency . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ValueFrequency . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ValueFrequency . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setValue(Value value)
public ValueFrequency . Builder setValue ( Value value )
A value contained in the field in question.
.google.privacy.dlp.v2.Value value = 1;
Parameter Name Description value
Value
setValue(Value.Builder builderForValue)
public ValueFrequency . Builder setValue ( Value . Builder builderForValue )
A value contained in the field in question.
.google.privacy.dlp.v2.Value value = 1;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]