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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WindowsUpdate.BuilderImplements
WindowsUpdateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.WindowsUpdate.Category> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<String> The kbArticleIds to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | WindowsUpdate.Category |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | WindowsUpdate.Category.Builder |
Returns | |
---|---|
Type |