Interface DetailsOrBuilder (2.12.0)

public interface DetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCvssScore()

public abstract 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
TypeDescription
float

The cvssScore.

getEffectiveSeverity()

public abstract 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
TypeDescription
Severity

The effectiveSeverity.

getEffectiveSeverityValue()

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

The enum numeric value on the wire for effectiveSeverity.

getLongDescription()

public abstract String getLongDescription()

Output only. A detailed description of this vulnerability.

string long_description = 6;

Returns
TypeDescription
String

The longDescription.

getLongDescriptionBytes()

public abstract ByteString getLongDescriptionBytes()

Output only. A detailed description of this vulnerability.

string long_description = 6;

Returns
TypeDescription
ByteString

The bytes for longDescription.

getPackageIssue(int index)

public abstract PackageIssue getPackageIssue(int index)

Required. The set of affected locations and their fixes (if available) within the associated resource.

repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
PackageIssue

getPackageIssueCount()

public abstract 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;

Returns
TypeDescription
int

getPackageIssueList()

public abstract 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;

Returns
TypeDescription
List<PackageIssue>

getPackageIssueOrBuilder(int index)

public abstract PackageIssueOrBuilder getPackageIssueOrBuilder(int index)

Required. The set of affected locations and their fixes (if available) within the associated resource.

repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
PackageIssueOrBuilder

getPackageIssueOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends io.grafeas.v1beta1.vulnerability.PackageIssueOrBuilder>

getRelatedUrls(int index)

public abstract RelatedUrl getRelatedUrls(int index)

Output only. URLs related to this vulnerability.

repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedUrl

getRelatedUrlsCount()

public abstract int getRelatedUrlsCount()

Output only. URLs related to this vulnerability.

repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;

Returns
TypeDescription
int

getRelatedUrlsList()

public abstract List<RelatedUrl> getRelatedUrlsList()

Output only. URLs related to this vulnerability.

repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;

Returns
TypeDescription
List<RelatedUrl>

getRelatedUrlsOrBuilder(int index)

public abstract RelatedUrlOrBuilder getRelatedUrlsOrBuilder(int index)

Output only. URLs related to this vulnerability.

repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedUrlOrBuilder

getRelatedUrlsOrBuilderList()

public abstract List<? extends RelatedUrlOrBuilder> getRelatedUrlsOrBuilderList()

Output only. URLs related to this vulnerability.

repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;

Returns
TypeDescription
List<? extends io.grafeas.v1beta1.common.RelatedUrlOrBuilder>

getSeverity()

public abstract Severity getSeverity()

Output only. The note provider assigned Severity of the vulnerability.

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

Returns
TypeDescription
Severity

The severity.

getSeverityValue()

public abstract int getSeverityValue()

Output only. The note provider assigned Severity of the vulnerability.

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

Returns
TypeDescription
int

The enum numeric value on the wire for severity.

getShortDescription()

public abstract String getShortDescription()

Output only. A one sentence description of this vulnerability.

string short_description = 5;

Returns
TypeDescription
String

The shortDescription.

getShortDescriptionBytes()

public abstract ByteString getShortDescriptionBytes()

Output only. A one sentence description of this vulnerability.

string short_description = 5;

Returns
TypeDescription
ByteString

The bytes for shortDescription.

getType()

public abstract String getType()

The type of package; whether native or non native(ruby gems, node.js packages etc)

string type = 1;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The type of package; whether native or non native(ruby gems, node.js packages etc)

string type = 1;

Returns
TypeDescription
ByteString

The bytes for type.