Class Campaign.AppCampaignSetting.Builder

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

public static final class Campaign.AppCampaignSetting.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Campaign.AppCampaignSetting.Builder> implements Campaign.AppCampaignSettingOrBuilder
 Campaign-level settings for App Campaigns.
 
Protobuf type google.ads.googleads.v18.resources.Campaign.AppCampaignSetting
  • 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<Campaign.AppCampaignSetting.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<Campaign.AppCampaignSetting.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<Campaign.AppCampaignSetting.Builder>
    • getDefaultInstanceForType

      public Campaign.AppCampaignSetting 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 Campaign.AppCampaignSetting 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<Campaign.AppCampaignSetting.Builder>
    • setField

      public Campaign.AppCampaignSetting.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<Campaign.AppCampaignSetting.Builder>
    • clearField

      public Campaign.AppCampaignSetting.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<Campaign.AppCampaignSetting.Builder>
    • clearOneof

      public Campaign.AppCampaignSetting.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<Campaign.AppCampaignSetting.Builder>
    • setRepeatedField

      public Campaign.AppCampaignSetting.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<Campaign.AppCampaignSetting.Builder>
    • addRepeatedField

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

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

      public Campaign.AppCampaignSetting.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<Campaign.AppCampaignSetting.Builder>
      Throws:
      IOException
    • getBiddingStrategyGoalTypeValue

      public int getBiddingStrategyGoalTypeValue()
       Represents the goal which the bidding strategy of this app campaign
       should optimize towards.
       
      .google.ads.googleads.v18.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1;
      Specified by:
      getBiddingStrategyGoalTypeValue in interface Campaign.AppCampaignSettingOrBuilder
      Returns:
      The enum numeric value on the wire for biddingStrategyGoalType.
    • setBiddingStrategyGoalTypeValue

      public Campaign.AppCampaignSetting.Builder setBiddingStrategyGoalTypeValue(int value)
       Represents the goal which the bidding strategy of this app campaign
       should optimize towards.
       
      .google.ads.googleads.v18.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1;
      Parameters:
      value - The enum numeric value on the wire for biddingStrategyGoalType to set.
      Returns:
      This builder for chaining.
    • getBiddingStrategyGoalType

       Represents the goal which the bidding strategy of this app campaign
       should optimize towards.
       
      .google.ads.googleads.v18.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1;
      Specified by:
      getBiddingStrategyGoalType in interface Campaign.AppCampaignSettingOrBuilder
      Returns:
      The biddingStrategyGoalType.
    • setBiddingStrategyGoalType

       Represents the goal which the bidding strategy of this app campaign
       should optimize towards.
       
      .google.ads.googleads.v18.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1;
      Parameters:
      value - The biddingStrategyGoalType to set.
      Returns:
      This builder for chaining.
    • clearBiddingStrategyGoalType

      public Campaign.AppCampaignSetting.Builder clearBiddingStrategyGoalType()
       Represents the goal which the bidding strategy of this app campaign
       should optimize towards.
       
      .google.ads.googleads.v18.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1;
      Returns:
      This builder for chaining.
    • hasAppId

      public boolean hasAppId()
       Immutable. A string that uniquely identifies a mobile application.
       
      optional string app_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasAppId in interface Campaign.AppCampaignSettingOrBuilder
      Returns:
      Whether the appId field is set.
    • getAppId

      public String getAppId()
       Immutable. A string that uniquely identifies a mobile application.
       
      optional string app_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAppId in interface Campaign.AppCampaignSettingOrBuilder
      Returns:
      The appId.
    • getAppIdBytes

      public com.google.protobuf.ByteString getAppIdBytes()
       Immutable. A string that uniquely identifies a mobile application.
       
      optional string app_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAppIdBytes in interface Campaign.AppCampaignSettingOrBuilder
      Returns:
      The bytes for appId.
    • setAppId

       Immutable. A string that uniquely identifies a mobile application.
       
      optional string app_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The appId to set.
      Returns:
      This builder for chaining.
    • clearAppId

       Immutable. A string that uniquely identifies a mobile application.
       
      optional string app_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setAppIdBytes

      public Campaign.AppCampaignSetting.Builder setAppIdBytes(com.google.protobuf.ByteString value)
       Immutable. A string that uniquely identifies a mobile application.
       
      optional string app_id = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for appId to set.
      Returns:
      This builder for chaining.
    • getAppStoreValue

      public int getAppStoreValue()
       Immutable. The application store that distributes this specific app.
       
      .google.ads.googleads.v18.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAppStoreValue in interface Campaign.AppCampaignSettingOrBuilder
      Returns:
      The enum numeric value on the wire for appStore.
    • setAppStoreValue

      public Campaign.AppCampaignSetting.Builder setAppStoreValue(int value)
       Immutable. The application store that distributes this specific app.
       
      .google.ads.googleads.v18.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for appStore to set.
      Returns:
      This builder for chaining.
    • getAppStore

       Immutable. The application store that distributes this specific app.
       
      .google.ads.googleads.v18.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAppStore in interface Campaign.AppCampaignSettingOrBuilder
      Returns:
      The appStore.
    • setAppStore

       Immutable. The application store that distributes this specific app.
       
      .google.ads.googleads.v18.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The appStore to set.
      Returns:
      This builder for chaining.
    • clearAppStore

      public Campaign.AppCampaignSetting.Builder clearAppStore()
       Immutable. The application store that distributes this specific app.
       
      .google.ads.googleads.v18.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Campaign.AppCampaignSetting.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<Campaign.AppCampaignSetting.Builder>
    • mergeUnknownFields

      public final Campaign.AppCampaignSetting.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<Campaign.AppCampaignSetting.Builder>