Interface PackageOrBuilder (2.47.0)

public interface PackageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCpeUri()

public abstract String getCpeUri()

The CPE URI where the vulnerability was detected.

string cpe_uri = 2;

Returns
TypeDescription
String

The cpeUri.

getCpeUriBytes()

public abstract ByteString getCpeUriBytes()

The CPE URI where the vulnerability was detected.

string cpe_uri = 2;

Returns
TypeDescription
ByteString

The bytes for cpeUri.

getPackageName()

public abstract String getPackageName()

The name of the package where the vulnerability was detected.

string package_name = 1;

Returns
TypeDescription
String

The packageName.

getPackageNameBytes()

public abstract ByteString getPackageNameBytes()

The name of the package where the vulnerability was detected.

string package_name = 1;

Returns
TypeDescription
ByteString

The bytes for packageName.

getPackageType()

public abstract String getPackageType()

Type of package, for example, os, maven, or go.

string package_type = 3;

Returns
TypeDescription
String

The packageType.

getPackageTypeBytes()

public abstract ByteString getPackageTypeBytes()

Type of package, for example, os, maven, or go.

string package_type = 3;

Returns
TypeDescription
ByteString

The bytes for packageType.

getPackageVersion()

public abstract String getPackageVersion()

The version of the package.

string package_version = 4;

Returns
TypeDescription
String

The packageVersion.

getPackageVersionBytes()

public abstract ByteString getPackageVersionBytes()

The version of the package.

string package_version = 4;

Returns
TypeDescription
ByteString

The bytes for packageVersion.