Class Inventory.WindowsUpdatePackage (2.47.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Inventory.WindowsUpdatePackage

Static Fields

CATEGORIES_FIELD_NUMBER

public static final int CATEGORIES_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

KB_ARTICLE_IDS_FIELD_NUMBER

public static final int KB_ARTICLE_IDS_FIELD_NUMBER
Field Value
Type Description
int

LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER

public static final int LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER
Field Value
Type Description
int

MORE_INFO_URLS_FIELD_NUMBER

public static final int MORE_INFO_URLS_FIELD_NUMBER
Field Value
Type Description
int

REVISION_NUMBER_FIELD_NUMBER

public static final int REVISION_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

SUPPORT_URL_FIELD_NUMBER

public static final int SUPPORT_URL_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_ID_FIELD_NUMBER

public static final int UPDATE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Inventory.WindowsUpdatePackage getDefaultInstance()
Returns
Type Description
Inventory.WindowsUpdatePackage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Inventory.WindowsUpdatePackage.Builder newBuilder()
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

newBuilder(Inventory.WindowsUpdatePackage prototype)

public static Inventory.WindowsUpdatePackage.Builder newBuilder(Inventory.WindowsUpdatePackage prototype)
Parameter
Name Description
prototype Inventory.WindowsUpdatePackage
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

parseDelimitedFrom(InputStream input)

public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Inventory.WindowsUpdatePackage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Inventory.WindowsUpdatePackage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Inventory.WindowsUpdatePackage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Inventory.WindowsUpdatePackage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Inventory.WindowsUpdatePackage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsUpdatePackage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Inventory.WindowsUpdatePackage> parser()
Returns
Type Description
Parser<WindowsUpdatePackage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Name Description
index int
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory

getCategoriesCount()

public int getCategoriesCount()

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Returns
Type Description
int

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
Type Description
List<WindowsUpdateCategory>

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
Name Description
index int
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder

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
Type Description
Inventory.WindowsUpdatePackage

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
Type Description
ProtocolStringList

A list containing the kbArticleIds.

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
Type Description
TimestampOrBuilder

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
Type Description
ProtocolStringList

A list containing the moreInfoUrls.

getParserForType()

public Parser<Inventory.WindowsUpdatePackage> getParserForType()
Returns
Type Description
Parser<WindowsUpdatePackage>
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
Type Description
int
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()

public String 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
Type Description
ByteString

The bytes for title.

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
Type Description
ByteString

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;

Returns
Type Description
boolean

Whether the lastDeploymentChangeTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Inventory.WindowsUpdatePackage.Builder newBuilderForType()
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Inventory.WindowsUpdatePackage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Inventory.WindowsUpdatePackage.Builder toBuilder()
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException