Class InsightsAudienceAttributeGroup.Builder

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

public static final class InsightsAudienceAttributeGroup.Builder extends com.google.protobuf.GeneratedMessage.Builder<InsightsAudienceAttributeGroup.Builder> implements InsightsAudienceAttributeGroupOrBuilder
 A list of AudienceInsightsAttributes.
 
Protobuf type google.ads.googleads.v23.common.InsightsAudienceAttributeGroup
  • 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<InsightsAudienceAttributeGroup.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<InsightsAudienceAttributeGroup.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<InsightsAudienceAttributeGroup.Builder>
    • getDefaultInstanceForType

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

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

      public InsightsAudienceAttributeGroup.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<InsightsAudienceAttributeGroup.Builder>
      Throws:
      IOException
    • getAttributesList

      public List<AudienceInsightsAttribute> getAttributesList()
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAttributesList in interface InsightsAudienceAttributeGroupOrBuilder
    • getAttributesCount

      public int getAttributesCount()
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAttributesCount in interface InsightsAudienceAttributeGroupOrBuilder
    • getAttributes

      public AudienceInsightsAttribute getAttributes(int index)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAttributes in interface InsightsAudienceAttributeGroupOrBuilder
    • setAttributes

      public InsightsAudienceAttributeGroup.Builder setAttributes(int index, AudienceInsightsAttribute value)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • setAttributes

      public InsightsAudienceAttributeGroup.Builder setAttributes(int index, AudienceInsightsAttribute.Builder builderForValue)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAttributes

       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAttributes

      public InsightsAudienceAttributeGroup.Builder addAttributes(int index, AudienceInsightsAttribute value)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAttributes

       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAttributes

      public InsightsAudienceAttributeGroup.Builder addAttributes(int index, AudienceInsightsAttribute.Builder builderForValue)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllAttributes

      public InsightsAudienceAttributeGroup.Builder addAllAttributes(Iterable<? extends AudienceInsightsAttribute> values)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearAttributes

      public InsightsAudienceAttributeGroup.Builder clearAttributes()
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeAttributes

      public InsightsAudienceAttributeGroup.Builder removeAttributes(int index)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAttributesBuilder

      public AudienceInsightsAttribute.Builder getAttributesBuilder(int index)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAttributesOrBuilder

      public AudienceInsightsAttributeOrBuilder getAttributesOrBuilder(int index)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAttributesOrBuilder in interface InsightsAudienceAttributeGroupOrBuilder
    • getAttributesOrBuilderList

      public List<? extends AudienceInsightsAttributeOrBuilder> getAttributesOrBuilderList()
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAttributesOrBuilderList in interface InsightsAudienceAttributeGroupOrBuilder
    • addAttributesBuilder

      public AudienceInsightsAttribute.Builder addAttributesBuilder()
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAttributesBuilder

      public AudienceInsightsAttribute.Builder addAttributesBuilder(int index)
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAttributesBuilderList

      public List<AudienceInsightsAttribute.Builder> getAttributesBuilderList()
       Required. A collection of audience attributes combined with logical OR.
       Attributes need not all be the same dimension. Only Knowledge Graph
       entities, Product & Service Categories, and user interests are supported in
       this context.
       
      repeated .google.ads.googleads.v23.common.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];