Interface DistributionOrBuilder (2.31.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.v1.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.v1.Architecture architecture = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for architecture.

getCpeUri()

public abstract String getCpeUri()

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

string cpe_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The cpeUri.

getCpeUriBytes()

public abstract ByteString getCpeUriBytes()

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

string cpe_uri = 1 [(.google.api.field_behavior) = REQUIRED];

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.v1.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.v1.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.v1.Version latest_version = 3;

Returns
TypeDescription
boolean

Whether the latestVersion field is set.