public final class PackageNote extends GeneratedMessageV3 implements PackageNoteOrBuilder
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.v1.PackageNote| Modifier and Type | Class and Description |
|---|---|
static class |
PackageNote.Builder
This represents a particular package that is distributed over various
channels.
|
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 |
DISTRIBUTION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, 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 NAME_FIELD_NUMBER
public static final int DISTRIBUTION_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 getName()
Required. Immutable. The name of the package.
string name = 1;getName in interface PackageNoteOrBuilderpublic ByteString getNameBytes()
Required. Immutable. The name of the package.
string name = 1;getNameBytes in interface PackageNoteOrBuilderpublic List<Distribution> getDistributionList()
The various channels by which a package is distributed.
repeated .grafeas.v1.Distribution distribution = 10;getDistributionList in interface PackageNoteOrBuilderpublic List<? extends DistributionOrBuilder> getDistributionOrBuilderList()
The various channels by which a package is distributed.
repeated .grafeas.v1.Distribution distribution = 10;getDistributionOrBuilderList in interface PackageNoteOrBuilderpublic int getDistributionCount()
The various channels by which a package is distributed.
repeated .grafeas.v1.Distribution distribution = 10;getDistributionCount in interface PackageNoteOrBuilderpublic Distribution getDistribution(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1.Distribution distribution = 10;getDistribution in interface PackageNoteOrBuilderpublic DistributionOrBuilder getDistributionOrBuilder(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1.Distribution distribution = 10;getDistributionOrBuilder in interface PackageNoteOrBuilderpublic 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 PackageNote parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PackageNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PackageNote parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PackageNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PackageNote parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PackageNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static PackageNote parseFrom(InputStream input) throws IOException
IOExceptionpublic static PackageNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PackageNote parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PackageNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PackageNote parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static PackageNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PackageNote.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static PackageNote.Builder newBuilder()
public static PackageNote.Builder newBuilder(PackageNote prototype)
public PackageNote.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected PackageNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static PackageNote getDefaultInstance()
public static Parser<PackageNote> parser()
public Parser<PackageNote> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public PackageNote getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.