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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 DistributionOrBuilder
public 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 DistributionOrBuilder
public int getArchitectureValue()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1.Architecture architecture = 2;
getArchitectureValue
in interface DistributionOrBuilder
public Architecture getArchitecture()
The CPU architecture for which packages in this distribution channel were built.
.grafeas.v1.Architecture architecture = 2;
getArchitecture
in interface DistributionOrBuilder
public boolean hasLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;
hasLatestVersion
in interface DistributionOrBuilder
public Version getLatestVersion()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;
getLatestVersion
in interface DistributionOrBuilder
public VersionOrBuilder getLatestVersionOrBuilder()
The latest available version of this package in this distribution channel.
.grafeas.v1.Version latest_version = 3;
getLatestVersionOrBuilder
in interface DistributionOrBuilder
public String getMaintainer()
A freeform string denoting the maintainer of this package.
string maintainer = 4;
getMaintainer
in interface DistributionOrBuilder
public ByteString getMaintainerBytes()
A freeform string denoting the maintainer of this package.
string maintainer = 4;
getMaintainerBytes
in interface DistributionOrBuilder
public String getUrl()
The distribution channel-specific homepage for this package.
string url = 5;
getUrl
in interface DistributionOrBuilder
public ByteString getUrlBytes()
The distribution channel-specific homepage for this package.
string url = 5;
getUrlBytes
in interface DistributionOrBuilder
public String getDescription()
The distribution channel-specific description of this package.
string description = 6;
getDescription
in interface DistributionOrBuilder
public ByteString getDescriptionBytes()
The distribution channel-specific description of this package.
string description = 6;
getDescriptionBytes
in interface DistributionOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Distribution parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Distribution parseFrom(InputStream input) throws IOException
IOException
public static Distribution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Distribution parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Distribution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Distribution parseFrom(CodedInputStream input) throws IOException
IOException
public static Distribution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Distribution.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Distribution.Builder newBuilder()
public static Distribution.Builder newBuilder(Distribution prototype)
public Distribution.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Distribution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Distribution getDefaultInstance()
public static Parser<Distribution> parser()
public Parser<Distribution> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Distribution getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.