Class Inventory.SoftwarePackage.Builder (2.21.0)

public static final class Inventory.SoftwarePackage.Builder extends GeneratedMessageV3.Builder<Inventory.SoftwarePackage.Builder> implements Inventory.SoftwarePackageOrBuilder

Software package information of the operating system.

Protobuf type google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Inventory.SoftwarePackage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Inventory.SoftwarePackage.Builder
Overrides

build()

public Inventory.SoftwarePackage build()
Returns
TypeDescription
Inventory.SoftwarePackage

buildPartial()

public Inventory.SoftwarePackage buildPartial()
Returns
TypeDescription
Inventory.SoftwarePackage

clear()

public Inventory.SoftwarePackage.Builder clear()
Returns
TypeDescription
Inventory.SoftwarePackage.Builder
Overrides

clearAptPackage()

public Inventory.SoftwarePackage.Builder clearAptPackage()

Details of an APT package. For details about the apt package manager, see https://wiki.debian.org/Apt.

.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage apt_package = 2;

Returns
TypeDescription
Inventory.SoftwarePackage.Builder

clearCosPackage()

public Inventory.SoftwarePackage.Builder clearCosPackage()

Details of a COS package.

.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8;

Returns
TypeDescription
Inventory.SoftwarePackage.Builder

clearDetails()

public Inventory.SoftwarePackage.Builder clearDetails()
Returns
TypeDescription
Inventory.SoftwarePackage.Builder

clearField(Descriptors.FieldDescriptor field)

public Inventory.SoftwarePackage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Inventory.SoftwarePackage.Builder
Overrides

clearGoogetPackage()

public Inventory.SoftwarePackage.Builder clearGoogetPackage()

Details of a Googet package. For details about the googet package manager, see https://github.com/google/googet.

.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage googet_package = 4;

Returns
TypeDescription
Inventory.SoftwarePackage.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Inventory.SoftwarePackage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Inventory.SoftwarePackage.Builder
Overrides

clearQfePackage()

public Inventory.SoftwarePackage.Builder clearQfePackage()

Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix Engineering.

.google.cloud.osconfig.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7;

Returns
TypeDescription
Inventory.SoftwarePackage.Builder

clearWindowsApplication()

public Inventory.SoftwarePackage.Builder clearWindowsApplication()

Details of Windows Application.

.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9;

Returns
TypeDescription
Inventory.SoftwarePackage.Builder

clearWuaPackage()

public Inventory.SoftwarePackage.Builder clearWuaPackage()

Details of a Windows Update package. See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for information about Windows Update.

.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage wua_package = 6;

Returns
TypeDescription
Inventory.SoftwarePackage.Builder

clearYumPackage()

public Inventory.SoftwarePackage.Builder clearYumPackage()

Yum package info. For details about the yum package manager, see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.

.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage yum_package = 1;

Returns
TypeDescription
Inventory.SoftwarePackage.Builder

clearZypperPackage()

public Inventory.SoftwarePackage.Builder clearZypperPackage()

Details of a Zypper package. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.

.google.cloud.osconfig.v1alpha.Inventory.VersionedPackage zypper_package = 3;

Returns
TypeDescription
Inventory.SoftwarePackage.Builder

clearZypperPatch()

public Inventory.SoftwarePackage.Builder clearZypperPatch()

Details of a Zypper patch. For details about the Zypper package manager, see https://en.opensuse.org/SDB:Zypper_manual.

.google.cloud.osconfig.v1alpha.Inventory.ZypperPatch zypper_patch = 5;

Returns
TypeDescriptio