Class Recommendation.CalloutAssetRecommendation.Builder

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

public static final class Recommendation.CalloutAssetRecommendation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Recommendation.CalloutAssetRecommendation.Builder> implements Recommendation.CalloutAssetRecommendationOrBuilder
 The callout asset recommendation.
 
Protobuf type google.ads.googleads.v18.resources.Recommendation.CalloutAssetRecommendation
  • 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<Recommendation.CalloutAssetRecommendation.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<Recommendation.CalloutAssetRecommendation.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<Recommendation.CalloutAssetRecommendation.Builder>
    • getDefaultInstanceForType

      public Recommendation.CalloutAssetRecommendation 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
    • 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<Recommendation.CalloutAssetRecommendation.Builder>
    • setField

      public Recommendation.CalloutAssetRecommendation.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<Recommendation.CalloutAssetRecommendation.Builder>
    • clearField

      public Recommendation.CalloutAssetRecommendation.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<Recommendation.CalloutAssetRecommendation.Builder>
    • clearOneof

      public Recommendation.CalloutAssetRecommendation.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<Recommendation.CalloutAssetRecommendation.Builder>
    • setRepeatedField

      public Recommendation.CalloutAssetRecommendation.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<Recommendation.CalloutAssetRecommendation.Builder>
    • addRepeatedField

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

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

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

      public List<Asset> getRecommendedCampaignCalloutAssetsList()
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCampaignCalloutAssetsList in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • getRecommendedCampaignCalloutAssetsCount

      public int getRecommendedCampaignCalloutAssetsCount()
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCampaignCalloutAssetsCount in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • getRecommendedCampaignCalloutAssets

      public Asset getRecommendedCampaignCalloutAssets(int index)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCampaignCalloutAssets in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • setRecommendedCampaignCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder setRecommendedCampaignCalloutAssets(int index, Asset value)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRecommendedCampaignCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder setRecommendedCampaignCalloutAssets(int index, Asset.Builder builderForValue)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCampaignCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addRecommendedCampaignCalloutAssets(Asset value)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCampaignCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addRecommendedCampaignCalloutAssets(int index, Asset value)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCampaignCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addRecommendedCampaignCalloutAssets(Asset.Builder builderForValue)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCampaignCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addRecommendedCampaignCalloutAssets(int index, Asset.Builder builderForValue)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllRecommendedCampaignCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addAllRecommendedCampaignCalloutAssets(Iterable<? extends Asset> values)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRecommendedCampaignCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder clearRecommendedCampaignCalloutAssets()
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeRecommendedCampaignCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder removeRecommendedCampaignCalloutAssets(int index)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRecommendedCampaignCalloutAssetsBuilder

      public Asset.Builder getRecommendedCampaignCalloutAssetsBuilder(int index)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRecommendedCampaignCalloutAssetsOrBuilder

      public AssetOrBuilder getRecommendedCampaignCalloutAssetsOrBuilder(int index)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCampaignCalloutAssetsOrBuilder in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • getRecommendedCampaignCalloutAssetsOrBuilderList

      public List<? extends AssetOrBuilder> getRecommendedCampaignCalloutAssetsOrBuilderList()
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCampaignCalloutAssetsOrBuilderList in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • addRecommendedCampaignCalloutAssetsBuilder

      public Asset.Builder addRecommendedCampaignCalloutAssetsBuilder()
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCampaignCalloutAssetsBuilder

      public Asset.Builder addRecommendedCampaignCalloutAssetsBuilder(int index)
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRecommendedCampaignCalloutAssetsBuilderList

      public List<Asset.Builder> getRecommendedCampaignCalloutAssetsBuilderList()
       Output only. New callout extension assets recommended at the campaign
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRecommendedCustomerCalloutAssetsList

      public List<Asset> getRecommendedCustomerCalloutAssetsList()
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCustomerCalloutAssetsList in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • getRecommendedCustomerCalloutAssetsCount

      public int getRecommendedCustomerCalloutAssetsCount()
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCustomerCalloutAssetsCount in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • getRecommendedCustomerCalloutAssets

      public Asset getRecommendedCustomerCalloutAssets(int index)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCustomerCalloutAssets in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • setRecommendedCustomerCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder setRecommendedCustomerCalloutAssets(int index, Asset value)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRecommendedCustomerCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder setRecommendedCustomerCalloutAssets(int index, Asset.Builder builderForValue)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCustomerCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addRecommendedCustomerCalloutAssets(Asset value)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCustomerCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addRecommendedCustomerCalloutAssets(int index, Asset value)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCustomerCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addRecommendedCustomerCalloutAssets(Asset.Builder builderForValue)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCustomerCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addRecommendedCustomerCalloutAssets(int index, Asset.Builder builderForValue)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllRecommendedCustomerCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder addAllRecommendedCustomerCalloutAssets(Iterable<? extends Asset> values)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRecommendedCustomerCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder clearRecommendedCustomerCalloutAssets()
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeRecommendedCustomerCalloutAssets

      public Recommendation.CalloutAssetRecommendation.Builder removeRecommendedCustomerCalloutAssets(int index)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRecommendedCustomerCalloutAssetsBuilder

      public Asset.Builder getRecommendedCustomerCalloutAssetsBuilder(int index)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRecommendedCustomerCalloutAssetsOrBuilder

      public AssetOrBuilder getRecommendedCustomerCalloutAssetsOrBuilder(int index)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCustomerCalloutAssetsOrBuilder in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • getRecommendedCustomerCalloutAssetsOrBuilderList

      public List<? extends AssetOrBuilder> getRecommendedCustomerCalloutAssetsOrBuilderList()
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecommendedCustomerCalloutAssetsOrBuilderList in interface Recommendation.CalloutAssetRecommendationOrBuilder
    • addRecommendedCustomerCalloutAssetsBuilder

      public Asset.Builder addRecommendedCustomerCalloutAssetsBuilder()
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRecommendedCustomerCalloutAssetsBuilder

      public Asset.Builder addRecommendedCustomerCalloutAssetsBuilder(int index)
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRecommendedCustomerCalloutAssetsBuilderList

      public List<Asset.Builder> getRecommendedCustomerCalloutAssetsBuilderList()
       Output only. New callout extension assets recommended at the customer
       level.
       
      repeated .google.ads.googleads.v18.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUnknownFields

      public final Recommendation.CalloutAssetRecommendation.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<Recommendation.CalloutAssetRecommendation.Builder>
    • mergeUnknownFields

      public final Recommendation.CalloutAssetRecommendation.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<Recommendation.CalloutAssetRecommendation.Builder>