public final class Package extends com.google.protobuf.GeneratedMessageV3 implements PackageOrBuilder
This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions.Protobuf type
grafeas.v1beta1.package.Package| Modifier and Type | Class and Description |
|---|---|
static class |
Package.Builder
This represents a particular package that is distributed over various
channels.
|
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 |
DISTRIBUTION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Package |
getDefaultInstance() |
Package |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Distribution |
getDistribution(int index)
The various channels by which a package is distributed.
|
int |
getDistributionCount()
The various channels by which a package is distributed.
|
List<Distribution> |
getDistributionList()
The various channels by which a package is distributed.
|
DistributionOrBuilder |
getDistributionOrBuilder(int index)
The various channels by which a package is distributed.
|
List<? extends DistributionOrBuilder> |
getDistributionOrBuilderList()
The various channels by which a package is distributed.
|
String |
getName()
The name of the package.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the package.
|
com.google.protobuf.Parser<Package> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Package.Builder |
newBuilder() |
static Package.Builder |
newBuilder(Package prototype) |
Package.Builder |
newBuilderForType() |
protected Package.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Package |
parseDelimitedFrom(InputStream input) |
static Package |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(byte[] data) |
static Package |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(ByteBuffer data) |
static Package |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(com.google.protobuf.ByteString data) |
static Package |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Package |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(InputStream input) |
static Package |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Package> |
parser() |
Package.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 NAME_FIELD_NUMBER
public static final int DISTRIBUTION_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 getName()
The name of the package.
string name = 1;getName in interface PackageOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the package.
string name = 1;getNameBytes in interface PackageOrBuilderpublic List<Distribution> getDistributionList()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;getDistributionList in interface PackageOrBuilderpublic List<? extends DistributionOrBuilder> getDistributionOrBuilderList()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;getDistributionOrBuilderList in interface PackageOrBuilderpublic int getDistributionCount()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;getDistributionCount in interface PackageOrBuilderpublic Distribution getDistribution(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;getDistribution in interface PackageOrBuilderpublic DistributionOrBuilder getDistributionOrBuilder(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;getDistributionOrBuilder in interface PackageOrBuilderpublic 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 Package parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(InputStream input) throws IOException
IOExceptionpublic static Package parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Package parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Package parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Package parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Package parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Package.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Package.Builder newBuilder()
public static Package.Builder newBuilder(Package prototype)
public Package.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Package.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Package getDefaultInstance()
public static com.google.protobuf.Parser<Package> parser()
public com.google.protobuf.Parser<Package> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Package getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.