public final class Distribution extends com.google.protobuf.GeneratedMessageV3 implements DistributionOrBuilder
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| Modifier and Type | Class and Description |
|---|---|
static class |
Distribution.Builder
This represents a particular channel of distribution for a given package.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ARCHITECTURE_FIELD_NUMBER |
static int |
CPE_URI_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
LATEST_VERSION_FIELD_NUMBER |
static int |
MAINTAINER_FIELD_NUMBER |
static int |
URL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Architecture |
getArchitecture()
The CPU architecture for which packages in this distribution channel were
built.
|
int |
getArchitectureValue()
The CPU architecture for which packages in this distribution channel were
built.
|
String |
getCpeUri()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
denoting the package manager version distributing a package.
|
com.google.protobuf.ByteString |
getCpeUriBytes()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
denoting the package manager version distributing a package.
|
static Distribution |
getDefaultInstance() |
Distribution |
getDefaultInstanceForType() |
String |
getDescription()
The distribution channel-specific description of this package.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The distribution channel-specific description of this package.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Version |
getLatestVersion()
The latest available version of this package in this distribution
channel.
|
VersionOrBuilder |
getLatestVersionOrBuilder()
The latest available version of this package in this distribution
channel.
|
String |
getMaintainer()
A freeform string denoting the maintainer of this package.
|
com.google.protobuf.ByteString |
getMaintainerBytes()
A freeform string denoting the maintainer of this package.
|
com.google.protobuf.Parser<Distribution> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUrl()
The distribution channel-specific homepage for this package.
|
com.google.protobuf.ByteString |
getUrlBytes()
The distribution channel-specific homepage for this package.
|
int |
hashCode() |
boolean |
hasLatestVersion()
The latest available version of this package in this distribution
channel.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Distribution.Builder |
newBuilder() |
static Distribution.Builder |
newBuilder(Distribution prototype) |
Distribution.Builder |
newBuilderForType() |
protected Distribution.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Distribution |
parseDelimitedFrom(InputStream input) |
static Distribution |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(byte[] data) |
static Distribution |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(ByteBuffer data) |
static Distribution |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(com.google.protobuf.ByteString data) |
static Distribution |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Distribution |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(InputStream input) |
static Distribution |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Distribution> |
parser() |
Distribution.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CPE_URI_FIELD_NUMBER
public static final int ARCHITECTURE_FIELD_NUMBER
public static final int LATEST_VERSION_FIELD_NUMBER
public static final int MAINTAINER_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getCpeUri()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;getCpeUri in interface DistributionOrBuilderpublic com.google.protobuf.ByteString getCpeUriBytes()
The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
string cpe_uri = 1;getCpeUriBytes in interface DistributionOrBuilderpublic int getArchitectureValue()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1beta1.package.Architecture architecture = 2;getArchitectureValue in interface DistributionOrBuilderpublic Architecture getArchitecture()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1beta1.package.Architecture architecture = 2;getArchitecture in interface DistributionOrBuilderpublic boolean hasLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1beta1.package.Version latest_version = 3;hasLatestVersion in interface DistributionOrBuilderpublic Version getLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1beta1.package.Version latest_version = 3;getLatestVersion in interface DistributionOrBuilderpublic VersionOrBuilder getLatestVersionOrBuilder()
The latest available version of this package in this distribution channel.
.grafeas.v1beta1.package.Version latest_version = 3;getLatestVersionOrBuilder in interface DistributionOrBuilderpublic String getMaintainer()
A freeform string denoting the maintainer of this package.
string maintainer = 4;getMaintainer in interface DistributionOrBuilderpublic com.google.protobuf.ByteString getMaintainerBytes()
A freeform string denoting the maintainer of this package.
string maintainer = 4;getMaintainerBytes in interface DistributionOrBuilderpublic String getUrl()
The distribution channel-specific homepage for this package.
string url = 5;getUrl in interface DistributionOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
The distribution channel-specific homepage for this package.
string url = 5;getUrlBytes in interface DistributionOrBuilderpublic String getDescription()
The distribution channel-specific description of this package.
string description = 6;getDescription in interface DistributionOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The distribution channel-specific description of this package.
string description = 6;getDescriptionBytes in interface DistributionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Distribution parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Distribution parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Distribution parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Distribution parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Distribution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Distribution parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Distribution parseFrom(InputStream input) throws IOException
IOExceptionpublic static Distribution parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Distribution parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Distribution parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Distribution parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Distribution parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Distribution.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Distribution.Builder newBuilder()
public static Distribution.Builder newBuilder(Distribution prototype)
public Distribution.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Distribution.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Distribution getDefaultInstance()
public static com.google.protobuf.Parser<Distribution> parser()
public com.google.protobuf.Parser<Distribution> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Distribution getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.