Class Inventory.SoftwarePackage.Builder (2.4.3)

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
TypeDescription
Inventory.SoftwarePackage.Builder

clone()

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

getAptPackage()

public Inventory.VersionedPackage getAptPackage()

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.VersionedPackage

The aptPackage.

getAptPackageBuilder()

public Inventory.VersionedPackage.Builder getAptPackageBuilder()

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.VersionedPackage.Builder

getAptPackageOrBuilder()

public Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder()

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.VersionedPackageOrBuilder

getCosPackage()

public Inventory.VersionedPackage getCosPackage()

Details of a COS package.

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

Returns
TypeDescription
Inventory.VersionedPackage

The cosPackage.

getCosPackageBuilder()

public Inventory.VersionedPackage.Builder getCosPackageBuilder()

Details of a COS package.

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

Returns
TypeDescription
Inventory.VersionedPackage.Builder

getCosPackageOrBuilder()

public Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder()

Details of a COS package.

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

Returns
TypeDescription
Inventory.VersionedPackageOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetailsCase()

public Inventory.SoftwarePackage.DetailsCase getDetailsCase()
Returns
TypeDescription
Inventory.SoftwarePackage.DetailsCase

getGoogetPackage()

public Inventory.VersionedPackage getGoogetPackage()

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.VersionedPackage

The googetPackage.

getGoogetPackageBuilder()

public Inventory.VersionedPackage.Builder getGoogetPackageBuilder()

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.VersionedPackage.Builder

getGoogetPackageOrBuilder()

public Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder()

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.VersionedPackageOrBuilder

getQfePackage()

public Inventory.WindowsQuickFixEngineeringPackage getQfePackage()

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.WindowsQuickFixEngineeringPackage

The qfePackage.

getQfePackageBuilder()

public Inventory.WindowsQuickFixEngineeringPackage.Builder getQfePackageBuilder()

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.WindowsQuickFixEngineeringPackage.Builder

getQfePackageOrBuilder()

public Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder()

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.WindowsQuickFixEngineeringPackageOrBuilder

getWindowsApplication()

public Inventory.WindowsApplication getWindowsApplication()

Details of Windows Application.

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

Returns
TypeDescription
Inventory.WindowsApplication

The windowsApplication.

getWindowsApplicationBuilder()

public Inventory.WindowsApplication.Builder getWindowsApplicationBuilder()

Details of Windows Application.

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

Returns
TypeDescription
Inventory.WindowsApplication.Builder

getWindowsApplicationOrBuilder()

public Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder()

Details of Windows Application.

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

Returns
TypeDescription
Inventory.WindowsApplicationOrBuilder

getWuaPackage()

public Inventory.WindowsUpdatePackage getWuaPackage()

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.WindowsUpdatePackage

The wuaPackage.

getWuaPackageBuilder()

public Inventory.WindowsUpdatePackage.Builder getWuaPackageBuilder()

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.WindowsUpdatePackage.Builder

getWuaPackageOrBuilder()

public Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder()

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.WindowsUpdatePackageOrBuilder

getYumPackage()

public Inventory.VersionedPackage getYumPackage()

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.VersionedPackage

The yumPackage.

getYumPackageBuilder()

public Inventory.VersionedPackage.Builder getYumPackageBuilder()

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.VersionedPackage.Builder

getYumPackageOrBuilder()

public Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder()

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.VersionedPackageOrBuilder

getZypperPackage()

public Inventory.VersionedPackage getZypperPackage()

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.VersionedPackage

The zypperPackage.

getZypperPackageBuilder()

public Inventory.VersionedPackage.Builder getZypperPackageBuilder()

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.VersionedPackage.Builder

getZypperPackageOrBuilder()

public Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder()

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.VersionedPackageOrBuilder

getZypperPatch()

public Inventory.ZypperPatch getZypperPatch()

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
TypeDescription
Inventory.ZypperPatch

The zypperPatch.

getZypperPatchBuilder()

public Inventory.ZypperPatch.Builder getZypperPatchBuilder()

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
TypeDescription
Inventory.ZypperPatch.Builder

getZypperPatchOrBuilder()

public Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder()

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
TypeDescription
Inventory.ZypperPatchOrBuilder

hasAptPackage()

public boolean hasAptPackage()

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
boolean

Whether the aptPackage field is set.

hasCosPackage()

public boolean hasCosPackage()

Details of a COS package.

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

Returns
TypeDescription
boolean

Whether the cosPackage field is set.

hasGoogetPackage()

public boolean hasGoogetPackage()

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
boolean

Whether the googetPackage field is set.

hasQfePackage()

public boolean hasQfePackage()

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
boolean

Whether the qfePackage field is set.

hasWindowsApplication()

public boolean hasWindowsApplication()

Details of Windows Application.

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

Returns
TypeDescription
boolean

Whether the windowsApplication field is set.

hasWuaPackage()

public boolean hasWuaPackage()

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
boolean

Whether the wuaPackage field is set.

hasYumPackage()

public boolean hasYumPackage()

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
boolean

Whether the yumPackage field is set.