Class Inventory.SoftwarePackage (2.5.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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.