Package io.grafeas.v1beta1.vulnerability
Interface DetailsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Details,Details.Builder
@Generated
public interface DetailsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatOutput only.The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.intThe distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.Output only.com.google.protobuf.ByteStringOutput only.getPackageIssue(int index) Required.intRequired.Required.getPackageIssueOrBuilder(int index) Required.List<? extends PackageIssueOrBuilder>Required.getRelatedUrls(int index) Output only.intOutput only.Output only.getRelatedUrlsOrBuilder(int index) Output only.List<? extends RelatedUrlOrBuilder>Output only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.getType()The type of package; whether native or non native(ruby gems, node.js packages etc)com.google.protobuf.ByteStringThe type of package; whether native or non native(ruby gems, node.js packages etc)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
-
getType
String getType()The type of package; whether native or non native(ruby gems, node.js packages etc)
string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type of package; whether native or non native(ruby gems, node.js packages etc)
string type = 1;- Returns:
- The bytes for type.
-
getSeverityValue
int getSeverityValue()Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
Severity getSeverity()Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Returns:
- The severity.
-
getCvssScore
float getCvssScore()Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
float cvss_score = 3;- Returns:
- The cvssScore.
-
getPackageIssueList
List<PackageIssue> getPackageIssueList()Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
getPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
getPackageIssueCount
int getPackageIssueCount()Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
getPackageIssueOrBuilderList
List<? extends PackageIssueOrBuilder> getPackageIssueOrBuilderList()Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
getPackageIssueOrBuilder
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
getShortDescription
String getShortDescription()Output only. A one sentence description of this vulnerability.
string short_description = 5;- Returns:
- The shortDescription.
-
getShortDescriptionBytes
com.google.protobuf.ByteString getShortDescriptionBytes()Output only. A one sentence description of this vulnerability.
string short_description = 5;- Returns:
- The bytes for shortDescription.
-
getLongDescription
String getLongDescription()Output only. A detailed description of this vulnerability.
string long_description = 6;- Returns:
- The longDescription.
-
getLongDescriptionBytes
com.google.protobuf.ByteString getLongDescriptionBytes()Output only. A detailed description of this vulnerability.
string long_description = 6;- Returns:
- The bytes for longDescription.
-
getRelatedUrlsList
List<RelatedUrl> getRelatedUrlsList()Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
getRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
getRelatedUrlsCount
int getRelatedUrlsCount()Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
getRelatedUrlsOrBuilderList
List<? extends RelatedUrlOrBuilder> getRelatedUrlsOrBuilderList()Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
getRelatedUrlsOrBuilder
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
getEffectiveSeverityValue
int getEffectiveSeverityValue()The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
.grafeas.v1beta1.vulnerability.Severity effective_severity = 8;- Returns:
- The enum numeric value on the wire for effectiveSeverity.
-
getEffectiveSeverity
Severity getEffectiveSeverity()The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
.grafeas.v1beta1.vulnerability.Severity effective_severity = 8;- Returns:
- The effectiveSeverity.
-