Interface DistributionOrBuilder (2.3.1)

See more code actions.
public interface DistributionOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract Architecture getArchitecture()

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

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

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

getDescription()

public abstract String getDescription()

The distribution channel-specific description of this package.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The distribution channel-specific description of this package.

string description = 6;

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

getMaintainer()

public abstract String getMaintainer()

A freeform string denoting the maintainer of this package.

string maintainer = 4;

Returns
TypeDescription
String

The maintainer.

getMaintainerBytes()

public abstract ByteString getMaintainerBytes()

A freeform string denoting the maintainer of this package.

string maintainer = 4;

Returns
TypeDescription
ByteString

The bytes for maintainer.

getUrl()

public abstract String getUrl()

The distribution channel-specific homepage for this package.

string url = 5;

Returns
TypeDescription
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

The distribution channel-specific homepage for this package.

string url = 5;

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

Whether the latestVersion field is set.