Interface LocationOrBuilder (2.48.0)

public interface LocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCpeUri()

public abstract String getCpeUri()

Required. The CPE URI in CPE format denoting the package manager version distributing a package.

string cpe_uri = 1;

Returns
Type Description
String

The cpeUri.

getCpeUriBytes()

public abstract ByteString getCpeUriBytes()

Required. The CPE URI in CPE format denoting the package manager version distributing a package.

string cpe_uri = 1;

Returns
Type Description
ByteString

The bytes for cpeUri.

getPath()

public abstract String getPath()

The path from which we gathered that this package/version is installed.

string path = 3;

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

The path from which we gathered that this package/version is installed.

string path = 3;

Returns
Type Description
ByteString

The bytes for path.

getVersion()

public abstract Version getVersion()

The version installed at this location.

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

Returns
Type Description
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

The version installed at this location.

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

Returns
Type Description
VersionOrBuilder

hasVersion()

public abstract boolean hasVersion()

The version installed at this location.

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

Returns
Type Description
boolean

Whether the version field is set.