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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails related to a Windows Update package.static final classCategories specified by the Windows Update.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCategories(int index) The categories that are associated with this update package.intThe categories that are associated with this update package.The categories that are associated with this update package.getCategoriesOrBuilder(int index) The categories that are associated with this update package.The categories that are associated with this update package.The localized description of the update package.com.google.protobuf.ByteStringThe localized description of the update package.static final com.google.protobuf.Descriptors.DescriptorgetKbArticleIds(int index) A collection of Microsoft Knowledge Base article IDs that are associated with the update package.com.google.protobuf.ByteStringgetKbArticleIdsBytes(int index) A collection of Microsoft Knowledge Base article IDs that are associated with the update package.intA collection of Microsoft Knowledge Base article IDs that are associated with the update package.com.google.protobuf.ProtocolStringListA collection of Microsoft Knowledge Base article IDs that are associated with the update package.com.google.protobuf.TimestampThe last published date of the update, in (UTC) date and time.com.google.protobuf.TimestampOrBuilderThe last published date of the update, in (UTC) date and time.getMoreInfoUrls(int index) A collection of URLs that provide more information about the update package.com.google.protobuf.ByteStringgetMoreInfoUrlsBytes(int index) A collection of URLs that provide more information about the update package.intA collection of URLs that provide more information about the update package.com.google.protobuf.ProtocolStringListA collection of URLs that provide more information about the update package.com.google.protobuf.Parser<Inventory.WindowsUpdatePackage>intThe revision number of this update package.intA hyperlink to the language-specific support information for the update.com.google.protobuf.ByteStringA hyperlink to the language-specific support information for the update.getTitle()The localized title of the update package.com.google.protobuf.ByteStringThe localized title of the update package.Gets the identifier of an update package.com.google.protobuf.ByteStringGets the identifier of an update package.inthashCode()booleanThe last published date of the update, in (UTC) date and time.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Inventory.WindowsUpdatePackage prototype) protected Inventory.WindowsUpdatePackage.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Inventory.WindowsUpdatePackage>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTitle
The localized title of the update package.
string title = 1;- Specified by:
getTitlein interfaceInventory.WindowsUpdatePackageOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()The localized title of the update package.
string title = 1;- Specified by:
getTitleBytesin interfaceInventory.WindowsUpdatePackageOrBuilder- Returns:
- The bytes for title.
-
getDescription
The localized description of the update package.
string description = 2;- Specified by:
getDescriptionin interfaceInventory.WindowsUpdatePackageOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The localized description of the update package.
string description = 2;- Specified by:
getDescriptionBytesin interfaceInventory.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:
getCategoriesListin interfaceInventory.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:
getCategoriesOrBuilderListin interfaceInventory.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:
getCategoriesCountin interfaceInventory.WindowsUpdatePackageOrBuilder
-
getCategories
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;- Specified by:
getCategoriesin interfaceInventory.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:
getCategoriesOrBuilderin interfaceInventory.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:
getKbArticleIdsListin interfaceInventory.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:
getKbArticleIdsCountin interfaceInventory.WindowsUpdatePackageOrBuilder- Returns:
- The count of kbArticleIds.
-
getKbArticleIds
A collection of Microsoft Knowledge Base article IDs that are associated with the update package.
repeated string kb_article_ids = 4;- Specified by:
getKbArticleIdsin interfaceInventory.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:
getKbArticleIdsBytesin interfaceInventory.WindowsUpdatePackageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the kbArticleIds at the given index.
-
getSupportUrl
A hyperlink to the language-specific support information for the update.
string support_url = 11;- Specified by:
getSupportUrlin interfaceInventory.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:
getSupportUrlBytesin interfaceInventory.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:
getMoreInfoUrlsListin interfaceInventory.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:
getMoreInfoUrlsCountin interfaceInventory.WindowsUpdatePackageOrBuilder- Returns:
- The count of moreInfoUrls.
-
getMoreInfoUrls
A collection of URLs that provide more information about the update package.
repeated string more_info_urls = 5;- Specified by:
getMoreInfoUrlsin interfaceInventory.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:
getMoreInfoUrlsBytesin interfaceInventory.WindowsUpdatePackageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the moreInfoUrls at the given index.
-
getUpdateId
Gets the identifier of an update package. Stays the same across revisions.
string update_id = 6;- Specified by:
getUpdateIdin interfaceInventory.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:
getUpdateIdBytesin interfaceInventory.WindowsUpdatePackageOrBuilder- Returns:
- The bytes for updateId.
-
getRevisionNumber
public int getRevisionNumber()The revision number of this update package.
int32 revision_number = 7;- Specified by:
getRevisionNumberin interfaceInventory.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:
hasLastDeploymentChangeTimein interfaceInventory.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:
getLastDeploymentChangeTimein interfaceInventory.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:
getLastDeploymentChangeTimeOrBuilderin interfaceInventory.WindowsUpdatePackageOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static Inventory.WindowsUpdatePackage.Builder newBuilder(Inventory.WindowsUpdatePackage prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Inventory.WindowsUpdatePackage.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-