Class Campaign.VanityPharma.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Campaign.VanityPharma.Builder>
com.google.ads.googleads.v23.resources.Campaign.VanityPharma.Builder
All Implemented Interfaces:
Campaign.VanityPharmaOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Campaign.VanityPharma

public static final class Campaign.VanityPharma.Builder extends com.google.protobuf.GeneratedMessage.Builder<Campaign.VanityPharma.Builder> implements Campaign.VanityPharmaOrBuilder
 Describes how unbranded pharma ads will be displayed.
 
Protobuf type google.ads.googleads.v23.resources.Campaign.VanityPharma
  • 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<Campaign.VanityPharma.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<Campaign.VanityPharma.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<Campaign.VanityPharma.Builder>
    • getDefaultInstanceForType

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

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

      public Campaign.VanityPharma buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Campaign.VanityPharma.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<Campaign.VanityPharma.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<Campaign.VanityPharma.Builder>
    • mergeFrom

      public Campaign.VanityPharma.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<Campaign.VanityPharma.Builder>
      Throws:
      IOException
    • getVanityPharmaDisplayUrlModeValue

      public int getVanityPharmaDisplayUrlModeValue()
       The display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1;
      Specified by:
      getVanityPharmaDisplayUrlModeValue in interface Campaign.VanityPharmaOrBuilder
      Returns:
      The enum numeric value on the wire for vanityPharmaDisplayUrlMode.
    • setVanityPharmaDisplayUrlModeValue

      public Campaign.VanityPharma.Builder setVanityPharmaDisplayUrlModeValue(int value)
       The display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1;
      Parameters:
      value - The enum numeric value on the wire for vanityPharmaDisplayUrlMode to set.
      Returns:
      This builder for chaining.
    • getVanityPharmaDisplayUrlMode

      public VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode getVanityPharmaDisplayUrlMode()
       The display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1;
      Specified by:
      getVanityPharmaDisplayUrlMode in interface Campaign.VanityPharmaOrBuilder
      Returns:
      The vanityPharmaDisplayUrlMode.
    • setVanityPharmaDisplayUrlMode

       The display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1;
      Parameters:
      value - The vanityPharmaDisplayUrlMode to set.
      Returns:
      This builder for chaining.
    • clearVanityPharmaDisplayUrlMode

      public Campaign.VanityPharma.Builder clearVanityPharmaDisplayUrlMode()
       The display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1;
      Returns:
      This builder for chaining.
    • getVanityPharmaTextValue

      public int getVanityPharmaTextValue()
       The text that will be displayed in display URL of the text ad when
       website description is the selected display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2;
      Specified by:
      getVanityPharmaTextValue in interface Campaign.VanityPharmaOrBuilder
      Returns:
      The enum numeric value on the wire for vanityPharmaText.
    • setVanityPharmaTextValue

      public Campaign.VanityPharma.Builder setVanityPharmaTextValue(int value)
       The text that will be displayed in display URL of the text ad when
       website description is the selected display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2;
      Parameters:
      value - The enum numeric value on the wire for vanityPharmaText to set.
      Returns:
      This builder for chaining.
    • getVanityPharmaText

      public VanityPharmaTextEnum.VanityPharmaText getVanityPharmaText()
       The text that will be displayed in display URL of the text ad when
       website description is the selected display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2;
      Specified by:
      getVanityPharmaText in interface Campaign.VanityPharmaOrBuilder
      Returns:
      The vanityPharmaText.
    • setVanityPharmaText

       The text that will be displayed in display URL of the text ad when
       website description is the selected display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2;
      Parameters:
      value - The vanityPharmaText to set.
      Returns:
      This builder for chaining.
    • clearVanityPharmaText

      public Campaign.VanityPharma.Builder clearVanityPharmaText()
       The text that will be displayed in display URL of the text ad when
       website description is the selected display mode for vanity pharma URLs.
       
      .google.ads.googleads.v23.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2;
      Returns:
      This builder for chaining.