public static final class Installation.Builder extends GeneratedMessageV3.Builder<Installation.Builder> implements InstallationOrBuilder
This represents how a particular software package may be installed on a
system.
Protobuf type grafeas.v1beta1.package.Installation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllLocation(Iterable<? extends Location> values)
public Installation.Builder addAllLocation(Iterable<? extends Location> values)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends io.grafeas.v1beta1.pkg.Location>
|
addLocation(int index, Location value)
public Installation.Builder addLocation(int index, Location value)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
addLocation(int index, Location.Builder builderForValue)
public Installation.Builder addLocation(int index, Location.Builder builderForValue)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
addLocation(Location value)
public Installation.Builder addLocation(Location value)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
Parameter |
Name |
Description |
value |
Location
|
addLocation(Location.Builder builderForValue)
public Installation.Builder addLocation(Location.Builder builderForValue)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
addLocationBuilder()
public Location.Builder addLocationBuilder()
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
addLocationBuilder(int index)
public Location.Builder addLocationBuilder(int index)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Installation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Installation build()
buildPartial()
public Installation buildPartial()
clear()
public Installation.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Installation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLocation()
public Installation.Builder clearLocation()
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
clearName()
public Installation.Builder clearName()
Output only. The name of the installed package.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Installation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Installation.Builder clone()
Overrides
getDefaultInstanceForType()
public Installation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLocation(int index)
public Location getLocation(int index)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
Parameter |
Name |
Description |
index |
int
|
getLocationBuilder(int index)
public Location.Builder getLocationBuilder(int index)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
Parameter |
Name |
Description |
index |
int
|
getLocationBuilderList()
public List<Location.Builder> getLocationBuilderList()
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
getLocationCount()
public int getLocationCount()
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
Returns |
Type |
Description |
int |
|
getLocationList()
public List<Location> getLocationList()
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
getLocationOrBuilder(int index)
public LocationOrBuilder getLocationOrBuilder(int index)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
Parameter |
Name |
Description |
index |
int
|
getLocationOrBuilderList()
public List<? extends LocationOrBuilder> getLocationOrBuilderList()
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
Returns |
Type |
Description |
List<? extends io.grafeas.v1beta1.pkg.LocationOrBuilder> |
|
getName()
Output only. The name of the installed package.
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the installed package.
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Installation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Installation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(Installation other)
public Installation.Builder mergeFrom(Installation other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Installation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeLocation(int index)
public Installation.Builder removeLocation(int index)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Installation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLocation(int index, Location value)
public Installation.Builder setLocation(int index, Location value)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
setLocation(int index, Location.Builder builderForValue)
public Installation.Builder setLocation(int index, Location.Builder builderForValue)
Required. All of the places within the filesystem versions of this package
have been found.
repeated .grafeas.v1beta1.package.Location location = 2;
setName(String value)
public Installation.Builder setName(String value)
Output only. The name of the installed package.
string name = 1;
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public Installation.Builder setNameBytes(ByteString value)
Output only. The name of the installed package.
string name = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Installation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Installation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides