Class Installation.Builder (2.37.0)

publicstaticfinalclass Installation.BuilderextendsGeneratedMessageV3.Builder<Installation.Builder>implementsInstallationOrBuilder

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllLocation(Iterable<? extends Location> values)

publicInstallation.BuilderaddAllLocation(Iterable<?extendsLocation>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)

publicInstallation.BuilderaddLocation(intindex,Locationvalue)

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)

publicInstallation.BuilderaddLocation(intindex,Location.BuilderbuilderForValue)

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)

publicInstallation.BuilderaddLocation(Locationvalue)

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)

publicInstallation.BuilderaddLocation(Location.BuilderbuilderForValue)

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()

publicLocation.BuilderaddLocationBuilder()

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)

publicLocation.BuilderaddLocationBuilder(intindex)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicInstallation.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Installation.Builder
Overrides

build()

publicInstallationbuild()
Returns
Type Description
Installation

buildPartial()

publicInstallationbuildPartial()
Returns
Type Description
Installation

clear()

publicInstallation.Builderclear()
Returns
Type Description
Installation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicInstallation.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Installation.Builder
Overrides

clearLocation()

publicInstallation.BuilderclearLocation()

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()

publicInstallation.BuilderclearName()

Output only. The name of the installed package.

string name = 1;

Returns
Type Description
Installation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicInstallation.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Installation.Builder
Overrides

clone()

publicInstallation.Builderclone()
Returns
Type Description
Installation.Builder
Overrides

getDefaultInstanceForType()

publicInstallationgetDefaultInstanceForType()
Returns
Type Description
Installation

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLocation(int index)

publicLocationgetLocation(intindex)

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)

publicLocation.BuildergetLocationBuilder(intindex)

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()

publicList<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()

publicintgetLocationCount()

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()

publicList<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)

publicLocationOrBuildergetLocationOrBuilder(intindex)

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()

publicList<?extendsLocationOrBuilder>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()

publicStringgetName()

Output only. The name of the installed package.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Output only. The name of the installed package.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicInstallation.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Installation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicInstallation.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Installation.Builder
Overrides

mergeFrom(Installation other)

publicInstallation.BuildermergeFrom(Installationother)
Parameter
Name Description
other Installation
Returns
Type Description
Installation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalInstallation.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Installation.Builder
Overrides

removeLocation(int index)

publicInstallation.BuilderremoveLocation(intindex)

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

setField(Descriptors.FieldDescriptor field, Object value)

publicInstallation.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Installation.Builder
Overrides

setLocation(int index, Location value)

publicInstallation.BuildersetLocation(intindex,Locationvalue)

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)

publicInstallation.BuildersetLocation(intindex,Location.BuilderbuilderForValue)

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)

publicInstallation.BuildersetName(Stringvalue)

Output only. The name of the installed package.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Installation.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicInstallation.BuildersetNameBytes(ByteStringvalue)

Output only. The name of the installed package.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Installation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicInstallation.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Installation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalInstallation.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Installation.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.