Class Campaign.VanityPharma

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.Campaign.VanityPharma
All Implemented Interfaces:
Campaign.VanityPharmaOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Campaign

public static final class Campaign.VanityPharma extends com.google.protobuf.GeneratedMessageV3 implements Campaign.VanityPharmaOrBuilder
 Describes how unbranded pharma ads will be displayed.
 
Protobuf type google.ads.googleads.v18.resources.Campaign.VanityPharma
See Also:
  • Field Details

    • VANITY_PHARMA_DISPLAY_URL_MODE_FIELD_NUMBER

      public static final int VANITY_PHARMA_DISPLAY_URL_MODE_FIELD_NUMBER
      See Also:
    • VANITY_PHARMA_TEXT_FIELD_NUMBER

      public static final int VANITY_PHARMA_TEXT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getVanityPharmaDisplayUrlModeValue

      public int getVanityPharmaDisplayUrlModeValue()
       The display mode for vanity pharma URLs.
       
      .google.ads.googleads.v18.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.
    • getVanityPharmaDisplayUrlMode

      public VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode getVanityPharmaDisplayUrlMode()
       The display mode for vanity pharma URLs.
       
      .google.ads.googleads.v18.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1;
      Specified by:
      getVanityPharmaDisplayUrlMode in interface Campaign.VanityPharmaOrBuilder
      Returns:
      The vanityPharmaDisplayUrlMode.
    • 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.v18.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2;
      Specified by:
      getVanityPharmaTextValue in interface Campaign.VanityPharmaOrBuilder
      Returns:
      The enum numeric value on the wire for vanityPharmaText.
    • 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.v18.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2;
      Specified by:
      getVanityPharmaText in interface Campaign.VanityPharmaOrBuilder
      Returns:
      The vanityPharmaText.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Campaign.VanityPharma parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.VanityPharma parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.VanityPharma parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.VanityPharma parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.VanityPharma parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.VanityPharma parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Campaign.VanityPharma parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Campaign.VanityPharma parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Campaign.VanityPharma parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Campaign.VanityPharma parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Campaign.VanityPharma parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Campaign.VanityPharma parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Campaign.VanityPharma.Builder newBuilder()
    • newBuilder

      public static Campaign.VanityPharma.Builder newBuilder(Campaign.VanityPharma prototype)
    • toBuilder

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

      protected Campaign.VanityPharma.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Campaign.VanityPharma getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Campaign.VanityPharma> parser()
    • getParserForType

      public com.google.protobuf.Parser<Campaign.VanityPharma> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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