Class Inventory.SoftwarePackage (2.49.0)

public static final class Inventory.SoftwarePackage extends GeneratedMessageV3 implements Inventory.SoftwarePackageOrBuilder

Software package information of the operating system.

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

Static Fields

APT_PACKAGE_FIELD_NUMBER

public static final int APT_PACKAGE_FIELD_NUMBER
Field Value
Type Description
int

COS_PACKAGE_FIELD_NUMBER

public static final int COS_PACKAGE_FIELD_NUMBER
Field Value
Type Description
int

GOOGET_PACKAGE_FIELD_NUMBER

public static final int GOOGET_PACKAGE_FIELD_NUMBER
Field Value
Type Description
int

QFE_PACKAGE_FIELD_NUMBER

public static final int QFE_PACKAGE_FIELD_NUMBER
Field Value
Type Description
int

WINDOWS_APPLICATION_FIELD_NUMBER

public static final int WINDOWS_APPLICATION_FIELD_NUMBER
Field Value
Type Description
int

WUA_PACKAGE_FIELD_NUMBER

public static final int WUA_PACKAGE_FIELD_NUMBER
Field Value
Type Description
int

YUM_PACKAGE_FIELD_NUMBER

public static final int YUM_PACKAGE_FIELD_NUMBER
Field Value
Type Description
int

ZYPPER_PACKAGE_FIELD_NUMBER

public static final int ZYPPER_PACKAGE_FIELD_NUMBER
Field Value
Type Description
int

ZYPPER_PATCH_FIELD_NUMBER

public static final int ZYPPER_PATCH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Inventory.SoftwarePackage getDefaultInstance()
Returns
Type Description
Inventory.SoftwarePackage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Inventory.SoftwarePackage.Builder newBuilder()
Returns
Type Description
Inventory.SoftwarePackage.Builder

newBuilder(Inventory.SoftwarePackage prototype)

public static Inventory.SoftwarePackage.Builder newBuilder(Inventory.SoftwarePackage prototype)
Parameter
Name Description
prototype Inventory.SoftwarePackage
Returns
Type Description
Inventory.SoftwarePackage.Builder

parseDelimitedFrom(InputStream input)

public static Inventory.SoftwarePackage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Inventory.SoftwarePackage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Inventory.SoftwarePackage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Inventory.SoftwarePackage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Inventory.SoftwarePackage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Inventory.SoftwarePackage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.SoftwarePackage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Inventory.SoftwarePackage> parser()
Returns
Type Description
Parser<SoftwarePackage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.v1.Inventory.VersionedPackage apt_package = 2;

Returns
Type Description
Inventory.VersionedPackage

The aptPackage.

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.v1.Inventory.VersionedPackage apt_package = 2;

Returns
Type Description
Inventory.VersionedPackageOrBuilder

getCosPackage()

public Inventory.VersionedPackage getCosPackage()

Details of a COS package.

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

Returns
Type Description
Inventory.VersionedPackage

The cosPackage.

getCosPackageOrBuilder()

public Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder()

Details of a COS package.

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

Returns
Type Description
Inventory.VersionedPackageOrBuilder

getDefaultInstanceForType()

public Inventory.SoftwarePackage getDefaultInstanceForType()
Returns
Type Description
Inventory.SoftwarePackage

getDetailsCase()

public Inventory.SoftwarePackage.DetailsCase getDetailsCase()
Returns
Type Description
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.v1.Inventory.VersionedPackage googet_package = 4;

Returns
Type Description
Inventory.VersionedPackage

The googetPackage.

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.v1.Inventory.VersionedPackage googet_package = 4;

Returns
Type Description
Inventory.VersionedPackageOrBuilder

getParserForType()

public Parser<Inventory.SoftwarePackage> getParserForType()
Returns
Type Description
Parser<SoftwarePackage>
Overrides

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.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7;

Returns
Type Description
Inventory.WindowsQuickFixEngineeringPackage

The qfePackage.

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.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7;

Returns
Type Description
Inventory.WindowsQuickFixEngineeringPackageOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWindowsApplication()

public Inventory.WindowsApplication getWindowsApplication()

Details of Windows Application.

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

Returns
Type Description
Inventory.WindowsApplication

The windowsApplication.

getWindowsApplicationOrBuilder()

public Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder()

Details of Windows Application.

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

Returns
Type Description
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.v1.Inventory.WindowsUpdatePackage wua_package = 6;

Returns
Type Description
Inventory.WindowsUpdatePackage

The wuaPackage.

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.v1.Inventory.WindowsUpdatePackage wua_package = 6;

Returns
Type Description
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.v1.Inventory.VersionedPackage yum_package = 1;

Returns
Type Description
Inventory.VersionedPackage

The yumPackage.

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.v1.Inventory.VersionedPackage yum_package = 1;

Returns
Type Description
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.v1.Inventory.VersionedPackage zypper_package = 3;

Returns
Type Description
Inventory.VersionedPackage

The zypperPackage.

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.v1.Inventory.VersionedPackage zypper_package = 3;

Returns
Type Description
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.v1.Inventory.ZypperPatch zypper_patch = 5;

Returns
Type Description
Inventory.ZypperPatch

The zypperPatch.

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.v1.Inventory.ZypperPatch zypper_patch = 5;

Returns
Type Description
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.v1.Inventory.VersionedPackage apt_package = 2;

Returns
Type Description
boolean

Whether the aptPackage field is set.

hasCosPackage()

public boolean hasCosPackage()

Details of a COS package.

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

Returns
Type Description
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.v1.Inventory.VersionedPackage googet_package = 4;

Returns
Type Description
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.v1.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7;

Returns
Type Description
boolean

Whether the qfePackage field is set.

hasWindowsApplication()

public boolean hasWindowsApplication()

Details of Windows Application.

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

Returns
Type Description
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.v1.Inventory.WindowsUpdatePackage wua_package = 6;

Returns
Type Description
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.v1.Inventory.VersionedPackage yum_package = 1;

Returns
Type Description
boolean

Whether the yumPackage field is set.

hasZypperPackage()

public boolean hasZypperPackage()

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

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

Returns
Type Description
boolean

Whether the zypperPackage field is set.

hasZypperPatch()

public boolean hasZypperPatch()

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

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

Returns
Type Description
boolean

Whether the zypperPatch field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Inventory.SoftwarePackage.Builder newBuilderForType()
Returns
Type Description
Inventory.SoftwarePackage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Inventory.SoftwarePackage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Inventory.SoftwarePackage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Inventory.SoftwarePackage.Builder toBuilder()
Returns
Type Description
Inventory.SoftwarePackage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException