Class LargeCustomDictionaryStats (3.11.0)

public final class LargeCustomDictionaryStats extends GeneratedMessageV3 implements LargeCustomDictionaryStatsOrBuilder

Summary statistics of a custom dictionary.

Protobuf type google.privacy.dlp.v2.LargeCustomDictionaryStats

Static Fields

APPROX_NUM_PHRASES_FIELD_NUMBER

public static final int APPROX_NUM_PHRASES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LargeCustomDictionaryStats getDefaultInstance()
Returns
TypeDescription
LargeCustomDictionaryStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LargeCustomDictionaryStats.Builder newBuilder()
Returns
TypeDescription
LargeCustomDictionaryStats.Builder

newBuilder(LargeCustomDictionaryStats prototype)

public static LargeCustomDictionaryStats.Builder newBuilder(LargeCustomDictionaryStats prototype)
Parameter
NameDescription
prototypeLargeCustomDictionaryStats
Returns
TypeDescription
LargeCustomDictionaryStats.Builder

parseDelimitedFrom(InputStream input)

public static LargeCustomDictionaryStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LargeCustomDictionaryStats parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LargeCustomDictionaryStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LargeCustomDictionaryStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LargeCustomDictionaryStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LargeCustomDictionaryStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LargeCustomDictionaryStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LargeCustomDictionaryStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LargeCustomDictionaryStats> parser()
Returns
TypeDescription
Parser<LargeCustomDictionaryStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<LargeCustomDictionaryStats> getParserForType()
Returns
TypeDescription
Parser<LargeCustomDictionaryStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LargeCustomDictionaryStats.Builder newBuilderForType()
Returns
TypeDescription
LargeCustomDictionaryStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LargeCustomDictionaryStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LargeCustomDictionaryStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LargeCustomDictionaryStats.Builder toBuilder()
Returns
TypeDescription
LargeCustomDictionaryStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException