Class GenerateTrendingInsightsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GenerateTrendingInsightsRequest.Builder>
com.google.ads.googleads.v20.services.GenerateTrendingInsightsRequest.Builder
All Implemented Interfaces:
GenerateTrendingInsightsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GenerateTrendingInsightsRequest

public static final class GenerateTrendingInsightsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateTrendingInsightsRequest.Builder> implements GenerateTrendingInsightsRequestOrBuilder
 Request message for [ContentCreatorInsightsService.GenerateTrendingInsights]
 
Protobuf type google.ads.googleads.v20.services.GenerateTrendingInsightsRequest
  • 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<GenerateTrendingInsightsRequest.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<GenerateTrendingInsightsRequest.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<GenerateTrendingInsightsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public GenerateTrendingInsightsRequest.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<GenerateTrendingInsightsRequest.Builder>
      Throws:
      IOException
    • getCriteriaCase

      Specified by:
      getCriteriaCase in interface GenerateTrendingInsightsRequestOrBuilder
    • clearCriteria

    • getCustomerId

      public String getCustomerId()
       Required. The ID of the customer.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerId in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      The customerId.
    • getCustomerIdBytes

      public com.google.protobuf.ByteString getCustomerIdBytes()
       Required. The ID of the customer.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerIdBytes in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      The bytes for customerId.
    • setCustomerId

      public GenerateTrendingInsightsRequest.Builder setCustomerId(String value)
       Required. The ID of the customer.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The customerId to set.
      Returns:
      This builder for chaining.
    • clearCustomerId

      public GenerateTrendingInsightsRequest.Builder clearCustomerId()
       Required. The ID of the customer.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCustomerIdBytes

      public GenerateTrendingInsightsRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the customer.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for customerId to set.
      Returns:
      This builder for chaining.
    • getCustomerInsightsGroup

      public String getCustomerInsightsGroup()
       Required. The name of the customer being planned for. This is a
       user-defined value.
       
      string customer_insights_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerInsightsGroup in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      The customerInsightsGroup.
    • getCustomerInsightsGroupBytes

      public com.google.protobuf.ByteString getCustomerInsightsGroupBytes()
       Required. The name of the customer being planned for. This is a
       user-defined value.
       
      string customer_insights_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerInsightsGroupBytes in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      The bytes for customerInsightsGroup.
    • setCustomerInsightsGroup

      public GenerateTrendingInsightsRequest.Builder setCustomerInsightsGroup(String value)
       Required. The name of the customer being planned for. This is a
       user-defined value.
       
      string customer_insights_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The customerInsightsGroup to set.
      Returns:
      This builder for chaining.
    • clearCustomerInsightsGroup

      public GenerateTrendingInsightsRequest.Builder clearCustomerInsightsGroup()
       Required. The name of the customer being planned for. This is a
       user-defined value.
       
      string customer_insights_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCustomerInsightsGroupBytes

      public GenerateTrendingInsightsRequest.Builder setCustomerInsightsGroupBytes(com.google.protobuf.ByteString value)
       Required. The name of the customer being planned for. This is a
       user-defined value.
       
      string customer_insights_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for customerInsightsGroup to set.
      Returns:
      This builder for chaining.
    • hasInsightsApplicationInfo

      public boolean hasInsightsApplicationInfo()
       Optional. Additional information on the application issuing the request.
       
      .google.ads.googleads.v20.common.AdditionalApplicationInfo insights_application_info = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasInsightsApplicationInfo in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      Whether the insightsApplicationInfo field is set.
    • getInsightsApplicationInfo

      public AdditionalApplicationInfo getInsightsApplicationInfo()
       Optional. Additional information on the application issuing the request.
       
      .google.ads.googleads.v20.common.AdditionalApplicationInfo insights_application_info = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInsightsApplicationInfo in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      The insightsApplicationInfo.
    • setInsightsApplicationInfo

      public GenerateTrendingInsightsRequest.Builder setInsightsApplicationInfo(AdditionalApplicationInfo value)
       Optional. Additional information on the application issuing the request.
       
      .google.ads.googleads.v20.common.AdditionalApplicationInfo insights_application_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setInsightsApplicationInfo

      public GenerateTrendingInsightsRequest.Builder setInsightsApplicationInfo(AdditionalApplicationInfo.Builder builderForValue)
       Optional. Additional information on the application issuing the request.
       
      .google.ads.googleads.v20.common.AdditionalApplicationInfo insights_application_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • mergeInsightsApplicationInfo

      public GenerateTrendingInsightsRequest.Builder mergeInsightsApplicationInfo(AdditionalApplicationInfo value)
       Optional. Additional information on the application issuing the request.
       
      .google.ads.googleads.v20.common.AdditionalApplicationInfo insights_application_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearInsightsApplicationInfo

      public GenerateTrendingInsightsRequest.Builder clearInsightsApplicationInfo()
       Optional. Additional information on the application issuing the request.
       
      .google.ads.googleads.v20.common.AdditionalApplicationInfo insights_application_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getInsightsApplicationInfoBuilder

      public AdditionalApplicationInfo.Builder getInsightsApplicationInfoBuilder()
       Optional. Additional information on the application issuing the request.
       
      .google.ads.googleads.v20.common.AdditionalApplicationInfo insights_application_info = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getInsightsApplicationInfoOrBuilder

      public AdditionalApplicationInfoOrBuilder getInsightsApplicationInfoOrBuilder()
       Optional. Additional information on the application issuing the request.
       
      .google.ads.googleads.v20.common.AdditionalApplicationInfo insights_application_info = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInsightsApplicationInfoOrBuilder in interface GenerateTrendingInsightsRequestOrBuilder
    • hasCountryLocation

      public boolean hasCountryLocation()
       Required. The country to find trends in.
       
      .google.ads.googleads.v20.common.LocationInfo country_location = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasCountryLocation in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      Whether the countryLocation field is set.
    • getCountryLocation

      public LocationInfo getCountryLocation()
       Required. The country to find trends in.
       
      .google.ads.googleads.v20.common.LocationInfo country_location = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocation in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      The countryLocation.
    • setCountryLocation

      public GenerateTrendingInsightsRequest.Builder setCountryLocation(LocationInfo value)
       Required. The country to find trends in.
       
      .google.ads.googleads.v20.common.LocationInfo country_location = 3 [(.google.api.field_behavior) = REQUIRED];
    • setCountryLocation

      public GenerateTrendingInsightsRequest.Builder setCountryLocation(LocationInfo.Builder builderForValue)
       Required. The country to find trends in.
       
      .google.ads.googleads.v20.common.LocationInfo country_location = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeCountryLocation

      public GenerateTrendingInsightsRequest.Builder mergeCountryLocation(LocationInfo value)
       Required. The country to find trends in.
       
      .google.ads.googleads.v20.common.LocationInfo country_location = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearCountryLocation

      public GenerateTrendingInsightsRequest.Builder clearCountryLocation()
       Required. The country to find trends in.
       
      .google.ads.googleads.v20.common.LocationInfo country_location = 3 [(.google.api.field_behavior) = REQUIRED];
    • getCountryLocationBuilder

      public LocationInfo.Builder getCountryLocationBuilder()
       Required. The country to find trends in.
       
      .google.ads.googleads.v20.common.LocationInfo country_location = 3 [(.google.api.field_behavior) = REQUIRED];
    • getCountryLocationOrBuilder

      public LocationInfoOrBuilder getCountryLocationOrBuilder()
       Required. The country to find trends in.
       
      .google.ads.googleads.v20.common.LocationInfo country_location = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocationOrBuilder in interface GenerateTrendingInsightsRequestOrBuilder
    • hasSearchAudience

      public boolean hasSearchAudience()
       An audience to search for trending content in.
       
      .google.ads.googleads.v20.services.SearchAudience search_audience = 4;
      Specified by:
      hasSearchAudience in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      Whether the searchAudience field is set.
    • getSearchAudience

      public SearchAudience getSearchAudience()
       An audience to search for trending content in.
       
      .google.ads.googleads.v20.services.SearchAudience search_audience = 4;
      Specified by:
      getSearchAudience in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      The searchAudience.
    • setSearchAudience

      public GenerateTrendingInsightsRequest.Builder setSearchAudience(SearchAudience value)
       An audience to search for trending content in.
       
      .google.ads.googleads.v20.services.SearchAudience search_audience = 4;
    • setSearchAudience

      public GenerateTrendingInsightsRequest.Builder setSearchAudience(SearchAudience.Builder builderForValue)
       An audience to search for trending content in.
       
      .google.ads.googleads.v20.services.SearchAudience search_audience = 4;
    • mergeSearchAudience

      public GenerateTrendingInsightsRequest.Builder mergeSearchAudience(SearchAudience value)
       An audience to search for trending content in.
       
      .google.ads.googleads.v20.services.SearchAudience search_audience = 4;
    • clearSearchAudience

      public GenerateTrendingInsightsRequest.Builder clearSearchAudience()
       An audience to search for trending content in.
       
      .google.ads.googleads.v20.services.SearchAudience search_audience = 4;
    • getSearchAudienceBuilder

      public SearchAudience.Builder getSearchAudienceBuilder()
       An audience to search for trending content in.
       
      .google.ads.googleads.v20.services.SearchAudience search_audience = 4;
    • getSearchAudienceOrBuilder

      public SearchAudienceOrBuilder getSearchAudienceOrBuilder()
       An audience to search for trending content in.
       
      .google.ads.googleads.v20.services.SearchAudience search_audience = 4;
      Specified by:
      getSearchAudienceOrBuilder in interface GenerateTrendingInsightsRequestOrBuilder
    • hasSearchTopics

      public boolean hasSearchTopics()
       Content topics to return trend information for.
       
      .google.ads.googleads.v20.services.SearchTopics search_topics = 5;
      Specified by:
      hasSearchTopics in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      Whether the searchTopics field is set.
    • getSearchTopics

      public SearchTopics getSearchTopics()
       Content topics to return trend information for.
       
      .google.ads.googleads.v20.services.SearchTopics search_topics = 5;
      Specified by:
      getSearchTopics in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      The searchTopics.
    • setSearchTopics

      public GenerateTrendingInsightsRequest.Builder setSearchTopics(SearchTopics value)
       Content topics to return trend information for.
       
      .google.ads.googleads.v20.services.SearchTopics search_topics = 5;
    • setSearchTopics

      public GenerateTrendingInsightsRequest.Builder setSearchTopics(SearchTopics.Builder builderForValue)
       Content topics to return trend information for.
       
      .google.ads.googleads.v20.services.SearchTopics search_topics = 5;
    • mergeSearchTopics

      public GenerateTrendingInsightsRequest.Builder mergeSearchTopics(SearchTopics value)
       Content topics to return trend information for.
       
      .google.ads.googleads.v20.services.SearchTopics search_topics = 5;
    • clearSearchTopics

      public GenerateTrendingInsightsRequest.Builder clearSearchTopics()
       Content topics to return trend information for.
       
      .google.ads.googleads.v20.services.SearchTopics search_topics = 5;
    • getSearchTopicsBuilder

      public SearchTopics.Builder getSearchTopicsBuilder()
       Content topics to return trend information for.
       
      .google.ads.googleads.v20.services.SearchTopics search_topics = 5;
    • getSearchTopicsOrBuilder

      public SearchTopicsOrBuilder getSearchTopicsOrBuilder()
       Content topics to return trend information for.
       
      .google.ads.googleads.v20.services.SearchTopics search_topics = 5;
      Specified by:
      getSearchTopicsOrBuilder in interface GenerateTrendingInsightsRequestOrBuilder
    • setUnknownFields

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

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