Class VulnerabilityOccurrencesSummary (2.11.0)

public final class VulnerabilityOccurrencesSummary extends GeneratedMessageV3 implements VulnerabilityOccurrencesSummaryOrBuilder

A summary of how many vulnerability occurrences there are per resource and severity type.

Protobuf type grafeas.v1beta1.VulnerabilityOccurrencesSummary

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VulnerabilityOccurrencesSummary

Static Fields

COUNTS_FIELD_NUMBER

public static final int COUNTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerabilityOccurrencesSummary getDefaultInstance()
Returns
TypeDescription
VulnerabilityOccurrencesSummary

getDescriptor()

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

newBuilder()

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

newBuilder(VulnerabilityOccurrencesSummary prototype)

public static VulnerabilityOccurrencesSummary.Builder newBuilder(VulnerabilityOccurrencesSummary prototype)
Parameter
NameDescription
prototypeVulnerabilityOccurrencesSummary
Returns
TypeDescription
VulnerabilityOccurrencesSummary.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCounts(int index)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest getCounts(int index)

A listing by resource of the number of fixable and total vulnerabilities.

repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest

getCountsCount()

public int getCountsCount()

A listing by resource of the number of fixable and total vulnerabilities.

repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;

Returns
TypeDescription
int

getCountsList()

public List<VulnerabilityOccurrencesSummary.FixableTotalByDigest> getCountsList()

A listing by resource of the number of fixable and total vulnerabilities.

repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;

Returns
TypeDescription
List<FixableTotalByDigest>

getCountsOrBuilder(int index)

public VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder getCountsOrBuilder(int index)

A listing by resource of the number of fixable and total vulnerabilities.

repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder

getCountsOrBuilderList()

public List<? extends VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder> getCountsOrBuilderList()

A listing by resource of the number of fixable and total vulnerabilities.

repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;

Returns
TypeDescription
List<? extends io.grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder>

getDefaultInstanceForType()

public VulnerabilityOccurrencesSummary getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityOccurrencesSummary

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 VulnerabilityOccurrencesSummary.Builder newBuilderForType()
Returns
TypeDescription
VulnerabilityOccurrencesSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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