Interface LocationOrBuilder (2.30.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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

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

string path = 3;

Returns
TypeDescription
ByteString

The bytes for path.

getVersion()

public abstract Version getVersion()

The version installed at this location.

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

Returns
TypeDescription
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

The version installed at this location.

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

Returns
TypeDescription
VersionOrBuilder

hasVersion()

public abstract boolean hasVersion()

The version installed at this location.

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

Returns
TypeDescription
boolean

Whether the version field is set.