Class InsightsAudienceAttributeGroup.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<InsightsAudienceAttributeGroup.Builder>
com.google.ads.googleads.v18.services.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.GeneratedMessageV3.Builder<InsightsAudienceAttributeGroup.Builder> implements InsightsAudienceAttributeGroupOrBuilder
 A list of AudienceInsightsAttributes.
 
Protobuf type google.ads.googleads.v18.services.InsightsAudienceAttributeGroup
  • 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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
    • 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<InsightsAudienceAttributeGroup.Builder>
    • setField

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

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

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

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

      public InsightsAudienceAttributeGroup.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<InsightsAudienceAttributeGroup.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.GeneratedMessageV3.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 to be combined with logical
       OR. Attributes need not all be the same dimension.  Only Knowledge Graph
       entities, Product & Service Categories, and Affinity and In-Market
       audiences are supported in this context.
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAttributesList in interface InsightsAudienceAttributeGroupOrBuilder
    • getAttributesCount

      public int getAttributesCount()
       Required. A collection of audience attributes to be combined with logical
       OR. Attributes need not all be the same dimension.  Only Knowledge Graph
       entities, Product & Service Categories, and Affinity and In-Market
       audiences are supported in this context.
       
      repeated .google.ads.googleads.v18.services.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 to be combined with logical
       OR. Attributes need not all be the same dimension.  Only Knowledge Graph
       entities, Product & Service Categories, and Affinity and In-Market
       audiences are supported in this context.
       
      repeated .google.ads.googleads.v18.services.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 to be combined with logical
       OR. Attributes need not all be the same dimension.  Only Knowledge Graph
       entities, Product & Service Categories, and Affinity and In-Market
       audiences are supported in this context.
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • setAttributes

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

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

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

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

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

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

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

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

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

      public AudienceInsightsAttributeOrBuilder getAttributesOrBuilder(int index)
       Required. A collection of audience attributes to be combined with logical
       OR. Attributes need not all be the same dimension.  Only Knowledge Graph
       entities, Product & Service Categories, and Affinity and In-Market
       audiences are supported in this context.
       
      repeated .google.ads.googleads.v18.services.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 to be combined with logical
       OR. Attributes need not all be the same dimension.  Only Knowledge Graph
       entities, Product & Service Categories, and Affinity and In-Market
       audiences are supported in this context.
       
      repeated .google.ads.googleads.v18.services.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 to be combined with logical
       OR. Attributes need not all be the same dimension.  Only Knowledge Graph
       entities, Product & Service Categories, and Affinity and In-Market
       audiences are supported in this context.
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAttributesBuilder

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

      public List<AudienceInsightsAttribute.Builder> getAttributesBuilderList()
       Required. A collection of audience attributes to be combined with logical
       OR. Attributes need not all be the same dimension.  Only Knowledge Graph
       entities, Product & Service Categories, and Affinity and In-Market
       audiences are supported in this context.
       
      repeated .google.ads.googleads.v18.services.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED];
    • setUnknownFields

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

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