Class GenerateCreatorInsightsRequest.SearchAttributes.Builder

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

public static final class GenerateCreatorInsightsRequest.SearchAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateCreatorInsightsRequest.SearchAttributes.Builder> implements GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
 The audience attributes (such as Age, Gender, Affinity, and In-Market) and
 creator attributes (such as creator location and creator's content topics)
 used to search for top creators.
 
Protobuf type google.ads.googleads.v18.services.GenerateCreatorInsightsRequest.SearchAttributes
  • 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<GenerateCreatorInsightsRequest.SearchAttributes.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<GenerateCreatorInsightsRequest.SearchAttributes.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<GenerateCreatorInsightsRequest.SearchAttributes.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

      public List<AudienceInsightsAttribute> getAudienceAttributesList()
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceAttributesList in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • getAudienceAttributesCount

      public int getAudienceAttributesCount()
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceAttributesCount in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • getAudienceAttributes

      public AudienceInsightsAttribute getAudienceAttributes(int index)
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceAttributes in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • setAudienceAttributes

       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setAudienceAttributes

      public GenerateCreatorInsightsRequest.SearchAttributes.Builder setAudienceAttributes(int index, AudienceInsightsAttribute.Builder builderForValue)
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceAttributes

       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceAttributes

       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceAttributes

       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceAttributes

      public GenerateCreatorInsightsRequest.SearchAttributes.Builder addAudienceAttributes(int index, AudienceInsightsAttribute.Builder builderForValue)
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAudienceAttributes

       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearAudienceAttributes

       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removeAudienceAttributes

      public GenerateCreatorInsightsRequest.SearchAttributes.Builder removeAudienceAttributes(int index)
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getAudienceAttributesBuilder

      public AudienceInsightsAttribute.Builder getAudienceAttributesBuilder(int index)
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getAudienceAttributesOrBuilder

      public AudienceInsightsAttributeOrBuilder getAudienceAttributesOrBuilder(int index)
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceAttributesOrBuilder in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • getAudienceAttributesOrBuilderList

      public List<? extends AudienceInsightsAttributeOrBuilder> getAudienceAttributesOrBuilderList()
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAudienceAttributesOrBuilderList in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • addAudienceAttributesBuilder

      public AudienceInsightsAttribute.Builder addAudienceAttributesBuilder()
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAudienceAttributesBuilder

      public AudienceInsightsAttribute.Builder addAudienceAttributesBuilder(int index)
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getAudienceAttributesBuilderList

      public List<AudienceInsightsAttribute.Builder> getAudienceAttributesBuilderList()
       Optional. Audience attributes that describe an audience of viewers. This
       is used to search for creators whose own viewers match the input
       audience.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute audience_attributes = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCreatorAttributesList

      public List<AudienceInsightsAttribute> getCreatorAttributesList()
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCreatorAttributesList in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • getCreatorAttributesCount

      public int getCreatorAttributesCount()
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCreatorAttributesCount in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • getCreatorAttributes

      public AudienceInsightsAttribute getCreatorAttributes(int index)
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCreatorAttributes in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • setCreatorAttributes

       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setCreatorAttributes

      public GenerateCreatorInsightsRequest.SearchAttributes.Builder setCreatorAttributes(int index, AudienceInsightsAttribute.Builder builderForValue)
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCreatorAttributes

       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCreatorAttributes

       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCreatorAttributes

       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCreatorAttributes

      public GenerateCreatorInsightsRequest.SearchAttributes.Builder addCreatorAttributes(int index, AudienceInsightsAttribute.Builder builderForValue)
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAllCreatorAttributes

       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearCreatorAttributes

       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • removeCreatorAttributes

      public GenerateCreatorInsightsRequest.SearchAttributes.Builder removeCreatorAttributes(int index)
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getCreatorAttributesBuilder

      public AudienceInsightsAttribute.Builder getCreatorAttributesBuilder(int index)
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getCreatorAttributesOrBuilder

      public AudienceInsightsAttributeOrBuilder getCreatorAttributesOrBuilder(int index)
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCreatorAttributesOrBuilder in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • getCreatorAttributesOrBuilderList

      public List<? extends AudienceInsightsAttributeOrBuilder> getCreatorAttributesOrBuilderList()
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCreatorAttributesOrBuilderList in interface GenerateCreatorInsightsRequest.SearchAttributesOrBuilder
    • addCreatorAttributesBuilder

      public AudienceInsightsAttribute.Builder addCreatorAttributesBuilder()
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCreatorAttributesBuilder

      public AudienceInsightsAttribute.Builder addCreatorAttributesBuilder(int index)
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getCreatorAttributesBuilderList

      public List<AudienceInsightsAttribute.Builder> getCreatorAttributesBuilderList()
       Optional. Creator attributes that describe a collection of types of
       content. This is used to search for creators whose content matches the
       input creator attributes.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttribute creator_attributes = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUnknownFields

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

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