Class VulnerabilityOccurrencesSummary.FixableTotalByDigest (2.4.1)

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
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_COUNT_FIELD_NUMBER

public static final int TOTAL_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstance()
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest

getDescriptor()

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

newBuilder()

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

newBuilder(VulnerabilityOccurrencesSummary.FixableTotalByDigest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest

getFixableCount()

public long getFixableCount()

The number of fixable vulnerabilities associated with this resource.

int64 fixable_count = 3;

Returns
TypeDescription
long

The fixableCount.

getParserForType()

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

getResource()

public Resource getResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
TypeDescription
Resource

The resource.

getResourceOrBuilder()

public ResourceOrBuilder getResourceOrBuilder()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
TypeDescription
ResourceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
long

The totalCount.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasResource()

public boolean hasResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
TypeDescription
boolean

Whether the resource field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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