public static final class LargeCustomDictionaryStats.Builder extends GeneratedMessageV3.Builder<LargeCustomDictionaryStats.Builder> implements LargeCustomDictionaryStatsOrBuilder
Summary statistics of a custom dictionary.
Protobuf type google.privacy.dlp.v2.LargeCustomDictionaryStats
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LargeCustomDictionaryStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LargeCustomDictionaryStats build()
Returns
buildPartial()
public LargeCustomDictionaryStats buildPartial()
Returns
clear()
public LargeCustomDictionaryStats.Builder clear()
Returns
Overrides
clearApproxNumPhrases()
public LargeCustomDictionaryStats.Builder clearApproxNumPhrases()
Approximate number of distinct phrases in the dictionary.
int64 approx_num_phrases = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public LargeCustomDictionaryStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LargeCustomDictionaryStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LargeCustomDictionaryStats.Builder clone()
Returns
Overrides
getApproxNumPhrases()
public long getApproxNumPhrases()
Approximate number of distinct phrases in the dictionary.
int64 approx_num_phrases = 1;
Returns
Type | Description |
long | The approxNumPhrases.
|
getDefaultInstanceForType()
public LargeCustomDictionaryStats getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LargeCustomDictionaryStats other)
public LargeCustomDictionaryStats.Builder mergeFrom(LargeCustomDictionaryStats other)
Parameter
Returns
public LargeCustomDictionaryStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LargeCustomDictionaryStats.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LargeCustomDictionaryStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setApproxNumPhrases(long value)
public LargeCustomDictionaryStats.Builder setApproxNumPhrases(long value)
Approximate number of distinct phrases in the dictionary.
int64 approx_num_phrases = 1;
Parameter
Name | Description |
value | long
The approxNumPhrases to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LargeCustomDictionaryStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LargeCustomDictionaryStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LargeCustomDictionaryStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides