Class WindowsUpdate (2.52.0)

public final class WindowsUpdate extends GeneratedMessageV3 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 Fields

CATEGORIES_FIELD_NUMBER

public static final int CATEGORIES_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

IDENTITY_FIELD_NUMBER

public static final int IDENTITY_FIELD_NUMBER
Field Value
Type Description
int

KB_ARTICLE_IDS_FIELD_NUMBER

public static final int KB_ARTICLE_IDS_FIELD_NUMBER
Field Value
Type Description
int

LAST_PUBLISHED_TIMESTAMP_FIELD_NUMBER

public static final int LAST_PUBLISHED_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

SUPPORT_URL_FIELD_NUMBER

public static final int SUPPORT_URL_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WindowsUpdate getDefaultInstance()
Returns
Type Description
WindowsUpdate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WindowsUpdate.Builder newBuilder()
Returns
Type Description
WindowsUpdate.Builder

newBuilder(WindowsUpdate prototype)

public static WindowsUpdate.Builder newBuilder(WindowsUpdate prototype)
Parameter
Name Description
prototype WindowsUpdate
Returns
Type Description
WindowsUpdate.Builder

parseDelimitedFrom(InputStream input)

public static WindowsUpdate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WindowsUpdate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WindowsUpdate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WindowsUpdate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WindowsUpdate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WindowsUpdate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WindowsUpdate> parser()
Returns
Type Description
Parser<WindowsUpdate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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;

Parameter
Name Description
index int
Returns
Type Description
WindowsUpdate.Category

getCategoriesCount()

public int getCategoriesCount()

The list of categories to which the update belongs.

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

Returns
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;

Returns
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;

Parameter
Name Description
index int
Returns
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;

Returns
Type Description
List<? extends io.grafeas.v1.WindowsUpdate.CategoryOrBuilder>

getDefaultInstanceForType()

public WindowsUpdate getDefaultInstanceForType()
Returns
Type Description
WindowsUpdate

getDescription()

public String getDescription()

The localized description of the update.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The localized description of the update.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getIdentity()

public WindowsUpdate.Identity getIdentity()

Required - The unique identifier for the update.

.grafeas.v1.WindowsUpdate.Identity identity = 1;

Returns
Type Description
WindowsUpdate.Identity

The identity.

getIdentityOrBuilder()

public WindowsUpdate.IdentityOrBuilder getIdentityOrBuilder()

Required - The unique identifier for the update.

.grafeas.v1.WindowsUpdate.Identity identity = 1;

Returns
Type Description
WindowsUpdate.IdentityOrBuilder

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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The kbArticleIds at the given index.

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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the kbArticleIds at the given index.

getKbArticleIdsCount()

public int getKbArticleIdsCount()

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

repeated string kb_article_ids = 5;

Returns
Type Description
int

The count of kbArticleIds.

getKbArticleIdsList()

public ProtocolStringList getKbArticleIdsList()

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

repeated string kb_article_ids = 5;

Returns
Type Description
ProtocolStringList

A list containing the kbArticleIds.

getLastPublishedTimestamp()

public Timestamp getLastPublishedTimestamp()

The last published timestamp of the update.

.google.protobuf.Timestamp last_published_timestamp = 7;

Returns
Type Description
Timestamp

The lastPublishedTimestamp.

getLastPublishedTimestampOrBuilder()

public TimestampOrBuilder getLastPublishedTimestampOrBuilder()

The last published timestamp of the update.

.google.protobuf.Timestamp last_published_timestamp = 7;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<WindowsUpdate> getParserForType()
Returns
Type Description
Parser<WindowsUpdate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSupportUrl()

public String getSupportUrl()

The hyperlink to the support information for the update.

string support_url = 6;

Returns
Type Description
String

The supportUrl.

getSupportUrlBytes()

public ByteString getSupportUrlBytes()

The hyperlink to the support information for the update.

string support_url = 6;

Returns
Type Description
ByteString

The bytes for supportUrl.

getTitle()

public String getTitle()

The localized title of the update.

string title = 2;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The localized title of the update.

string title = 2;

Returns
Type Description
ByteString

The bytes for title.

hasIdentity()

public boolean hasIdentity()

Required - The unique identifier for the update.

.grafeas.v1.WindowsUpdate.Identity identity = 1;

Returns
Type Description
boolean

Whether the identity field is set.

hasLastPublishedTimestamp()

public boolean hasLastPublishedTimestamp()

The last published timestamp of the update.

.google.protobuf.Timestamp last_published_timestamp = 7;

Returns
Type Description
boolean

Whether the lastPublishedTimestamp field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WindowsUpdate.Builder newBuilderForType()
Returns
Type Description
WindowsUpdate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WindowsUpdate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WindowsUpdate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WindowsUpdate.Builder toBuilder()
Returns
Type Description
WindowsUpdate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException