Class Inventory.WindowsApplication.Builder (2.46.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.v1alpha.Inventory.WindowsApplication

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDisplayName()

public Inventory.WindowsApplication.Builder clearDisplayName()

The name of the application or product.

string display_name = 1;

Returns
Type Description
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
Type Description
Inventory.WindowsApplication.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

The internet address for technical support.

string help_link = 5;

Returns
Type Description
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
Type Description
Inventory.WindowsApplication.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPublisher()

public Inventory.WindowsApplication.Builder clearPublisher()

The name of the manufacturer for the product or application.

string publisher = 3;

Returns
Type Description
Inventory.WindowsApplication.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The name of the application or product.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The name of the application or product.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getDisplayVersion()

public String getDisplayVersion()

The version of the product or application in string format.

string display_version = 2;

Returns
Type Description
String

The displayVersion.

getDisplayVersionBytes()

public ByteString getDisplayVersionBytes()

The version of the product or application in string format.

string display_version = 2;

Returns
Type Description
ByteString

The bytes for displayVersion.

public String getHelpLink()

The internet address for technical support.

string help_link = 5;

Returns
Type Description
String

The helpLink.

getHelpLinkBytes()

public ByteString getHelpLinkBytes()

The internet address for technical support.

string help_link = 5;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
com.google.type.DateOrBuilder

getPublisher()

public String getPublisher()

The name of the manufacturer for the product or application.

string publisher = 3;

Returns
Type Description
String

The publisher.

getPublisherBytes()

public ByteString getPublisherBytes()

The name of the manufacturer for the product or application.

string publisher = 3;

Returns
Type Description
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
Type Description
boolean

Whether the installDate 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.WindowsApplication other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Inventory.WindowsApplication.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value com.google.type.Date
Returns
Type Description
Inventory.WindowsApplication.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsApplication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
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
Name Description
value String

The displayVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayVersion to set.

Returns
Type Description
Inventory.WindowsApplication.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The internet address for technical support.

string help_link = 5;

Parameter
Name Description
value String

The helpLink to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for helpLink to set.

Returns
Type Description
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
Name Description
value com.google.type.Date
Returns
Type Description
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
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
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
Name Description
value String

The publisher to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for publisher to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Inventory.WindowsApplication.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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