public static final class Package.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder> 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 | Method and Description |
|---|---|
Package.Builder |
addAllDistribution(Iterable<? extends Distribution> values)
The various channels by which a package is distributed.
|
Package.Builder |
addDistribution(Distribution.Builder builderForValue)
The various channels by which a package is distributed.
|
Package.Builder |
addDistribution(Distribution value)
The various channels by which a package is distributed.
|
Package.Builder |
addDistribution(int index,
Distribution.Builder builderForValue)
The various channels by which a package is distributed.
|
Package.Builder |
addDistribution(int index,
Distribution value)
The various channels by which a package is distributed.
|
Distribution.Builder |
addDistributionBuilder()
The various channels by which a package is distributed.
|
Distribution.Builder |
addDistributionBuilder(int index)
The various channels by which a package is distributed.
|
Package.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Package |
build() |
Package |
buildPartial() |
Package.Builder |
clear() |
Package.Builder |
clearDistribution()
The various channels by which a package is distributed.
|
Package.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Package.Builder |
clearName()
The name of the package.
|
Package.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Package.Builder |
clone() |
Package |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Distribution |
getDistribution(int index)
The various channels by which a package is distributed.
|
Distribution.Builder |
getDistributionBuilder(int index)
The various channels by which a package is distributed.
|
List<Distribution.Builder> |
getDistributionBuilderList()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Package.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Package.Builder |
mergeFrom(com.google.protobuf.Message other) |
Package.Builder |
mergeFrom(Package other) |
Package.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Package.Builder |
removeDistribution(int index)
The various channels by which a package is distributed.
|
Package.Builder |
setDistribution(int index,
Distribution.Builder builderForValue)
The various channels by which a package is distributed.
|
Package.Builder |
setDistribution(int index,
Distribution value)
The various channels by which a package is distributed.
|
Package.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Package.Builder |
setName(String value)
The name of the package.
|
Package.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the package.
|
Package.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Package.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public Package.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public Package getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Package build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Package buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Package.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public Package.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public Package.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public Package.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public Package.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public Package.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public Package.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Package.Builder>public Package.Builder mergeFrom(Package other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public Package.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Package.Builder>IOExceptionpublic 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 Package.Builder setName(String value)
The name of the package.
string name = 1;public Package.Builder clearName()
The name of the package.
string name = 1;public Package.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the package.
string name = 1;public List<Distribution> getDistributionList()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;getDistributionList 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 Package.Builder setDistribution(int index, Distribution value)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Package.Builder setDistribution(int index, Distribution.Builder builderForValue)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Package.Builder addDistribution(Distribution value)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Package.Builder addDistribution(int index, Distribution value)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Package.Builder addDistribution(Distribution.Builder builderForValue)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Package.Builder addDistribution(int index, Distribution.Builder builderForValue)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Package.Builder addAllDistribution(Iterable<? extends Distribution> values)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Package.Builder clearDistribution()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Package.Builder removeDistribution(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Distribution.Builder getDistributionBuilder(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public DistributionOrBuilder getDistributionOrBuilder(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;getDistributionOrBuilder 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 Distribution.Builder addDistributionBuilder()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public Distribution.Builder addDistributionBuilder(int index)
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public List<Distribution.Builder> getDistributionBuilderList()
The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;public final Package.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>public final Package.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Package.Builder>Copyright © 2019 Google LLC. All rights reserved.