Class AdGroupCriterion.PositionEstimates.Builder

    • Method Detail

      • 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>
      • 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

        public AdGroupCriterion.PositionEstimates 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
      • 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 java.io.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:
        java.io.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.