public static final class Inventory.WindowsUpdatePackage extends 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.v1.Inventory.WindowsUpdatePackage
Static Fields
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
KB_ARTICLE_IDS_FIELD_NUMBER
public static final int KB_ARTICLE_IDS_FIELD_NUMBER
Field Value
LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER
public static final int LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER
Field Value
MORE_INFO_URLS_FIELD_NUMBER
public static final int MORE_INFO_URLS_FIELD_NUMBER
Field Value
REVISION_NUMBER_FIELD_NUMBER
public static final int REVISION_NUMBER_FIELD_NUMBER
Field Value
SUPPORT_URL_FIELD_NUMBER
public static final int SUPPORT_URL_FIELD_NUMBER
Field Value
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value
UPDATE_ID_FIELD_NUMBER
public static final int UPDATE_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Inventory.WindowsUpdatePackage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Inventory.WindowsUpdatePackage.Builder newBuilder()
Returns
newBuilder(Inventory.WindowsUpdatePackage prototype)
public static Inventory.WindowsUpdatePackage.Builder newBuilder(Inventory.WindowsUpdatePackage prototype)
Parameter
Returns
public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Inventory.WindowsUpdatePackage parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Inventory.WindowsUpdatePackage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Inventory.WindowsUpdatePackage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Inventory.WindowsUpdatePackage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Inventory.WindowsUpdatePackage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Inventory.WindowsUpdatePackage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Inventory.WindowsUpdatePackage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Inventory.WindowsUpdatePackage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Inventory.WindowsUpdatePackage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Inventory.WindowsUpdatePackage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Inventory.WindowsUpdatePackage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCategories(int index)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index)
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
Parameter
Returns
getCategoriesCount()
public int getCategoriesCount()
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
Returns
getCategoriesList()
public List<Inventory.WindowsUpdatePackage.WindowsUpdateCategory> getCategoriesList()
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
Returns
getCategoriesOrBuilder(int index)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder(int index)
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
Parameter
Returns
getCategoriesOrBuilderList()
public List<? extends Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> getCategoriesOrBuilderList()
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
Returns
Type | Description |
List<? extends com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> | |
getDefaultInstanceForType()
public Inventory.WindowsUpdatePackage getDefaultInstanceForType()
Returns
getDescription()
public String getDescription()
The localized description of the update package.
string description = 2;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
The localized description of the update package.
string description = 2;
Returns
Type | Description |
ByteString | The bytes for description.
|
getKbArticleIds(int index)
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;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The kbArticleIds at the given index.
|
getKbArticleIdsBytes(int index)
public 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;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the kbArticleIds at the given index.
|
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;
Returns
Type | Description |
int | The count of kbArticleIds.
|
getKbArticleIdsList()
public ProtocolStringList getKbArticleIdsList()
A collection of Microsoft Knowledge Base article IDs that are associated
with the update package.
repeated string kb_article_ids = 4;
Returns
getLastDeploymentChangeTime()
public Timestamp getLastDeploymentChangeTime()
The last published date of the update, in (UTC) date and time.
.google.protobuf.Timestamp last_deployment_change_time = 10;
Returns
Type | Description |
Timestamp | The lastDeploymentChangeTime.
|
getLastDeploymentChangeTimeOrBuilder()
public TimestampOrBuilder getLastDeploymentChangeTimeOrBuilder()
The last published date of the update, in (UTC) date and time.
.google.protobuf.Timestamp last_deployment_change_time = 10;
Returns
getMoreInfoUrls(int index)
public String getMoreInfoUrls(int index)
A collection of URLs that provide more information about the update
package.
repeated string more_info_urls = 5;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The moreInfoUrls at the given index.
|
getMoreInfoUrlsBytes(int index)
public ByteString getMoreInfoUrlsBytes(int index)
A collection of URLs that provide more information about the update
package.
repeated string more_info_urls = 5;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the moreInfoUrls at the given index.
|
getMoreInfoUrlsCount()
public int getMoreInfoUrlsCount()
A collection of URLs that provide more information about the update
package.
repeated string more_info_urls = 5;
Returns
Type | Description |
int | The count of moreInfoUrls.
|
getMoreInfoUrlsList()
public ProtocolStringList getMoreInfoUrlsList()
A collection of URLs that provide more information about the update
package.
repeated string more_info_urls = 5;
Returns
getParserForType()
public Parser<Inventory.WindowsUpdatePackage> getParserForType()
Returns
Overrides
getRevisionNumber()
public int getRevisionNumber()
The revision number of this update package.
int32 revision_number = 7;
Returns
Type | Description |
int | The revisionNumber.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSupportUrl()
public String getSupportUrl()
A hyperlink to the language-specific support information for the update.
string support_url = 11;
Returns
Type | Description |
String | The supportUrl.
|
getSupportUrlBytes()
public ByteString getSupportUrlBytes()
A hyperlink to the language-specific support information for the update.
string support_url = 11;
Returns
Type | Description |
ByteString | The bytes for supportUrl.
|
getTitle()
The localized title of the update package.
string title = 1;
Returns
Type | Description |
String | The title.
|
getTitleBytes()
public ByteString getTitleBytes()
The localized title of the update package.
string title = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateId()
public String getUpdateId()
Gets the identifier of an update package. Stays the same across
revisions.
string update_id = 6;
Returns
Type | Description |
String | The updateId.
|
getUpdateIdBytes()
public ByteString getUpdateIdBytes()
Gets the identifier of an update package. Stays the same across
revisions.
string update_id = 6;
Returns
hasLastDeploymentChangeTime()
public boolean hasLastDeploymentChangeTime()
The last published date of the update, in (UTC) date and time.
.google.protobuf.Timestamp last_deployment_change_time = 10;
Returns
Type | Description |
boolean | Whether the lastDeploymentChangeTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Inventory.WindowsUpdatePackage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Inventory.WindowsUpdatePackage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Inventory.WindowsUpdatePackage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions