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()
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;
Name | Description |
values | Iterable<? extends io.grafeas.v1.WindowsUpdate.Category> |
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;
Name | Description |
values | Iterable<String> The kbArticleIds to add. |
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;
Name | Description |
index | int |
value | WindowsUpdate.Category |
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;
Name | Description |
index | int |
builderForValue | WindowsUpdate.Category.Builder |
Type | Description |
WindowsUpdate.Builder |
addCategories(WindowsUpdate.Category value)
public WindowsUpdate.Builder addCategories(WindowsUpdate.Category value)
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Name | Description |
value | WindowsUpdate.Category |
Type | Description |
WindowsUpdate.Builder |
addCategories(WindowsUpdate.Category.Builder builderForValue)
public WindowsUpdate.Builder addCategories(WindowsUpdate.Category.Builder builderForValue)
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Name | Description |
builderForValue | WindowsUpdate.Category.Builder |
Type | Description |
WindowsUpdate.Builder |
addCategoriesBuilder()
public WindowsUpdate.Category.Builder addCategoriesBuilder()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Type | Description |
WindowsUpdate.Category.Builder |
addCategoriesBuilder(int index)
public WindowsUpdate.Category.Builder addCategoriesBuilder(int index)
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Name | Description |
index | int |
Type | Description |
WindowsUpdate.Category.Builder |
addKbArticleIds(String value)
public WindowsUpdate.Builder addKbArticleIds(String value)
The Microsoft Knowledge Base article IDs that are associated with the update.
repeated string kb_article_ids = 5;
Name | Description |
value | String The kbArticleIds to add. |
Type | Description |
WindowsUpdate.Builder | This builder for chaining. |
addKbArticleIdsBytes(ByteString value)
public WindowsUpdate.Builder addKbArticleIdsBytes(ByteString value)
The Microsoft Knowledge Base article IDs that are associated with the update.
repeated string kb_article_ids = 5;
Name | Description |
value | ByteString The bytes of the kbArticleIds to add. |
Type | Description |
WindowsUpdate.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WindowsUpdate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WindowsUpdate.Builder |
build()
public WindowsUpdate build()
Type | Description |
WindowsUpdate |
buildPartial()
public WindowsUpdate buildPartial()
Type | Description |
WindowsUpdate |
clear()
public WindowsUpdate.Builder clear()
Type | Description |
WindowsUpdate.Builder |
clearCategories()
public WindowsUpdate.Builder clearCategories()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Type | Description |
WindowsUpdate.Builder |
clearDescription()
public WindowsUpdate.Builder clearDescription()
The localized description of the update.
string description = 3;
Type | Description |
WindowsUpdate.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public WindowsUpdate.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
WindowsUpdate.Builder |
clearIdentity()
public WindowsUpdate.Builder clearIdentity()
Required - The unique identifier for the update.
.grafeas.v1.WindowsUpdate.Identity identity = 1;
Type | Description |
WindowsUpdate.Builder |
clearKbArticleIds()
public WindowsUpdate.Builder clearKbArticleIds()
The Microsoft Knowledge Base article IDs that are associated with the update.
repeated string kb_article_ids = 5;
Type | Description |
WindowsUpdate.Builder | This builder for chaining. |
clearLastPublishedTimestamp()
public WindowsUpdate.Builder clearLastPublishedTimestamp()
The last published timestamp of the update.
.google.protobuf.Timestamp last_published_timestamp = 7;
Type | Description |
WindowsUpdate.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public WindowsUpdate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
WindowsUpdate.Builder |
clearSupportUrl()
public WindowsUpdate.Builder clearSupportUrl()
The hyperlink to the support information for the update.
string support_url = 6;
Type | Description |
WindowsUpdate.Builder | This builder for chaining. |
clearTitle()
public WindowsUpdate.Builder clearTitle()
The localized title of the update.
string title = 2;
Type | Description |
WindowsUpdate.Builder | This builder for chaining. |
clone()
public WindowsUpdate.Builder clone()
Type | Description |
WindowsUpdate.Builder |
getCategories(int index)
public WindowsUpdate.Category getCategories(int index)
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Name | Description |
index | int |
Type | Description |
WindowsUpdate.Category |
getCategoriesBuilder(int index)
public WindowsUpdate.Category.Builder getCategoriesBuilder(int index)
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Name | Description |
index | int |
Type | Description |
WindowsUpdate.Category.Builder |
getCategoriesBuilderList()
public List<WindowsUpdate.Category.Builder> getCategoriesBuilderList()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Type | Description |
List<Builder> |
getCategoriesCount()
public int getCategoriesCount()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Type | Description |
int |
getCategoriesList()
public List<WindowsUpdate.Category> getCategoriesList()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Type | Description |
List<Category> |
getCategoriesOrBuilder(int index)
public WindowsUpdate.CategoryOrBuilder getCategoriesOrBuilder(int index)
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Name | Description |
index | int |
Type | Description |
WindowsUpdate.CategoryOrBuilder |
getCategoriesOrBuilderList()
public List<? extends WindowsUpdate.CategoryOrBuilder> getCategoriesOrBuilderList()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
Type | Description |
List<? extends io.grafeas.v1.WindowsUpdate.CategoryOrBuilder> |
getDefaultInstanceForType()
public WindowsUpdate getDefaultInstanceForType()
Type | Description |
WindowsUpdate |
getDescription()
public String getDescription()
The localized description of the update.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The localized description of the update.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()