Class Inventory.WindowsUpdatePackage

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1alpha.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.GeneratedMessage 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:
  • Field Details

    • TITLE_FIELD_NUMBER

      public static final int TITLE_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • CATEGORIES_FIELD_NUMBER

      public static final int CATEGORIES_FIELD_NUMBER
      See Also:
    • KB_ARTICLE_IDS_FIELD_NUMBER

      public static final int KB_ARTICLE_IDS_FIELD_NUMBER
      See Also:
    • SUPPORT_URL_FIELD_NUMBER

      public static final int SUPPORT_URL_FIELD_NUMBER
      See Also:
    • MORE_INFO_URLS_FIELD_NUMBER

      public static final int MORE_INFO_URLS_FIELD_NUMBER
      See Also:
    • UPDATE_ID_FIELD_NUMBER

      public static final int UPDATE_ID_FIELD_NUMBER
      See Also:
    • REVISION_NUMBER_FIELD_NUMBER

      public static final int REVISION_NUMBER_FIELD_NUMBER
      See Also:
    • LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER

      public static final int LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getTitle

      public String getTitle()
       The localized title of the update package.
       
      string title = 1;
      Specified by:
      getTitle in interface Inventory.WindowsUpdatePackageOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       The localized title of the update package.
       
      string title = 1;
      Specified by:
      getTitleBytes in interface Inventory.WindowsUpdatePackageOrBuilder
      Returns:
      The bytes for title.
    • getDescription

      public String getDescription()
       The localized description of the update package.
       
      string description = 2;
      Specified by:
      getDescription in interface Inventory.WindowsUpdatePackageOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The localized description of the update package.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface Inventory.WindowsUpdatePackageOrBuilder
      Returns:
      The bytes for description.
    • getCategoriesList

       The categories that are associated with this update package.
       
      repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
      Specified by:
      getCategoriesList in interface Inventory.WindowsUpdatePackageOrBuilder
    • getCategoriesOrBuilderList

      public List<? extends Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> getCategoriesOrBuilderList()
       The categories that are associated with this update package.
       
      repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
      Specified by:
      getCategoriesOrBuilderList in interface Inventory.WindowsUpdatePackageOrBuilder
    • 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
    • getCategories

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

      public Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder(int index)
       The categories that are associated with this update package.
       
      repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
      Specified by:
      getCategoriesOrBuilder 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.
    • getSupportUrl

      public String getSupportUrl()
       A hyperlink to the language-specific support information for the update.
       
      string support_url = 11;
      Specified by:
      getSupportUrl in interface Inventory.WindowsUpdatePackageOrBuilder
      Returns:
      The supportUrl.
    • 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.
    • getUpdateId

      public String getUpdateId()
       Gets the identifier of an update package.  Stays the same across
       revisions.
       
      string update_id = 6;
      Specified by:
      getUpdateId in interface Inventory.WindowsUpdatePackageOrBuilder
      Returns:
      The updateId.
    • 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.
    • getRevisionNumber

      public int getRevisionNumber()
       The revision number of this update package.
       
      int32 revision_number = 7;
      Specified by:
      getRevisionNumber in interface Inventory.WindowsUpdatePackageOrBuilder
      Returns:
      The revisionNumber.
    • 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.
    • getLastDeploymentChangeTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastDeploymentChangeTimeOrBuilder()
       The last published date of the update, in (UTC) date and time.
       
      .google.protobuf.Timestamp last_deployment_change_time = 10;
      Specified by:
      getLastDeploymentChangeTimeOrBuilder in interface Inventory.WindowsUpdatePackageOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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
    • parseFrom

      public static Inventory.WindowsUpdatePackage parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Inventory.WindowsUpdatePackage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Inventory.WindowsUpdatePackage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Inventory.WindowsUpdatePackage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Inventory.WindowsUpdatePackage.Builder newBuilder()
    • newBuilder

    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Inventory.WindowsUpdatePackage getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Inventory.WindowsUpdatePackage> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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