public static final class PackageOccurrence.Builder extends GeneratedMessageV3.Builder<PackageOccurrence.Builder> implements PackageOccurrenceOrBuilder
Details on how a particular software package was installed on a system.
Protobuf type grafeas.v1.PackageOccurrence
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PackageOccurrence.BuilderImplements
PackageOccurrenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllLocation(Iterable<? extends Location> values)
public PackageOccurrence.Builder addAllLocation(Iterable<? extends Location> values)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.Location> |
Returns | |
---|---|
Type | Description |
PackageOccurrence.Builder |
addLocation(int index, Location value)
public PackageOccurrence.Builder addLocation(int index, Location value)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Parameters | |
---|---|
Name | Description |
index | int |
value | Location |
Returns | |
---|---|
Type | Description |
PackageOccurrence.Builder |
addLocation(int index, Location.Builder builderForValue)
public PackageOccurrence.Builder addLocation(int index, Location.Builder builderForValue)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Location.Builder |
Returns | |
---|---|
Type | Description |
PackageOccurrence.Builder |
addLocation(Location value)
public PackageOccurrence.Builder addLocation(Location value)
All of the places within the filesystem versions of this package have been found.
repeated .grafeas.v1.Location location = 2;
Parameter | |
---|---|
Name | Description |
value | Location |
Returns | |
---|---|
Type | Description |
PackageOccurrence.Builder |