Interface VulnerabilityLocationOrBuilder (2.47.0)

public interface VulnerabilityLocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCpeUri()

public abstract String getCpeUri()

Required. The CPE URI in cpe format format. Examples include distro or storage location for vulnerable jar.

string cpe_uri = 1;

Returns
Type Description
String

The cpeUri.

getCpeUriBytes()

public abstract ByteString getCpeUriBytes()

Required. The CPE URI in cpe format format. Examples include distro or storage location for vulnerable jar.

string cpe_uri = 1;

Returns
Type Description
ByteString

The bytes for cpeUri.

getPackage()

public abstract String getPackage()

Required. The package being described.

string package = 2;

Returns
Type Description
String

The package.

getPackageBytes()

public abstract ByteString getPackageBytes()

Required. The package being described.

string package = 2;

Returns
Type Description
ByteString

The bytes for package.

getVersion()

public abstract Version getVersion()

Required. The version of the package being described.

.grafeas.v1beta1.package.Version version = 3;

Returns
Type Description
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

Required. The version of the package being described.

.grafeas.v1beta1.package.Version version = 3;

Returns
Type Description
VersionOrBuilder

hasVersion()

public abstract boolean hasVersion()

Required. The version of the package being described.

.grafeas.v1beta1.package.Version version = 3;

Returns
Type Description
boolean

Whether the version field is set.