public
static
final
class
WindowsUpdate
.
Builder
extends
GeneratedMessage
.
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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WindowsUpdate.BuilderImplements
WindowsUpdateOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
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;
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;
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;
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;
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;
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;
addCategoriesBuilder()
public
WindowsUpdate
.
Category
.
Builder
addCategoriesBuilder
()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
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;
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;
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;
build()
public
WindowsUpdate
build
()
buildPartial()
public
WindowsUpdate
buildPartial
()
clear()
public
WindowsUpdate
.
Builder
clear
()
clearCategories()
public
WindowsUpdate
.
Builder
clearCategories
()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
clearDescription()
public
WindowsUpdate
.
Builder
clearDescription
()
The localized description of the update.
string description = 3;
clearIdentity()
public
WindowsUpdate
.
Builder
clearIdentity
()
Required - The unique identifier for the update.
.grafeas.v1.WindowsUpdate.Identity identity = 1;
clearKbArticleIds()
public
WindowsUpdate
.
Builder
clearKbArticleIds
()
The Microsoft Knowledge Base article IDs that are associated with the update.
repeated string kb_article_ids = 5;
clearLastPublishedTimestamp()
public
WindowsUpdate
.
Builder
clearLastPublishedTimestamp
()
The last published timestamp of the update.
.google.protobuf.Timestamp last_published_timestamp = 7;
clearSupportUrl()
public
WindowsUpdate
.
Builder
clearSupportUrl
()
The hyperlink to the support information for the update.
string support_url = 6;
clearTitle()
public
WindowsUpdate
.
Builder
clearTitle
()
The localized title of the update.
string title = 2;
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;
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;
getCategoriesBuilderList()
public
List<WindowsUpdate
.
Category
.
Builder
>
getCategoriesBuilderList
()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
getCategoriesCount()
public
int
getCategoriesCount
()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
getCategoriesList()
public
List<WindowsUpdate
.
Category
>
getCategoriesList
()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
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;
getCategoriesOrBuilderList()
public
List
< ?
extends
WindowsUpdate
.
CategoryOrBuilder
>
getCategoriesOrBuilderList
()
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
getDefaultInstanceForType()
public
WindowsUpdate
getDefaultInstanceForType
()
getDescription()
public
String
getDescription
()
The localized description of the update.
string description = 3;
getDescriptionBytes()
public
ByteString
getDescriptionBytes
()
The localized description of the update.
string description = 3;
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getIdentity()
public
WindowsUpdate
.
Identity
getIdentity
()
Required - The unique identifier for the update.
.grafeas.v1.WindowsUpdate.Identity identity = 1;
getIdentityBuilder()
public
WindowsUpdate
.
Identity
.
Builder
getIdentityBuilder
()
Required - The unique identifier for the update.
.grafeas.v1.WindowsUpdate.Identity identity = 1;
getIdentityOrBuilder()
public
WindowsUpdate
.
IdentityOrBuilder
getIdentityOrBuilder
()
Required - The unique identifier for the update.
.grafeas.v1.WindowsUpdate.Identity identity = 1;
getKbArticleIds(int index)
public
String
getKbArticleIds
(
int
index
)
The Microsoft Knowledge Base article IDs that are associated with the update.
repeated string kb_article_ids = 5;
getKbArticleIdsBytes(int index)
public
ByteString
getKbArticleIdsBytes
(
int
index
)
The Microsoft Knowledge Base article IDs that are associated with the update.
repeated string kb_article_ids = 5;
getKbArticleIdsCount()
public
int
getKbArticleIdsCount
()
The Microsoft Knowledge Base article IDs that are associated with the update.
repeated string kb_article_ids = 5;
getKbArticleIdsList()
public
ProtocolStringList
getKbArticleIdsList
()
The Microsoft Knowledge Base article IDs that are associated with the update.
repeated string kb_article_ids = 5;
getLastPublishedTimestamp()
public
Timestamp
getLastPublishedTimestamp
()
The last published timestamp of the update.
.google.protobuf.Timestamp last_published_timestamp = 7;
getLastPublishedTimestampBuilder()
public
Timestamp
.
Builder
getLastPublishedTimestampBuilder
()
The last published timestamp of the update.
.google.protobuf.Timestamp last_published_timestamp = 7;
getLastPublishedTimestampOrBuilder()
public
TimestampOrBuilder
getLastPublishedTimestampOrBuilder
()
The last published timestamp of the update.
.google.protobuf.Timestamp last_published_timestamp = 7;
getSupportUrl()
public
String
getSupportUrl
()
The hyperlink to the support information for the update.
string support_url = 6;
getSupportUrlBytes()
public
ByteString
getSupportUrlBytes
()
The hyperlink to the support information for the update.
string support_url = 6;
getTitle()
public
String
getTitle
()
The localized title of the update.
string title = 2;
getTitleBytes()
public
ByteString
getTitleBytes
()
The localized title of the update.
string title = 2;
hasIdentity()
public
boolean
hasIdentity
()
Required - The unique identifier for the update.
.grafeas.v1.WindowsUpdate.Identity identity = 1;
hasLastPublishedTimestamp()
public
boolean
hasLastPublishedTimestamp
()
The last published timestamp of the update.
.google.protobuf.Timestamp last_published_timestamp = 7;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
WindowsUpdate
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
WindowsUpdate
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(WindowsUpdate other)
public
WindowsUpdate
.
Builder
mergeFrom
(
WindowsUpdate
other
)
mergeIdentity(WindowsUpdate.Identity value)
public
WindowsUpdate
.
Builder
mergeIdentity
(
WindowsUpdate
.
Identity
value
)
Required - The unique identifier for the update.
.grafeas.v1.WindowsUpdate.Identity identity = 1;
mergeLastPublishedTimestamp(Timestamp value)
public
WindowsUpdate
.
Builder
mergeLastPublishedTimestamp
(
Timestamp
value
)
The last published timestamp of the update.
.google.protobuf.Timestamp last_published_timestamp = 7;
removeCategories(int index)
public
WindowsUpdate
.
Builder
removeCategories
(
int
index
)
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
setCategories(int index, WindowsUpdate.Category value)
public
WindowsUpdate
.
Builder
setCategories
(
int
index
,
WindowsUpdate
.
Category
value
)
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
setCategories(int index, WindowsUpdate.Category.Builder builderForValue)
public
WindowsUpdate
.
Builder
setCategories
(
int
index
,
WindowsUpdate
.
Category
.
Builder
builderForValue
)
The list of categories to which the update belongs.
repeated .grafeas.v1.WindowsUpdate.Category categories = 4;
setDescription(String value)
public
WindowsUpdate
.
Builder
setDescription
(
String
value
)
The localized description of the update.
string description = 3;
setDescriptionBytes(ByteString value)
public
WindowsUpdate
.
Builder
setDescriptionBytes
(
ByteString
value
)
The localized description of the update.
string description = 3;
setIdentity(WindowsUpdate.Identity value)
public
WindowsUpdate
.
Builder
setIdentity
(
WindowsUpdate
.
Identity
value
)
Required - The unique identifier for the update.
.grafeas.v1.WindowsUpdate.Identity identity = 1;
setIdentity(WindowsUpdate.Identity.Builder builderForValue)
public
WindowsUpdate
.
Builder
setIdentity
(
WindowsUpdate
.
Identity
.
Builder
builderForValue
)
Required - The unique identifier for the update.
.grafeas.v1.WindowsUpdate.Identity identity = 1;
setKbArticleIds(int index, String value)
public
WindowsUpdate
.
Builder
setKbArticleIds
(
int
index
,
String
value
)
The Microsoft Knowledge Base article IDs that are associated with the update.
repeated string kb_article_ids = 5;
setLastPublishedTimestamp(Timestamp value)
public
WindowsUpdate
.
Builder
setLastPublishedTimestamp
(
Timestamp
value
)
The last published timestamp of the update.
.google.protobuf.Timestamp last_published_timestamp = 7;
setLastPublishedTimestamp(Timestamp.Builder builderForValue)
public
WindowsUpdate
.
Builder
setLastPublishedTimestamp
(
Timestamp
.
Builder
builderForValue
)
The last published timestamp of the update.
.google.protobuf.Timestamp last_published_timestamp = 7;
setSupportUrl(String value)
public
WindowsUpdate
.
Builder
setSupportUrl
(
String
value
)
The hyperlink to the support information for the update.
string support_url = 6;
setSupportUrlBytes(ByteString value)
public
WindowsUpdate
.
Builder
setSupportUrlBytes
(
ByteString
value
)
The hyperlink to the support information for the update.
string support_url = 6;
setTitle(String value)
public
WindowsUpdate
.
Builder
setTitle
(
String
value
)
The localized title of the update.
string title = 2;
setTitleBytes(ByteString value)
public
WindowsUpdate
.
Builder
setTitleBytes
(
ByteString
value
)
The localized title of the update.
string title = 2;

