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.v1.FindingTypeStats
Static Fields
FINDING_COUNT_FIELD_NUMBER
public static final int FINDING_COUNT_FIELD_NUMBER
Field Value
FINDING_TYPE_FIELD_NUMBER
public static final int FINDING_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static FindingTypeStats getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static FindingTypeStats.Builder newBuilder()
Returns
newBuilder(FindingTypeStats prototype)
public static FindingTypeStats.Builder newBuilder(FindingTypeStats prototype)
Parameter
Returns
public static FindingTypeStats parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FindingTypeStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FindingTypeStats parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FindingTypeStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FindingTypeStats parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FindingTypeStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FindingTypeStats parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FindingTypeStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FindingTypeStats parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FindingTypeStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FindingTypeStats parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FindingTypeStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FindingTypeStats> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public FindingTypeStats getDefaultInstanceForType()
Returns
getFindingCount()
public int getFindingCount()
Output only. The count of findings belonging to this finding type.
int32 finding_count = 2;
Returns
Type | Description |
int | The findingCount.
|
getFindingType()
public String getFindingType()
Output only. The finding type associated with the stats.
string finding_type = 1;
Returns
Type | Description |
String | The findingType.
|
getFindingTypeBytes()
public ByteString getFindingTypeBytes()
Output only. 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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public FindingTypeStats.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FindingTypeStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public FindingTypeStats.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions