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

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_VERSION_FIELD_NUMBER

public static final int DISPLAY_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int HELP_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

INSTALL_DATE_FIELD_NUMBER

public static final int INSTALL_DATE_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLISHER_FIELD_NUMBER

public static final int PUBLISHER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Inventory.WindowsApplication getDefaultInstance()
Returns
TypeDescription
Inventory.WindowsApplication

getDescriptor()

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

newBuilder()

public static Inventory.WindowsApplication.Builder newBuilder()
Returns
TypeDescription
Inventory.WindowsApplication.Builder

newBuilder(Inventory.WindowsApplication prototype)

public static Inventory.WindowsApplication.Builder newBuilder(Inventory.WindowsApplication prototype)
Parameter
NameDescription
prototypeInventory.WindowsApplication
Returns
TypeDescription
Inventory.WindowsApplication.Builder

parseDelimitedFrom(InputStream input)

public static Inventory.WindowsApplication parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Inventory.WindowsApplication parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Inventory.WindowsApplication parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Inventory.WindowsApplication parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Inventory.WindowsApplication parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Inventory.WindowsApplication parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Inventory.WindowsApplication parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory.WindowsApplication
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the installDate field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Inventory.WindowsApplication.Builder newBuilderForType()
Returns
TypeDescription
Inventory.WindowsApplication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Inventory.WindowsApplication.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Inventory.WindowsApplication.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Inventory.WindowsApplication.Builder toBuilder()
Returns
TypeDescription
Inventory.WindowsApplication.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException