Class 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 type google.cloud.osconfig.v1.Inventory.WindowsApplication
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.WindowsApplication.Builder>
      • getDefaultInstanceForType

        public Inventory.WindowsApplication getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Inventory.WindowsApplication build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Inventory.WindowsApplication buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Inventory.WindowsApplication.Builder>
        Throws:
        IOException
      • 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.
      • 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 interface Inventory.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.
      • getPublisherBytes

        public com.google.protobuf.ByteString getPublisherBytes()
         The name of the manufacturer for the product or application.
         
        string publisher = 3;
        Specified by:
        getPublisherBytes in interface Inventory.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 interface Inventory.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 interface Inventory.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 interface Inventory.WindowsApplicationOrBuilder
      • 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.
      • 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.