Class GenerateCreatorInsightsRequest.SearchBrand.Builder

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

public static final class GenerateCreatorInsightsRequest.SearchBrand.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateCreatorInsightsRequest.SearchBrand.Builder> implements GenerateCreatorInsightsRequest.SearchBrandOrBuilder
 The brand used to search for top creators.
 
Protobuf type google.ads.googleads.v23.services.GenerateCreatorInsightsRequest.SearchBrand
  • 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<GenerateCreatorInsightsRequest.SearchBrand.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<GenerateCreatorInsightsRequest.SearchBrand.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<GenerateCreatorInsightsRequest.SearchBrand.Builder>
    • getDefaultInstanceForType

      public GenerateCreatorInsightsRequest.SearchBrand 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
    • mergeFrom

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

      public GenerateCreatorInsightsRequest.SearchBrand.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<GenerateCreatorInsightsRequest.SearchBrand.Builder>
      Throws:
      IOException
    • getBrandEntitiesList

      public List<AudienceInsightsAttribute> getBrandEntitiesList()
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBrandEntitiesList in interface GenerateCreatorInsightsRequest.SearchBrandOrBuilder
    • getBrandEntitiesCount

      public int getBrandEntitiesCount()
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBrandEntitiesCount in interface GenerateCreatorInsightsRequest.SearchBrandOrBuilder
    • getBrandEntities

      public AudienceInsightsAttribute getBrandEntities(int index)
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBrandEntities in interface GenerateCreatorInsightsRequest.SearchBrandOrBuilder
    • setBrandEntities

       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setBrandEntities

      public GenerateCreatorInsightsRequest.SearchBrand.Builder setBrandEntities(int index, AudienceInsightsAttribute.Builder builderForValue)
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBrandEntities

       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBrandEntities

       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBrandEntities

       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBrandEntities

      public GenerateCreatorInsightsRequest.SearchBrand.Builder addBrandEntities(int index, AudienceInsightsAttribute.Builder builderForValue)
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllBrandEntities

       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearBrandEntities

       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removeBrandEntities

      public GenerateCreatorInsightsRequest.SearchBrand.Builder removeBrandEntities(int index)
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getBrandEntitiesBuilder

      public AudienceInsightsAttribute.Builder getBrandEntitiesBuilder(int index)
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getBrandEntitiesOrBuilder

      public AudienceInsightsAttributeOrBuilder getBrandEntitiesOrBuilder(int index)
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBrandEntitiesOrBuilder in interface GenerateCreatorInsightsRequest.SearchBrandOrBuilder
    • getBrandEntitiesOrBuilderList

      public List<? extends AudienceInsightsAttributeOrBuilder> getBrandEntitiesOrBuilderList()
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBrandEntitiesOrBuilderList in interface GenerateCreatorInsightsRequest.SearchBrandOrBuilder
    • addBrandEntitiesBuilder

      public AudienceInsightsAttribute.Builder addBrandEntitiesBuilder()
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addBrandEntitiesBuilder

      public AudienceInsightsAttribute.Builder addBrandEntitiesBuilder(int index)
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getBrandEntitiesBuilderList

      public List<AudienceInsightsAttribute.Builder> getBrandEntitiesBuilderList()
       Optional. One or more Knowledge Graph Entities that represent the brand
       for which to find insights.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute brand_entities = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getIncludeRelatedTopics

      public boolean getIncludeRelatedTopics()
       Optional. When true, we will expand the search to beyond just the
       entities specified in
       [brand_entities][google.ads.googleads.v23.services.GenerateCreatorInsightsRequest.SearchBrand.brand_entities]
       to other related knowledge graph entities similar to the brand. The
       default value is `false`.
       
      bool include_related_topics = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeRelatedTopics in interface GenerateCreatorInsightsRequest.SearchBrandOrBuilder
      Returns:
      The includeRelatedTopics.
    • setIncludeRelatedTopics

      public GenerateCreatorInsightsRequest.SearchBrand.Builder setIncludeRelatedTopics(boolean value)
       Optional. When true, we will expand the search to beyond just the
       entities specified in
       [brand_entities][google.ads.googleads.v23.services.GenerateCreatorInsightsRequest.SearchBrand.brand_entities]
       to other related knowledge graph entities similar to the brand. The
       default value is `false`.
       
      bool include_related_topics = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The includeRelatedTopics to set.
      Returns:
      This builder for chaining.
    • clearIncludeRelatedTopics

      public GenerateCreatorInsightsRequest.SearchBrand.Builder clearIncludeRelatedTopics()
       Optional. When true, we will expand the search to beyond just the
       entities specified in
       [brand_entities][google.ads.googleads.v23.services.GenerateCreatorInsightsRequest.SearchBrand.brand_entities]
       to other related knowledge graph entities similar to the brand. The
       default value is `false`.
       
      bool include_related_topics = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.