Class Inventory.WindowsApplication.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.v1alpha.Inventory.WindowsApplication
  • Method Details

    • getDescriptor

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

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public Inventory.WindowsApplication.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Inventory.WindowsApplication.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • getDisplayName

      public String getDisplayName()
       The name of the application or product.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface Inventory.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 interface Inventory.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 interface Inventory.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 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.
    • getPublisher

      public String getPublisher()
       The name of the manufacturer for the product or application.
       
      string publisher = 3;
      Specified by:
      getPublisher in interface Inventory.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 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 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(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(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(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 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 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
    • getHelpLink

      public String getHelpLink()
       The internet address for technical support.
       
      string help_link = 5;
      Specified by:
      getHelpLink in interface Inventory.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 interface Inventory.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.