Package io.grafeas.v1beta1.pkg
Interface DistributionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Distribution,Distribution.Builder
public interface DistributionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArchitecturegetArchitecture()The CPU architecture for which packages in this distribution channel were built.intgetArchitectureValue()The CPU architecture for which packages in this distribution channel were built.StringgetCpeUri()Required.com.google.protobuf.ByteStringgetCpeUriBytes()Required.StringgetDescription()The distribution channel-specific description of this package.com.google.protobuf.ByteStringgetDescriptionBytes()The distribution channel-specific description of this package.VersiongetLatestVersion()The latest available version of this package in this distribution channel.VersionOrBuildergetLatestVersionOrBuilder()The latest available version of this package in this distribution channel.StringgetMaintainer()A freeform string denoting the maintainer of this package.com.google.protobuf.ByteStringgetMaintainerBytes()A freeform string denoting the maintainer of this package.StringgetUrl()The distribution channel-specific homepage for this package.com.google.protobuf.ByteStringgetUrlBytes()The distribution channel-specific homepage for this package.booleanhasLatestVersion()The latest available version of this package in this distribution channel.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCpeUri
String getCpeUri()
Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;- Returns:
- The cpeUri.
-
getCpeUriBytes
com.google.protobuf.ByteString getCpeUriBytes()
Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;- Returns:
- The bytes for cpeUri.
-
getArchitectureValue
int getArchitectureValue()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1beta1.package.Architecture architecture = 2;- Returns:
- The enum numeric value on the wire for architecture.
-
getArchitecture
Architecture getArchitecture()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1beta1.package.Architecture architecture = 2;- Returns:
- The architecture.
-
hasLatestVersion
boolean hasLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1beta1.package.Version latest_version = 3;- Returns:
- Whether the latestVersion field is set.
-
getLatestVersion
Version getLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1beta1.package.Version latest_version = 3;- Returns:
- The latestVersion.
-
getLatestVersionOrBuilder
VersionOrBuilder getLatestVersionOrBuilder()
The latest available version of this package in this distribution channel.
.grafeas.v1beta1.package.Version latest_version = 3;
-
getMaintainer
String getMaintainer()
A freeform string denoting the maintainer of this package.
string maintainer = 4;- Returns:
- The maintainer.
-
getMaintainerBytes
com.google.protobuf.ByteString getMaintainerBytes()
A freeform string denoting the maintainer of this package.
string maintainer = 4;- Returns:
- The bytes for maintainer.
-
getUrl
String getUrl()
The distribution channel-specific homepage for this package.
string url = 5;- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()
The distribution channel-specific homepage for this package.
string url = 5;- Returns:
- The bytes for url.
-
getDescription
String getDescription()
The distribution channel-specific description of this package.
string description = 6;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
The distribution channel-specific description of this package.
string description = 6;- Returns:
- The bytes for description.
-
-