Class FindingTypeStats (2.37.0)

public final class FindingTypeStats extends GeneratedMessageV3 implements FindingTypeStatsOrBuilder

A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.

Protobuf type google.cloud.websecurityscanner.v1beta.FindingTypeStats

Static Fields

FINDING_COUNT_FIELD_NUMBER

public static final int FINDING_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

FINDING_TYPE_FIELD_NUMBER

public static final int FINDING_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FindingTypeStats getDefaultInstance()
Returns
TypeDescription
FindingTypeStats

getDescriptor()

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

newBuilder()

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

newBuilder(FindingTypeStats prototype)

public static FindingTypeStats.Builder newBuilder(FindingTypeStats prototype)
Parameter
NameDescription
prototypeFindingTypeStats
Returns
TypeDescription
FindingTypeStats.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FindingTypeStats getDefaultInstanceForType()
Returns
TypeDescription
FindingTypeStats

getFindingCount()

public int getFindingCount()

The count of findings belonging to this finding type.

int32 finding_count = 2;

Returns
TypeDescription
int

The findingCount.

getFindingType()

public String getFindingType()

The finding type associated with the stats.

string finding_type = 1;

Returns
TypeDescription
String

The findingType.

getFindingTypeBytes()

public ByteString getFindingTypeBytes()

The finding type associated with the stats.

string finding_type = 1;

Returns
TypeDescription
ByteString

The bytes for findingType.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 FindingTypeStats.Builder newBuilderForType()
Returns
TypeDescription
FindingTypeStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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