Class WindowsUpdate.Builder (2.37.0)

public static final class WindowsUpdate.Builder extends GeneratedMessageV3.Builder<WindowsUpdate.Builder> implements WindowsUpdateOrBuilder

Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate.

Protobuf type grafeas.v1.WindowsUpdate

Static Methods

getDescriptor()

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

Methods

addAllCategories(Iterable<? extends WindowsUpdate.Category> values)

public WindowsUpdate.Builder addAllCategories(Iterable<? extends WindowsUpdate.Category> values)

The list of categories to which the update belongs.

repeated .grafeas.v1.WindowsUpdate.Category categories = 4;

Parameter
NameDescription
valuesIterable<? extends io.grafeas.v1.WindowsUpdate.Category>
Returns
TypeDescription
WindowsUpdate.Builder

addAllKbArticleIds(Iterable<String> values)

public WindowsUpdate.Builder addAllKbArticleIds(Iterable<String> values)

The Microsoft Knowledge Base article IDs that are associated with the update.

repeated string kb_article_ids = 5;

Parameter
NameDescription
valuesIterable<String>

The kbArticleIds to add.

Returns
TypeDescription
WindowsUpdate.Builder

This builder for chaining.

addCategories(int index, WindowsUpdate.Category value)

public WindowsUpdate.Builder addCategories(int index, WindowsUpdate.Category value)

The list of categories to which the update belongs.

repeated .grafeas.v1.WindowsUpdate.Category categories = 4;

Parameters
NameDescription
indexint
valueWindowsUpdate.Category
Returns
TypeDescription
WindowsUpdate.Builder

addCategories(int index, WindowsUpdate.Category.Builder builderForValue)

public WindowsUpdate.Builder addCategories(int index, WindowsUpdate.Category.Builder builderForValue)

The list of categories to which the update belongs.

repeated .grafeas.v1.WindowsUpdate.Category categories = 4;

Parameters
NameDescription
indexint
builderForValue</