Class Campaign.DynamicSearchAdsSetting

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting
All Implemented Interfaces:
Campaign.DynamicSearchAdsSettingOrBuilder, 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.DynamicSearchAdsSetting extends com.google.protobuf.GeneratedMessageV3 implements Campaign.DynamicSearchAdsSettingOrBuilder
 The setting for controlling Dynamic Search Ads (DSA).
 
Protobuf type google.ads.googleads.v18.resources.Campaign.DynamicSearchAdsSetting
See Also:
  • Field Details

    • DOMAIN_NAME_FIELD_NUMBER

      public static final int DOMAIN_NAME_FIELD_NUMBER
      See Also:
    • LANGUAGE_CODE_FIELD_NUMBER

      public static final int LANGUAGE_CODE_FIELD_NUMBER
      See Also:
    • USE_SUPPLIED_URLS_ONLY_FIELD_NUMBER

      public static final int USE_SUPPLIED_URLS_ONLY_FIELD_NUMBER
      See Also:
    • FEEDS_FIELD_NUMBER

      public static final int FEEDS_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
    • getDomainName

      public String getDomainName()
       Required. The Internet domain name that this setting represents, for
       example, "google.com" or "www.google.com".
       
      string domain_name = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDomainName in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Returns:
      The domainName.
    • getDomainNameBytes

      public com.google.protobuf.ByteString getDomainNameBytes()
       Required. The Internet domain name that this setting represents, for
       example, "google.com" or "www.google.com".
       
      string domain_name = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDomainNameBytes in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Returns:
      The bytes for domainName.
    • getLanguageCode

      public String getLanguageCode()
       Required. The language code specifying the language of the domain, for
       example, "en".
       
      string language_code = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLanguageCode in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       Required. The language code specifying the language of the domain, for
       example, "en".
       
      string language_code = 7 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLanguageCodeBytes in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Returns:
      The bytes for languageCode.
    • hasUseSuppliedUrlsOnly

      public boolean hasUseSuppliedUrlsOnly()
       Whether the campaign uses advertiser supplied URLs exclusively.
       
      optional bool use_supplied_urls_only = 8;
      Specified by:
      hasUseSuppliedUrlsOnly in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Returns:
      Whether the useSuppliedUrlsOnly field is set.
    • getUseSuppliedUrlsOnly

      public boolean getUseSuppliedUrlsOnly()
       Whether the campaign uses advertiser supplied URLs exclusively.
       
      optional bool use_supplied_urls_only = 8;
      Specified by:
      getUseSuppliedUrlsOnly in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Returns:
      The useSuppliedUrlsOnly.
    • getFeedsList

      public com.google.protobuf.ProtocolStringList getFeedsList()
       The list of resource names of page feed assets associated with the
       campaign.
       
      repeated string feeds = 9 [(.google.api.resource_reference) = { ... }
      Specified by:
      getFeedsList in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Returns:
      A list containing the feeds.
    • getFeedsCount

      public int getFeedsCount()
       The list of resource names of page feed assets associated with the
       campaign.
       
      repeated string feeds = 9 [(.google.api.resource_reference) = { ... }
      Specified by:
      getFeedsCount in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Returns:
      The count of feeds.
    • getFeeds

      public String getFeeds(int index)
       The list of resource names of page feed assets associated with the
       campaign.
       
      repeated string feeds = 9 [(.google.api.resource_reference) = { ... }
      Specified by:
      getFeeds in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The feeds at the given index.
    • getFeedsBytes

      public com.google.protobuf.ByteString getFeedsBytes(int index)
       The list of resource names of page feed assets associated with the
       campaign.
       
      repeated string feeds = 9 [(.google.api.resource_reference) = { ... }
      Specified by:
      getFeedsBytes in interface Campaign.DynamicSearchAdsSettingOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the feeds at the given index.
    • 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.DynamicSearchAdsSetting parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Campaign.DynamicSearchAdsSetting 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.DynamicSearchAdsSetting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Campaign.DynamicSearchAdsSetting getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Campaign.DynamicSearchAdsSetting> 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.DynamicSearchAdsSetting getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder