Class FindingTypeStats (2.47.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
Type Description
int

FINDING_TYPE_FIELD_NUMBER

public static final int FINDING_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FindingTypeStats getDefaultInstance()
Returns
Type Description
FindingTypeStats

getDescriptor()

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

newBuilder()

public static FindingTypeStats.Builder newBuilder()
Returns
Type Description
FindingTypeStats.Builder

newBuilder(FindingTypeStats prototype)

public static FindingTypeStats.Builder newBuilder(FindingTypeStats prototype)
Parameter
Name Description
prototype FindingTypeStats
Returns
Type Description
FindingTypeStats.Builder

parseDelimitedFrom(InputStream input)

public static FindingTypeStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FindingTypeStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FindingTypeStats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FindingTypeStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FindingTypeStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FindingTypeStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FindingTypeStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FindingTypeStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FindingTypeStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FindingTypeStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FindingTypeStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FindingTypeStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingTypeStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FindingTypeStats> parser()
Returns
Type Description
Parser<FindingTypeStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FindingTypeStats getDefaultInstanceForType()
Returns
Type Description
FindingTypeStats

getFindingCount()

public int getFindingCount()

The count of findings belonging to this finding type.

int32 finding_count = 2;

Returns
Type Description
int

The findingCount.

getFindingType()

public String getFindingType()

The finding type associated with the stats.

string finding_type = 1;

Returns
Type Description
String

The findingType.

getFindingTypeBytes()

public ByteString getFindingTypeBytes()

The finding type associated with the stats.

string finding_type = 1;

Returns
Type Description
ByteString

The bytes for findingType.

getParserForType()

public Parser<FindingTypeStats> getParserForType()
Returns
Type Description
Parser<FindingTypeStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FindingTypeStats.Builder newBuilderForType()
Returns
Type Description
FindingTypeStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FindingTypeStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FindingTypeStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FindingTypeStats.Builder toBuilder()
Returns
Type Description
FindingTypeStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException