All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v17.services.AudienceCompositionSection Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/services/audience_insights_service.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.services;

/**
 * 
 * A collection of related attributes of the same type in an audience
 * composition insights report.
 * 
* * Protobuf type {@code google.ads.googleads.v17.services.AudienceCompositionSection} */ public final class AudienceCompositionSection extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.services.AudienceCompositionSection) AudienceCompositionSectionOrBuilder { private static final long serialVersionUID = 0L; // Use AudienceCompositionSection.newBuilder() to construct. private AudienceCompositionSection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AudienceCompositionSection() { dimension_ = 0; topAttributes_ = java.util.Collections.emptyList(); clusteredAttributes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AudienceCompositionSection(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v17_services_AudienceCompositionSection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v17_services_AudienceCompositionSection_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.services.AudienceCompositionSection.class, com.google.ads.googleads.v17.services.AudienceCompositionSection.Builder.class); } public static final int DIMENSION_FIELD_NUMBER = 1; private int dimension_ = 0; /** *
   * The type of the attributes in this section.
   * 
* * .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; * @return The enum numeric value on the wire for dimension. */ @java.lang.Override public int getDimensionValue() { return dimension_; } /** *
   * The type of the attributes in this section.
   * 
* * .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; * @return The dimension. */ @java.lang.Override public com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension getDimension() { com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension result = com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension.forNumber(dimension_); return result == null ? com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension.UNRECOGNIZED : result; } public static final int TOP_ATTRIBUTES_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List topAttributes_; /** *
   * The most relevant segments for this audience.  If dimension is GENDER,
   * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ @java.lang.Override public java.util.List getTopAttributesList() { return topAttributes_; } /** *
   * The most relevant segments for this audience.  If dimension is GENDER,
   * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ @java.lang.Override public java.util.List getTopAttributesOrBuilderList() { return topAttributes_; } /** *
   * The most relevant segments for this audience.  If dimension is GENDER,
   * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ @java.lang.Override public int getTopAttributesCount() { return topAttributes_.size(); } /** *
   * The most relevant segments for this audience.  If dimension is GENDER,
   * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ @java.lang.Override public com.google.ads.googleads.v17.services.AudienceCompositionAttribute getTopAttributes(int index) { return topAttributes_.get(index); } /** *
   * The most relevant segments for this audience.  If dimension is GENDER,
   * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ @java.lang.Override public com.google.ads.googleads.v17.services.AudienceCompositionAttributeOrBuilder getTopAttributesOrBuilder( int index) { return topAttributes_.get(index); } public static final int CLUSTERED_ATTRIBUTES_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List clusteredAttributes_; /** *
   * Additional attributes for this audience, grouped into clusters.  Only
   * populated if dimension is YOUTUBE_CHANNEL.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ @java.lang.Override public java.util.List getClusteredAttributesList() { return clusteredAttributes_; } /** *
   * Additional attributes for this audience, grouped into clusters.  Only
   * populated if dimension is YOUTUBE_CHANNEL.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ @java.lang.Override public java.util.List getClusteredAttributesOrBuilderList() { return clusteredAttributes_; } /** *
   * Additional attributes for this audience, grouped into clusters.  Only
   * populated if dimension is YOUTUBE_CHANNEL.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ @java.lang.Override public int getClusteredAttributesCount() { return clusteredAttributes_.size(); } /** *
   * Additional attributes for this audience, grouped into clusters.  Only
   * populated if dimension is YOUTUBE_CHANNEL.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ @java.lang.Override public com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster getClusteredAttributes(int index) { return clusteredAttributes_.get(index); } /** *
   * Additional attributes for this audience, grouped into clusters.  Only
   * populated if dimension is YOUTUBE_CHANNEL.
   * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ @java.lang.Override public com.google.ads.googleads.v17.services.AudienceCompositionAttributeClusterOrBuilder getClusteredAttributesOrBuilder( int index) { return clusteredAttributes_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dimension_ != com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension.UNSPECIFIED.getNumber()) { output.writeEnum(1, dimension_); } for (int i = 0; i < topAttributes_.size(); i++) { output.writeMessage(3, topAttributes_.get(i)); } for (int i = 0; i < clusteredAttributes_.size(); i++) { output.writeMessage(4, clusteredAttributes_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (dimension_ != com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, dimension_); } for (int i = 0; i < topAttributes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, topAttributes_.get(i)); } for (int i = 0; i < clusteredAttributes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, clusteredAttributes_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.ads.googleads.v17.services.AudienceCompositionSection)) { return super.equals(obj); } com.google.ads.googleads.v17.services.AudienceCompositionSection other = (com.google.ads.googleads.v17.services.AudienceCompositionSection) obj; if (dimension_ != other.dimension_) return false; if (!getTopAttributesList() .equals(other.getTopAttributesList())) return false; if (!getClusteredAttributesList() .equals(other.getClusteredAttributesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DIMENSION_FIELD_NUMBER; hash = (53 * hash) + dimension_; if (getTopAttributesCount() > 0) { hash = (37 * hash) + TOP_ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + getTopAttributesList().hashCode(); } if (getClusteredAttributesCount() > 0) { hash = (37 * hash) + CLUSTERED_ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + getClusteredAttributesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.ads.googleads.v17.services.AudienceCompositionSection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * A collection of related attributes of the same type in an audience
   * composition insights report.
   * 
* * Protobuf type {@code google.ads.googleads.v17.services.AudienceCompositionSection} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.services.AudienceCompositionSection) com.google.ads.googleads.v17.services.AudienceCompositionSectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v17_services_AudienceCompositionSection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v17_services_AudienceCompositionSection_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.services.AudienceCompositionSection.class, com.google.ads.googleads.v17.services.AudienceCompositionSection.Builder.class); } // Construct using com.google.ads.googleads.v17.services.AudienceCompositionSection.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; dimension_ = 0; if (topAttributesBuilder_ == null) { topAttributes_ = java.util.Collections.emptyList(); } else { topAttributes_ = null; topAttributesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (clusteredAttributesBuilder_ == null) { clusteredAttributes_ = java.util.Collections.emptyList(); } else { clusteredAttributes_ = null; clusteredAttributesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v17_services_AudienceCompositionSection_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.services.AudienceCompositionSection getDefaultInstanceForType() { return com.google.ads.googleads.v17.services.AudienceCompositionSection.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.services.AudienceCompositionSection build() { com.google.ads.googleads.v17.services.AudienceCompositionSection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.services.AudienceCompositionSection buildPartial() { com.google.ads.googleads.v17.services.AudienceCompositionSection result = new com.google.ads.googleads.v17.services.AudienceCompositionSection(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(com.google.ads.googleads.v17.services.AudienceCompositionSection result) { if (topAttributesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { topAttributes_ = java.util.Collections.unmodifiableList(topAttributes_); bitField0_ = (bitField0_ & ~0x00000002); } result.topAttributes_ = topAttributes_; } else { result.topAttributes_ = topAttributesBuilder_.build(); } if (clusteredAttributesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { clusteredAttributes_ = java.util.Collections.unmodifiableList(clusteredAttributes_); bitField0_ = (bitField0_ & ~0x00000004); } result.clusteredAttributes_ = clusteredAttributes_; } else { result.clusteredAttributes_ = clusteredAttributesBuilder_.build(); } } private void buildPartial0(com.google.ads.googleads.v17.services.AudienceCompositionSection result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dimension_ = dimension_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.services.AudienceCompositionSection) { return mergeFrom((com.google.ads.googleads.v17.services.AudienceCompositionSection)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.services.AudienceCompositionSection other) { if (other == com.google.ads.googleads.v17.services.AudienceCompositionSection.getDefaultInstance()) return this; if (other.dimension_ != 0) { setDimensionValue(other.getDimensionValue()); } if (topAttributesBuilder_ == null) { if (!other.topAttributes_.isEmpty()) { if (topAttributes_.isEmpty()) { topAttributes_ = other.topAttributes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTopAttributesIsMutable(); topAttributes_.addAll(other.topAttributes_); } onChanged(); } } else { if (!other.topAttributes_.isEmpty()) { if (topAttributesBuilder_.isEmpty()) { topAttributesBuilder_.dispose(); topAttributesBuilder_ = null; topAttributes_ = other.topAttributes_; bitField0_ = (bitField0_ & ~0x00000002); topAttributesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTopAttributesFieldBuilder() : null; } else { topAttributesBuilder_.addAllMessages(other.topAttributes_); } } } if (clusteredAttributesBuilder_ == null) { if (!other.clusteredAttributes_.isEmpty()) { if (clusteredAttributes_.isEmpty()) { clusteredAttributes_ = other.clusteredAttributes_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureClusteredAttributesIsMutable(); clusteredAttributes_.addAll(other.clusteredAttributes_); } onChanged(); } } else { if (!other.clusteredAttributes_.isEmpty()) { if (clusteredAttributesBuilder_.isEmpty()) { clusteredAttributesBuilder_.dispose(); clusteredAttributesBuilder_ = null; clusteredAttributes_ = other.clusteredAttributes_; bitField0_ = (bitField0_ & ~0x00000004); clusteredAttributesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getClusteredAttributesFieldBuilder() : null; } else { clusteredAttributesBuilder_.addAllMessages(other.clusteredAttributes_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { dimension_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 26: { com.google.ads.googleads.v17.services.AudienceCompositionAttribute m = input.readMessage( com.google.ads.googleads.v17.services.AudienceCompositionAttribute.parser(), extensionRegistry); if (topAttributesBuilder_ == null) { ensureTopAttributesIsMutable(); topAttributes_.add(m); } else { topAttributesBuilder_.addMessage(m); } break; } // case 26 case 34: { com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster m = input.readMessage( com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.parser(), extensionRegistry); if (clusteredAttributesBuilder_ == null) { ensureClusteredAttributesIsMutable(); clusteredAttributes_.add(m); } else { clusteredAttributesBuilder_.addMessage(m); } break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int dimension_ = 0; /** *
     * The type of the attributes in this section.
     * 
* * .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; * @return The enum numeric value on the wire for dimension. */ @java.lang.Override public int getDimensionValue() { return dimension_; } /** *
     * The type of the attributes in this section.
     * 
* * .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; * @param value The enum numeric value on the wire for dimension to set. * @return This builder for chaining. */ public Builder setDimensionValue(int value) { dimension_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The type of the attributes in this section.
     * 
* * .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; * @return The dimension. */ @java.lang.Override public com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension getDimension() { com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension result = com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension.forNumber(dimension_); return result == null ? com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension.UNRECOGNIZED : result; } /** *
     * The type of the attributes in this section.
     * 
* * .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; * @param value The dimension to set. * @return This builder for chaining. */ public Builder setDimension(com.google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; dimension_ = value.getNumber(); onChanged(); return this; } /** *
     * The type of the attributes in this section.
     * 
* * .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; * @return This builder for chaining. */ public Builder clearDimension() { bitField0_ = (bitField0_ & ~0x00000001); dimension_ = 0; onChanged(); return this; } private java.util.List topAttributes_ = java.util.Collections.emptyList(); private void ensureTopAttributesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { topAttributes_ = new java.util.ArrayList(topAttributes_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.services.AudienceCompositionAttribute, com.google.ads.googleads.v17.services.AudienceCompositionAttribute.Builder, com.google.ads.googleads.v17.services.AudienceCompositionAttributeOrBuilder> topAttributesBuilder_; /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public java.util.List getTopAttributesList() { if (topAttributesBuilder_ == null) { return java.util.Collections.unmodifiableList(topAttributes_); } else { return topAttributesBuilder_.getMessageList(); } } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public int getTopAttributesCount() { if (topAttributesBuilder_ == null) { return topAttributes_.size(); } else { return topAttributesBuilder_.getCount(); } } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttribute getTopAttributes(int index) { if (topAttributesBuilder_ == null) { return topAttributes_.get(index); } else { return topAttributesBuilder_.getMessage(index); } } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public Builder setTopAttributes( int index, com.google.ads.googleads.v17.services.AudienceCompositionAttribute value) { if (topAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopAttributesIsMutable(); topAttributes_.set(index, value); onChanged(); } else { topAttributesBuilder_.setMessage(index, value); } return this; } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public Builder setTopAttributes( int index, com.google.ads.googleads.v17.services.AudienceCompositionAttribute.Builder builderForValue) { if (topAttributesBuilder_ == null) { ensureTopAttributesIsMutable(); topAttributes_.set(index, builderForValue.build()); onChanged(); } else { topAttributesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public Builder addTopAttributes(com.google.ads.googleads.v17.services.AudienceCompositionAttribute value) { if (topAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopAttributesIsMutable(); topAttributes_.add(value); onChanged(); } else { topAttributesBuilder_.addMessage(value); } return this; } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public Builder addTopAttributes( int index, com.google.ads.googleads.v17.services.AudienceCompositionAttribute value) { if (topAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopAttributesIsMutable(); topAttributes_.add(index, value); onChanged(); } else { topAttributesBuilder_.addMessage(index, value); } return this; } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public Builder addTopAttributes( com.google.ads.googleads.v17.services.AudienceCompositionAttribute.Builder builderForValue) { if (topAttributesBuilder_ == null) { ensureTopAttributesIsMutable(); topAttributes_.add(builderForValue.build()); onChanged(); } else { topAttributesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public Builder addTopAttributes( int index, com.google.ads.googleads.v17.services.AudienceCompositionAttribute.Builder builderForValue) { if (topAttributesBuilder_ == null) { ensureTopAttributesIsMutable(); topAttributes_.add(index, builderForValue.build()); onChanged(); } else { topAttributesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public Builder addAllTopAttributes( java.lang.Iterable values) { if (topAttributesBuilder_ == null) { ensureTopAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, topAttributes_); onChanged(); } else { topAttributesBuilder_.addAllMessages(values); } return this; } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public Builder clearTopAttributes() { if (topAttributesBuilder_ == null) { topAttributes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { topAttributesBuilder_.clear(); } return this; } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public Builder removeTopAttributes(int index) { if (topAttributesBuilder_ == null) { ensureTopAttributesIsMutable(); topAttributes_.remove(index); onChanged(); } else { topAttributesBuilder_.remove(index); } return this; } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttribute.Builder getTopAttributesBuilder( int index) { return getTopAttributesFieldBuilder().getBuilder(index); } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttributeOrBuilder getTopAttributesOrBuilder( int index) { if (topAttributesBuilder_ == null) { return topAttributes_.get(index); } else { return topAttributesBuilder_.getMessageOrBuilder(index); } } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public java.util.List getTopAttributesOrBuilderList() { if (topAttributesBuilder_ != null) { return topAttributesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(topAttributes_); } } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttribute.Builder addTopAttributesBuilder() { return getTopAttributesFieldBuilder().addBuilder( com.google.ads.googleads.v17.services.AudienceCompositionAttribute.getDefaultInstance()); } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttribute.Builder addTopAttributesBuilder( int index) { return getTopAttributesFieldBuilder().addBuilder( index, com.google.ads.googleads.v17.services.AudienceCompositionAttribute.getDefaultInstance()); } /** *
     * The most relevant segments for this audience.  If dimension is GENDER,
     * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttribute top_attributes = 3; */ public java.util.List getTopAttributesBuilderList() { return getTopAttributesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.services.AudienceCompositionAttribute, com.google.ads.googleads.v17.services.AudienceCompositionAttribute.Builder, com.google.ads.googleads.v17.services.AudienceCompositionAttributeOrBuilder> getTopAttributesFieldBuilder() { if (topAttributesBuilder_ == null) { topAttributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.services.AudienceCompositionAttribute, com.google.ads.googleads.v17.services.AudienceCompositionAttribute.Builder, com.google.ads.googleads.v17.services.AudienceCompositionAttributeOrBuilder>( topAttributes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); topAttributes_ = null; } return topAttributesBuilder_; } private java.util.List clusteredAttributes_ = java.util.Collections.emptyList(); private void ensureClusteredAttributesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { clusteredAttributes_ = new java.util.ArrayList(clusteredAttributes_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster, com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.Builder, com.google.ads.googleads.v17.services.AudienceCompositionAttributeClusterOrBuilder> clusteredAttributesBuilder_; /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public java.util.List getClusteredAttributesList() { if (clusteredAttributesBuilder_ == null) { return java.util.Collections.unmodifiableList(clusteredAttributes_); } else { return clusteredAttributesBuilder_.getMessageList(); } } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public int getClusteredAttributesCount() { if (clusteredAttributesBuilder_ == null) { return clusteredAttributes_.size(); } else { return clusteredAttributesBuilder_.getCount(); } } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster getClusteredAttributes(int index) { if (clusteredAttributesBuilder_ == null) { return clusteredAttributes_.get(index); } else { return clusteredAttributesBuilder_.getMessage(index); } } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public Builder setClusteredAttributes( int index, com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster value) { if (clusteredAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClusteredAttributesIsMutable(); clusteredAttributes_.set(index, value); onChanged(); } else { clusteredAttributesBuilder_.setMessage(index, value); } return this; } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public Builder setClusteredAttributes( int index, com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.Builder builderForValue) { if (clusteredAttributesBuilder_ == null) { ensureClusteredAttributesIsMutable(); clusteredAttributes_.set(index, builderForValue.build()); onChanged(); } else { clusteredAttributesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public Builder addClusteredAttributes(com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster value) { if (clusteredAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClusteredAttributesIsMutable(); clusteredAttributes_.add(value); onChanged(); } else { clusteredAttributesBuilder_.addMessage(value); } return this; } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public Builder addClusteredAttributes( int index, com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster value) { if (clusteredAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClusteredAttributesIsMutable(); clusteredAttributes_.add(index, value); onChanged(); } else { clusteredAttributesBuilder_.addMessage(index, value); } return this; } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public Builder addClusteredAttributes( com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.Builder builderForValue) { if (clusteredAttributesBuilder_ == null) { ensureClusteredAttributesIsMutable(); clusteredAttributes_.add(builderForValue.build()); onChanged(); } else { clusteredAttributesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public Builder addClusteredAttributes( int index, com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.Builder builderForValue) { if (clusteredAttributesBuilder_ == null) { ensureClusteredAttributesIsMutable(); clusteredAttributes_.add(index, builderForValue.build()); onChanged(); } else { clusteredAttributesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public Builder addAllClusteredAttributes( java.lang.Iterable values) { if (clusteredAttributesBuilder_ == null) { ensureClusteredAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, clusteredAttributes_); onChanged(); } else { clusteredAttributesBuilder_.addAllMessages(values); } return this; } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public Builder clearClusteredAttributes() { if (clusteredAttributesBuilder_ == null) { clusteredAttributes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { clusteredAttributesBuilder_.clear(); } return this; } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public Builder removeClusteredAttributes(int index) { if (clusteredAttributesBuilder_ == null) { ensureClusteredAttributesIsMutable(); clusteredAttributes_.remove(index); onChanged(); } else { clusteredAttributesBuilder_.remove(index); } return this; } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.Builder getClusteredAttributesBuilder( int index) { return getClusteredAttributesFieldBuilder().getBuilder(index); } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttributeClusterOrBuilder getClusteredAttributesOrBuilder( int index) { if (clusteredAttributesBuilder_ == null) { return clusteredAttributes_.get(index); } else { return clusteredAttributesBuilder_.getMessageOrBuilder(index); } } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public java.util.List getClusteredAttributesOrBuilderList() { if (clusteredAttributesBuilder_ != null) { return clusteredAttributesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(clusteredAttributes_); } } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.Builder addClusteredAttributesBuilder() { return getClusteredAttributesFieldBuilder().addBuilder( com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.getDefaultInstance()); } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.Builder addClusteredAttributesBuilder( int index) { return getClusteredAttributesFieldBuilder().addBuilder( index, com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.getDefaultInstance()); } /** *
     * Additional attributes for this audience, grouped into clusters.  Only
     * populated if dimension is YOUTUBE_CHANNEL.
     * 
* * repeated .google.ads.googleads.v17.services.AudienceCompositionAttributeCluster clustered_attributes = 4; */ public java.util.List getClusteredAttributesBuilderList() { return getClusteredAttributesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster, com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.Builder, com.google.ads.googleads.v17.services.AudienceCompositionAttributeClusterOrBuilder> getClusteredAttributesFieldBuilder() { if (clusteredAttributesBuilder_ == null) { clusteredAttributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster, com.google.ads.googleads.v17.services.AudienceCompositionAttributeCluster.Builder, com.google.ads.googleads.v17.services.AudienceCompositionAttributeClusterOrBuilder>( clusteredAttributes_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); clusteredAttributes_ = null; } return clusteredAttributesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v17.services.AudienceCompositionSection) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.services.AudienceCompositionSection) private static final com.google.ads.googleads.v17.services.AudienceCompositionSection DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.services.AudienceCompositionSection(); } public static com.google.ads.googleads.v17.services.AudienceCompositionSection getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AudienceCompositionSection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v17.services.AudienceCompositionSection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy