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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ValueFrequency.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ValueFrequency build()
Returns
buildPartial()
public ValueFrequency buildPartial()
Returns
clear()
public ValueFrequency.Builder clear()
Returns
Overrides
clearCount()
public ValueFrequency.Builder clearCount()
How many times the value is contained in the field.
int64 count = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public ValueFrequency.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ValueFrequency.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearValue()
public ValueFrequency.Builder clearValue()
A value contained in the field in question.
.google.privacy.dlp.v2.Value value = 1;
Returns
clone()
public ValueFrequency.Builder clone()
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ValueFrequency other)
public ValueFrequency.Builder mergeFrom(ValueFrequency other)
Parameter
Returns
public ValueFrequency.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ValueFrequency.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ValueFrequency.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ValueFrequency.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ValueFrequency.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ValueFrequency.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
|
Returns
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;
Parameter
Returns