public final class VulnerabilityOccurrencesSummary extends GeneratedMessageV3 implements VulnerabilityOccurrencesSummaryOrBuilder
A summary of how many vulnerability occurrences there are per resource and
severity type.
Protobuf type google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary
Static Fields
COUNTS_FIELD_NUMBER
public static final int COUNTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VulnerabilityOccurrencesSummary getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VulnerabilityOccurrencesSummary.Builder newBuilder()
Returns
newBuilder(VulnerabilityOccurrencesSummary prototype)
public static VulnerabilityOccurrencesSummary.Builder newBuilder(VulnerabilityOccurrencesSummary prototype)
Parameter
Returns
public static VulnerabilityOccurrencesSummary parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityOccurrencesSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VulnerabilityOccurrencesSummary parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VulnerabilityOccurrencesSummary parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityOccurrencesSummary parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityOccurrencesSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityOccurrencesSummary parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityOccurrencesSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VulnerabilityOccurrencesSummary parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VulnerabilityOccurrencesSummary> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCounts(int index)
public VulnerabilityOccurrencesSummary.FixableTotalByDigest getCounts(int index)
A listing by resource of the number of fixable and total vulnerabilities.
repeated .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Returns
getCountsCount()
public int getCountsCount()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
getCountsList()
public List<VulnerabilityOccurrencesSummary.FixableTotalByDigest> getCountsList()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
getCountsOrBuilder(int index)
public VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder getCountsOrBuilder(int index)
A listing by resource of the number of fixable and total vulnerabilities.
repeated .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Returns
getCountsOrBuilderList()
public List<? extends VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder> getCountsOrBuilderList()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
Type | Description |
List<? extends com.google.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder> | |
getDefaultInstanceForType()
public VulnerabilityOccurrencesSummary getDefaultInstanceForType()
Returns
getParserForType()
public Parser<VulnerabilityOccurrencesSummary> 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 VulnerabilityOccurrencesSummary.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityOccurrencesSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VulnerabilityOccurrencesSummary.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions