Package io.grafeas.v1beta1
Interface VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VulnerabilityOccurrencesSummary.FixableTotalByDigest,VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
- Enclosing class:
- VulnerabilityOccurrencesSummary
public static interface VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe number of fixable vulnerabilities associated with this resource.The affected resource.The affected resource.The severity for this count.intThe severity for this count.longThe total number of vulnerabilities associated with this resource.booleanThe affected resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasResource
boolean hasResource()The affected resource.
.grafeas.v1beta1.Resource resource = 1;- Returns:
- Whether the resource field is set.
-
getResource
Resource getResource()The affected resource.
.grafeas.v1beta1.Resource resource = 1;- Returns:
- The resource.
-
getResourceOrBuilder
ResourceOrBuilder getResourceOrBuilder()The affected resource.
.grafeas.v1beta1.Resource resource = 1; -
getSeverityValue
int getSeverityValue()The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
Severity getSeverity()The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Returns:
- The severity.
-
getFixableCount
long getFixableCount()The number of fixable vulnerabilities associated with this resource.
int64 fixable_count = 3;- Returns:
- The fixableCount.
-
getTotalCount
long getTotalCount()The total number of vulnerabilities associated with this resource.
int64 total_count = 4;- Returns:
- The totalCount.
-