Class WindowsUpdate (2.45.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

getDescriptor()

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

newBuilder()

  public 
  
 static 
  
 WindowsUpdate 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(WindowsUpdate prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
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

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

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

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

getDescription()

  public 
  
 String 
  
 getDescription 
 () 
 

The localized description of the update.

string description = 3;

Returns
Type
Description

The description.

getDescriptionBytes()

  public 
  
 ByteString 
  
 getDescriptionBytes 
 () 
 

The localized description of the update.

string description = 3;

Returns
Type
Description

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

The identity.

getIdentityOrBuilder()

  public 
  
 WindowsUpdate 
 . 
 IdentityOrBuilder 
  
 getIdentityOrBuilder 
 () 
 

Required - The unique identifier for the update.

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

Returns
Type
Description

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

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

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

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

The lastPublishedTimestamp.

getLastPublishedTimestampOrBuilder()

  public 
  
 TimestampOrBuilder 
  
 getLastPublishedTimestampOrBuilder 
 () 
 

The last published timestamp of the update.

.google.protobuf.Timestamp last_published_timestamp = 7;

Returns
Type
Description

getParserForType()

  public 
  
 Parser<WindowsUpdate> 
  
 getParserForType 
 () 
 
Returns
Type
Description
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

The supportUrl.

getSupportUrlBytes()

  public 
  
 ByteString 
  
 getSupportUrlBytes 
 () 
 

The hyperlink to the support information for the update.

string support_url = 6;

Returns
Type
Description

The bytes for supportUrl.

getTitle()

  public 
  
 String 
  
 getTitle 
 () 
 

The localized title of the update.

string title = 2;

Returns
Type
Description

The title.

getTitleBytes()

  public 
  
 ByteString 
  
 getTitleBytes 
 () 
 

The localized title of the update.

string title = 2;

Returns
Type
Description

The bytes for title.

hasIdentity()

  public 
  
 boolean 
  
 hasIdentity 
 () 
 

Required - The unique identifier for the update.

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

Returns
Type
Description

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

Whether the lastPublishedTimestamp field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 WindowsUpdate 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

  public 
  
 WindowsUpdate 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: