Interface PackageNoteOrBuilder (2.42.0)

public interface PackageNoteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArchitecture()

public abstract Architecture getArchitecture()

The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.

.grafeas.v1.Architecture architecture = 13;

Returns
TypeDescription
Architecture

The architecture.

getArchitectureValue()

public abstract int getArchitectureValue()

The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.

.grafeas.v1.Architecture architecture = 13;

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. The cpe_uri will be blank for language packages.

string cpe_uri = 12;

Returns
TypeDescription
String

The cpeUri.

getCpeUriBytes()

public abstract ByteString getCpeUriBytes()

The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.

string cpe_uri = 12;

Returns
TypeDescription
ByteString

The bytes for cpeUri.

getDescription()

public abstract String getDescription()

The description of this package.

string description = 17;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of this package.

string description = 17;

Returns
TypeDescription
ByteString

The bytes for description.

getDigest(int index)

public abstract Digest getDigest(int index)

Hash value, typically a file digest, that allows unique identification a specific package.

repeated .grafeas.v1.Digest digest = 19;

Parameter
NameDescription
indexint
Returns
TypeDescription
Digest

getDigestCount()

public abstract int getDigestCount()

Hash value, typically a file digest, that allows unique identification a specific package.

repeated .grafeas.v1.Digest digest = 19;

Returns
TypeDescription
int

getDigestList()

public abstract List<Digest> getDigestList()

Hash value, typically a file digest, that allows unique identification a specific package.

repeated .grafeas.v1.Digest digest = 19;

Returns
TypeDescription
List<Digest>

getDigestOrBuilder(int index)

public abstract DigestOrBuilder getDigestOrBuilder(int index)

Hash value, typically a file digest, that allows unique identification a specific package.

repeated .grafeas.v1.Digest digest = 19;

Parameter
NameDescription
indexint
Returns
TypeDescription
DigestOrBuilder

getDigestOrBuilderList()

public abstract List<? extends DigestOrBuilder> getDigestOrBuilderList()

Hash value, typically a file digest, that allows unique identification a specific package.

repeated .grafeas.v1.Digest digest = 19;

Returns
TypeDescription
List<? extends io.grafeas.v1.DigestOrBuilder>

getDistribution(int index)

public abstract Distribution getDistribution(int index)

Deprecated. The various channels by which a package is distributed.

repeated .grafeas.v1.Distribution distribution = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
Distribution

getDistributionCount()

public abstract int getDistributionCount()

Deprecated. The various channels by which a package is distributed.

repeated .grafeas.v1.Distribution distribution = 10;

Returns
TypeDescription
int

getDistributionList()

public abstract List<Distribution> getDistributionList()

Deprecated. The various channels by which a package is distributed.

repeated .grafeas.v1.Distribution distribution = 10;

Returns
TypeDescription
List<Distribution>

getDistributionOrBuilder(int index)

public abstract DistributionOrBuilder getDistributionOrBuilder(int index)

Deprecated. The various channels by which a package is distributed.

repeated .grafeas.v1.Distribution distribution = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
DistributionOrBuilder

getDistributionOrBuilderList()

public abstract List<? extends DistributionOrBuilder> getDistributionOrBuilderList()

Deprecated. The various channels by which a package is distributed.

repeated .grafeas.v1.Distribution distribution = 10;

Returns
TypeDescription
List<? extends io.grafeas.v1.DistributionOrBuilder>

getLicense()

public abstract License getLicense()

Licenses that have been declared by the authors of the package.

.grafeas.v1.License license = 18;

Returns
TypeDescription
License

The license.

getLicenseOrBuilder()

public abstract LicenseOrBuilder getLicenseOrBuilder()

Licenses that have been declared by the authors of the package.

.grafeas.v1.License license = 18;

Returns
TypeDescription
LicenseOrBuilder

getMaintainer()

public abstract String getMaintainer()

A freeform text denoting the maintainer of this package.

string maintainer = 15;

Returns
TypeDescription
String

The maintainer.

getMaintainerBytes()

public abstract ByteString getMaintainerBytes()

A freeform text denoting the maintainer of this package.

string maintainer = 15;

Returns
TypeDescription
ByteString

The bytes for maintainer.

getName()

public abstract String getName()

The name of the package.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the package.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for name.

getPackageType()

public abstract String getPackageType()

The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

string package_type = 11;

Returns
TypeDescription
String

The packageType.

getPackageTypeBytes()

public abstract ByteString getPackageTypeBytes()

The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

string package_type = 11;

Returns
TypeDescription
ByteString

The bytes for packageType.

getUrl()

public abstract String getUrl()

The homepage for this package.

string url = 16;

Returns
TypeDescription
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

The homepage for this package.

string url = 16;

Returns
TypeDescription
ByteString

The bytes for url.

getVersion()

public abstract Version getVersion()

The version of the package.

.grafeas.v1.Version version = 14;

Returns
TypeDescription
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

The version of the package.

.grafeas.v1.Version version = 14;

Returns
TypeDescription
VersionOrBuilder

hasLicense()

public abstract boolean hasLicense()

Licenses that have been declared by the authors of the package.

.grafeas.v1.License license = 18;

Returns
TypeDescription
boolean

Whether the license field is set.

hasVersion()

public abstract boolean hasVersion()

The version of the package.

.grafeas.v1.Version version = 14;

Returns
TypeDescription
boolean

Whether the version field is set.