Class GenerateTrendingInsightsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerateTrendingInsightsResponse.Builder>
com.google.ads.googleads.v22.services.GenerateTrendingInsightsResponse.Builder
All Implemented Interfaces:
GenerateTrendingInsightsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GenerateTrendingInsightsResponse

public static final class GenerateTrendingInsightsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateTrendingInsightsResponse.Builder> implements GenerateTrendingInsightsResponseOrBuilder
 Response message for
 [ContentCreatorInsightsService.GenerateTrendingInsights][google.ads.googleads.v22.services.ContentCreatorInsightsService.GenerateTrendingInsights].
 
Protobuf type google.ads.googleads.v22.services.GenerateTrendingInsightsResponse
  • 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<GenerateTrendingInsightsResponse.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<GenerateTrendingInsightsResponse.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<GenerateTrendingInsightsResponse.Builder>
    • getDefaultInstanceForType

      public GenerateTrendingInsightsResponse 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 GenerateTrendingInsightsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public GenerateTrendingInsightsResponse.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<GenerateTrendingInsightsResponse.Builder>
      Throws:
      IOException
    • getTrendInsightsList

      public List<TrendInsight> getTrendInsightsList()
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
      Specified by:
      getTrendInsightsList in interface GenerateTrendingInsightsResponseOrBuilder
    • getTrendInsightsCount

      public int getTrendInsightsCount()
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
      Specified by:
      getTrendInsightsCount in interface GenerateTrendingInsightsResponseOrBuilder
    • getTrendInsights

      public TrendInsight getTrendInsights(int index)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
      Specified by:
      getTrendInsights in interface GenerateTrendingInsightsResponseOrBuilder
    • setTrendInsights

      public GenerateTrendingInsightsResponse.Builder setTrendInsights(int index, TrendInsight value)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • setTrendInsights

      public GenerateTrendingInsightsResponse.Builder setTrendInsights(int index, TrendInsight.Builder builderForValue)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • addTrendInsights

      public GenerateTrendingInsightsResponse.Builder addTrendInsights(TrendInsight value)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • addTrendInsights

      public GenerateTrendingInsightsResponse.Builder addTrendInsights(int index, TrendInsight value)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • addTrendInsights

      public GenerateTrendingInsightsResponse.Builder addTrendInsights(TrendInsight.Builder builderForValue)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • addTrendInsights

      public GenerateTrendingInsightsResponse.Builder addTrendInsights(int index, TrendInsight.Builder builderForValue)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • addAllTrendInsights

      public GenerateTrendingInsightsResponse.Builder addAllTrendInsights(Iterable<? extends TrendInsight> values)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • clearTrendInsights

      public GenerateTrendingInsightsResponse.Builder clearTrendInsights()
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • removeTrendInsights

      public GenerateTrendingInsightsResponse.Builder removeTrendInsights(int index)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • getTrendInsightsBuilder

      public TrendInsight.Builder getTrendInsightsBuilder(int index)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • getTrendInsightsOrBuilder

      public TrendInsightOrBuilder getTrendInsightsOrBuilder(int index)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
      Specified by:
      getTrendInsightsOrBuilder in interface GenerateTrendingInsightsResponseOrBuilder
    • getTrendInsightsOrBuilderList

      public List<? extends TrendInsightOrBuilder> getTrendInsightsOrBuilderList()
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
      Specified by:
      getTrendInsightsOrBuilderList in interface GenerateTrendingInsightsResponseOrBuilder
    • addTrendInsightsBuilder

      public TrendInsight.Builder addTrendInsightsBuilder()
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • addTrendInsightsBuilder

      public TrendInsight.Builder addTrendInsightsBuilder(int index)
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;
    • getTrendInsightsBuilderList

      public List<TrendInsight.Builder> getTrendInsightsBuilderList()
       The list of trending insights for the given criteria.
       
      repeated .google.ads.googleads.v22.services.TrendInsight trend_insights = 1;