Class Inventory.WindowsUpdatePackage (2.25.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
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

KB_ARTICLE_IDS_FIELD_NUMBER

public static final int KB_ARTICLE_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER

public static final int LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

MORE_INFO_URLS_FIELD_NUMBER

public static final int MORE_INFO_URLS_FIELD_NUMBER
Field Value
TypeDescription
int

REVISION_NUMBER_FIELD_NUMBER

public static final int REVISION_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORT_URL_FIELD_NUMBER

public static final int SUPPORT_URL_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_ID_FIELD_NUMBER

public static final int UPDATE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Inventory.WindowsUpdatePackage getDefaultInstance()
Returns
TypeDescription
Inventory.WindowsUpdatePackage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Inventory.WindowsUpdatePackage.Builder newBuilder()
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

newBuilder(Inventory.WindowsUpdatePackage prototype)

public static Inventory.WindowsUpdatePackage.Builder newBuilder(Inventory.WindowsUpdatePackage prototype)
Parameter
NameDescription
prototypeInventory.WindowsUpdatePackage
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

parseDelimitedFrom(InputStream input)

public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Inventory.WindowsUpdatePackage parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Inventory.WindowsUpdatePackage parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Inventory.WindowsUpdatePackage parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Inventory.WindowsUpdatePackage parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Inventory.WindowsUpdatePackage parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsUpdatePackage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsUpdatePackage
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder>

getDefaultInstanceForType()

public Inventory.WindowsUpdatePackage getDefaultInstanceForType()
Returns
TypeDescription
Inventory.WindowsUpdatePackage

getDescription()

public String getDescription()

The localized description of the update package.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The localized description of the update package.

string description = 2;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the moreInfoUrls.

getParserForType()

public Parser<Inventory.WindowsUpdatePackage> getParserForType()
Returns
TypeDescription
Parser<WindowsUpdatePackage>
Overrides

getRevisionNumber()

public int getRevisionNumber()

The revision number of this update package.

int32 revision_number = 7;

Returns
TypeDescription
int

The revisionNumber.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSupportUrl()

public String getSupportUrl()

A hyperlink to the language-specific support information for the update.

string support_url = 11;

Returns
TypeDescription
String

The supportUrl.

getSupportUrlBytes()

public ByteString getSupportUrlBytes()

A hyperlink to the language-specific support information for the update.

string support_url = 11;

Returns
TypeDescription
ByteString

The bytes for supportUrl.

getTitle()

public String getTitle()

The localized title of the update package.

string title = 1;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The localized title of the update package.

string title = 1;

Returns
TypeDescription
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
TypeDescription
String

The updateId.

getUpdateIdBytes()

public ByteString getUpdateIdBytes()

Gets the identifier of an update package. Stays the same across revisions.

string update_id = 6;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the lastDeploymentChangeTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Inventory.WindowsUpdatePackage.Builder newBuilderForType()
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Inventory.WindowsUpdatePackage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Inventory.WindowsUpdatePackage.Builder toBuilder()
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException