Interface DistributionOrBuilder (2.53.0)

public interface DistributionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArchitecture()

public abstract Architecture getArchitecture()

The CPU architecture for which packages in this distribution channel were built.

.grafeas.v1beta1.package.Architecture architecture = 2;

Returns
Type Description
Architecture

The architecture.

getArchitectureValue()

public abstract int getArchitectureValue()

The CPU architecture for which packages in this distribution channel were built.

.grafeas.v1beta1.package.Architecture architecture = 2;

Returns
Type Description
int

The enum numeric value on the wire for architecture.

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.

getDescription()

public abstract String getDescription()

The distribution channel-specific description of this package.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The distribution channel-specific description of this package.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getLatestVersion()

public abstract Version getLatestVersion()

The latest available version of this package in this distribution channel.

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

Returns
Type Description
Version

The latestVersion.

getLatestVersionOrBuilder()

public abstract VersionOrBuilder getLatestVersionOrBuilder()

The latest available version of this package in this distribution channel.

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

Returns
Type Description
VersionOrBuilder

getMaintainer()

public abstract String getMaintainer()

A freeform string denoting the maintainer of this package.

string maintainer = 4;

Returns
Type Description
String

The maintainer.

getMaintainerBytes()

public abstract ByteString getMaintainerBytes()

A freeform string denoting the maintainer of this package.

string maintainer = 4;

Returns
Type Description
ByteString

The bytes for maintainer.

getUrl()

public abstract String getUrl()

The distribution channel-specific homepage for this package.

string url = 5;

Returns
Type Description
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

The distribution channel-specific homepage for this package.

string url = 5;

Returns
Type Description
ByteString

The bytes for url.

hasLatestVersion()

public abstract boolean hasLatestVersion()

The latest available version of this package in this distribution channel.

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

Returns
Type Description
boolean

Whether the latestVersion field is set.