Interface PackageNoteOrBuilder (2.55.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for cpeUri.

getDescription()

public abstract String getDescription()

The description of this package.

string description = 17;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of this package.

string description = 17;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Distribution

getDistributionCount()

public abstract int getDistributionCount()

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

repeated .grafeas.v1.Distribution distribution = 10;

Returns
Type Description
int

getDistributionList()

public abstract List<Distribution> getDistributionList()

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

repeated .grafeas.v1.Distribution distribution = 10;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
LicenseOrBuilder

getMaintainer()

public abstract String getMaintainer()

A freeform text denoting the maintainer of this package.

string maintainer = 15;

Returns
Type Description
String

The maintainer.

getMaintainerBytes()

public abstract ByteString getMaintainerBytes()

A freeform text denoting the maintainer of this package.

string maintainer = 15;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for packageType.

getUrl()

public abstract String getUrl()

The homepage for this package.

string url = 16;

Returns
Type Description
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

The homepage for this package.

string url = 16;

Returns
Type Description
ByteString

The bytes for url.

getVersion()

public abstract Version getVersion()

The version of the package.

.grafeas.v1.Version version = 14;

Returns
Type Description
Version

The version.

getVersionOrBuilder()

public abstract VersionOrBuilder getVersionOrBuilder()

The version of the package.

.grafeas.v1.Version version = 14;

Returns
Type Description
VersionOrBuilder

hasLicense()

public abstract boolean hasLicense()

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

.grafeas.v1.License license = 18;

Returns
Type Description
boolean

Whether the license field is set.

hasVersion()

public abstract boolean hasVersion()

The version of the package.

.grafeas.v1.Version version = 14;

Returns
Type Description
boolean

Whether the version field is set.