Class Inventory.WindowsApplication.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
- com.google.cloud.osconfig.v1alpha.Inventory.WindowsApplication.Builder
-
- All Implemented Interfaces:
Inventory.WindowsApplicationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Inventory.WindowsApplication
public static final class Inventory.WindowsApplication.Builder extends com.google.protobuf.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 typegoogle.cloud.osconfig.v1alpha.Inventory.WindowsApplication
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Inventory.WindowsApplication.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Inventory.WindowsApplication
build()
Inventory.WindowsApplication
buildPartial()
Inventory.WindowsApplication.Builder
clear()
Inventory.WindowsApplication.Builder
clearDisplayName()
The name of the application or product.Inventory.WindowsApplication.Builder
clearDisplayVersion()
The version of the product or application in string format.Inventory.WindowsApplication.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Inventory.WindowsApplication.Builder
clearHelpLink()
The internet address for technical support.Inventory.WindowsApplication.Builder
clearInstallDate()
The last time this product received service.Inventory.WindowsApplication.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Inventory.WindowsApplication.Builder
clearPublisher()
The name of the manufacturer for the product or application.Inventory.WindowsApplication.Builder
clone()
Inventory.WindowsApplication
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
The name of the application or product.com.google.protobuf.ByteString
getDisplayNameBytes()
The name of the application or product.String
getDisplayVersion()
The version of the product or application in string format.com.google.protobuf.ByteString
getDisplayVersionBytes()
The version of the product or application in string format.String
getHelpLink()
The internet address for technical support.com.google.protobuf.ByteString
getHelpLinkBytes()
The internet address for technical support.com.google.type.Date
getInstallDate()
The last time this product received service.com.google.type.Date.Builder
getInstallDateBuilder()
The last time this product received service.com.google.type.DateOrBuilder
getInstallDateOrBuilder()
The last time this product received service.String
getPublisher()
The name of the manufacturer for the product or application.com.google.protobuf.ByteString
getPublisherBytes()
The name of the manufacturer for the product or application.boolean
hasInstallDate()
The last time this product received service.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Inventory.WindowsApplication.Builder
mergeFrom(Inventory.WindowsApplication other)
Inventory.WindowsApplication.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Inventory.WindowsApplication.Builder
mergeFrom(com.google.protobuf.Message other)
Inventory.WindowsApplication.Builder
mergeInstallDate(com.google.type.Date value)
The last time this product received service.Inventory.WindowsApplication.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Inventory.WindowsApplication.Builder
setDisplayName(String value)
The name of the application or product.Inventory.WindowsApplication.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The name of the application or product.Inventory.WindowsApplication.Builder
setDisplayVersion(String value)
The version of the product or application in string format.Inventory.WindowsApplication.Builder
setDisplayVersionBytes(com.google.protobuf.ByteString value)
The version of the product or application in string format.Inventory.WindowsApplication.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Inventory.WindowsApplication.Builder
setHelpLink(String value)
The internet address for technical support.Inventory.WindowsApplication.Builder
setHelpLinkBytes(com.google.protobuf.ByteString value)
The internet address for technical support.Inventory.WindowsApplication.Builder
setInstallDate(com.google.type.Date value)
The last time this product received service.Inventory.WindowsApplication.Builder
setInstallDate(com.google.type.Date.Builder builderForValue)
The last time this product received service.Inventory.WindowsApplication.Builder
setPublisher(String value)
The name of the manufacturer for the product or application.Inventory.WindowsApplication.Builder
setPublisherBytes(com.google.protobuf.ByteString value)
The name of the manufacturer for the product or application.Inventory.WindowsApplication.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Inventory.WindowsApplication.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
clear
public Inventory.WindowsApplication.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
getDefaultInstanceForType
public Inventory.WindowsApplication getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Inventory.WindowsApplication build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Inventory.WindowsApplication buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Inventory.WindowsApplication.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
setField
public Inventory.WindowsApplication.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
clearField
public Inventory.WindowsApplication.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
clearOneof
public Inventory.WindowsApplication.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
setRepeatedField
public Inventory.WindowsApplication.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
addRepeatedField
public Inventory.WindowsApplication.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
mergeFrom
public Inventory.WindowsApplication.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Inventory.WindowsApplication.Builder>
-
mergeFrom
public Inventory.WindowsApplication.Builder mergeFrom(Inventory.WindowsApplication other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
mergeFrom
public Inventory.WindowsApplication.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Inventory.WindowsApplication.Builder>
- Throws:
IOException
-
getDisplayName
public String getDisplayName()
The name of the application or product.
string display_name = 1;
- Specified by:
getDisplayName
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The name of the application or product.
string display_name = 1;
- Specified by:
getDisplayNameBytes
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public Inventory.WindowsApplication.Builder setDisplayName(String value)
The name of the application or product.
string display_name = 1;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Inventory.WindowsApplication.Builder clearDisplayName()
The name of the application or product.
string display_name = 1;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Inventory.WindowsApplication.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The name of the application or product.
string display_name = 1;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDisplayVersion
public String getDisplayVersion()
The version of the product or application in string format.
string display_version = 2;
- Specified by:
getDisplayVersion
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- The displayVersion.
-
getDisplayVersionBytes
public com.google.protobuf.ByteString getDisplayVersionBytes()
The version of the product or application in string format.
string display_version = 2;
- Specified by:
getDisplayVersionBytes
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- The bytes for displayVersion.
-
setDisplayVersion
public Inventory.WindowsApplication.Builder setDisplayVersion(String value)
The version of the product or application in string format.
string display_version = 2;
- Parameters:
value
- The displayVersion to set.- Returns:
- 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:
- This builder for chaining.
-
setDisplayVersionBytes
public Inventory.WindowsApplication.Builder setDisplayVersionBytes(com.google.protobuf.ByteString value)
The version of the product or application in string format.
string display_version = 2;
- Parameters:
value
- The bytes for displayVersion to set.- Returns:
- This builder for chaining.
-
getPublisher
public String getPublisher()
The name of the manufacturer for the product or application.
string publisher = 3;
- Specified by:
getPublisher
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- The publisher.
-
getPublisherBytes
public com.google.protobuf.ByteString getPublisherBytes()
The name of the manufacturer for the product or application.
string publisher = 3;
- Specified by:
getPublisherBytes
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- The bytes for publisher.
-
setPublisher
public Inventory.WindowsApplication.Builder setPublisher(String value)
The name of the manufacturer for the product or application.
string publisher = 3;
- Parameters:
value
- The publisher to set.- Returns:
- This builder for chaining.
-
clearPublisher
public Inventory.WindowsApplication.Builder clearPublisher()
The name of the manufacturer for the product or application.
string publisher = 3;
- Returns:
- This builder for chaining.
-
setPublisherBytes
public Inventory.WindowsApplication.Builder setPublisherBytes(com.google.protobuf.ByteString value)
The name of the manufacturer for the product or application.
string publisher = 3;
- Parameters:
value
- The bytes for publisher to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasInstallDate
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- Whether the installDate field is set.
-
getInstallDate
public com.google.type.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;
- Specified by:
getInstallDate
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- The installDate.
-
setInstallDate
public Inventory.WindowsApplication.Builder setInstallDate(com.google.type.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;
-
setInstallDate
public Inventory.WindowsApplication.Builder setInstallDate(com.google.type.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;
-
mergeInstallDate
public Inventory.WindowsApplication.Builder mergeInstallDate(com.google.type.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;
-
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;
-
getInstallDateBuilder
public com.google.type.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;
-
getInstallDateOrBuilder
public com.google.type.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;
- Specified by:
getInstallDateOrBuilder
in interfaceInventory.WindowsApplicationOrBuilder
-
getHelpLink
public String getHelpLink()
The internet address for technical support.
string help_link = 5;
- Specified by:
getHelpLink
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- The helpLink.
-
getHelpLinkBytes
public com.google.protobuf.ByteString getHelpLinkBytes()
The internet address for technical support.
string help_link = 5;
- Specified by:
getHelpLinkBytes
in interfaceInventory.WindowsApplicationOrBuilder
- Returns:
- The bytes for helpLink.
-
setHelpLink
public Inventory.WindowsApplication.Builder setHelpLink(String value)
The internet address for technical support.
string help_link = 5;
- Parameters:
value
- The helpLink to set.- Returns:
- This builder for chaining.
-
clearHelpLink
public Inventory.WindowsApplication.Builder clearHelpLink()
The internet address for technical support.
string help_link = 5;
- Returns:
- This builder for chaining.
-
setHelpLinkBytes
public Inventory.WindowsApplication.Builder setHelpLinkBytes(com.google.protobuf.ByteString value)
The internet address for technical support.
string help_link = 5;
- Parameters:
value
- The bytes for helpLink to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Inventory.WindowsApplication.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
mergeUnknownFields
public final Inventory.WindowsApplication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
-