Class Inventory.WindowsUpdatePackage

  • All Implemented Interfaces:
    Inventory.WindowsUpdatePackageOrBuilder, 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.WindowsUpdatePackage
    extends com.google.protobuf.GeneratedMessageV3
    implements Inventory.WindowsUpdatePackageOrBuilder
     Details related to a Windows Update package.
     Field data and names are taken from Windows Update API IUpdate Interface:
     https://docs.microsoft.com/en-us/windows/win32/api/_wua/
     Descriptive fields like title, and description are localized based on
     the locale of the VM being updated.
     
    Protobuf type google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
    See Also:
    Serialized Form
    • Field Detail

      • DESCRIPTION_FIELD_NUMBER

        public static final int DESCRIPTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CATEGORIES_FIELD_NUMBER

        public static final int CATEGORIES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • KB_ARTICLE_IDS_FIELD_NUMBER

        public static final int KB_ARTICLE_IDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUPPORT_URL_FIELD_NUMBER

        public static final int SUPPORT_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MORE_INFO_URLS_FIELD_NUMBER

        public static final int MORE_INFO_URLS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REVISION_NUMBER_FIELD_NUMBER

        public static final int REVISION_NUMBER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER

        public static final int LAST_DEPLOYMENT_CHANGE_TIME_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
      • getCategoriesCount

        public int getCategoriesCount()
         The categories that are associated with this update package.
         
        repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
        Specified by:
        getCategoriesCount in interface Inventory.WindowsUpdatePackageOrBuilder
      • getKbArticleIdsList

        public com.google.protobuf.ProtocolStringList getKbArticleIdsList()
         A collection of Microsoft Knowledge Base article IDs that are associated
         with the update package.
         
        repeated string kb_article_ids = 4;
        Specified by:
        getKbArticleIdsList in interface Inventory.WindowsUpdatePackageOrBuilder
        Returns:
        A list containing the kbArticleIds.
      • getKbArticleIdsCount

        public int getKbArticleIdsCount()
         A collection of Microsoft Knowledge Base article IDs that are associated
         with the update package.
         
        repeated string kb_article_ids = 4;
        Specified by:
        getKbArticleIdsCount in interface Inventory.WindowsUpdatePackageOrBuilder
        Returns:
        The count of kbArticleIds.
      • getKbArticleIds

        public String getKbArticleIds​(int index)
         A collection of Microsoft Knowledge Base article IDs that are associated
         with the update package.
         
        repeated string kb_article_ids = 4;
        Specified by:
        getKbArticleIds in interface Inventory.WindowsUpdatePackageOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The kbArticleIds at the given index.
      • getKbArticleIdsBytes

        public com.google.protobuf.ByteString getKbArticleIdsBytes​(int index)
         A collection of Microsoft Knowledge Base article IDs that are associated
         with the update package.
         
        repeated string kb_article_ids = 4;
        Specified by:
        getKbArticleIdsBytes in interface Inventory.WindowsUpdatePackageOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the kbArticleIds at the given index.
      • getSupportUrlBytes

        public com.google.protobuf.ByteString getSupportUrlBytes()
         A hyperlink to the language-specific support information for the update.
         
        string support_url = 11;
        Specified by:
        getSupportUrlBytes in interface Inventory.WindowsUpdatePackageOrBuilder
        Returns:
        The bytes for supportUrl.
      • getMoreInfoUrlsList

        public com.google.protobuf.ProtocolStringList getMoreInfoUrlsList()
         A collection of URLs that provide more information about the update
         package.
         
        repeated string more_info_urls = 5;
        Specified by:
        getMoreInfoUrlsList in interface Inventory.WindowsUpdatePackageOrBuilder
        Returns:
        A list containing the moreInfoUrls.
      • getMoreInfoUrlsCount

        public int getMoreInfoUrlsCount()
         A collection of URLs that provide more information about the update
         package.
         
        repeated string more_info_urls = 5;
        Specified by:
        getMoreInfoUrlsCount in interface Inventory.WindowsUpdatePackageOrBuilder
        Returns:
        The count of moreInfoUrls.
      • getMoreInfoUrls

        public String getMoreInfoUrls​(int index)
         A collection of URLs that provide more information about the update
         package.
         
        repeated string more_info_urls = 5;
        Specified by:
        getMoreInfoUrls in interface Inventory.WindowsUpdatePackageOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The moreInfoUrls at the given index.
      • getMoreInfoUrlsBytes

        public com.google.protobuf.ByteString getMoreInfoUrlsBytes​(int index)
         A collection of URLs that provide more information about the update
         package.
         
        repeated string more_info_urls = 5;
        Specified by:
        getMoreInfoUrlsBytes in interface Inventory.WindowsUpdatePackageOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the moreInfoUrls at the given index.
      • getUpdateIdBytes

        public com.google.protobuf.ByteString getUpdateIdBytes()
         Gets the identifier of an update package.  Stays the same across
         revisions.
         
        string update_id = 6;
        Specified by:
        getUpdateIdBytes in interface Inventory.WindowsUpdatePackageOrBuilder
        Returns:
        The bytes for updateId.
      • hasLastDeploymentChangeTime

        public boolean hasLastDeploymentChangeTime()
         The last published date of the update, in (UTC) date and time.
         
        .google.protobuf.Timestamp last_deployment_change_time = 10;
        Specified by:
        hasLastDeploymentChangeTime in interface Inventory.WindowsUpdatePackageOrBuilder
        Returns:
        Whether the lastDeploymentChangeTime field is set.
      • getLastDeploymentChangeTime

        public com.google.protobuf.Timestamp getLastDeploymentChangeTime()
         The last published date of the update, in (UTC) date and time.
         
        .google.protobuf.Timestamp last_deployment_change_time = 10;
        Specified by:
        getLastDeploymentChangeTime in interface Inventory.WindowsUpdatePackageOrBuilder
        Returns:
        The lastDeploymentChangeTime.
      • 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.WindowsUpdatePackage parseFrom​(ByteBuffer data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Inventory.WindowsUpdatePackage 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.WindowsUpdatePackage parseFrom​(byte[] data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public com.google.protobuf.Parser<Inventory.WindowsUpdatePackage> 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.WindowsUpdatePackage getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder