Class AccessibleBiddingStrategy.TargetImpressionShare.Builder

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

public static final class AccessibleBiddingStrategy.TargetImpressionShare.Builder extends com.google.protobuf.GeneratedMessage.Builder<AccessibleBiddingStrategy.TargetImpressionShare.Builder> implements AccessibleBiddingStrategy.TargetImpressionShareOrBuilder
 An automated bidding strategy that sets bids so that a certain percentage
 of search ads are shown at the top of the first page (or other targeted
 location).
 
Protobuf type google.ads.googleads.v23.resources.AccessibleBiddingStrategy.TargetImpressionShare
  • 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<AccessibleBiddingStrategy.TargetImpressionShare.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<AccessibleBiddingStrategy.TargetImpressionShare.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<AccessibleBiddingStrategy.TargetImpressionShare.Builder>
    • getDefaultInstanceForType

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

      public AccessibleBiddingStrategy.TargetImpressionShare.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<AccessibleBiddingStrategy.TargetImpressionShare.Builder>
      Throws:
      IOException
    • getLocationValue

      public int getLocationValue()
       Output only. The targeted location on the search results page.
       
      .google.ads.googleads.v23.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocationValue in interface AccessibleBiddingStrategy.TargetImpressionShareOrBuilder
      Returns:
      The enum numeric value on the wire for location.
    • setLocationValue

      public AccessibleBiddingStrategy.TargetImpressionShare.Builder setLocationValue(int value)
       Output only. The targeted location on the search results page.
       
      .google.ads.googleads.v23.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for location to set.
      Returns:
      This builder for chaining.
    • getLocation

       Output only. The targeted location on the search results page.
       
      .google.ads.googleads.v23.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocation in interface AccessibleBiddingStrategy.TargetImpressionShareOrBuilder
      Returns:
      The location.
    • setLocation

       Output only. The targeted location on the search results page.
       
      .google.ads.googleads.v23.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

       Output only. The targeted location on the search results page.
       
      .google.ads.googleads.v23.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasLocationFractionMicros

      public boolean hasLocationFractionMicros()
       The chosen fraction of ads to be shown in the targeted location in
       micros. For example, 1% equals 10,000.
       
      optional int64 location_fraction_micros = 2;
      Specified by:
      hasLocationFractionMicros in interface AccessibleBiddingStrategy.TargetImpressionShareOrBuilder
      Returns:
      Whether the locationFractionMicros field is set.
    • getLocationFractionMicros

      public long getLocationFractionMicros()
       The chosen fraction of ads to be shown in the targeted location in
       micros. For example, 1% equals 10,000.
       
      optional int64 location_fraction_micros = 2;
      Specified by:
      getLocationFractionMicros in interface AccessibleBiddingStrategy.TargetImpressionShareOrBuilder
      Returns:
      The locationFractionMicros.
    • setLocationFractionMicros

      public AccessibleBiddingStrategy.TargetImpressionShare.Builder setLocationFractionMicros(long value)
       The chosen fraction of ads to be shown in the targeted location in
       micros. For example, 1% equals 10,000.
       
      optional int64 location_fraction_micros = 2;
      Parameters:
      value - The locationFractionMicros to set.
      Returns:
      This builder for chaining.
    • clearLocationFractionMicros

      public AccessibleBiddingStrategy.TargetImpressionShare.Builder clearLocationFractionMicros()
       The chosen fraction of ads to be shown in the targeted location in
       micros. For example, 1% equals 10,000.
       
      optional int64 location_fraction_micros = 2;
      Returns:
      This builder for chaining.
    • hasCpcBidCeilingMicros

      public boolean hasCpcBidCeilingMicros()
       Output only. The highest CPC bid the automated bidding system is
       permitted to specify. This is a required field entered by the advertiser
       that sets the ceiling and specified in local micros.
       
      optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCpcBidCeilingMicros in interface AccessibleBiddingStrategy.TargetImpressionShareOrBuilder
      Returns:
      Whether the cpcBidCeilingMicros field is set.
    • getCpcBidCeilingMicros

      public long getCpcBidCeilingMicros()
       Output only. The highest CPC bid the automated bidding system is
       permitted to specify. This is a required field entered by the advertiser
       that sets the ceiling and specified in local micros.
       
      optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCpcBidCeilingMicros in interface AccessibleBiddingStrategy.TargetImpressionShareOrBuilder
      Returns:
      The cpcBidCeilingMicros.
    • setCpcBidCeilingMicros

      public AccessibleBiddingStrategy.TargetImpressionShare.Builder setCpcBidCeilingMicros(long value)
       Output only. The highest CPC bid the automated bidding system is
       permitted to specify. This is a required field entered by the advertiser
       that sets the ceiling and specified in local micros.
       
      optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The cpcBidCeilingMicros to set.
      Returns:
      This builder for chaining.
    • clearCpcBidCeilingMicros

       Output only. The highest CPC bid the automated bidding system is
       permitted to specify. This is a required field entered by the advertiser
       that sets the ceiling and specified in local micros.
       
      optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.