- 2.86.0 (latest)
- 2.84.0
- 2.83.0
- 2.82.0
- 2.81.0
- 2.79.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
public static final class Package.Builder extends GeneratedMessage.Builder<Package.Builder> implements PackageOrBuilderThis 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Package.BuilderImplements
PackageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDistribution(Iterable<? extends Distribution> values)
public Package.Builder addAllDistribution(Iterable<? extends Distribution> values)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends io.grafeas.v1beta1.pkg.Distribution> |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
addDistribution(int index, Distribution value)
public Package.Builder addDistribution(int index, Distribution value)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Distribution |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
addDistribution(int index, Distribution.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Distribution.Builder |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
addDistribution(Distribution value)
public Package.Builder addDistribution(Distribution value)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Distribution |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
addDistribution(Distribution.Builder builderForValue)
public Package.Builder addDistribution(Distribution.Builder builderForValue)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Distribution.Builder |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
addDistributionBuilder()
public Distribution.Builder addDistributionBuilder()The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Returns | |
|---|---|
| Type | Description |
Distribution.Builder |
|
addDistributionBuilder(int index)
public Distribution.Builder addDistributionBuilder(int index)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Distribution.Builder |
|
build()
public Package build()| Returns | |
|---|---|
| Type | Description |
Package |
|
buildPartial()
public Package buildPartial()| Returns | |
|---|---|
| Type | Description |
Package |
|
clear()
public Package.Builder clear()| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
clearDistribution()
public Package.Builder clearDistribution()The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
clearName()
public Package.Builder clearName()Required. Immutable. The name of the package.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Package getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Package |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDistribution(int index)
public Distribution getDistribution(int index)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Distribution |
|
getDistributionBuilder(int index)
public Distribution.Builder getDistributionBuilder(int index)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Distribution.Builder |
|
getDistributionBuilderList()
public List<Distribution.Builder> getDistributionBuilderList()The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getDistributionCount()
public int getDistributionCount()The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Returns | |
|---|---|
| Type | Description |
int |
|
getDistributionList()
public List<Distribution> getDistributionList()The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Returns | |
|---|---|
| Type | Description |
List<Distribution> |
|
getDistributionOrBuilder(int index)
public DistributionOrBuilder getDistributionOrBuilder(int index)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DistributionOrBuilder |
|
getDistributionOrBuilderList()
public List<? extends DistributionOrBuilder> getDistributionOrBuilderList()The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Returns | |
|---|---|
| Type | Description |
List<? extends io.grafeas.v1beta1.pkg.DistributionOrBuilder> |
|
getName()
public String getName()Required. Immutable. The name of the package.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Immutable. The name of the package.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Package.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Package.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
mergeFrom(Package other)
public Package.Builder mergeFrom(Package other)| Parameter | |
|---|---|
| Name | Description |
other |
Package |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
removeDistribution(int index)
public Package.Builder removeDistribution(int index)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
setDistribution(int index, Distribution value)
public Package.Builder setDistribution(int index, Distribution value)The various channels by which a package is distributed.
repeated .grafeas.v1beta1.package.Distribution distribution = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Distribution |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
setDistribution(int index, Distribution.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Distribution.Builder |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
|
setName(String value)
public Package.Builder setName(String value)Required. Immutable. The name of the package.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Package.Builder setNameBytes(ByteString value)Required. Immutable. The name of the package.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Package.Builder |
This builder for chaining. |