Class Inventory.WindowsUpdatePackage.Builder (2.56.0)

public static final class Inventory.WindowsUpdatePackage.Builder extends GeneratedMessageV3.Builder<Inventory.WindowsUpdatePackage.Builder> implements Inventory.WindowsUpdatePackageOrBuilder

Details related to a Windows Update package. Field data and names are taken from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/windows/win32/api/_wua/ Descriptive fields like title, and description are localized based on the locale of the VM being updated.

Protobuf type google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage

Static Methods

getDescriptor()

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

Methods

addAllCategories(Iterable<? extends Inventory.WindowsUpdatePackage.WindowsUpdateCategory> values)

public Inventory.WindowsUpdatePackage.Builder addAllCategories(Iterable<? extends Inventory.WindowsUpdatePackage.WindowsUpdateCategory> values)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory>
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

addAllKbArticleIds(Iterable<String> values)

public Inventory.WindowsUpdatePackage.Builder addAllKbArticleIds(Iterable<String> values)

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

Parameter
Name Description
values Iterable<String>

The kbArticleIds to add.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

addAllMoreInfoUrls(Iterable<String> values)

public Inventory.WindowsUpdatePackage.Builder addAllMoreInfoUrls(Iterable<String> values)

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Parameter
Name Description
values Iterable<String>

The moreInfoUrls to add.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

addCategories(Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

public Inventory.WindowsUpdatePackage.Builder addCategories(Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameter
Name Description
value Inventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

addCategories(Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue)

public Inventory.WindowsUpdatePackage.Builder addCategories(Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameter
Name Description
builderForValue Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

addCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

public Inventory.WindowsUpdatePackage.Builder addCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameters
Name Description
index int
value Inventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

addCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue)

public Inventory.WindowsUpdatePackage.Builder addCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameters
Name Description
index int
builderForValue Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

addCategoriesBuilder()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder()

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

addCategoriesBuilder(int index)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addCategoriesBuilder(int index)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameter
Name Description
index int
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

addKbArticleIds(String value)

public Inventory.WindowsUpdatePackage.Builder addKbArticleIds(String value)

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

Parameter
Name Description
value String

The kbArticleIds to add.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

addKbArticleIdsBytes(ByteString value)

public Inventory.WindowsUpdatePackage.Builder addKbArticleIdsBytes(ByteString value)

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

Parameter
Name Description
value ByteString

The bytes of the kbArticleIds to add.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

addMoreInfoUrls(String value)

public Inventory.WindowsUpdatePackage.Builder addMoreInfoUrls(String value)

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Parameter
Name Description
value String

The moreInfoUrls to add.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

addMoreInfoUrlsBytes(ByteString value)

public Inventory.WindowsUpdatePackage.Builder addMoreInfoUrlsBytes(ByteString value)

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Parameter
Name Description
value ByteString

The bytes of the moreInfoUrls to add.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Inventory.WindowsUpdatePackage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

build()

public Inventory.WindowsUpdatePackage build()
Returns
Type Description
Inventory.WindowsUpdatePackage

buildPartial()

public Inventory.WindowsUpdatePackage buildPartial()
Returns
Type Description
Inventory.WindowsUpdatePackage

clear()

public Inventory.WindowsUpdatePackage.Builder clear()
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

clearCategories()

public Inventory.WindowsUpdatePackage.Builder clearCategories()

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

clearDescription()

public Inventory.WindowsUpdatePackage.Builder clearDescription()

The localized description of the update package.

string description = 2;

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Inventory.WindowsUpdatePackage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

clearKbArticleIds()

public Inventory.WindowsUpdatePackage.Builder clearKbArticleIds()

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clearLastDeploymentChangeTime()

public Inventory.WindowsUpdatePackage.Builder clearLastDeploymentChangeTime()

The last published date of the update, in (UTC) date and time.

.google.protobuf.Timestamp last_deployment_change_time = 10;

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

clearMoreInfoUrls()

public Inventory.WindowsUpdatePackage.Builder clearMoreInfoUrls()

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Inventory.WindowsUpdatePackage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

clearRevisionNumber()

public Inventory.WindowsUpdatePackage.Builder clearRevisionNumber()

The revision number of this update package.

int32 revision_number = 7;

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clearSupportUrl()

public Inventory.WindowsUpdatePackage.Builder clearSupportUrl()

A hyperlink to the language-specific support information for the update.

string support_url = 11;

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clearTitle()

public Inventory.WindowsUpdatePackage.Builder clearTitle()

The localized title of the update package.

string title = 1;

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clearUpdateId()

public Inventory.WindowsUpdatePackage.Builder clearUpdateId()

Gets the identifier of an update package. Stays the same across revisions.

string update_id = 6;

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clone()

public Inventory.WindowsUpdatePackage.Builder clone()
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

getCategories(int index)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameter
Name Description
index int
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory

getCategoriesBuilder(int index)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder getCategoriesBuilder(int index)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameter
Name Description
index int
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

getCategoriesBuilderList()

public List<Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder> getCategoriesBuilderList()

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Returns
Type Description
List<Builder>

getCategoriesCount()

public int getCategoriesCount()

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Returns
Type Description
int

getCategoriesList()

public List<Inventory.WindowsUpdatePackage.WindowsUpdateCategory> getCategoriesList()

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Returns
Type Description
List<WindowsUpdateCategory>

getCategoriesOrBuilder(int index)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder(int index)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameter
Name Description
index int
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder

getCategoriesOrBuilderList()

public List<? extends Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> getCategoriesOrBuilderList()

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder>

getDefaultInstanceForType()

public Inventory.WindowsUpdatePackage getDefaultInstanceForType()
Returns
Type Description
Inventory.WindowsUpdatePackage

getDescription()

public String getDescription()

The localized description of the update package.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The localized description of the update package.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKbArticleIds(int index)

public String getKbArticleIds(int index)

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

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)

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

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()

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

Returns
Type Description
int

The count of kbArticleIds.

getKbArticleIdsList()

public ProtocolStringList getKbArticleIdsList()

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

Returns
Type Description
ProtocolStringList

A list containing the kbArticleIds.

getLastDeploymentChangeTime()

public Timestamp getLastDeploymentChangeTime()

The last published date of the update, in (UTC) date and time.

.google.protobuf.Timestamp last_deployment_change_time = 10;

Returns
Type Description
Timestamp

The lastDeploymentChangeTime.

getLastDeploymentChangeTimeBuilder()

public Timestamp.Builder getLastDeploymentChangeTimeBuilder()

The last published date of the update, in (UTC) date and time.

.google.protobuf.Timestamp last_deployment_change_time = 10;

Returns
Type Description
Builder

getLastDeploymentChangeTimeOrBuilder()

public TimestampOrBuilder getLastDeploymentChangeTimeOrBuilder()

The last published date of the update, in (UTC) date and time.

.google.protobuf.Timestamp last_deployment_change_time = 10;

Returns
Type Description
TimestampOrBuilder

getMoreInfoUrls(int index)

public String getMoreInfoUrls(int index)

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The moreInfoUrls at the given index.

getMoreInfoUrlsBytes(int index)

public ByteString getMoreInfoUrlsBytes(int index)

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the moreInfoUrls at the given index.

getMoreInfoUrlsCount()

public int getMoreInfoUrlsCount()

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Returns
Type Description
int

The count of moreInfoUrls.

getMoreInfoUrlsList()

public ProtocolStringList getMoreInfoUrlsList()

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Returns
Type Description
ProtocolStringList

A list containing the moreInfoUrls.

getRevisionNumber()

public int getRevisionNumber()

The revision number of this update package.

int32 revision_number = 7;

Returns
Type Description
int

The revisionNumber.

getSupportUrl()

public String getSupportUrl()

A hyperlink to the language-specific support information for the update.

string support_url = 11;

Returns
Type Description
String

The supportUrl.

getSupportUrlBytes()

public ByteString getSupportUrlBytes()

A hyperlink to the language-specific support information for the update.

string support_url = 11;

Returns
Type Description
ByteString

The bytes for supportUrl.

getTitle()

public String getTitle()

The localized title of the update package.

string title = 1;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The localized title of the update package.

string title = 1;

Returns
Type Description
ByteString

The bytes for title.

getUpdateId()

public String getUpdateId()

Gets the identifier of an update package. Stays the same across revisions.

string update_id = 6;

Returns
Type Description
String

The updateId.

getUpdateIdBytes()

public ByteString getUpdateIdBytes()

Gets the identifier of an update package. Stays the same across revisions.

string update_id = 6;

Returns
Type Description
ByteString

The bytes for updateId.

hasLastDeploymentChangeTime()

public boolean hasLastDeploymentChangeTime()

The last published date of the update, in (UTC) date and time.

.google.protobuf.Timestamp last_deployment_change_time = 10;

Returns
Type Description
boolean

Whether the lastDeploymentChangeTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Inventory.WindowsUpdatePackage other)

public Inventory.WindowsUpdatePackage.Builder mergeFrom(Inventory.WindowsUpdatePackage other)
Parameter
Name Description
other Inventory.WindowsUpdatePackage
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Inventory.WindowsUpdatePackage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Inventory.WindowsUpdatePackage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

mergeLastDeploymentChangeTime(Timestamp value)

public Inventory.WindowsUpdatePackage.Builder mergeLastDeploymentChangeTime(Timestamp value)

The last published date of the update, in (UTC) date and time.

.google.protobuf.Timestamp last_deployment_change_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsUpdatePackage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

removeCategories(int index)

public Inventory.WindowsUpdatePackage.Builder removeCategories(int index)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameter
Name Description
index int
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

setCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

public Inventory.WindowsUpdatePackage.Builder setCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory value)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameters
Name Description
index int
value Inventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

setCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue)

public Inventory.WindowsUpdatePackage.Builder setCategories(int index, Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder builderForValue)

The categories that are associated with this update package.

repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;

Parameters
Name Description
index int
builderForValue Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

setDescription(String value)

public Inventory.WindowsUpdatePackage.Builder setDescription(String value)

The localized description of the update package.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Inventory.WindowsUpdatePackage.Builder setDescriptionBytes(ByteString value)

The localized description of the update package.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Inventory.WindowsUpdatePackage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

setKbArticleIds(int index, String value)

public Inventory.WindowsUpdatePackage.Builder setKbArticleIds(int index, String value)

A collection of Microsoft Knowledge Base article IDs that are associated with the update package.

repeated string kb_article_ids = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The kbArticleIds to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setLastDeploymentChangeTime(Timestamp value)

public Inventory.WindowsUpdatePackage.Builder setLastDeploymentChangeTime(Timestamp value)

The last published date of the update, in (UTC) date and time.

.google.protobuf.Timestamp last_deployment_change_time = 10;

Parameter
Name Description
value Timestamp
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

setLastDeploymentChangeTime(Timestamp.Builder builderForValue)

public Inventory.WindowsUpdatePackage.Builder setLastDeploymentChangeTime(Timestamp.Builder builderForValue)

The last published date of the update, in (UTC) date and time.

.google.protobuf.Timestamp last_deployment_change_time = 10;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

setMoreInfoUrls(int index, String value)

public Inventory.WindowsUpdatePackage.Builder setMoreInfoUrls(int index, String value)

A collection of URLs that provide more information about the update package.

repeated string more_info_urls = 5;

Parameters
Name Description
index int

The index to set the value at.

value String

The moreInfoUrls to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Inventory.WindowsUpdatePackage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

setRevisionNumber(int value)

public Inventory.WindowsUpdatePackage.Builder setRevisionNumber(int value)

The revision number of this update package.

int32 revision_number = 7;

Parameter
Name Description
value int

The revisionNumber to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setSupportUrl(String value)

public Inventory.WindowsUpdatePackage.Builder setSupportUrl(String value)

A hyperlink to the language-specific support information for the update.

string support_url = 11;

Parameter
Name Description
value String

The supportUrl to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setSupportUrlBytes(ByteString value)

public Inventory.WindowsUpdatePackage.Builder setSupportUrlBytes(ByteString value)

A hyperlink to the language-specific support information for the update.

string support_url = 11;

Parameter
Name Description
value ByteString

The bytes for supportUrl to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setTitle(String value)

public Inventory.WindowsUpdatePackage.Builder setTitle(String value)

The localized title of the update package.

string title = 1;

Parameter
Name Description
value String

The title to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public Inventory.WindowsUpdatePackage.Builder setTitleBytes(ByteString value)

The localized title of the update package.

string title = 1;

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsUpdatePackage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Inventory.WindowsUpdatePackage.Builder
Overrides

setUpdateId(String value)

public Inventory.WindowsUpdatePackage.Builder setUpdateId(String value)

Gets the identifier of an update package. Stays the same across revisions.

string update_id = 6;

Parameter
Name Description
value String

The updateId to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setUpdateIdBytes(ByteString value)

public Inventory.WindowsUpdatePackage.Builder setUpdateIdBytes(ByteString value)

Gets the identifier of an update package. Stays the same across revisions.

string update_id = 6;

Parameter
Name Description
value ByteString

The bytes for updateId to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.