Class Recommendation.RaiseTargetCpaRecommendation.Builder

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

public static final class Recommendation.RaiseTargetCpaRecommendation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Recommendation.RaiseTargetCpaRecommendation.Builder> implements Recommendation.RaiseTargetCpaRecommendationOrBuilder
 Recommendation to raise Target CPA.
 
Protobuf type google.ads.googleads.v23.resources.Recommendation.RaiseTargetCpaRecommendation
  • 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<Recommendation.RaiseTargetCpaRecommendation.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<Recommendation.RaiseTargetCpaRecommendation.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<Recommendation.RaiseTargetCpaRecommendation.Builder>
    • getDefaultInstanceForType

      public Recommendation.RaiseTargetCpaRecommendation 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

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public Recommendation.RaiseTargetCpaRecommendation.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<Recommendation.RaiseTargetCpaRecommendation.Builder>
      Throws:
      IOException
    • hasTargetAdjustment

      public boolean hasTargetAdjustment()
       Output only. The relevant information describing the recommended target
       adjustment.
       
      .google.ads.googleads.v23.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTargetAdjustment in interface Recommendation.RaiseTargetCpaRecommendationOrBuilder
      Returns:
      Whether the targetAdjustment field is set.
    • getTargetAdjustment

      public Recommendation.TargetAdjustmentInfo getTargetAdjustment()
       Output only. The relevant information describing the recommended target
       adjustment.
       
      .google.ads.googleads.v23.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetAdjustment in interface Recommendation.RaiseTargetCpaRecommendationOrBuilder
      Returns:
      The targetAdjustment.
    • setTargetAdjustment

       Output only. The relevant information describing the recommended target
       adjustment.
       
      .google.ads.googleads.v23.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setTargetAdjustment

       Output only. The relevant information describing the recommended target
       adjustment.
       
      .google.ads.googleads.v23.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeTargetAdjustment

       Output only. The relevant information describing the recommended target
       adjustment.
       
      .google.ads.googleads.v23.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearTargetAdjustment

       Output only. The relevant information describing the recommended target
       adjustment.
       
      .google.ads.googleads.v23.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTargetAdjustmentBuilder

      public Recommendation.TargetAdjustmentInfo.Builder getTargetAdjustmentBuilder()
       Output only. The relevant information describing the recommended target
       adjustment.
       
      .google.ads.googleads.v23.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTargetAdjustmentOrBuilder

      public Recommendation.TargetAdjustmentInfoOrBuilder getTargetAdjustmentOrBuilder()
       Output only. The relevant information describing the recommended target
       adjustment.
       
      .google.ads.googleads.v23.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetAdjustmentOrBuilder in interface Recommendation.RaiseTargetCpaRecommendationOrBuilder
    • hasAppBiddingGoal

      public boolean hasAppBiddingGoal()
       Output only. Represents the goal towards which the bidding strategy
       should optimize. Only populated for App Campaigns.
       
      optional .google.ads.googleads.v23.enums.AppBiddingGoalEnum.AppBiddingGoal app_bidding_goal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAppBiddingGoal in interface Recommendation.RaiseTargetCpaRecommendationOrBuilder
      Returns:
      Whether the appBiddingGoal field is set.
    • getAppBiddingGoalValue

      public int getAppBiddingGoalValue()
       Output only. Represents the goal towards which the bidding strategy
       should optimize. Only populated for App Campaigns.
       
      optional .google.ads.googleads.v23.enums.AppBiddingGoalEnum.AppBiddingGoal app_bidding_goal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAppBiddingGoalValue in interface Recommendation.RaiseTargetCpaRecommendationOrBuilder
      Returns:
      The enum numeric value on the wire for appBiddingGoal.
    • setAppBiddingGoalValue

      public Recommendation.RaiseTargetCpaRecommendation.Builder setAppBiddingGoalValue(int value)
       Output only. Represents the goal towards which the bidding strategy
       should optimize. Only populated for App Campaigns.
       
      optional .google.ads.googleads.v23.enums.AppBiddingGoalEnum.AppBiddingGoal app_bidding_goal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for appBiddingGoal to set.
      Returns:
      This builder for chaining.
    • getAppBiddingGoal

      public AppBiddingGoalEnum.AppBiddingGoal getAppBiddingGoal()
       Output only. Represents the goal towards which the bidding strategy
       should optimize. Only populated for App Campaigns.
       
      optional .google.ads.googleads.v23.enums.AppBiddingGoalEnum.AppBiddingGoal app_bidding_goal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAppBiddingGoal in interface Recommendation.RaiseTargetCpaRecommendationOrBuilder
      Returns:
      The appBiddingGoal.
    • setAppBiddingGoal

       Output only. Represents the goal towards which the bidding strategy
       should optimize. Only populated for App Campaigns.
       
      optional .google.ads.googleads.v23.enums.AppBiddingGoalEnum.AppBiddingGoal app_bidding_goal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The appBiddingGoal to set.
      Returns:
      This builder for chaining.
    • clearAppBiddingGoal

       Output only. Represents the goal towards which the bidding strategy
       should optimize. Only populated for App Campaigns.
       
      optional .google.ads.googleads.v23.enums.AppBiddingGoalEnum.AppBiddingGoal app_bidding_goal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.