Class VulnerabilityOccurrencesSummary.FixableTotalByDigest (2.54.0)

public static final class VulnerabilityOccurrencesSummary.FixableTotalByDigest extends GeneratedMessageV3 implements VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder

Per resource and severity counts of fixable and total vulnerabilities.

Protobuf type grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest

Inheritance

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

Static Fields

FIXABLE_COUNT_FIELD_NUMBER

public static final int FIXABLE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_COUNT_FIELD_NUMBER

public static final int TOTAL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstance()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest

getDescriptor()

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

newBuilder()

public static VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilder()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

newBuilder(VulnerabilityOccurrencesSummary.FixableTotalByDigest prototype)

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

parseDelimitedFrom(InputStream input)

public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<VulnerabilityOccurrencesSummary.FixableTotalByDigest> parser()
Returns
Type Description
Parser<FixableTotalByDigest>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstanceForType()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest

getFixableCount()

public long getFixableCount()

The number of fixable vulnerabilities associated with this resource.

int64 fixable_count = 3;

Returns
Type Description
long

The fixableCount.

getParserForType()

public Parser<VulnerabilityOccurrencesSummary.FixableTotalByDigest> getParserForType()
Returns
Type Description
Parser<FixableTotalByDigest>
Overrides

getResource()

public Resource getResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
Type Description
Resource

The resource.

getResourceOrBuilder()

public ResourceOrBuilder getResourceOrBuilder()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
Type Description
ResourceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSeverity()

public Severity getSeverity()

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

.grafeas.v1beta1.vulnerability.Severity severity = 2;

Returns
Type Description
Severity

The severity.

getSeverityValue()

public int getSeverityValue()

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

.grafeas.v1beta1.vulnerability.Severity severity = 2;

Returns
Type Description
int

The enum numeric value on the wire for severity.

getTotalCount()

public long getTotalCount()

The total number of vulnerabilities associated with this resource.

int64 total_count = 4;

Returns
Type Description
long

The totalCount.

hasResource()

public boolean hasResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
Type Description
boolean

Whether the resource field is set.

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 VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilderForType()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder toBuilder()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

writeTo(CodedOutputStream output)

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