Class AdGroupCriterion.PositionEstimates.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
com.google.ads.googleads.v18.resources.AdGroupCriterion.PositionEstimates.Builder
All Implemented Interfaces:
AdGroupCriterion.PositionEstimatesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AdGroupCriterion.PositionEstimates

public static final class AdGroupCriterion.PositionEstimates.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder> implements AdGroupCriterion.PositionEstimatesOrBuilder
 Estimates for criterion bids at various positions.
 
Protobuf type google.ads.googleads.v18.resources.AdGroupCriterion.PositionEstimates
  • Method Details

    • 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.Builder<AdGroupCriterion.PositionEstimates.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.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.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.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
    • getDefaultInstanceForType

      public AdGroupCriterion.PositionEstimates 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 AdGroupCriterion.PositionEstimates buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
    • setField

      public AdGroupCriterion.PositionEstimates.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
    • clearField

      public AdGroupCriterion.PositionEstimates.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
    • clearOneof

      public AdGroupCriterion.PositionEstimates.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
    • setRepeatedField

      public AdGroupCriterion.PositionEstimates.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
    • addRepeatedField

      public AdGroupCriterion.PositionEstimates.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
    • mergeFrom

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

    • isInitialized

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

      public AdGroupCriterion.PositionEstimates.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<AdGroupCriterion.PositionEstimates.Builder>
      Throws:
      IOException
    • hasFirstPageCpcMicros

      public boolean hasFirstPageCpcMicros()
       Output only. The estimate of the CPC bid required for ad to be shown on
       first page of search results.
       
      optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasFirstPageCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      Whether the firstPageCpcMicros field is set.
    • getFirstPageCpcMicros

      public long getFirstPageCpcMicros()
       Output only. The estimate of the CPC bid required for ad to be shown on
       first page of search results.
       
      optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFirstPageCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      The firstPageCpcMicros.
    • setFirstPageCpcMicros

      public AdGroupCriterion.PositionEstimates.Builder setFirstPageCpcMicros(long value)
       Output only. The estimate of the CPC bid required for ad to be shown on
       first page of search results.
       
      optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The firstPageCpcMicros to set.
      Returns:
      This builder for chaining.
    • clearFirstPageCpcMicros

      public AdGroupCriterion.PositionEstimates.Builder clearFirstPageCpcMicros()
       Output only. The estimate of the CPC bid required for ad to be shown on
       first page of search results.
       
      optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasFirstPositionCpcMicros

      public boolean hasFirstPositionCpcMicros()
       Output only. The estimate of the CPC bid required for ad to be displayed
       in first position, at the top of the first page of search results.
       
      optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasFirstPositionCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      Whether the firstPositionCpcMicros field is set.
    • getFirstPositionCpcMicros

      public long getFirstPositionCpcMicros()
       Output only. The estimate of the CPC bid required for ad to be displayed
       in first position, at the top of the first page of search results.
       
      optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getFirstPositionCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      The firstPositionCpcMicros.
    • setFirstPositionCpcMicros

      public AdGroupCriterion.PositionEstimates.Builder setFirstPositionCpcMicros(long value)
       Output only. The estimate of the CPC bid required for ad to be displayed
       in first position, at the top of the first page of search results.
       
      optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The firstPositionCpcMicros to set.
      Returns:
      This builder for chaining.
    • clearFirstPositionCpcMicros

      public AdGroupCriterion.PositionEstimates.Builder clearFirstPositionCpcMicros()
       Output only. The estimate of the CPC bid required for ad to be displayed
       in first position, at the top of the first page of search results.
       
      optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasTopOfPageCpcMicros

      public boolean hasTopOfPageCpcMicros()
       Output only. The estimate of the CPC bid required for ad to be displayed
       at the top of the first page of search results.
       
      optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTopOfPageCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      Whether the topOfPageCpcMicros field is set.
    • getTopOfPageCpcMicros

      public long getTopOfPageCpcMicros()
       Output only. The estimate of the CPC bid required for ad to be displayed
       at the top of the first page of search results.
       
      optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTopOfPageCpcMicros in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      The topOfPageCpcMicros.
    • setTopOfPageCpcMicros

      public AdGroupCriterion.PositionEstimates.Builder setTopOfPageCpcMicros(long value)
       Output only. The estimate of the CPC bid required for ad to be displayed
       at the top of the first page of search results.
       
      optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The topOfPageCpcMicros to set.
      Returns:
      This builder for chaining.
    • clearTopOfPageCpcMicros

      public AdGroupCriterion.PositionEstimates.Builder clearTopOfPageCpcMicros()
       Output only. The estimate of the CPC bid required for ad to be displayed
       at the top of the first page of search results.
       
      optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasEstimatedAddClicksAtFirstPositionCpc

      public boolean hasEstimatedAddClicksAtFirstPositionCpc()
       Output only. Estimate of how many clicks per week you might get by
       changing your keyword bid to the value in first_position_cpc_micros.
       
      optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEstimatedAddClicksAtFirstPositionCpc in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      Whether the estimatedAddClicksAtFirstPositionCpc field is set.
    • getEstimatedAddClicksAtFirstPositionCpc

      public long getEstimatedAddClicksAtFirstPositionCpc()
       Output only. Estimate of how many clicks per week you might get by
       changing your keyword bid to the value in first_position_cpc_micros.
       
      optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEstimatedAddClicksAtFirstPositionCpc in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      The estimatedAddClicksAtFirstPositionCpc.
    • setEstimatedAddClicksAtFirstPositionCpc

      public AdGroupCriterion.PositionEstimates.Builder setEstimatedAddClicksAtFirstPositionCpc(long value)
       Output only. Estimate of how many clicks per week you might get by
       changing your keyword bid to the value in first_position_cpc_micros.
       
      optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The estimatedAddClicksAtFirstPositionCpc to set.
      Returns:
      This builder for chaining.
    • clearEstimatedAddClicksAtFirstPositionCpc

      public AdGroupCriterion.PositionEstimates.Builder clearEstimatedAddClicksAtFirstPositionCpc()
       Output only. Estimate of how many clicks per week you might get by
       changing your keyword bid to the value in first_position_cpc_micros.
       
      optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasEstimatedAddCostAtFirstPositionCpc

      public boolean hasEstimatedAddCostAtFirstPositionCpc()
       Output only. Estimate of how your cost per week might change when
       changing your keyword bid to the value in first_position_cpc_micros.
       
      optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEstimatedAddCostAtFirstPositionCpc in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      Whether the estimatedAddCostAtFirstPositionCpc field is set.
    • getEstimatedAddCostAtFirstPositionCpc

      public long getEstimatedAddCostAtFirstPositionCpc()
       Output only. Estimate of how your cost per week might change when
       changing your keyword bid to the value in first_position_cpc_micros.
       
      optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEstimatedAddCostAtFirstPositionCpc in interface AdGroupCriterion.PositionEstimatesOrBuilder
      Returns:
      The estimatedAddCostAtFirstPositionCpc.
    • setEstimatedAddCostAtFirstPositionCpc

      public AdGroupCriterion.PositionEstimates.Builder setEstimatedAddCostAtFirstPositionCpc(long value)
       Output only. Estimate of how your cost per week might change when
       changing your keyword bid to the value in first_position_cpc_micros.
       
      optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The estimatedAddCostAtFirstPositionCpc to set.
      Returns:
      This builder for chaining.
    • clearEstimatedAddCostAtFirstPositionCpc

      public AdGroupCriterion.PositionEstimates.Builder clearEstimatedAddCostAtFirstPositionCpc()
       Output only. Estimate of how your cost per week might change when
       changing your keyword bid to the value in first_position_cpc_micros.
       
      optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final AdGroupCriterion.PositionEstimates.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>
    • mergeUnknownFields

      public final AdGroupCriterion.PositionEstimates.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdGroupCriterion.PositionEstimates.Builder>