Interface PackageOrBuilder (2.51.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
Type Description
String

The cpeUri.

getCpeUriBytes()

public abstract ByteString getCpeUriBytes()

The CPE URI where the vulnerability was detected.

string cpe_uri = 2;

Returns
Type Description
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
Type Description
String

The packageName.

getPackageNameBytes()

public abstract ByteString getPackageNameBytes()

The name of the package where the vulnerability was detected.

string package_name = 1;

Returns
Type Description
ByteString

The bytes for packageName.

getPackageType()

public abstract String getPackageType()

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

string package_type = 3;

Returns
Type Description
String

The packageType.

getPackageTypeBytes()

public abstract ByteString getPackageTypeBytes()

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

string package_type = 3;

Returns
Type Description
ByteString

The bytes for packageType.

getPackageVersion()

public abstract String getPackageVersion()

The version of the package.

string package_version = 4;

Returns
Type Description
String

The packageVersion.

getPackageVersionBytes()

public abstract ByteString getPackageVersionBytes()

The version of the package.

string package_version = 4;

Returns
Type Description
ByteString

The bytes for packageVersion.