com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
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;
/**
*
* An audience attribute, with metadata about it, returned in response to a
* search.
*
*
* Protobuf type {@code google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata}
*/
public final class AudienceInsightsAttributeMetadata extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata)
AudienceInsightsAttributeMetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use AudienceInsightsAttributeMetadata.newBuilder() to construct.
private AudienceInsightsAttributeMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AudienceInsightsAttributeMetadata() {
dimension_ = 0;
displayName_ = "";
displayInfo_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AudienceInsightsAttributeMetadata();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v17_services_AudienceInsightsAttributeMetadata_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_AudienceInsightsAttributeMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata.class, com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata.Builder.class);
}
private int bitField0_;
private int dimensionMetadataCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object dimensionMetadata_;
public enum DimensionMetadataCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
YOUTUBE_CHANNEL_METADATA(6),
DYNAMIC_ATTRIBUTE_METADATA(7),
LOCATION_ATTRIBUTE_METADATA(8),
DIMENSIONMETADATA_NOT_SET(0);
private final int value;
private DimensionMetadataCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DimensionMetadataCase valueOf(int value) {
return forNumber(value);
}
public static DimensionMetadataCase forNumber(int value) {
switch (value) {
case 6: return YOUTUBE_CHANNEL_METADATA;
case 7: return DYNAMIC_ATTRIBUTE_METADATA;
case 8: return LOCATION_ATTRIBUTE_METADATA;
case 0: return DIMENSIONMETADATA_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public DimensionMetadataCase
getDimensionMetadataCase() {
return DimensionMetadataCase.forNumber(
dimensionMetadataCase_);
}
public static final int DIMENSION_FIELD_NUMBER = 1;
private int dimension_ = 0;
/**
*
* The type of the attribute.
*
*
* .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 attribute.
*
*
* .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 ATTRIBUTE_FIELD_NUMBER = 2;
private com.google.ads.googleads.v17.services.AudienceInsightsAttribute attribute_;
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
* @return Whether the attribute field is set.
*/
@java.lang.Override
public boolean hasAttribute() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
* @return The attribute.
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.AudienceInsightsAttribute getAttribute() {
return attribute_ == null ? com.google.ads.googleads.v17.services.AudienceInsightsAttribute.getDefaultInstance() : attribute_;
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.AudienceInsightsAttributeOrBuilder getAttributeOrBuilder() {
return attribute_ == null ? com.google.ads.googleads.v17.services.AudienceInsightsAttribute.getDefaultInstance() : attribute_;
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object displayName_ = "";
/**
*
* The human-readable name of the attribute.
*
*
* string display_name = 3;
* @return The displayName.
*/
@java.lang.Override
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayName_ = s;
return s;
}
}
/**
*
* The human-readable name of the attribute.
*
*
* string display_name = 3;
* @return The bytes for displayName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
displayName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DISPLAY_INFO_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object displayInfo_ = "";
/**
*
* A string that supplements the display_name to identify the attribute.
* If the dimension is TOPIC, this is a brief description of the
* Knowledge Graph entity, such as "American singer-songwriter".
* If the dimension is CATEGORY, this is the complete path to the category in
* The Product & Service taxonomy, for example
* "/Apparel/Clothing/Outerwear".
*
*
* string display_info = 5;
* @return The displayInfo.
*/
@java.lang.Override
public java.lang.String getDisplayInfo() {
java.lang.Object ref = displayInfo_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayInfo_ = s;
return s;
}
}
/**
*
* A string that supplements the display_name to identify the attribute.
* If the dimension is TOPIC, this is a brief description of the
* Knowledge Graph entity, such as "American singer-songwriter".
* If the dimension is CATEGORY, this is the complete path to the category in
* The Product & Service taxonomy, for example
* "/Apparel/Clothing/Outerwear".
*
*
* string display_info = 5;
* @return The bytes for displayInfo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisplayInfoBytes() {
java.lang.Object ref = displayInfo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
displayInfo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int POTENTIAL_YOUTUBE_REACH_FIELD_NUMBER = 9;
private long potentialYoutubeReach_ = 0L;
/**
*
* An estimate of the number of reachable YouTube users matching this
* attribute in the requested location, or zero if that information is not
* available for this attribute. Only populated in
* GenerateAudienceOverlapInsightsResponses and in
* ListAudienceInsightsAttributesResponses when youtube_reach_location is
* present in the request.
*
*
* int64 potential_youtube_reach = 9;
* @return The potentialYoutubeReach.
*/
@java.lang.Override
public long getPotentialYoutubeReach() {
return potentialYoutubeReach_;
}
public static final int YOUTUBE_CHANNEL_METADATA_FIELD_NUMBER = 6;
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
* @return Whether the youtubeChannelMetadata field is set.
*/
@java.lang.Override
public boolean hasYoutubeChannelMetadata() {
return dimensionMetadataCase_ == 6;
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
* @return The youtubeChannelMetadata.
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata getYoutubeChannelMetadata() {
if (dimensionMetadataCase_ == 6) {
return (com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.getDefaultInstance();
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadataOrBuilder getYoutubeChannelMetadataOrBuilder() {
if (dimensionMetadataCase_ == 6) {
return (com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.getDefaultInstance();
}
public static final int DYNAMIC_ATTRIBUTE_METADATA_FIELD_NUMBER = 7;
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
* @return Whether the dynamicAttributeMetadata field is set.
*/
@java.lang.Override
public boolean hasDynamicAttributeMetadata() {
return dimensionMetadataCase_ == 7;
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
* @return The dynamicAttributeMetadata.
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata getDynamicAttributeMetadata() {
if (dimensionMetadataCase_ == 7) {
return (com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.getDefaultInstance();
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadataOrBuilder getDynamicAttributeMetadataOrBuilder() {
if (dimensionMetadataCase_ == 7) {
return (com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.getDefaultInstance();
}
public static final int LOCATION_ATTRIBUTE_METADATA_FIELD_NUMBER = 8;
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
* @return Whether the locationAttributeMetadata field is set.
*/
@java.lang.Override
public boolean hasLocationAttributeMetadata() {
return dimensionMetadataCase_ == 8;
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
* @return The locationAttributeMetadata.
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.LocationAttributeMetadata getLocationAttributeMetadata() {
if (dimensionMetadataCase_ == 8) {
return (com.google.ads.googleads.v17.services.LocationAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.LocationAttributeMetadata.getDefaultInstance();
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.LocationAttributeMetadataOrBuilder getLocationAttributeMetadataOrBuilder() {
if (dimensionMetadataCase_ == 8) {
return (com.google.ads.googleads.v17.services.LocationAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.LocationAttributeMetadata.getDefaultInstance();
}
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_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getAttribute());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayInfo_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, displayInfo_);
}
if (dimensionMetadataCase_ == 6) {
output.writeMessage(6, (com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata) dimensionMetadata_);
}
if (dimensionMetadataCase_ == 7) {
output.writeMessage(7, (com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata) dimensionMetadata_);
}
if (dimensionMetadataCase_ == 8) {
output.writeMessage(8, (com.google.ads.googleads.v17.services.LocationAttributeMetadata) dimensionMetadata_);
}
if (potentialYoutubeReach_ != 0L) {
output.writeInt64(9, potentialYoutubeReach_);
}
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_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getAttribute());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, displayName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayInfo_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, displayInfo_);
}
if (dimensionMetadataCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata) dimensionMetadata_);
}
if (dimensionMetadataCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata) dimensionMetadata_);
}
if (dimensionMetadataCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (com.google.ads.googleads.v17.services.LocationAttributeMetadata) dimensionMetadata_);
}
if (potentialYoutubeReach_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, potentialYoutubeReach_);
}
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.AudienceInsightsAttributeMetadata)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata other = (com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata) obj;
if (dimension_ != other.dimension_) return false;
if (hasAttribute() != other.hasAttribute()) return false;
if (hasAttribute()) {
if (!getAttribute()
.equals(other.getAttribute())) return false;
}
if (!getDisplayName()
.equals(other.getDisplayName())) return false;
if (!getDisplayInfo()
.equals(other.getDisplayInfo())) return false;
if (getPotentialYoutubeReach()
!= other.getPotentialYoutubeReach()) return false;
if (!getDimensionMetadataCase().equals(other.getDimensionMetadataCase())) return false;
switch (dimensionMetadataCase_) {
case 6:
if (!getYoutubeChannelMetadata()
.equals(other.getYoutubeChannelMetadata())) return false;
break;
case 7:
if (!getDynamicAttributeMetadata()
.equals(other.getDynamicAttributeMetadata())) return false;
break;
case 8:
if (!getLocationAttributeMetadata()
.equals(other.getLocationAttributeMetadata())) return false;
break;
case 0:
default:
}
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 (hasAttribute()) {
hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getAttribute().hashCode();
}
hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDisplayName().hashCode();
hash = (37 * hash) + DISPLAY_INFO_FIELD_NUMBER;
hash = (53 * hash) + getDisplayInfo().hashCode();
hash = (37 * hash) + POTENTIAL_YOUTUBE_REACH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPotentialYoutubeReach());
switch (dimensionMetadataCase_) {
case 6:
hash = (37 * hash) + YOUTUBE_CHANNEL_METADATA_FIELD_NUMBER;
hash = (53 * hash) + getYoutubeChannelMetadata().hashCode();
break;
case 7:
hash = (37 * hash) + DYNAMIC_ATTRIBUTE_METADATA_FIELD_NUMBER;
hash = (53 * hash) + getDynamicAttributeMetadata().hashCode();
break;
case 8:
hash = (37 * hash) + LOCATION_ATTRIBUTE_METADATA_FIELD_NUMBER;
hash = (53 * hash) + getLocationAttributeMetadata().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata 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;
}
/**
*
* An audience attribute, with metadata about it, returned in response to a
* search.
*
*
* Protobuf type {@code google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata)
com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.services.AudienceInsightsServiceProto.internal_static_google_ads_googleads_v17_services_AudienceInsightsAttributeMetadata_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_AudienceInsightsAttributeMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata.class, com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata.Builder.class);
}
// Construct using com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getAttributeFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
dimension_ = 0;
attribute_ = null;
if (attributeBuilder_ != null) {
attributeBuilder_.dispose();
attributeBuilder_ = null;
}
displayName_ = "";
displayInfo_ = "";
potentialYoutubeReach_ = 0L;
if (youtubeChannelMetadataBuilder_ != null) {
youtubeChannelMetadataBuilder_.clear();
}
if (dynamicAttributeMetadataBuilder_ != null) {
dynamicAttributeMetadataBuilder_.clear();
}
if (locationAttributeMetadataBuilder_ != null) {
locationAttributeMetadataBuilder_.clear();
}
dimensionMetadataCase_ = 0;
dimensionMetadata_ = null;
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_AudienceInsightsAttributeMetadata_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata getDefaultInstanceForType() {
return com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata build() {
com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata buildPartial() {
com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata result = new com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.dimension_ = dimension_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.attribute_ = attributeBuilder_ == null
? attribute_
: attributeBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.displayName_ = displayName_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.displayInfo_ = displayInfo_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.potentialYoutubeReach_ = potentialYoutubeReach_;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata result) {
result.dimensionMetadataCase_ = dimensionMetadataCase_;
result.dimensionMetadata_ = this.dimensionMetadata_;
if (dimensionMetadataCase_ == 6 &&
youtubeChannelMetadataBuilder_ != null) {
result.dimensionMetadata_ = youtubeChannelMetadataBuilder_.build();
}
if (dimensionMetadataCase_ == 7 &&
dynamicAttributeMetadataBuilder_ != null) {
result.dimensionMetadata_ = dynamicAttributeMetadataBuilder_.build();
}
if (dimensionMetadataCase_ == 8 &&
locationAttributeMetadataBuilder_ != null) {
result.dimensionMetadata_ = locationAttributeMetadataBuilder_.build();
}
}
@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.AudienceInsightsAttributeMetadata) {
return mergeFrom((com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata other) {
if (other == com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata.getDefaultInstance()) return this;
if (other.dimension_ != 0) {
setDimensionValue(other.getDimensionValue());
}
if (other.hasAttribute()) {
mergeAttribute(other.getAttribute());
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getDisplayInfo().isEmpty()) {
displayInfo_ = other.displayInfo_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.getPotentialYoutubeReach() != 0L) {
setPotentialYoutubeReach(other.getPotentialYoutubeReach());
}
switch (other.getDimensionMetadataCase()) {
case YOUTUBE_CHANNEL_METADATA: {
mergeYoutubeChannelMetadata(other.getYoutubeChannelMetadata());
break;
}
case DYNAMIC_ATTRIBUTE_METADATA: {
mergeDynamicAttributeMetadata(other.getDynamicAttributeMetadata());
break;
}
case LOCATION_ATTRIBUTE_METADATA: {
mergeLocationAttributeMetadata(other.getLocationAttributeMetadata());
break;
}
case DIMENSIONMETADATA_NOT_SET: {
break;
}
}
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 18: {
input.readMessage(
getAttributeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
displayName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 42: {
displayInfo_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 42
case 50: {
input.readMessage(
getYoutubeChannelMetadataFieldBuilder().getBuilder(),
extensionRegistry);
dimensionMetadataCase_ = 6;
break;
} // case 50
case 58: {
input.readMessage(
getDynamicAttributeMetadataFieldBuilder().getBuilder(),
extensionRegistry);
dimensionMetadataCase_ = 7;
break;
} // case 58
case 66: {
input.readMessage(
getLocationAttributeMetadataFieldBuilder().getBuilder(),
extensionRegistry);
dimensionMetadataCase_ = 8;
break;
} // case 66
case 72: {
potentialYoutubeReach_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 72
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 dimensionMetadataCase_ = 0;
private java.lang.Object dimensionMetadata_;
public DimensionMetadataCase
getDimensionMetadataCase() {
return DimensionMetadataCase.forNumber(
dimensionMetadataCase_);
}
public Builder clearDimensionMetadata() {
dimensionMetadataCase_ = 0;
dimensionMetadata_ = null;
onChanged();
return this;
}
private int bitField0_;
private int dimension_ = 0;
/**
*
* The type of the attribute.
*
*
* .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 attribute.
*
*
* .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 attribute.
*
*
* .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 attribute.
*
*
* .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 attribute.
*
*
* .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 com.google.ads.googleads.v17.services.AudienceInsightsAttribute attribute_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.AudienceInsightsAttribute, com.google.ads.googleads.v17.services.AudienceInsightsAttribute.Builder, com.google.ads.googleads.v17.services.AudienceInsightsAttributeOrBuilder> attributeBuilder_;
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
* @return Whether the attribute field is set.
*/
public boolean hasAttribute() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
* @return The attribute.
*/
public com.google.ads.googleads.v17.services.AudienceInsightsAttribute getAttribute() {
if (attributeBuilder_ == null) {
return attribute_ == null ? com.google.ads.googleads.v17.services.AudienceInsightsAttribute.getDefaultInstance() : attribute_;
} else {
return attributeBuilder_.getMessage();
}
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
*/
public Builder setAttribute(com.google.ads.googleads.v17.services.AudienceInsightsAttribute value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attribute_ = value;
} else {
attributeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
*/
public Builder setAttribute(
com.google.ads.googleads.v17.services.AudienceInsightsAttribute.Builder builderForValue) {
if (attributeBuilder_ == null) {
attribute_ = builderForValue.build();
} else {
attributeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
*/
public Builder mergeAttribute(com.google.ads.googleads.v17.services.AudienceInsightsAttribute value) {
if (attributeBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
attribute_ != null &&
attribute_ != com.google.ads.googleads.v17.services.AudienceInsightsAttribute.getDefaultInstance()) {
getAttributeBuilder().mergeFrom(value);
} else {
attribute_ = value;
}
} else {
attributeBuilder_.mergeFrom(value);
}
if (attribute_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
*/
public Builder clearAttribute() {
bitField0_ = (bitField0_ & ~0x00000002);
attribute_ = null;
if (attributeBuilder_ != null) {
attributeBuilder_.dispose();
attributeBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
*/
public com.google.ads.googleads.v17.services.AudienceInsightsAttribute.Builder getAttributeBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getAttributeFieldBuilder().getBuilder();
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
*/
public com.google.ads.googleads.v17.services.AudienceInsightsAttributeOrBuilder getAttributeOrBuilder() {
if (attributeBuilder_ != null) {
return attributeBuilder_.getMessageOrBuilder();
} else {
return attribute_ == null ?
com.google.ads.googleads.v17.services.AudienceInsightsAttribute.getDefaultInstance() : attribute_;
}
}
/**
*
* The attribute itself.
*
*
* .google.ads.googleads.v17.services.AudienceInsightsAttribute attribute = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.AudienceInsightsAttribute, com.google.ads.googleads.v17.services.AudienceInsightsAttribute.Builder, com.google.ads.googleads.v17.services.AudienceInsightsAttributeOrBuilder>
getAttributeFieldBuilder() {
if (attributeBuilder_ == null) {
attributeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.AudienceInsightsAttribute, com.google.ads.googleads.v17.services.AudienceInsightsAttribute.Builder, com.google.ads.googleads.v17.services.AudienceInsightsAttributeOrBuilder>(
getAttribute(),
getParentForChildren(),
isClean());
attribute_ = null;
}
return attributeBuilder_;
}
private java.lang.Object displayName_ = "";
/**
*
* The human-readable name of the attribute.
*
*
* string display_name = 3;
* @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The human-readable name of the attribute.
*
*
* string display_name = 3;
* @return The bytes for displayName.
*/
public com.google.protobuf.ByteString
getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
displayName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The human-readable name of the attribute.
*
*
* string display_name = 3;
* @param value The displayName to set.
* @return This builder for chaining.
*/
public Builder setDisplayName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
displayName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* The human-readable name of the attribute.
*
*
* string display_name = 3;
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
displayName_ = getDefaultInstance().getDisplayName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
*
* The human-readable name of the attribute.
*
*
* string display_name = 3;
* @param value The bytes for displayName to set.
* @return This builder for chaining.
*/
public Builder setDisplayNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
displayName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object displayInfo_ = "";
/**
*
* A string that supplements the display_name to identify the attribute.
* If the dimension is TOPIC, this is a brief description of the
* Knowledge Graph entity, such as "American singer-songwriter".
* If the dimension is CATEGORY, this is the complete path to the category in
* The Product & Service taxonomy, for example
* "/Apparel/Clothing/Outerwear".
*
*
* string display_info = 5;
* @return The displayInfo.
*/
public java.lang.String getDisplayInfo() {
java.lang.Object ref = displayInfo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayInfo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* A string that supplements the display_name to identify the attribute.
* If the dimension is TOPIC, this is a brief description of the
* Knowledge Graph entity, such as "American singer-songwriter".
* If the dimension is CATEGORY, this is the complete path to the category in
* The Product & Service taxonomy, for example
* "/Apparel/Clothing/Outerwear".
*
*
* string display_info = 5;
* @return The bytes for displayInfo.
*/
public com.google.protobuf.ByteString
getDisplayInfoBytes() {
java.lang.Object ref = displayInfo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
displayInfo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* A string that supplements the display_name to identify the attribute.
* If the dimension is TOPIC, this is a brief description of the
* Knowledge Graph entity, such as "American singer-songwriter".
* If the dimension is CATEGORY, this is the complete path to the category in
* The Product & Service taxonomy, for example
* "/Apparel/Clothing/Outerwear".
*
*
* string display_info = 5;
* @param value The displayInfo to set.
* @return This builder for chaining.
*/
public Builder setDisplayInfo(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
displayInfo_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* A string that supplements the display_name to identify the attribute.
* If the dimension is TOPIC, this is a brief description of the
* Knowledge Graph entity, such as "American singer-songwriter".
* If the dimension is CATEGORY, this is the complete path to the category in
* The Product & Service taxonomy, for example
* "/Apparel/Clothing/Outerwear".
*
*
* string display_info = 5;
* @return This builder for chaining.
*/
public Builder clearDisplayInfo() {
displayInfo_ = getDefaultInstance().getDisplayInfo();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* A string that supplements the display_name to identify the attribute.
* If the dimension is TOPIC, this is a brief description of the
* Knowledge Graph entity, such as "American singer-songwriter".
* If the dimension is CATEGORY, this is the complete path to the category in
* The Product & Service taxonomy, for example
* "/Apparel/Clothing/Outerwear".
*
*
* string display_info = 5;
* @param value The bytes for displayInfo to set.
* @return This builder for chaining.
*/
public Builder setDisplayInfoBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
displayInfo_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private long potentialYoutubeReach_ ;
/**
*
* An estimate of the number of reachable YouTube users matching this
* attribute in the requested location, or zero if that information is not
* available for this attribute. Only populated in
* GenerateAudienceOverlapInsightsResponses and in
* ListAudienceInsightsAttributesResponses when youtube_reach_location is
* present in the request.
*
*
* int64 potential_youtube_reach = 9;
* @return The potentialYoutubeReach.
*/
@java.lang.Override
public long getPotentialYoutubeReach() {
return potentialYoutubeReach_;
}
/**
*
* An estimate of the number of reachable YouTube users matching this
* attribute in the requested location, or zero if that information is not
* available for this attribute. Only populated in
* GenerateAudienceOverlapInsightsResponses and in
* ListAudienceInsightsAttributesResponses when youtube_reach_location is
* present in the request.
*
*
* int64 potential_youtube_reach = 9;
* @param value The potentialYoutubeReach to set.
* @return This builder for chaining.
*/
public Builder setPotentialYoutubeReach(long value) {
potentialYoutubeReach_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* An estimate of the number of reachable YouTube users matching this
* attribute in the requested location, or zero if that information is not
* available for this attribute. Only populated in
* GenerateAudienceOverlapInsightsResponses and in
* ListAudienceInsightsAttributesResponses when youtube_reach_location is
* present in the request.
*
*
* int64 potential_youtube_reach = 9;
* @return This builder for chaining.
*/
public Builder clearPotentialYoutubeReach() {
bitField0_ = (bitField0_ & ~0x00000010);
potentialYoutubeReach_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata, com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.Builder, com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadataOrBuilder> youtubeChannelMetadataBuilder_;
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
* @return Whether the youtubeChannelMetadata field is set.
*/
@java.lang.Override
public boolean hasYoutubeChannelMetadata() {
return dimensionMetadataCase_ == 6;
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
* @return The youtubeChannelMetadata.
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata getYoutubeChannelMetadata() {
if (youtubeChannelMetadataBuilder_ == null) {
if (dimensionMetadataCase_ == 6) {
return (com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.getDefaultInstance();
} else {
if (dimensionMetadataCase_ == 6) {
return youtubeChannelMetadataBuilder_.getMessage();
}
return com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.getDefaultInstance();
}
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
*/
public Builder setYoutubeChannelMetadata(com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata value) {
if (youtubeChannelMetadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dimensionMetadata_ = value;
onChanged();
} else {
youtubeChannelMetadataBuilder_.setMessage(value);
}
dimensionMetadataCase_ = 6;
return this;
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
*/
public Builder setYoutubeChannelMetadata(
com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.Builder builderForValue) {
if (youtubeChannelMetadataBuilder_ == null) {
dimensionMetadata_ = builderForValue.build();
onChanged();
} else {
youtubeChannelMetadataBuilder_.setMessage(builderForValue.build());
}
dimensionMetadataCase_ = 6;
return this;
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
*/
public Builder mergeYoutubeChannelMetadata(com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata value) {
if (youtubeChannelMetadataBuilder_ == null) {
if (dimensionMetadataCase_ == 6 &&
dimensionMetadata_ != com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.getDefaultInstance()) {
dimensionMetadata_ = com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.newBuilder((com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata) dimensionMetadata_)
.mergeFrom(value).buildPartial();
} else {
dimensionMetadata_ = value;
}
onChanged();
} else {
if (dimensionMetadataCase_ == 6) {
youtubeChannelMetadataBuilder_.mergeFrom(value);
} else {
youtubeChannelMetadataBuilder_.setMessage(value);
}
}
dimensionMetadataCase_ = 6;
return this;
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
*/
public Builder clearYoutubeChannelMetadata() {
if (youtubeChannelMetadataBuilder_ == null) {
if (dimensionMetadataCase_ == 6) {
dimensionMetadataCase_ = 0;
dimensionMetadata_ = null;
onChanged();
}
} else {
if (dimensionMetadataCase_ == 6) {
dimensionMetadataCase_ = 0;
dimensionMetadata_ = null;
}
youtubeChannelMetadataBuilder_.clear();
}
return this;
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
*/
public com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.Builder getYoutubeChannelMetadataBuilder() {
return getYoutubeChannelMetadataFieldBuilder().getBuilder();
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadataOrBuilder getYoutubeChannelMetadataOrBuilder() {
if ((dimensionMetadataCase_ == 6) && (youtubeChannelMetadataBuilder_ != null)) {
return youtubeChannelMetadataBuilder_.getMessageOrBuilder();
} else {
if (dimensionMetadataCase_ == 6) {
return (com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.getDefaultInstance();
}
}
/**
*
* Special metadata for a YouTube channel.
*
*
* .google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata, com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.Builder, com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadataOrBuilder>
getYoutubeChannelMetadataFieldBuilder() {
if (youtubeChannelMetadataBuilder_ == null) {
if (!(dimensionMetadataCase_ == 6)) {
dimensionMetadata_ = com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.getDefaultInstance();
}
youtubeChannelMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata, com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata.Builder, com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadataOrBuilder>(
(com.google.ads.googleads.v17.services.YouTubeChannelAttributeMetadata) dimensionMetadata_,
getParentForChildren(),
isClean());
dimensionMetadata_ = null;
}
dimensionMetadataCase_ = 6;
onChanged();
return youtubeChannelMetadataBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata, com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.Builder, com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadataOrBuilder> dynamicAttributeMetadataBuilder_;
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
* @return Whether the dynamicAttributeMetadata field is set.
*/
@java.lang.Override
public boolean hasDynamicAttributeMetadata() {
return dimensionMetadataCase_ == 7;
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
* @return The dynamicAttributeMetadata.
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata getDynamicAttributeMetadata() {
if (dynamicAttributeMetadataBuilder_ == null) {
if (dimensionMetadataCase_ == 7) {
return (com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.getDefaultInstance();
} else {
if (dimensionMetadataCase_ == 7) {
return dynamicAttributeMetadataBuilder_.getMessage();
}
return com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.getDefaultInstance();
}
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
*/
public Builder setDynamicAttributeMetadata(com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata value) {
if (dynamicAttributeMetadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dimensionMetadata_ = value;
onChanged();
} else {
dynamicAttributeMetadataBuilder_.setMessage(value);
}
dimensionMetadataCase_ = 7;
return this;
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
*/
public Builder setDynamicAttributeMetadata(
com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.Builder builderForValue) {
if (dynamicAttributeMetadataBuilder_ == null) {
dimensionMetadata_ = builderForValue.build();
onChanged();
} else {
dynamicAttributeMetadataBuilder_.setMessage(builderForValue.build());
}
dimensionMetadataCase_ = 7;
return this;
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
*/
public Builder mergeDynamicAttributeMetadata(com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata value) {
if (dynamicAttributeMetadataBuilder_ == null) {
if (dimensionMetadataCase_ == 7 &&
dimensionMetadata_ != com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.getDefaultInstance()) {
dimensionMetadata_ = com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.newBuilder((com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata) dimensionMetadata_)
.mergeFrom(value).buildPartial();
} else {
dimensionMetadata_ = value;
}
onChanged();
} else {
if (dimensionMetadataCase_ == 7) {
dynamicAttributeMetadataBuilder_.mergeFrom(value);
} else {
dynamicAttributeMetadataBuilder_.setMessage(value);
}
}
dimensionMetadataCase_ = 7;
return this;
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
*/
public Builder clearDynamicAttributeMetadata() {
if (dynamicAttributeMetadataBuilder_ == null) {
if (dimensionMetadataCase_ == 7) {
dimensionMetadataCase_ = 0;
dimensionMetadata_ = null;
onChanged();
}
} else {
if (dimensionMetadataCase_ == 7) {
dimensionMetadataCase_ = 0;
dimensionMetadata_ = null;
}
dynamicAttributeMetadataBuilder_.clear();
}
return this;
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
*/
public com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.Builder getDynamicAttributeMetadataBuilder() {
return getDynamicAttributeMetadataFieldBuilder().getBuilder();
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadataOrBuilder getDynamicAttributeMetadataOrBuilder() {
if ((dimensionMetadataCase_ == 7) && (dynamicAttributeMetadataBuilder_ != null)) {
return dynamicAttributeMetadataBuilder_.getMessageOrBuilder();
} else {
if (dimensionMetadataCase_ == 7) {
return (com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.getDefaultInstance();
}
}
/**
*
* Special metadata for a YouTube Dynamic Lineup.
*
*
* .google.ads.googleads.v17.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata, com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.Builder, com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadataOrBuilder>
getDynamicAttributeMetadataFieldBuilder() {
if (dynamicAttributeMetadataBuilder_ == null) {
if (!(dimensionMetadataCase_ == 7)) {
dimensionMetadata_ = com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.getDefaultInstance();
}
dynamicAttributeMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata, com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata.Builder, com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadataOrBuilder>(
(com.google.ads.googleads.v17.services.DynamicLineupAttributeMetadata) dimensionMetadata_,
getParentForChildren(),
isClean());
dimensionMetadata_ = null;
}
dimensionMetadataCase_ = 7;
onChanged();
return dynamicAttributeMetadataBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.LocationAttributeMetadata, com.google.ads.googleads.v17.services.LocationAttributeMetadata.Builder, com.google.ads.googleads.v17.services.LocationAttributeMetadataOrBuilder> locationAttributeMetadataBuilder_;
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
* @return Whether the locationAttributeMetadata field is set.
*/
@java.lang.Override
public boolean hasLocationAttributeMetadata() {
return dimensionMetadataCase_ == 8;
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
* @return The locationAttributeMetadata.
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.LocationAttributeMetadata getLocationAttributeMetadata() {
if (locationAttributeMetadataBuilder_ == null) {
if (dimensionMetadataCase_ == 8) {
return (com.google.ads.googleads.v17.services.LocationAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.LocationAttributeMetadata.getDefaultInstance();
} else {
if (dimensionMetadataCase_ == 8) {
return locationAttributeMetadataBuilder_.getMessage();
}
return com.google.ads.googleads.v17.services.LocationAttributeMetadata.getDefaultInstance();
}
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
*/
public Builder setLocationAttributeMetadata(com.google.ads.googleads.v17.services.LocationAttributeMetadata value) {
if (locationAttributeMetadataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dimensionMetadata_ = value;
onChanged();
} else {
locationAttributeMetadataBuilder_.setMessage(value);
}
dimensionMetadataCase_ = 8;
return this;
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
*/
public Builder setLocationAttributeMetadata(
com.google.ads.googleads.v17.services.LocationAttributeMetadata.Builder builderForValue) {
if (locationAttributeMetadataBuilder_ == null) {
dimensionMetadata_ = builderForValue.build();
onChanged();
} else {
locationAttributeMetadataBuilder_.setMessage(builderForValue.build());
}
dimensionMetadataCase_ = 8;
return this;
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
*/
public Builder mergeLocationAttributeMetadata(com.google.ads.googleads.v17.services.LocationAttributeMetadata value) {
if (locationAttributeMetadataBuilder_ == null) {
if (dimensionMetadataCase_ == 8 &&
dimensionMetadata_ != com.google.ads.googleads.v17.services.LocationAttributeMetadata.getDefaultInstance()) {
dimensionMetadata_ = com.google.ads.googleads.v17.services.LocationAttributeMetadata.newBuilder((com.google.ads.googleads.v17.services.LocationAttributeMetadata) dimensionMetadata_)
.mergeFrom(value).buildPartial();
} else {
dimensionMetadata_ = value;
}
onChanged();
} else {
if (dimensionMetadataCase_ == 8) {
locationAttributeMetadataBuilder_.mergeFrom(value);
} else {
locationAttributeMetadataBuilder_.setMessage(value);
}
}
dimensionMetadataCase_ = 8;
return this;
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
*/
public Builder clearLocationAttributeMetadata() {
if (locationAttributeMetadataBuilder_ == null) {
if (dimensionMetadataCase_ == 8) {
dimensionMetadataCase_ = 0;
dimensionMetadata_ = null;
onChanged();
}
} else {
if (dimensionMetadataCase_ == 8) {
dimensionMetadataCase_ = 0;
dimensionMetadata_ = null;
}
locationAttributeMetadataBuilder_.clear();
}
return this;
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
*/
public com.google.ads.googleads.v17.services.LocationAttributeMetadata.Builder getLocationAttributeMetadataBuilder() {
return getLocationAttributeMetadataFieldBuilder().getBuilder();
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
*/
@java.lang.Override
public com.google.ads.googleads.v17.services.LocationAttributeMetadataOrBuilder getLocationAttributeMetadataOrBuilder() {
if ((dimensionMetadataCase_ == 8) && (locationAttributeMetadataBuilder_ != null)) {
return locationAttributeMetadataBuilder_.getMessageOrBuilder();
} else {
if (dimensionMetadataCase_ == 8) {
return (com.google.ads.googleads.v17.services.LocationAttributeMetadata) dimensionMetadata_;
}
return com.google.ads.googleads.v17.services.LocationAttributeMetadata.getDefaultInstance();
}
}
/**
*
* Special metadata for a Location.
*
*
* .google.ads.googleads.v17.services.LocationAttributeMetadata location_attribute_metadata = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.LocationAttributeMetadata, com.google.ads.googleads.v17.services.LocationAttributeMetadata.Builder, com.google.ads.googleads.v17.services.LocationAttributeMetadataOrBuilder>
getLocationAttributeMetadataFieldBuilder() {
if (locationAttributeMetadataBuilder_ == null) {
if (!(dimensionMetadataCase_ == 8)) {
dimensionMetadata_ = com.google.ads.googleads.v17.services.LocationAttributeMetadata.getDefaultInstance();
}
locationAttributeMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.services.LocationAttributeMetadata, com.google.ads.googleads.v17.services.LocationAttributeMetadata.Builder, com.google.ads.googleads.v17.services.LocationAttributeMetadataOrBuilder>(
(com.google.ads.googleads.v17.services.LocationAttributeMetadata) dimensionMetadata_,
getParentForChildren(),
isClean());
dimensionMetadata_ = null;
}
dimensionMetadataCase_ = 8;
onChanged();
return locationAttributeMetadataBuilder_;
}
@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.AudienceInsightsAttributeMetadata)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata)
private static final com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata();
}
public static com.google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AudienceInsightsAttributeMetadata 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.AudienceInsightsAttributeMetadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy