Class Inventory.WindowsApplication.Builder (2.10.0)

public static final class Inventory.WindowsApplication.Builder extends GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder> implements Inventory.WindowsApplicationOrBuilder

Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see: https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key

Protobuf type google.cloud.osconfig.v1.Inventory.WindowsApplication

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public Inventory.WindowsApplication.Builder clear()
Returns
TypeDescription
Inventory.WindowsApplication.Builder
Overrides

clearDisplayName()

public Inventory.WindowsApplication.Builder clearDisplayName()

The name of the application or product.

string display_name = 1;

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

clearDisplayVersion()

public Inventory.WindowsApplication.Builder clearDisplayVersion()

The version of the product or application in string format.

string display_version = 2;

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Inventory.WindowsApplication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Inventory.WindowsApplication.Builder
Overrides
public Inventory.WindowsApplication.Builder clearHelpLink()

The internet address for technical support.

string help_link = 5;

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

clearInstallDate()

public Inventory.WindowsApplication.Builder clearInstallDate()

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

.google.type.Date install_date = 4;

Returns
TypeDescription
Inventory.WindowsApplication.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPublisher()

public Inventory.WindowsApplication.Builder clearPublisher()

The name of the manufacturer for the product or application.

string publisher = 3;

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

clone()

public Inventory.WindowsApplication.Builder clone()
Returns
TypeDescription
Inventory.WindowsApplication.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The name of the application or product.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The name of the application or product.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getDisplayVersion()

public String getDisplayVersion()

The version of the product or application in string format.

string display_version = 2;

Returns
TypeDescription
String

The displayVersion.

getDisplayVersionBytes()

public ByteString getDisplayVersionBytes()

The version of the product or application in string format.

string display_version = 2;

Returns
TypeDescription
ByteString

The bytes for displayVersion.

public String getHelpLink()

The internet address for technical support.

string help_link = 5;

Returns
TypeDescription
String

The helpLink.

getHelpLinkBytes()

public ByteString getHelpLinkBytes()

The internet address for technical support.

string help_link = 5;

Returns
TypeDescription
ByteString

The bytes for helpLink.

getInstallDate()

public Date getInstallDate()

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

.google.type.Date install_date = 4;

Returns
TypeDescription
com.google.type.Date

The installDate.

getInstallDateBuilder()

public Date.Builder getInstallDateBuilder()

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

.google.type.Date install_date = 4;

Returns
TypeDescription
com.google.type.Date.Builder

getInstallDateOrBuilder()

public DateOrBuilder getInstallDateOrBuilder()

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

.google.type.Date install_date = 4;

Returns
TypeDescription
com.google.type.DateOrBuilder

getPublisher()

public String getPublisher()

The name of the manufacturer for the product or application.

string publisher = 3;

Returns
TypeDescription
String

The publisher.

getPublisherBytes()

public ByteString getPublisherBytes()

The name of the manufacturer for the product or application.

string publisher = 3;

Returns
TypeDescription
ByteString

The bytes for publisher.

hasInstallDate()

public boolean hasInstallDate()

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

.google.type.Date install_date = 4;

Returns
TypeDescription
boolean

Whether the installDate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Inventory.WindowsApplication other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Inventory.WindowsApplication.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Inventory.WindowsApplication.Builder
Overrides

mergeInstallDate(Date value)

public Inventory.WindowsApplication.Builder mergeInstallDate(Date value)

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

.google.type.Date install_date = 4;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Inventory.WindowsApplication.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsApplication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Inventory.WindowsApplication.Builder
Overrides

setDisplayName(String value)

public Inventory.WindowsApplication.Builder setDisplayName(String value)

The name of the application or product.

string display_name = 1;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Inventory.WindowsApplication.Builder setDisplayNameBytes(ByteString value)

The name of the application or product.

string display_name = 1;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

setDisplayVersion(String value)

public Inventory.WindowsApplication.Builder setDisplayVersion(String value)

The version of the product or application in string format.

string display_version = 2;

Parameter
NameDescription
valueString

The displayVersion to set.

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

setDisplayVersionBytes(ByteString value)

public Inventory.WindowsApplication.Builder setDisplayVersionBytes(ByteString value)

The version of the product or application in string format.

string display_version = 2;

Parameter
NameDescription
valueByteString

The bytes for displayVersion to set.

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Inventory.WindowsApplication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Inventory.WindowsApplication.Builder
Overrides
public Inventory.WindowsApplication.Builder setHelpLink(String value)

The internet address for technical support.

string help_link = 5;

Parameter
NameDescription
valueString

The helpLink to set.

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

setHelpLinkBytes(ByteString value)

public Inventory.WindowsApplication.Builder setHelpLinkBytes(ByteString value)

The internet address for technical support.

string help_link = 5;

Parameter
NameDescription
valueByteString

The bytes for helpLink to set.

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

setInstallDate(Date value)

public Inventory.WindowsApplication.Builder setInstallDate(Date value)

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

.google.type.Date install_date = 4;

Parameter
NameDescription
valuecom.google.type.Date
Returns
TypeDescription
Inventory.WindowsApplication.Builder

setInstallDate(Date.Builder builderForValue)

public Inventory.WindowsApplication.Builder setInstallDate(Date.Builder builderForValue)

The last time this product received service. The value of this property is replaced each time a patch is applied or removed from the product or the command-line option is used to repair the product.

.google.type.Date install_date = 4;

Parameter
NameDescription
builderForValuecom.google.type.Date.Builder
Returns
TypeDescription
Inventory.WindowsApplication.Builder

setPublisher(String value)

public Inventory.WindowsApplication.Builder setPublisher(String value)

The name of the manufacturer for the product or application.

string publisher = 3;

Parameter
NameDescription
valueString

The publisher to set.

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

setPublisherBytes(ByteString value)

public Inventory.WindowsApplication.Builder setPublisherBytes(ByteString value)

The name of the manufacturer for the product or application.

string publisher = 3;

Parameter
NameDescription
valueByteString

The bytes for publisher to set.

Returns
TypeDescription
Inventory.WindowsApplication.Builder

This builder for chaining.

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

public Inventory.WindowsApplication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Inventory.WindowsApplication.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsApplication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Inventory.WindowsApplication.Builder
Overrides