Class Inventory.WindowsUpdatePackage.Builder (2.11.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The kbArticleIds to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The moreInfoUrls to add.

Returns
TypeDescription
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
NameDescription
valueInventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
TypeDescription
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
NameDescription
builderForValueInventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The kbArticleIds to add.

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

The bytes of the kbArticleIds to add.

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

The moreInfoUrls to add.

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

The bytes of the moreInfoUrls to add.

Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Inventory.WindowsUpdatePackage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder
Overrides

build()

public Inventory.WindowsUpdatePackage build()
Returns
TypeDescription
Inventory.WindowsUpdatePackage

buildPartial()

public Inventory.WindowsUpdatePackage buildPartial()
Returns
TypeDescription
Inventory.WindowsUpdatePackage

clear()

public Inventory.WindowsUpdatePackage.Builder clear()
Returns
TypeDescription
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
TypeDescription
Inventory.WindowsUpdatePackage.Builder

clearDescription()

public Inventory.WindowsUpdatePackage.Builder clearDescription()

The localized description of the update package.

string description = 2;

Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Inventory.WindowsUpdatePackage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Inventory.WindowsUpdatePackage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder
Overrides

clearRevisionNumber()

public Inventory.WindowsUpdatePackage.Builder clearRevisionNumber()

The revision number of this update package.

int32 revision_number = 7;

Returns
TypeDescription
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
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clearTitle()

public Inventory.WindowsUpdatePackage.Builder clearTitle()

The localized title of the update package.

string title = 1;

Returns
TypeDescription
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
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

clone()

public Inventory.WindowsUpdatePackage.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder>

getDefaultInstanceForType()

public Inventory.WindowsUpdatePackage getDefaultInstanceForType()
Returns
TypeDescription
Inventory.WindowsUpdatePackage

getDescription()

public String getDescription()

The localized description of the update package.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The localized description of the update package.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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)

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

repeated string kb_article_ids = 4;

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

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

repeated string kb_article_ids = 4;

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the moreInfoUrls.

getRevisionNumber()

public int getRevisionNumber()

The revision number of this update package.

int32 revision_number = 7;

Returns
TypeDescription
int

The revisionNumber.

getSupportUrl()

public String getSupportUrl()

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

string support_url = 11;

Returns
TypeDescription
String

The supportUrl.

getSupportUrlBytes()

public ByteString getSupportUrlBytes()

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

string support_url = 11;

Returns
TypeDescription
ByteString

The bytes for supportUrl.

getTitle()

public String getTitle()

The localized title of the update package.

string title = 1;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The localized title of the update package.

string title = 1;

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

The updateId.

getUpdateIdBytes()

public ByteString getUpdateIdBytes()

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

string update_id = 6;

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

Whether the lastDeploymentChangeTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Inventory.WindowsUpdatePackage other)

public Inventory.WindowsUpdatePackage.Builder mergeFrom(Inventory.WindowsUpdatePackage other)
Parameter
NameDescription
otherInventory.WindowsUpdatePackage
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Inventory.WindowsUpdatePackage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Inventory.WindowsUpdatePackage.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsUpdatePackage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueInventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

setDescription(String value)

public Inventory.WindowsUpdatePackage.Builder setDescription(String value)

The localized description of the update package.

string description = 2;

Parameter
NameDescription
valueString

The description to set.

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

The bytes for description to set.

Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Inventory.WindowsUpdatePackage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The kbArticleIds to set.

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

The index to set the value at.

valueString

The moreInfoUrls to set.

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

The revisionNumber to set.

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

The supportUrl to set.

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

The bytes for supportUrl to set.

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

The title to set.

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

The bytes for title to set.

Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsUpdatePackage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The updateId to set.

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

The bytes for updateId to set.

Returns
TypeDescription
Inventory.WindowsUpdatePackage.Builder

This builder for chaining.