Class GenerateTrendingInsightsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerateTrendingInsightsRequest.Builder>
com.google.ads.googleads.v25.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.GeneratedMessage.Builder<GenerateTrendingInsightsRequest.Builder> implements GenerateTrendingInsightsRequestOrBuilder
 Request message for
 [ContentCreatorInsightsService.GenerateTrendingInsights][google.ads.googleads.v25.services.ContentCreatorInsightsService.GenerateTrendingInsights].
 
Protobuf type google.ads.googleads.v25.services.GenerateTrendingInsightsRequest
  • 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<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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.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.v25.common.LocationInfo country_location = 3 [(.google.api.field_behavior) = REQUIRED];
    • getCountryLocationOrBuilder

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

      public List<LocationInfo> getSubCountryLocationsList()
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubCountryLocationsList in interface GenerateTrendingInsightsRequestOrBuilder
    • getSubCountryLocationsCount

      public int getSubCountryLocationsCount()
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubCountryLocationsCount in interface GenerateTrendingInsightsRequestOrBuilder
    • getSubCountryLocations

      public LocationInfo getSubCountryLocations(int index)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubCountryLocations in interface GenerateTrendingInsightsRequestOrBuilder
    • setSubCountryLocations

      public GenerateTrendingInsightsRequest.Builder setSubCountryLocations(int index, LocationInfo value)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setSubCountryLocations

      public GenerateTrendingInsightsRequest.Builder setSubCountryLocations(int index, LocationInfo.Builder builderForValue)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addSubCountryLocations

      public GenerateTrendingInsightsRequest.Builder addSubCountryLocations(LocationInfo value)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addSubCountryLocations

      public GenerateTrendingInsightsRequest.Builder addSubCountryLocations(int index, LocationInfo value)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addSubCountryLocations

      public GenerateTrendingInsightsRequest.Builder addSubCountryLocations(LocationInfo.Builder builderForValue)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addSubCountryLocations

      public GenerateTrendingInsightsRequest.Builder addSubCountryLocations(int index, LocationInfo.Builder builderForValue)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addAllSubCountryLocations

      public GenerateTrendingInsightsRequest.Builder addAllSubCountryLocations(Iterable<? extends LocationInfo> values)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearSubCountryLocations

      public GenerateTrendingInsightsRequest.Builder clearSubCountryLocations()
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • removeSubCountryLocations

      public GenerateTrendingInsightsRequest.Builder removeSubCountryLocations(int index)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getSubCountryLocationsBuilder

      public LocationInfo.Builder getSubCountryLocationsBuilder(int index)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getSubCountryLocationsOrBuilder

      public LocationInfoOrBuilder getSubCountryLocationsOrBuilder(int index)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubCountryLocationsOrBuilder in interface GenerateTrendingInsightsRequestOrBuilder
    • getSubCountryLocationsOrBuilderList

      public List<? extends LocationInfoOrBuilder> getSubCountryLocationsOrBuilderList()
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSubCountryLocationsOrBuilderList in interface GenerateTrendingInsightsRequestOrBuilder
    • addSubCountryLocationsBuilder

      public LocationInfo.Builder addSubCountryLocationsBuilder()
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addSubCountryLocationsBuilder

      public LocationInfo.Builder addSubCountryLocationsBuilder(int index)
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getSubCountryLocationsBuilderList

      public List<LocationInfo.Builder> getSubCountryLocationsBuilderList()
       Optional. The sub-country geographic locations to search that apply to the
       criteria. Only supported for `search_audience` criteria.
       
      repeated .google.ads.googleads.v25.common.LocationInfo sub_country_locations = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getSupplementalDataList

       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSupplementalDataList in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      A list containing the supplementalData.
    • getSupplementalDataCount

      public int getSupplementalDataCount()
       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSupplementalDataCount in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      The count of supplementalData.
    • getSupplementalData

       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSupplementalData in interface GenerateTrendingInsightsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The supplementalData at the given index.
    • setSupplementalData

       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The supplementalData to set.
      Returns:
      This builder for chaining.
    • addSupplementalData

       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The supplementalData to add.
      Returns:
      This builder for chaining.
    • addAllSupplementalData

       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The supplementalData to add.
      Returns:
      This builder for chaining.
    • clearSupplementalData

      public GenerateTrendingInsightsRequest.Builder clearSupplementalData()
       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getSupplementalDataValueList

      public List<Integer> getSupplementalDataValueList()
       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSupplementalDataValueList in interface GenerateTrendingInsightsRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for supplementalData.
    • getSupplementalDataValue

      public int getSupplementalDataValue(int index)
       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSupplementalDataValue in interface GenerateTrendingInsightsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of supplementalData at the given index.
    • setSupplementalDataValue

      public GenerateTrendingInsightsRequest.Builder setSupplementalDataValue(int index, int value)
       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for supplementalData to set.
      Returns:
      This builder for chaining.
    • addSupplementalDataValue

      public GenerateTrendingInsightsRequest.Builder addSupplementalDataValue(int value)
       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for supplementalData to add.
      Returns:
      This builder for chaining.
    • addAllSupplementalDataValue

      public GenerateTrendingInsightsRequest.Builder addAllSupplementalDataValue(Iterable<Integer> values)
       Optional. Optional features to include in the response. By default, only
       core insight data is returned. Including supplemental data here will
       populate additional fields in the response.
       
      repeated .google.ads.googleads.v25.enums.ContentCreatorInsightsSupplementalDataEnum.ContentCreatorInsightsSupplementalData supplemental_data = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The enum numeric values on the wire for supplementalData to add.
      Returns:
      This builder for chaining.
    • hasSearchAudience

      public boolean hasSearchAudience()
       An audience to search for trending content in. Data fetched is based on
       the country or sub-country locations specified in
       [country_location][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.country_location]
       or
       [sub_country_locations][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.sub_country_locations].
       
      .google.ads.googleads.v25.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. Data fetched is based on
       the country or sub-country locations specified in
       [country_location][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.country_location]
       or
       [sub_country_locations][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.sub_country_locations].
       
      .google.ads.googleads.v25.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. Data fetched is based on
       the country or sub-country locations specified in
       [country_location][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.country_location]
       or
       [sub_country_locations][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.sub_country_locations].
       
      .google.ads.googleads.v25.services.SearchAudience search_audience = 4;
    • setSearchAudience

      public GenerateTrendingInsightsRequest.Builder setSearchAudience(SearchAudience.Builder builderForValue)
       An audience to search for trending content in. Data fetched is based on
       the country or sub-country locations specified in
       [country_location][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.country_location]
       or
       [sub_country_locations][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.sub_country_locations].
       
      .google.ads.googleads.v25.services.SearchAudience search_audience = 4;
    • mergeSearchAudience

      public GenerateTrendingInsightsRequest.Builder mergeSearchAudience(SearchAudience value)
       An audience to search for trending content in. Data fetched is based on
       the country or sub-country locations specified in
       [country_location][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.country_location]
       or
       [sub_country_locations][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.sub_country_locations].
       
      .google.ads.googleads.v25.services.SearchAudience search_audience = 4;
    • clearSearchAudience

      public GenerateTrendingInsightsRequest.Builder clearSearchAudience()
       An audience to search for trending content in. Data fetched is based on
       the country or sub-country locations specified in
       [country_location][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.country_location]
       or
       [sub_country_locations][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.sub_country_locations].
       
      .google.ads.googleads.v25.services.SearchAudience search_audience = 4;
    • getSearchAudienceBuilder

      public SearchAudience.Builder getSearchAudienceBuilder()
       An audience to search for trending content in. Data fetched is based on
       the country or sub-country locations specified in
       [country_location][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.country_location]
       or
       [sub_country_locations][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.sub_country_locations].
       
      .google.ads.googleads.v25.services.SearchAudience search_audience = 4;
    • getSearchAudienceOrBuilder

      public SearchAudienceOrBuilder getSearchAudienceOrBuilder()
       An audience to search for trending content in. Data fetched is based on
       the country or sub-country locations specified in
       [country_location][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.country_location]
       or
       [sub_country_locations][google.ads.googleads.v25.services.GenerateTrendingInsightsRequest.sub_country_locations].
       
      .google.ads.googleads.v25.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.v25.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.v25.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.v25.services.SearchTopics search_topics = 5;
    • setSearchTopics

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

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

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

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

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