Class LargeCustomDictionaryStats.Builder (3.58.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LargeCustomDictionaryStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LargeCustomDictionaryStats.Builder
Overrides

build()

public LargeCustomDictionaryStats build()
Returns
Type Description
LargeCustomDictionaryStats

buildPartial()

public LargeCustomDictionaryStats buildPartial()
Returns
Type Description
LargeCustomDictionaryStats

clear()

public LargeCustomDictionaryStats.Builder clear()
Returns
Type Description
LargeCustomDictionaryStats.Builder
Overrides

clearApproxNumPhrases()

public LargeCustomDictionaryStats.Builder clearApproxNumPhrases()

Approximate number of distinct phrases in the dictionary.

int64 approx_num_phrases = 1;

Returns
Type Description
LargeCustomDictionaryStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LargeCustomDictionaryStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LargeCustomDictionaryStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LargeCustomDictionaryStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LargeCustomDictionaryStats.Builder
Overrides

clone()

public LargeCustomDictionaryStats.Builder clone()
Returns
Type Description
LargeCustomDictionaryStats.Builder
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
Type Description
LargeCustomDictionaryStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LargeCustomDictionaryStats other)

public LargeCustomDictionaryStats.Builder mergeFrom(LargeCustomDictionaryStats other)
Parameter
Name Description
other LargeCustomDictionaryStats
Returns
Type Description
LargeCustomDictionaryStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LargeCustomDictionaryStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LargeCustomDictionaryStats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LargeCustomDictionaryStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LargeCustomDictionaryStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LargeCustomDictionaryStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LargeCustomDictionaryStats.Builder
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
Type Description
LargeCustomDictionaryStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LargeCustomDictionaryStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LargeCustomDictionaryStats.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LargeCustomDictionaryStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LargeCustomDictionaryStats.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LargeCustomDictionaryStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LargeCustomDictionaryStats.Builder
Overrides