Class InfoTypeStats (3.18.0)

public final class InfoTypeStats extends GeneratedMessageV3 implements InfoTypeStatsOrBuilder

Statistics regarding a specific InfoType.

Protobuf type google.privacy.dlp.v2.InfoTypeStats

Static Fields

COUNT_FIELD_NUMBER

public static final int COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

INFO_TYPE_FIELD_NUMBER

public static final int INFO_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InfoTypeStats getDefaultInstance()
Returns
TypeDescription
InfoTypeStats

getDescriptor()

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

newBuilder()

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

newBuilder(InfoTypeStats prototype)

public static InfoTypeStats.Builder newBuilder(InfoTypeStats prototype)
Parameter
NameDescription
prototypeInfoTypeStats
Returns
TypeDescription
InfoTypeStats.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCount()

public long getCount()

Number of findings for this infoType.

int64 count = 2;

Returns
TypeDescription
long

The count.

getDefaultInstanceForType()

public InfoTypeStats getDefaultInstanceForType()
Returns
TypeDescription
InfoTypeStats

getInfoType()

public InfoType getInfoType()

The type of finding this stat is for.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
TypeDescription
InfoType

The infoType.

getInfoTypeOrBuilder()

public InfoTypeOrBuilder getInfoTypeOrBuilder()

The type of finding this stat is for.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
TypeDescription
InfoTypeOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasInfoType()

public boolean hasInfoType()

The type of finding this stat is for.

.google.privacy.dlp.v2.InfoType info_type = 1;

Returns
TypeDescription
boolean

Whether the infoType field is set.

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 InfoTypeStats.Builder newBuilderForType()
Returns
TypeDescription
InfoTypeStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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