Class Inventory.SoftwarePackage

  • All Implemented Interfaces:
    Inventory.SoftwarePackageOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    Inventory

    public static final class Inventory.SoftwarePackage
    extends com.google.protobuf.GeneratedMessageV3
    implements Inventory.SoftwarePackageOrBuilder
     Software package information of the operating system.
     
    Protobuf type google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage
    See Also:
    Serialized Form
    • Field Detail

      • YUM_PACKAGE_FIELD_NUMBER

        public static final int YUM_PACKAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • APT_PACKAGE_FIELD_NUMBER

        public static final int APT_PACKAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ZYPPER_PACKAGE_FIELD_NUMBER

        public static final int ZYPPER_PACKAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GOOGET_PACKAGE_FIELD_NUMBER

        public static final int GOOGET_PACKAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ZYPPER_PATCH_FIELD_NUMBER

        public static final int ZYPPER_PATCH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WUA_PACKAGE_FIELD_NUMBER

        public static final int WUA_PACKAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QFE_PACKAGE_FIELD_NUMBER

        public static final int QFE_PACKAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • COS_PACKAGE_FIELD_NUMBER

        public static final int COS_PACKAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WINDOWS_APPLICATION_FIELD_NUMBER

        public static final int WINDOWS_APPLICATION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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;
        Specified by:
        hasYumPackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        Whether the yumPackage field is set.
      • 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;
        Specified by:
        getYumPackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        The yumPackage.
      • 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;
        Specified by:
        hasAptPackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        Whether the aptPackage 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;
        Specified by:
        hasZypperPackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        Whether the zypperPackage field is set.
      • 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;
        Specified by:
        getZypperPackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        The zypperPackage.
      • 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;
        Specified by:
        hasGoogetPackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        Whether the googetPackage 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;
        Specified by:
        hasZypperPatch in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        Whether the zypperPatch field is set.
      • 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;
        Specified by:
        getZypperPatch in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        The zypperPatch.
      • 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;
        Specified by:
        hasWuaPackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        Whether the wuaPackage field is set.
      • 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;
        Specified by:
        getWuaPackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        The wuaPackage.
      • 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;
        Specified by:
        hasQfePackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        Whether the qfePackage field is set.
      • 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;
        Specified by:
        getQfePackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        The qfePackage.
      • hasCosPackage

        public boolean hasCosPackage()
         Details of a COS package.
         
        .google.cloud.osconfig.v1alpha.Inventory.VersionedPackage cos_package = 8;
        Specified by:
        hasCosPackage in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        Whether the cosPackage field is set.
      • hasWindowsApplication

        public boolean hasWindowsApplication()
         Details of Windows Application.
         
        .google.cloud.osconfig.v1alpha.Inventory.WindowsApplication windows_application = 9;
        Specified by:
        hasWindowsApplication in interface Inventory.SoftwarePackageOrBuilder
        Returns:
        Whether the windowsApplication field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Inventory.SoftwarePackage parseFrom​(ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Inventory.SoftwarePackage parseFrom​(ByteBuffer data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Inventory.SoftwarePackage parseFrom​(com.google.protobuf.ByteString data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Inventory.SoftwarePackage parseFrom​(com.google.protobuf.ByteString data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Inventory.SoftwarePackage parseFrom​(byte[] data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Inventory.SoftwarePackage parseFrom​(byte[] data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Inventory.SoftwarePackage.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Inventory.SoftwarePackage.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Inventory.SoftwarePackage.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Inventory.SoftwarePackage> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Inventory.SoftwarePackage getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder