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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Inventory.WindowsApplicationbuild()Inventory.WindowsApplicationbuildPartial()Inventory.WindowsApplication.Builderclear()Inventory.WindowsApplication.BuilderclearDisplayName()The name of the application or product.Inventory.WindowsApplication.BuilderclearDisplayVersion()The version of the product or application in string format.Inventory.WindowsApplication.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Inventory.WindowsApplication.BuilderclearHelpLink()The internet address for technical support.Inventory.WindowsApplication.BuilderclearInstallDate()The last time this product received service.Inventory.WindowsApplication.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Inventory.WindowsApplication.BuilderclearPublisher()The name of the manufacturer for the product or application.Inventory.WindowsApplication.Builderclone()Inventory.WindowsApplicationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()The name of the application or product.com.google.protobuf.ByteStringgetDisplayNameBytes()The name of the application or product.StringgetDisplayVersion()The version of the product or application in string format.com.google.protobuf.ByteStringgetDisplayVersionBytes()The version of the product or application in string format.StringgetHelpLink()The internet address for technical support.com.google.protobuf.ByteStringgetHelpLinkBytes()The internet address for technical support.com.google.type.DategetInstallDate()The last time this product received service.com.google.type.Date.BuildergetInstallDateBuilder()The last time this product received service.com.google.type.DateOrBuildergetInstallDateOrBuilder()The last time this product received service.StringgetPublisher()The name of the manufacturer for the product or application.com.google.protobuf.ByteStringgetPublisherBytes()The name of the manufacturer for the product or application.booleanhasInstallDate()The last time this product received service.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Inventory.WindowsApplication.BuildermergeFrom(Inventory.WindowsApplication other)Inventory.WindowsApplication.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Inventory.WindowsApplication.BuildermergeFrom(com.google.protobuf.Message other)Inventory.WindowsApplication.BuildermergeInstallDate(com.google.type.Date value)The last time this product received service.Inventory.WindowsApplication.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Inventory.WindowsApplication.BuildersetDisplayName(String value)The name of the application or product.Inventory.WindowsApplication.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The name of the application or product.Inventory.WindowsApplication.BuildersetDisplayVersion(String value)The version of the product or application in string format.Inventory.WindowsApplication.BuildersetDisplayVersionBytes(com.google.protobuf.ByteString value)The version of the product or application in string format.Inventory.WindowsApplication.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Inventory.WindowsApplication.BuildersetHelpLink(String value)The internet address for technical support.Inventory.WindowsApplication.BuildersetHelpLinkBytes(com.google.protobuf.ByteString value)The internet address for technical support.Inventory.WindowsApplication.BuildersetInstallDate(com.google.type.Date value)The last time this product received service.Inventory.WindowsApplication.BuildersetInstallDate(com.google.type.Date.Builder builderForValue)The last time this product received service.Inventory.WindowsApplication.BuildersetPublisher(String value)The name of the manufacturer for the product or application.Inventory.WindowsApplication.BuildersetPublisherBytes(com.google.protobuf.ByteString value)The name of the manufacturer for the product or application.Inventory.WindowsApplication.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Inventory.WindowsApplication.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
clear
public Inventory.WindowsApplication.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
getDefaultInstanceForType
public Inventory.WindowsApplication getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Inventory.WindowsApplication build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Inventory.WindowsApplication buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Inventory.WindowsApplication.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
setField
public Inventory.WindowsApplication.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
clearField
public Inventory.WindowsApplication.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
clearOneof
public Inventory.WindowsApplication.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
addRepeatedField
public Inventory.WindowsApplication.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
mergeFrom
public Inventory.WindowsApplication.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Inventory.WindowsApplication.Builder>
-
mergeFrom
public Inventory.WindowsApplication.Builder mergeFrom(Inventory.WindowsApplication other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getDisplayNamein 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:
getDisplayNameBytesin 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:
getDisplayVersionin 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:
getDisplayVersionBytesin 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:
getPublisherin 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:
getPublisherBytesin 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:
hasInstallDatein 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:
getInstallDatein 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:
getInstallDateOrBuilderin interfaceInventory.WindowsApplicationOrBuilder
-
getHelpLink
public String getHelpLink()
The internet address for technical support.
string help_link = 5;- Specified by:
getHelpLinkin interfaceInventory.WindowsApplicationOrBuilder- Returns:
- The helpLink.
-
getHelpLinkBytes
public com.google.protobuf.ByteString getHelpLinkBytes()
The internet address for technical support.
string help_link = 5;- Specified by:
getHelpLinkBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
mergeUnknownFields
public final Inventory.WindowsApplication.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
-
-