Interface VulnerabilityLocationOrBuilder (2.18.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
TypeDescription
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
TypeDescription
ByteString

The bytes for cpeUri.

getPackage()

public abstract String getPackage()

Required. The package being described.

string package = 2;

Returns
TypeDescription
String

The package.

getPackageBytes()

public abstract ByteString getPackageBytes()

Required. The package being described.

string package = 2;

Returns
TypeDescription
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
TypeDescription
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

Required. The version of the package being described.

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

Returns
TypeDescription
VersionOrBuilder

hasVersion()

public abstract boolean hasVersion()

Required. The version of the package being described.

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

Returns
TypeDescription
boolean

Whether the version field is set.