Class Distribution (2.29.0)

publicfinalclass DistributionextendsGeneratedMessageV3implementsDistributionOrBuilder

This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.

Protobuf type grafeas.v1beta1.package.Distribution

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)

Static Fields

ARCHITECTURE_FIELD_NUMBER

publicstaticfinalintARCHITECTURE_FIELD_NUMBER
Field Value
Type Description
int

CPE_URI_FIELD_NUMBER

publicstaticfinalintCPE_URI_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

publicstaticfinalintDESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

LATEST_VERSION_FIELD_NUMBER

publicstaticfinalintLATEST_VERSION_FIELD_NUMBER
Field Value
Type Description
int

MAINTAINER_FIELD_NUMBER

publicstaticfinalintMAINTAINER_FIELD_NUMBER
Field Value
Type Description
int

URL_FIELD_NUMBER

publicstaticfinalintURL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticDistributiongetDefaultInstance()
Returns
Type Description
Distribution

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticDistribution.BuildernewBuilder()
Returns
Type Description
Distribution.Builder

newBuilder(Distribution prototype)

publicstaticDistribution.BuildernewBuilder(Distributionprototype)
Parameter
Name Description
prototype Distribution
Returns
Type Description
Distribution.Builder

parseDelimitedFrom(InputStream input)

publicstaticDistributionparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Distribution
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDistributionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Distribution
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticDistributionparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Distribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticDistributionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Distribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticDistributionparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Distribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticDistributionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Distribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticDistributionparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Distribution
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDistributionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Distribution
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticDistributionparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Distribution
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDistributionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Distribution
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticDistributionparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Distribution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticDistributionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Distribution
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Distribution>parser()
Returns
Type Description
Parser<Distribution>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getArchitecture()

publicArchitecturegetArchitecture()

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

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

Returns
Type Description
Architecture

The architecture.

getArchitectureValue()

publicintgetArchitectureValue()

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

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

Returns
Type Description
int

The enum numeric value on the wire for architecture.

getCpeUri()

publicStringgetCpeUri()

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

string cpe_uri = 1;

Returns
Type Description
String

The cpeUri.

getCpeUriBytes()

publicByteStringgetCpeUriBytes()

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

string cpe_uri = 1;

Returns
Type Description
ByteString

The bytes for cpeUri.

getDefaultInstanceForType()

publicDistributiongetDefaultInstanceForType()
Returns
Type Description
Distribution

getDescription()

publicStringgetDescription()

The distribution channel-specific description of this package.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

The distribution channel-specific description of this package.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getLatestVersion()

publicVersiongetLatestVersion()

The latest available version of this package in this distribution channel.

.grafeas.v1beta1.package.Version latest_version = 3;

Returns
Type Description
Version

The latestVersion.

getLatestVersionOrBuilder()

publicVersionOrBuildergetLatestVersionOrBuilder()

The latest available version of this package in this distribution channel.

.grafeas.v1beta1.package.Version latest_version = 3;

Returns
Type Description
VersionOrBuilder

getMaintainer()

publicStringgetMaintainer()

A freeform string denoting the maintainer of this package.

string maintainer = 4;

Returns
Type Description
String

The maintainer.

getMaintainerBytes()

publicByteStringgetMaintainerBytes()

A freeform string denoting the maintainer of this package.

string maintainer = 4;

Returns
Type Description
ByteString

The bytes for maintainer.

getParserForType()

publicParser<Distribution>getParserForType()
Returns
Type Description
Parser<Distribution>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getUrl()

publicStringgetUrl()

The distribution channel-specific homepage for this package.

string url = 5;

Returns
Type Description
String

The url.

getUrlBytes()

publicByteStringgetUrlBytes()

The distribution channel-specific homepage for this package.

string url = 5;

Returns
Type Description
ByteString

The bytes for url.

hasLatestVersion()

publicbooleanhasLatestVersion()

The latest available version of this package in this distribution channel.

.grafeas.v1beta1.package.Version latest_version = 3;

Returns
Type Description
boolean

Whether the latestVersion field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicDistribution.BuildernewBuilderForType()
Returns
Type Description
Distribution.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedDistribution.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Distribution.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicDistribution.BuildertoBuilder()
Returns
Type Description
Distribution.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.