Class WindowsUpdate (2.13.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
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

IDENTITY_FIELD_NUMBER

public static final int IDENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

KB_ARTICLE_IDS_FIELD_NUMBER

public static final int KB_ARTICLE_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_PUBLISHED_TIMESTAMP_FIELD_NUMBER

public static final int LAST_PUBLISHED_TIMESTAMP_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORT_URL_FIELD_NUMBER

public static final int SUPPORT_URL_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WindowsUpdate getDefaultInstance()
Returns
TypeDescription
WindowsUpdate

getDescriptor()

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

newBuilder()

public static WindowsUpdate.Builder newBuilder()
Returns
TypeDescription
WindowsUpdate.Builder

newBuilder(WindowsUpdate prototype)

public static WindowsUpdate.Builder newBuilder(WindowsUpdate prototype)
Parameter
NameDescription
prototypeWindowsUpdate
Returns
TypeDescription
WindowsUpdate.Builder

parseDelimitedFrom(InputStream input)

public static WindowsUpdate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WindowsUpdate parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WindowsUpdate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WindowsUpdate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WindowsUpdate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WindowsUpdate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WindowsUpdate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsUpdate
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WindowsUpdate> parser()
Returns
TypeDescription
Parser<WindowsUpdate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WindowsUpdate.Category

getCategoriesCount()

public int getCategoriesCount()

The list of categories to which the update belongs.

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

Returns
TypeDescription
int

getCategoriesList()

public List<WindowsUpdate.Category> getCategoriesList()

The list of categories to which the update belongs.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends io.grafeas.v1.WindowsUpdate.CategoryOrBuilder>

getDefaultInstanceForType()

public WindowsUpdate getDefaultInstanceForType()
Returns
TypeDescription
WindowsUpdate

getDescription()

public String getDescription()

The localized description of the update.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The localized description of the update.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getIdentity()

public WindowsUpdate.Identity getIdentity()

Required - The unique identifier for the update.

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

Returns
TypeDescription
WindowsUpdate.Identity

The identity.

getIdentityOrBuilder()

public WindowsUpdate.IdentityOrBuilder getIdentityOrBuilder()

Required - The unique identifier for the update.

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The lastPublishedTimestamp.

getLastPublishedTimestampOrBuilder()

public TimestampOrBuilder getLastPublishedTimestampOrBuilder()

The last published timestamp of the update.

.google.protobuf.Timestamp last_published_timestamp = 7;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<WindowsUpdate> getParserForType()
Returns
TypeDescription
Parser<WindowsUpdate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSupportUrl()

public String getSupportUrl()

The hyperlink to the support information for the update.

string support_url = 6;

Returns
TypeDescription
String

The supportUrl.

getSupportUrlBytes()

public ByteString getSupportUrlBytes()

The hyperlink to the support information for the update.

string support_url = 6;

Returns
TypeDescription
ByteString

The bytes for supportUrl.

getTitle()

public String getTitle()

The localized title of the update.

string title = 2;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The localized title of the update.

string title = 2;

Returns
TypeDescription
ByteString

The bytes for title.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasIdentity()

public boolean hasIdentity()

Required - The unique identifier for the update.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the lastPublishedTimestamp field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WindowsUpdate.Builder newBuilderForType()
Returns
TypeDescription
WindowsUpdate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WindowsUpdate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WindowsUpdate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WindowsUpdate.Builder toBuilder()
Returns
TypeDescription
WindowsUpdate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException