public final class Distribution extends 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.v1.Distribution| Modifier and Type | Class and Description |
|---|---|
static class |
Distribution.Builder
This represents a particular channel of distribution for a given package.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| 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()
Required.
|
ByteString |
getCpeUriBytes()
Required.
|
static Distribution |
getDefaultInstance() |
Distribution |
getDefaultInstanceForType() |
String |
getDescription()
The distribution channel-specific description of this package.
|
ByteString |
getDescriptionBytes()
The distribution channel-specific description of this package.
|
static 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.
|
ByteString |
getMaintainerBytes()
A freeform string denoting the maintainer of this package.
|
Parser<Distribution> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
String |
getUrl()
The distribution channel-specific homepage for this package.
|
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Distribution.Builder |
newBuilder() |
static Distribution.Builder |
newBuilder(Distribution prototype) |
Distribution.Builder |
newBuilderForType() |
protected Distribution.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Distribution |
parseDelimitedFrom(InputStream input) |
static Distribution |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(byte[] data) |
static Distribution |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(ByteBuffer data) |
static Distribution |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(ByteString data) |
static Distribution |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(CodedInputStream input) |
static Distribution |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Distribution |
parseFrom(InputStream input) |
static Distribution |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Distribution> |
parser() |
Distribution.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public 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;getCpeUri in interface DistributionOrBuilderpublic 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;getCpeUriBytes in interface DistributionOrBuilderpublic int getArchitectureValue()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1.Architecture architecture = 2;getArchitectureValue in interface DistributionOrBuilderpublic Architecture getArchitecture()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1.Architecture architecture = 2;getArchitecture in interface DistributionOrBuilderpublic boolean hasLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;hasLatestVersion in interface DistributionOrBuilderpublic Version getLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;getLatestVersion in interface DistributionOrBuilderpublic VersionOrBuilder getLatestVersionOrBuilder()
The latest available version of this package in this distribution channel.
.grafeas.v1.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 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 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 ByteString getDescriptionBytes()
The distribution channel-specific description of this package.
string description = 6;getDescriptionBytes in interface DistributionOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Distribution parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Distribution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Distribution parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Distribution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Distribution parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Distribution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Distribution parseFrom(InputStream input) throws IOException
IOExceptionpublic static Distribution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Distribution parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Distribution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Distribution parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Distribution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Distribution.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Distribution.Builder newBuilder()
public static Distribution.Builder newBuilder(Distribution prototype)
public Distribution.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Distribution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Distribution getDefaultInstance()
public static Parser<Distribution> parser()
public Parser<Distribution> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Distribution getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.