public static final class Installation.Builder extends GeneratedMessage.Builder<Installation.Builder> implements InstallationOrBuilderThis represents how a particular software package may be installed on a system.
Protobuf type grafeas.v1beta1.package.Installation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Installation.BuilderImplements
InstallationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Location |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Location.Builder |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Location.Builder |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
Location.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
Location.Builder |
|
build()
public Installation build()| Returns | |
|---|---|
| Type | Description |
Installation |
|
buildPartial()
public Installation buildPartial()| Returns | |
|---|---|
| Type | Description |
Installation |
|
clear()
public Installation.Builder clear()| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
clearName()
public Installation.Builder clearName()Output only. The name of the installed package.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Installation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Installation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
| Returns | |
|---|---|
| Type | Description |
Location |
|
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 |
| Returns | |
|---|---|
| Type | Description |
Location.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Location> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
LocationOrBuilder |
|
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()
public String 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Installation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Installation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
mergeFrom(Installation other)
public Installation.Builder mergeFrom(Installation other)| Parameter | |
|---|---|
| Name | Description |
other |
Installation |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Location |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Location.Builder |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
|
setName(String value)
public Installation.Builder setName(String value)Output only. The name of the installed package.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Installation.Builder setNameBytes(ByteString value)Output only. The name of the installed package.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Installation.Builder |
This builder for chaining. |