Package io.grafeas.v1beta1.vulnerability
Interface PackageIssueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PackageIssue
,PackageIssue.Builder
public interface PackageIssueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VulnerabilityLocation
getAffectedLocation()
Required.VulnerabilityLocationOrBuilder
getAffectedLocationOrBuilder()
Required.VulnerabilityLocation
getFixedLocation()
The location of the available fix for vulnerability.VulnerabilityLocationOrBuilder
getFixedLocationOrBuilder()
The location of the available fix for vulnerability.String
getSeverityName()
Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.com.google.protobuf.ByteString
getSeverityNameBytes()
Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.boolean
hasAffectedLocation()
Required.boolean
hasFixedLocation()
The location of the available fix for vulnerability.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAffectedLocation
boolean hasAffectedLocation()
Required. The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;
- Returns:
- Whether the affectedLocation field is set.
-
getAffectedLocation
VulnerabilityLocation getAffectedLocation()
Required. The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;
- Returns:
- The affectedLocation.
-
getAffectedLocationOrBuilder
VulnerabilityLocationOrBuilder getAffectedLocationOrBuilder()
Required. The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;
-
hasFixedLocation
boolean hasFixedLocation()
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;
- Returns:
- Whether the fixedLocation field is set.
-
getFixedLocation
VulnerabilityLocation getFixedLocation()
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;
- Returns:
- The fixedLocation.
-
getFixedLocationOrBuilder
VulnerabilityLocationOrBuilder getFixedLocationOrBuilder()
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;
-
getSeverityName
String getSeverityName()
Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
string severity_name = 3;
- Returns:
- The severityName.
-
getSeverityNameBytes
com.google.protobuf.ByteString getSeverityNameBytes()
Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
string severity_name = 3;
- Returns:
- The bytes for severityName.
-
-