Class LargeCustomDictionaryStats.Builder (3.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LargeCustomDictionaryStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides

build()

public LargeCustomDictionaryStats build()
Returns
TypeDescription
LargeCustomDictionaryStats

buildPartial()

public LargeCustomDictionaryStats buildPartial()
Returns
TypeDescription
LargeCustomDictionaryStats

clear()

public LargeCustomDictionaryStats.Builder clear()
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides

clearApproxNumPhrases()

public LargeCustomDictionaryStats.Builder clearApproxNumPhrases()

Approximate number of distinct phrases in the dictionary.

int64 approx_num_phrases = 1;

Returns
TypeDescription
LargeCustomDictionaryStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LargeCustomDictionaryStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LargeCustomDictionaryStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides

clone()

public LargeCustomDictionaryStats.Builder clone()
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides

getApproxNumPhrases()

public long getApproxNumPhrases()

Approximate number of distinct phrases in the dictionary.

int64 approx_num_phrases = 1;

Returns
TypeDescription
long

The approxNumPhrases.

getDefaultInstanceForType()

public LargeCustomDictionaryStats getDefaultInstanceForType()
Returns
TypeDescription
LargeCustomDictionaryStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LargeCustomDictionaryStats other)

public LargeCustomDictionaryStats.Builder mergeFrom(LargeCustomDictionaryStats other)
Parameter
NameDescription
otherLargeCustomDictionaryStats
Returns
TypeDescription
LargeCustomDictionaryStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LargeCustomDictionaryStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LargeCustomDictionaryStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LargeCustomDictionaryStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuelong

The approxNumPhrases to set.

Returns
TypeDescription
LargeCustomDictionaryStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LargeCustomDictionaryStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides

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

public LargeCustomDictionaryStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LargeCustomDictionaryStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides