Class Installation.Builder (2.12.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.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

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

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

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

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

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

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

publicInstallationbuild()
Returns
Type Description

buildPartial()

publicInstallationbuildPartial()
Returns
Type Description

clear()

publicInstallation.Builderclear()
Returns
Type Description
Overrides

clearField(Descriptors.FieldDescriptor field)

publicInstallation.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
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

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
Returns
Type Description
Overrides

clone()

publicInstallation.Builderclone()
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicInstallationgetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
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

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

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

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

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

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
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicInstallation.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

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

mergeFrom(Installation other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalInstallation.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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

setField(Descriptors.FieldDescriptor field, Object value)

publicInstallation.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
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

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

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
index int
value Object
Returns
Type Description
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalInstallation.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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.