Class Inventory.WindowsUpdatePackage.Builder (2.15.0)

public static final class Inventory.WindowsUpdatePackage.Builder extends GeneratedMessageV3.Builder<Inventory.WindowsUpdatePackage.Builder> 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

Static Methods

getDescriptor()

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

Methods

addAllCategories(Iterable<? extends Inventory.WindowsUpdatePackage.WindowsUpdateCategory> values)

public Inventory.WindowsUpdatePackage.Builder addAllCategories(Iterable<? extends Inventory.WindowsUpdatePackage.WindowsUpdateCategory> values)

The categories that are associated with this update package.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory>
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

addAllKbArticleIds(Iterable<String> values)

public Inventory.WindowsUpdatePackage.Builder addAllKbArticleIds(Iterable<String> values)

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

Parameter
NameDescription
valuesIterable<String>

The kbArticleIds to add.

Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

addAllMoreInfoUrls(Iterable<String> values)

public Inventory.WindowsUpdatePackage.Builder addAllMoreInfoUrls(Iterable<String> values)

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Parameter
NameDescription
valuesIterable<String>

The moreInfoUrls to add.

Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

addCategories(Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

public Inventory.WindowsUpdatePackage.Builder addCategories(Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

The categories that are associated with this update package.

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

Parameter
NameDescription
valueInventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

addCategories(Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue)

public Inventory.WindowsUpdatePackage.Builder addCategories(Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue)

The categories that are associated with this update package.

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

Parameter
NameDescription
builderForValueInventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

addCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

public Inventory.WindowsUpdatePackage.Builder addCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

The categories that are associated with this update package.

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

Parameters
NameDescription
indexint
valueInventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

addCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue)

public Inventory.Wi