Class Inventory.SoftwarePackage (2.35.0)

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

Software package information of the operating system.

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

Static Fields

APT_PACKAGE_FIELD_NUMBER

public static final int APT_PACKAGE_FIELD_NUMBER
Field Value
TypeDescription
int

COS_PACKAGE_FIELD_NUMBER

public static final int COS_PACKAGE_FIELD_NUMBER
Field Value
TypeDescription
int

GOOGET_PACKAGE_FIELD_NUMBER

public static final int GOOGET_PACKAGE_FIELD_NUMBER
Field Value
TypeDescription
int

QFE_PACKAGE_FIELD_NUMBER

public static final int QFE_PACKAGE_FIELD_NUMBER
Field Value
TypeDescription
int

WINDOWS_APPLICATION_FIELD_NUMBER

public static final int WINDOWS_APPLICATION_FIELD_NUMBER
Field Value
TypeDescription
int

WUA_PACKAGE_FIELD_NUMBER

public static final int WUA_PACKAGE_FIELD_NUMBER
Field Value
TypeDescription
int

YUM_PACKAGE_FIELD_NUMBER

public static final int YUM_PACKAGE_FIELD_NUMBER
Field Value
TypeDescription
int

ZYPPER_PACKAGE_FIELD_NUMBER

public static final int ZYPPER_PACKAGE_FIELD_NUMBER
Field Value
TypeDescription
int

ZYPPER_PATCH_FIELD_NUMBER

public static final int ZYPPER_PATCH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Inventory.SoftwarePackage getDefaultInstance()
Returns
TypeDescription
Inventory.SoftwarePackage

getDescriptor()

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

newBuilder()

public static Inventory.SoftwarePackage.Builder newBuilder()
Returns
TypeDescription
Inventory.SoftwarePackage.Builder

newBuilder(Inventory.SoftwarePackage prototype)

public static Inventory.SoftwarePackage.Builder newBuilder(Inventory.SoftwarePackage prototype)
Parameter
NameDescription
prototypeInventory.SoftwarePackage
Returns
TypeDescription
Inventory.SoftwarePackage.Builder

parseDelimitedFrom(InputStream input)

public static Inventory.SoftwarePackage parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Inventory.SoftwarePackage parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Inventory.SoftwarePackage parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Inventory.SoftwarePackage parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Inventory.SoftwarePackage parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Inventory.SoftwarePackage parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Inventory.SoftwarePackage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.SoftwarePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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.v1alpha.Inventory.VersionedPackage apt_package = 2;

Returns
TypeDescription
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.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.

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

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.

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

getParserForType()

public Parser<Inventory.SoftwarePackage> getParserForType()
Returns
TypeDescription
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.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7;

Returns
TypeDescription
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.v1alpha.Inventory.WindowsQuickFixEngineeringPackage qfe_package = 7;

Returns
TypeDescription
Inventory.WindowsQuickFixEngineeringPackageOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWindowsApplication()

public Inventory.WindowsApplication getWindowsApplication()

Details of Windows Application.

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

Returns
TypeDescription
Inventory.WindowsApplication

The windowsApplication.

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.

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.

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.

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.

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.

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

Returns
TypeDescription
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.v1alpha.Inventory.ZypperPatch zypper_patch = 5;

Returns
TypeDescription
boolean

Whether the zypperPatch field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Inventory.SoftwarePackage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Inventory.SoftwarePackage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException