Class BiddableKeyword.Builder

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

public static final class BiddableKeyword.Builder extends com.google.protobuf.GeneratedMessage.Builder<BiddableKeyword.Builder> implements BiddableKeywordOrBuilder
 A biddable keyword part of an ad group.
 
Protobuf type google.ads.googleads.v23.services.BiddableKeyword
  • 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<BiddableKeyword.Builder>
    • clear

      public BiddableKeyword.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<BiddableKeyword.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<BiddableKeyword.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BiddableKeyword.Builder mergeFrom(BiddableKeyword other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BiddableKeyword.Builder>
    • mergeFrom

      public BiddableKeyword.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<BiddableKeyword.Builder>
      Throws:
      IOException
    • hasKeyword

      public boolean hasKeyword()
       Required. Keyword. Must have text and match type.
       
      .google.ads.googleads.v23.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasKeyword in interface BiddableKeywordOrBuilder
      Returns:
      Whether the keyword field is set.
    • getKeyword

      public KeywordInfo getKeyword()
       Required. Keyword. Must have text and match type.
       
      .google.ads.googleads.v23.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKeyword in interface BiddableKeywordOrBuilder
      Returns:
      The keyword.
    • setKeyword

      public BiddableKeyword.Builder setKeyword(KeywordInfo value)
       Required. Keyword. Must have text and match type.
       
      .google.ads.googleads.v23.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED];
    • setKeyword

      public BiddableKeyword.Builder setKeyword(KeywordInfo.Builder builderForValue)
       Required. Keyword. Must have text and match type.
       
      .google.ads.googleads.v23.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeKeyword

      public BiddableKeyword.Builder mergeKeyword(KeywordInfo value)
       Required. Keyword. Must have text and match type.
       
      .google.ads.googleads.v23.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearKeyword

      public BiddableKeyword.Builder clearKeyword()
       Required. Keyword. Must have text and match type.
       
      .google.ads.googleads.v23.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED];
    • getKeywordBuilder

      public KeywordInfo.Builder getKeywordBuilder()
       Required. Keyword. Must have text and match type.
       
      .google.ads.googleads.v23.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED];
    • getKeywordOrBuilder

      public KeywordInfoOrBuilder getKeywordOrBuilder()
       Required. Keyword. Must have text and match type.
       
      .google.ads.googleads.v23.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKeywordOrBuilder in interface BiddableKeywordOrBuilder
    • hasMaxCpcBidMicros

      public boolean hasMaxCpcBidMicros()
       A max cpc bid in micros that overrides the ad group level max cpc bid in
       forecast simulation. This value will override the max cpc value set in the
       bidding strategy and ad group. Only specify this field for bidding
       strategies that support max cpc values.
       
      optional int64 max_cpc_bid_micros = 2;
      Specified by:
      hasMaxCpcBidMicros in interface BiddableKeywordOrBuilder
      Returns:
      Whether the maxCpcBidMicros field is set.
    • getMaxCpcBidMicros

      public long getMaxCpcBidMicros()
       A max cpc bid in micros that overrides the ad group level max cpc bid in
       forecast simulation. This value will override the max cpc value set in the
       bidding strategy and ad group. Only specify this field for bidding
       strategies that support max cpc values.
       
      optional int64 max_cpc_bid_micros = 2;
      Specified by:
      getMaxCpcBidMicros in interface BiddableKeywordOrBuilder
      Returns:
      The maxCpcBidMicros.
    • setMaxCpcBidMicros

      public BiddableKeyword.Builder setMaxCpcBidMicros(long value)
       A max cpc bid in micros that overrides the ad group level max cpc bid in
       forecast simulation. This value will override the max cpc value set in the
       bidding strategy and ad group. Only specify this field for bidding
       strategies that support max cpc values.
       
      optional int64 max_cpc_bid_micros = 2;
      Parameters:
      value - The maxCpcBidMicros to set.
      Returns:
      This builder for chaining.
    • clearMaxCpcBidMicros

      public BiddableKeyword.Builder clearMaxCpcBidMicros()
       A max cpc bid in micros that overrides the ad group level max cpc bid in
       forecast simulation. This value will override the max cpc value set in the
       bidding strategy and ad group. Only specify this field for bidding
       strategies that support max cpc values.
       
      optional int64 max_cpc_bid_micros = 2;
      Returns:
      This builder for chaining.