Class Inventory.WindowsApplication (2.56.0)

public static final class Inventory.WindowsApplication extends GeneratedMessageV3 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 Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_VERSION_FIELD_NUMBER

public static final int DISPLAY_VERSION_FIELD_NUMBER
Field Value
Type Description
int
public static final int HELP_LINK_FIELD_NUMBER
Field Value
Type Description
int

INSTALL_DATE_FIELD_NUMBER

public static final int INSTALL_DATE_FIELD_NUMBER
Field Value
Type Description
int

PUBLISHER_FIELD_NUMBER

public static final int PUBLISHER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Inventory.WindowsApplication getDefaultInstance()
Returns
Type Description
Inventory.WindowsApplication

getDescriptor()

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

newBuilder()

public static Inventory.WindowsApplication.Builder newBuilder()
Returns
Type Description
Inventory.WindowsApplication.Builder

newBuilder(Inventory.WindowsApplication prototype)

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

parseDelimitedFrom(InputStream input)

public static Inventory.WindowsApplication parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Inventory.WindowsApplication parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Inventory.WindowsApplication parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Inventory.WindowsApplication parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Inventory.WindowsApplication parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Inventory.WindowsApplication parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsApplication
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Inventory.WindowsApplication> parser()
Returns
Type Description
Parser<WindowsApplication>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

public Parser<Inventory.WindowsApplication> getParserForType()
Returns
Type Description
Parser<WindowsApplication>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Inventory.WindowsApplication.Builder newBuilderForType()
Returns
Type Description
Inventory.WindowsApplication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Inventory.WindowsApplication.Builder toBuilder()
Returns
Type Description
Inventory.WindowsApplication.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException