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

com.google.ads.googleads.v17.common.UserIdentifier Maven / Gradle / Ivy

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

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

/**
 * 
 * User identifying information.
 * 
* * Protobuf type {@code google.ads.googleads.v17.common.UserIdentifier} */ public final class UserIdentifier extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.UserIdentifier) UserIdentifierOrBuilder { private static final long serialVersionUID = 0L; // Use UserIdentifier.newBuilder() to construct. private UserIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserIdentifier() { userIdentifierSource_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UserIdentifier(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.OfflineUserDataProto.internal_static_google_ads_googleads_v17_common_UserIdentifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.OfflineUserDataProto.internal_static_google_ads_googleads_v17_common_UserIdentifier_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.UserIdentifier.class, com.google.ads.googleads.v17.common.UserIdentifier.Builder.class); } private int identifierCase_ = 0; @SuppressWarnings("serial") private java.lang.Object identifier_; public enum IdentifierCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { HASHED_EMAIL(7), HASHED_PHONE_NUMBER(8), MOBILE_ID(9), THIRD_PARTY_USER_ID(10), ADDRESS_INFO(5), IDENTIFIER_NOT_SET(0); private final int value; private IdentifierCase(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 IdentifierCase valueOf(int value) { return forNumber(value); } public static IdentifierCase forNumber(int value) { switch (value) { case 7: return HASHED_EMAIL; case 8: return HASHED_PHONE_NUMBER; case 9: return MOBILE_ID; case 10: return THIRD_PARTY_USER_ID; case 5: return ADDRESS_INFO; case 0: return IDENTIFIER_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public IdentifierCase getIdentifierCase() { return IdentifierCase.forNumber( identifierCase_); } public static final int USER_IDENTIFIER_SOURCE_FIELD_NUMBER = 6; private int userIdentifierSource_ = 0; /** *
   * Source of the user identifier when the upload is from Store Sales,
   * ConversionUploadService, or ConversionAdjustmentUploadService.
   * 
* * .google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; * @return The enum numeric value on the wire for userIdentifierSource. */ @java.lang.Override public int getUserIdentifierSourceValue() { return userIdentifierSource_; } /** *
   * Source of the user identifier when the upload is from Store Sales,
   * ConversionUploadService, or ConversionAdjustmentUploadService.
   * 
* * .google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; * @return The userIdentifierSource. */ @java.lang.Override public com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource getUserIdentifierSource() { com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource result = com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource.forNumber(userIdentifierSource_); return result == null ? com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource.UNRECOGNIZED : result; } public static final int HASHED_EMAIL_FIELD_NUMBER = 7; /** *
   * Hashed email address using SHA-256 hash function after normalization.
   * Accepted for Customer Match, Store Sales, ConversionUploadService, and
   * ConversionAdjustmentUploadService.
   * 
* * string hashed_email = 7; * @return Whether the hashedEmail field is set. */ public boolean hasHashedEmail() { return identifierCase_ == 7; } /** *
   * Hashed email address using SHA-256 hash function after normalization.
   * Accepted for Customer Match, Store Sales, ConversionUploadService, and
   * ConversionAdjustmentUploadService.
   * 
* * string hashed_email = 7; * @return The hashedEmail. */ public java.lang.String getHashedEmail() { java.lang.Object ref = ""; if (identifierCase_ == 7) { ref = identifier_; } 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(); if (identifierCase_ == 7) { identifier_ = s; } return s; } } /** *
   * Hashed email address using SHA-256 hash function after normalization.
   * Accepted for Customer Match, Store Sales, ConversionUploadService, and
   * ConversionAdjustmentUploadService.
   * 
* * string hashed_email = 7; * @return The bytes for hashedEmail. */ public com.google.protobuf.ByteString getHashedEmailBytes() { java.lang.Object ref = ""; if (identifierCase_ == 7) { ref = identifier_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (identifierCase_ == 7) { identifier_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HASHED_PHONE_NUMBER_FIELD_NUMBER = 8; /** *
   * Hashed phone number using SHA-256 hash function after normalization
   * (E164 standard). Accepted for Customer Match, Store Sales,
   * ConversionUploadService, and ConversionAdjustmentUploadService.
   * 
* * string hashed_phone_number = 8; * @return Whether the hashedPhoneNumber field is set. */ public boolean hasHashedPhoneNumber() { return identifierCase_ == 8; } /** *
   * Hashed phone number using SHA-256 hash function after normalization
   * (E164 standard). Accepted for Customer Match, Store Sales,
   * ConversionUploadService, and ConversionAdjustmentUploadService.
   * 
* * string hashed_phone_number = 8; * @return The hashedPhoneNumber. */ public java.lang.String getHashedPhoneNumber() { java.lang.Object ref = ""; if (identifierCase_ == 8) { ref = identifier_; } 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(); if (identifierCase_ == 8) { identifier_ = s; } return s; } } /** *
   * Hashed phone number using SHA-256 hash function after normalization
   * (E164 standard). Accepted for Customer Match, Store Sales,
   * ConversionUploadService, and ConversionAdjustmentUploadService.
   * 
* * string hashed_phone_number = 8; * @return The bytes for hashedPhoneNumber. */ public com.google.protobuf.ByteString getHashedPhoneNumberBytes() { java.lang.Object ref = ""; if (identifierCase_ == 8) { ref = identifier_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (identifierCase_ == 8) { identifier_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MOBILE_ID_FIELD_NUMBER = 9; /** *
   * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.
   * 
* * string mobile_id = 9; * @return Whether the mobileId field is set. */ public boolean hasMobileId() { return identifierCase_ == 9; } /** *
   * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.
   * 
* * string mobile_id = 9; * @return The mobileId. */ public java.lang.String getMobileId() { java.lang.Object ref = ""; if (identifierCase_ == 9) { ref = identifier_; } 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(); if (identifierCase_ == 9) { identifier_ = s; } return s; } } /** *
   * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.
   * 
* * string mobile_id = 9; * @return The bytes for mobileId. */ public com.google.protobuf.ByteString getMobileIdBytes() { java.lang.Object ref = ""; if (identifierCase_ == 9) { ref = identifier_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (identifierCase_ == 9) { identifier_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int THIRD_PARTY_USER_ID_FIELD_NUMBER = 10; /** *
   * Advertiser-assigned user ID for Customer Match upload, or
   * third-party-assigned user ID for Store Sales. Accepted only for Customer
   * Match and Store Sales.
   * 
* * string third_party_user_id = 10; * @return Whether the thirdPartyUserId field is set. */ public boolean hasThirdPartyUserId() { return identifierCase_ == 10; } /** *
   * Advertiser-assigned user ID for Customer Match upload, or
   * third-party-assigned user ID for Store Sales. Accepted only for Customer
   * Match and Store Sales.
   * 
* * string third_party_user_id = 10; * @return The thirdPartyUserId. */ public java.lang.String getThirdPartyUserId() { java.lang.Object ref = ""; if (identifierCase_ == 10) { ref = identifier_; } 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(); if (identifierCase_ == 10) { identifier_ = s; } return s; } } /** *
   * Advertiser-assigned user ID for Customer Match upload, or
   * third-party-assigned user ID for Store Sales. Accepted only for Customer
   * Match and Store Sales.
   * 
* * string third_party_user_id = 10; * @return The bytes for thirdPartyUserId. */ public com.google.protobuf.ByteString getThirdPartyUserIdBytes() { java.lang.Object ref = ""; if (identifierCase_ == 10) { ref = identifier_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (identifierCase_ == 10) { identifier_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ADDRESS_INFO_FIELD_NUMBER = 5; /** *
   * Address information. Accepted only for Customer Match, Store Sales, and
   * ConversionAdjustmentUploadService.
   * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; * @return Whether the addressInfo field is set. */ @java.lang.Override public boolean hasAddressInfo() { return identifierCase_ == 5; } /** *
   * Address information. Accepted only for Customer Match, Store Sales, and
   * ConversionAdjustmentUploadService.
   * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; * @return The addressInfo. */ @java.lang.Override public com.google.ads.googleads.v17.common.OfflineUserAddressInfo getAddressInfo() { if (identifierCase_ == 5) { return (com.google.ads.googleads.v17.common.OfflineUserAddressInfo) identifier_; } return com.google.ads.googleads.v17.common.OfflineUserAddressInfo.getDefaultInstance(); } /** *
   * Address information. Accepted only for Customer Match, Store Sales, and
   * ConversionAdjustmentUploadService.
   * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; */ @java.lang.Override public com.google.ads.googleads.v17.common.OfflineUserAddressInfoOrBuilder getAddressInfoOrBuilder() { if (identifierCase_ == 5) { return (com.google.ads.googleads.v17.common.OfflineUserAddressInfo) identifier_; } return com.google.ads.googleads.v17.common.OfflineUserAddressInfo.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 (identifierCase_ == 5) { output.writeMessage(5, (com.google.ads.googleads.v17.common.OfflineUserAddressInfo) identifier_); } if (userIdentifierSource_ != com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource.UNSPECIFIED.getNumber()) { output.writeEnum(6, userIdentifierSource_); } if (identifierCase_ == 7) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, identifier_); } if (identifierCase_ == 8) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, identifier_); } if (identifierCase_ == 9) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, identifier_); } if (identifierCase_ == 10) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, identifier_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifierCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (com.google.ads.googleads.v17.common.OfflineUserAddressInfo) identifier_); } if (userIdentifierSource_ != com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, userIdentifierSource_); } if (identifierCase_ == 7) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, identifier_); } if (identifierCase_ == 8) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, identifier_); } if (identifierCase_ == 9) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, identifier_); } if (identifierCase_ == 10) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, identifier_); } 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.common.UserIdentifier)) { return super.equals(obj); } com.google.ads.googleads.v17.common.UserIdentifier other = (com.google.ads.googleads.v17.common.UserIdentifier) obj; if (userIdentifierSource_ != other.userIdentifierSource_) return false; if (!getIdentifierCase().equals(other.getIdentifierCase())) return false; switch (identifierCase_) { case 7: if (!getHashedEmail() .equals(other.getHashedEmail())) return false; break; case 8: if (!getHashedPhoneNumber() .equals(other.getHashedPhoneNumber())) return false; break; case 9: if (!getMobileId() .equals(other.getMobileId())) return false; break; case 10: if (!getThirdPartyUserId() .equals(other.getThirdPartyUserId())) return false; break; case 5: if (!getAddressInfo() .equals(other.getAddressInfo())) 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) + USER_IDENTIFIER_SOURCE_FIELD_NUMBER; hash = (53 * hash) + userIdentifierSource_; switch (identifierCase_) { case 7: hash = (37 * hash) + HASHED_EMAIL_FIELD_NUMBER; hash = (53 * hash) + getHashedEmail().hashCode(); break; case 8: hash = (37 * hash) + HASHED_PHONE_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getHashedPhoneNumber().hashCode(); break; case 9: hash = (37 * hash) + MOBILE_ID_FIELD_NUMBER; hash = (53 * hash) + getMobileId().hashCode(); break; case 10: hash = (37 * hash) + THIRD_PARTY_USER_ID_FIELD_NUMBER; hash = (53 * hash) + getThirdPartyUserId().hashCode(); break; case 5: hash = (37 * hash) + ADDRESS_INFO_FIELD_NUMBER; hash = (53 * hash) + getAddressInfo().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.common.UserIdentifier parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.UserIdentifier 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.common.UserIdentifier parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.UserIdentifier 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.common.UserIdentifier parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.UserIdentifier 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.common.UserIdentifier parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.UserIdentifier 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.common.UserIdentifier parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.UserIdentifier 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.common.UserIdentifier 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.common.UserIdentifier 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.common.UserIdentifier 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; } /** *
   * User identifying information.
   * 
* * Protobuf type {@code google.ads.googleads.v17.common.UserIdentifier} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.UserIdentifier) com.google.ads.googleads.v17.common.UserIdentifierOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.OfflineUserDataProto.internal_static_google_ads_googleads_v17_common_UserIdentifier_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.OfflineUserDataProto.internal_static_google_ads_googleads_v17_common_UserIdentifier_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.UserIdentifier.class, com.google.ads.googleads.v17.common.UserIdentifier.Builder.class); } // Construct using com.google.ads.googleads.v17.common.UserIdentifier.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; userIdentifierSource_ = 0; if (addressInfoBuilder_ != null) { addressInfoBuilder_.clear(); } identifierCase_ = 0; identifier_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.common.OfflineUserDataProto.internal_static_google_ads_googleads_v17_common_UserIdentifier_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.common.UserIdentifier getDefaultInstanceForType() { return com.google.ads.googleads.v17.common.UserIdentifier.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.common.UserIdentifier build() { com.google.ads.googleads.v17.common.UserIdentifier result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.common.UserIdentifier buildPartial() { com.google.ads.googleads.v17.common.UserIdentifier result = new com.google.ads.googleads.v17.common.UserIdentifier(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v17.common.UserIdentifier result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.userIdentifierSource_ = userIdentifierSource_; } } private void buildPartialOneofs(com.google.ads.googleads.v17.common.UserIdentifier result) { result.identifierCase_ = identifierCase_; result.identifier_ = this.identifier_; if (identifierCase_ == 5 && addressInfoBuilder_ != null) { result.identifier_ = addressInfoBuilder_.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.common.UserIdentifier) { return mergeFrom((com.google.ads.googleads.v17.common.UserIdentifier)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.common.UserIdentifier other) { if (other == com.google.ads.googleads.v17.common.UserIdentifier.getDefaultInstance()) return this; if (other.userIdentifierSource_ != 0) { setUserIdentifierSourceValue(other.getUserIdentifierSourceValue()); } switch (other.getIdentifierCase()) { case HASHED_EMAIL: { identifierCase_ = 7; identifier_ = other.identifier_; onChanged(); break; } case HASHED_PHONE_NUMBER: { identifierCase_ = 8; identifier_ = other.identifier_; onChanged(); break; } case MOBILE_ID: { identifierCase_ = 9; identifier_ = other.identifier_; onChanged(); break; } case THIRD_PARTY_USER_ID: { identifierCase_ = 10; identifier_ = other.identifier_; onChanged(); break; } case ADDRESS_INFO: { mergeAddressInfo(other.getAddressInfo()); break; } case IDENTIFIER_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 42: { input.readMessage( getAddressInfoFieldBuilder().getBuilder(), extensionRegistry); identifierCase_ = 5; break; } // case 42 case 48: { userIdentifierSource_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 48 case 58: { java.lang.String s = input.readStringRequireUtf8(); identifierCase_ = 7; identifier_ = s; break; } // case 58 case 66: { java.lang.String s = input.readStringRequireUtf8(); identifierCase_ = 8; identifier_ = s; break; } // case 66 case 74: { java.lang.String s = input.readStringRequireUtf8(); identifierCase_ = 9; identifier_ = s; break; } // case 74 case 82: { java.lang.String s = input.readStringRequireUtf8(); identifierCase_ = 10; identifier_ = s; break; } // case 82 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 identifierCase_ = 0; private java.lang.Object identifier_; public IdentifierCase getIdentifierCase() { return IdentifierCase.forNumber( identifierCase_); } public Builder clearIdentifier() { identifierCase_ = 0; identifier_ = null; onChanged(); return this; } private int bitField0_; private int userIdentifierSource_ = 0; /** *
     * Source of the user identifier when the upload is from Store Sales,
     * ConversionUploadService, or ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; * @return The enum numeric value on the wire for userIdentifierSource. */ @java.lang.Override public int getUserIdentifierSourceValue() { return userIdentifierSource_; } /** *
     * Source of the user identifier when the upload is from Store Sales,
     * ConversionUploadService, or ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; * @param value The enum numeric value on the wire for userIdentifierSource to set. * @return This builder for chaining. */ public Builder setUserIdentifierSourceValue(int value) { userIdentifierSource_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Source of the user identifier when the upload is from Store Sales,
     * ConversionUploadService, or ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; * @return The userIdentifierSource. */ @java.lang.Override public com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource getUserIdentifierSource() { com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource result = com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource.forNumber(userIdentifierSource_); return result == null ? com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource.UNRECOGNIZED : result; } /** *
     * Source of the user identifier when the upload is from Store Sales,
     * ConversionUploadService, or ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; * @param value The userIdentifierSource to set. * @return This builder for chaining. */ public Builder setUserIdentifierSource(com.google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; userIdentifierSource_ = value.getNumber(); onChanged(); return this; } /** *
     * Source of the user identifier when the upload is from Store Sales,
     * ConversionUploadService, or ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; * @return This builder for chaining. */ public Builder clearUserIdentifierSource() { bitField0_ = (bitField0_ & ~0x00000001); userIdentifierSource_ = 0; onChanged(); return this; } /** *
     * Hashed email address using SHA-256 hash function after normalization.
     * Accepted for Customer Match, Store Sales, ConversionUploadService, and
     * ConversionAdjustmentUploadService.
     * 
* * string hashed_email = 7; * @return Whether the hashedEmail field is set. */ @java.lang.Override public boolean hasHashedEmail() { return identifierCase_ == 7; } /** *
     * Hashed email address using SHA-256 hash function after normalization.
     * Accepted for Customer Match, Store Sales, ConversionUploadService, and
     * ConversionAdjustmentUploadService.
     * 
* * string hashed_email = 7; * @return The hashedEmail. */ @java.lang.Override public java.lang.String getHashedEmail() { java.lang.Object ref = ""; if (identifierCase_ == 7) { ref = identifier_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (identifierCase_ == 7) { identifier_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Hashed email address using SHA-256 hash function after normalization.
     * Accepted for Customer Match, Store Sales, ConversionUploadService, and
     * ConversionAdjustmentUploadService.
     * 
* * string hashed_email = 7; * @return The bytes for hashedEmail. */ @java.lang.Override public com.google.protobuf.ByteString getHashedEmailBytes() { java.lang.Object ref = ""; if (identifierCase_ == 7) { ref = identifier_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (identifierCase_ == 7) { identifier_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Hashed email address using SHA-256 hash function after normalization.
     * Accepted for Customer Match, Store Sales, ConversionUploadService, and
     * ConversionAdjustmentUploadService.
     * 
* * string hashed_email = 7; * @param value The hashedEmail to set. * @return This builder for chaining. */ public Builder setHashedEmail( java.lang.String value) { if (value == null) { throw new NullPointerException(); } identifierCase_ = 7; identifier_ = value; onChanged(); return this; } /** *
     * Hashed email address using SHA-256 hash function after normalization.
     * Accepted for Customer Match, Store Sales, ConversionUploadService, and
     * ConversionAdjustmentUploadService.
     * 
* * string hashed_email = 7; * @return This builder for chaining. */ public Builder clearHashedEmail() { if (identifierCase_ == 7) { identifierCase_ = 0; identifier_ = null; onChanged(); } return this; } /** *
     * Hashed email address using SHA-256 hash function after normalization.
     * Accepted for Customer Match, Store Sales, ConversionUploadService, and
     * ConversionAdjustmentUploadService.
     * 
* * string hashed_email = 7; * @param value The bytes for hashedEmail to set. * @return This builder for chaining. */ public Builder setHashedEmailBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); identifierCase_ = 7; identifier_ = value; onChanged(); return this; } /** *
     * Hashed phone number using SHA-256 hash function after normalization
     * (E164 standard). Accepted for Customer Match, Store Sales,
     * ConversionUploadService, and ConversionAdjustmentUploadService.
     * 
* * string hashed_phone_number = 8; * @return Whether the hashedPhoneNumber field is set. */ @java.lang.Override public boolean hasHashedPhoneNumber() { return identifierCase_ == 8; } /** *
     * Hashed phone number using SHA-256 hash function after normalization
     * (E164 standard). Accepted for Customer Match, Store Sales,
     * ConversionUploadService, and ConversionAdjustmentUploadService.
     * 
* * string hashed_phone_number = 8; * @return The hashedPhoneNumber. */ @java.lang.Override public java.lang.String getHashedPhoneNumber() { java.lang.Object ref = ""; if (identifierCase_ == 8) { ref = identifier_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (identifierCase_ == 8) { identifier_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Hashed phone number using SHA-256 hash function after normalization
     * (E164 standard). Accepted for Customer Match, Store Sales,
     * ConversionUploadService, and ConversionAdjustmentUploadService.
     * 
* * string hashed_phone_number = 8; * @return The bytes for hashedPhoneNumber. */ @java.lang.Override public com.google.protobuf.ByteString getHashedPhoneNumberBytes() { java.lang.Object ref = ""; if (identifierCase_ == 8) { ref = identifier_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (identifierCase_ == 8) { identifier_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Hashed phone number using SHA-256 hash function after normalization
     * (E164 standard). Accepted for Customer Match, Store Sales,
     * ConversionUploadService, and ConversionAdjustmentUploadService.
     * 
* * string hashed_phone_number = 8; * @param value The hashedPhoneNumber to set. * @return This builder for chaining. */ public Builder setHashedPhoneNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } identifierCase_ = 8; identifier_ = value; onChanged(); return this; } /** *
     * Hashed phone number using SHA-256 hash function after normalization
     * (E164 standard). Accepted for Customer Match, Store Sales,
     * ConversionUploadService, and ConversionAdjustmentUploadService.
     * 
* * string hashed_phone_number = 8; * @return This builder for chaining. */ public Builder clearHashedPhoneNumber() { if (identifierCase_ == 8) { identifierCase_ = 0; identifier_ = null; onChanged(); } return this; } /** *
     * Hashed phone number using SHA-256 hash function after normalization
     * (E164 standard). Accepted for Customer Match, Store Sales,
     * ConversionUploadService, and ConversionAdjustmentUploadService.
     * 
* * string hashed_phone_number = 8; * @param value The bytes for hashedPhoneNumber to set. * @return This builder for chaining. */ public Builder setHashedPhoneNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); identifierCase_ = 8; identifier_ = value; onChanged(); return this; } /** *
     * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.
     * 
* * string mobile_id = 9; * @return Whether the mobileId field is set. */ @java.lang.Override public boolean hasMobileId() { return identifierCase_ == 9; } /** *
     * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.
     * 
* * string mobile_id = 9; * @return The mobileId. */ @java.lang.Override public java.lang.String getMobileId() { java.lang.Object ref = ""; if (identifierCase_ == 9) { ref = identifier_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (identifierCase_ == 9) { identifier_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.
     * 
* * string mobile_id = 9; * @return The bytes for mobileId. */ @java.lang.Override public com.google.protobuf.ByteString getMobileIdBytes() { java.lang.Object ref = ""; if (identifierCase_ == 9) { ref = identifier_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (identifierCase_ == 9) { identifier_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.
     * 
* * string mobile_id = 9; * @param value The mobileId to set. * @return This builder for chaining. */ public Builder setMobileId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } identifierCase_ = 9; identifier_ = value; onChanged(); return this; } /** *
     * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.
     * 
* * string mobile_id = 9; * @return This builder for chaining. */ public Builder clearMobileId() { if (identifierCase_ == 9) { identifierCase_ = 0; identifier_ = null; onChanged(); } return this; } /** *
     * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match.
     * 
* * string mobile_id = 9; * @param value The bytes for mobileId to set. * @return This builder for chaining. */ public Builder setMobileIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); identifierCase_ = 9; identifier_ = value; onChanged(); return this; } /** *
     * Advertiser-assigned user ID for Customer Match upload, or
     * third-party-assigned user ID for Store Sales. Accepted only for Customer
     * Match and Store Sales.
     * 
* * string third_party_user_id = 10; * @return Whether the thirdPartyUserId field is set. */ @java.lang.Override public boolean hasThirdPartyUserId() { return identifierCase_ == 10; } /** *
     * Advertiser-assigned user ID for Customer Match upload, or
     * third-party-assigned user ID for Store Sales. Accepted only for Customer
     * Match and Store Sales.
     * 
* * string third_party_user_id = 10; * @return The thirdPartyUserId. */ @java.lang.Override public java.lang.String getThirdPartyUserId() { java.lang.Object ref = ""; if (identifierCase_ == 10) { ref = identifier_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (identifierCase_ == 10) { identifier_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Advertiser-assigned user ID for Customer Match upload, or
     * third-party-assigned user ID for Store Sales. Accepted only for Customer
     * Match and Store Sales.
     * 
* * string third_party_user_id = 10; * @return The bytes for thirdPartyUserId. */ @java.lang.Override public com.google.protobuf.ByteString getThirdPartyUserIdBytes() { java.lang.Object ref = ""; if (identifierCase_ == 10) { ref = identifier_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (identifierCase_ == 10) { identifier_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Advertiser-assigned user ID for Customer Match upload, or
     * third-party-assigned user ID for Store Sales. Accepted only for Customer
     * Match and Store Sales.
     * 
* * string third_party_user_id = 10; * @param value The thirdPartyUserId to set. * @return This builder for chaining. */ public Builder setThirdPartyUserId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } identifierCase_ = 10; identifier_ = value; onChanged(); return this; } /** *
     * Advertiser-assigned user ID for Customer Match upload, or
     * third-party-assigned user ID for Store Sales. Accepted only for Customer
     * Match and Store Sales.
     * 
* * string third_party_user_id = 10; * @return This builder for chaining. */ public Builder clearThirdPartyUserId() { if (identifierCase_ == 10) { identifierCase_ = 0; identifier_ = null; onChanged(); } return this; } /** *
     * Advertiser-assigned user ID for Customer Match upload, or
     * third-party-assigned user ID for Store Sales. Accepted only for Customer
     * Match and Store Sales.
     * 
* * string third_party_user_id = 10; * @param value The bytes for thirdPartyUserId to set. * @return This builder for chaining. */ public Builder setThirdPartyUserIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); identifierCase_ = 10; identifier_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.common.OfflineUserAddressInfo, com.google.ads.googleads.v17.common.OfflineUserAddressInfo.Builder, com.google.ads.googleads.v17.common.OfflineUserAddressInfoOrBuilder> addressInfoBuilder_; /** *
     * Address information. Accepted only for Customer Match, Store Sales, and
     * ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; * @return Whether the addressInfo field is set. */ @java.lang.Override public boolean hasAddressInfo() { return identifierCase_ == 5; } /** *
     * Address information. Accepted only for Customer Match, Store Sales, and
     * ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; * @return The addressInfo. */ @java.lang.Override public com.google.ads.googleads.v17.common.OfflineUserAddressInfo getAddressInfo() { if (addressInfoBuilder_ == null) { if (identifierCase_ == 5) { return (com.google.ads.googleads.v17.common.OfflineUserAddressInfo) identifier_; } return com.google.ads.googleads.v17.common.OfflineUserAddressInfo.getDefaultInstance(); } else { if (identifierCase_ == 5) { return addressInfoBuilder_.getMessage(); } return com.google.ads.googleads.v17.common.OfflineUserAddressInfo.getDefaultInstance(); } } /** *
     * Address information. Accepted only for Customer Match, Store Sales, and
     * ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; */ public Builder setAddressInfo(com.google.ads.googleads.v17.common.OfflineUserAddressInfo value) { if (addressInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { addressInfoBuilder_.setMessage(value); } identifierCase_ = 5; return this; } /** *
     * Address information. Accepted only for Customer Match, Store Sales, and
     * ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; */ public Builder setAddressInfo( com.google.ads.googleads.v17.common.OfflineUserAddressInfo.Builder builderForValue) { if (addressInfoBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { addressInfoBuilder_.setMessage(builderForValue.build()); } identifierCase_ = 5; return this; } /** *
     * Address information. Accepted only for Customer Match, Store Sales, and
     * ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; */ public Builder mergeAddressInfo(com.google.ads.googleads.v17.common.OfflineUserAddressInfo value) { if (addressInfoBuilder_ == null) { if (identifierCase_ == 5 && identifier_ != com.google.ads.googleads.v17.common.OfflineUserAddressInfo.getDefaultInstance()) { identifier_ = com.google.ads.googleads.v17.common.OfflineUserAddressInfo.newBuilder((com.google.ads.googleads.v17.common.OfflineUserAddressInfo) identifier_) .mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { if (identifierCase_ == 5) { addressInfoBuilder_.mergeFrom(value); } else { addressInfoBuilder_.setMessage(value); } } identifierCase_ = 5; return this; } /** *
     * Address information. Accepted only for Customer Match, Store Sales, and
     * ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; */ public Builder clearAddressInfo() { if (addressInfoBuilder_ == null) { if (identifierCase_ == 5) { identifierCase_ = 0; identifier_ = null; onChanged(); } } else { if (identifierCase_ == 5) { identifierCase_ = 0; identifier_ = null; } addressInfoBuilder_.clear(); } return this; } /** *
     * Address information. Accepted only for Customer Match, Store Sales, and
     * ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; */ public com.google.ads.googleads.v17.common.OfflineUserAddressInfo.Builder getAddressInfoBuilder() { return getAddressInfoFieldBuilder().getBuilder(); } /** *
     * Address information. Accepted only for Customer Match, Store Sales, and
     * ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; */ @java.lang.Override public com.google.ads.googleads.v17.common.OfflineUserAddressInfoOrBuilder getAddressInfoOrBuilder() { if ((identifierCase_ == 5) && (addressInfoBuilder_ != null)) { return addressInfoBuilder_.getMessageOrBuilder(); } else { if (identifierCase_ == 5) { return (com.google.ads.googleads.v17.common.OfflineUserAddressInfo) identifier_; } return com.google.ads.googleads.v17.common.OfflineUserAddressInfo.getDefaultInstance(); } } /** *
     * Address information. Accepted only for Customer Match, Store Sales, and
     * ConversionAdjustmentUploadService.
     * 
* * .google.ads.googleads.v17.common.OfflineUserAddressInfo address_info = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.common.OfflineUserAddressInfo, com.google.ads.googleads.v17.common.OfflineUserAddressInfo.Builder, com.google.ads.googleads.v17.common.OfflineUserAddressInfoOrBuilder> getAddressInfoFieldBuilder() { if (addressInfoBuilder_ == null) { if (!(identifierCase_ == 5)) { identifier_ = com.google.ads.googleads.v17.common.OfflineUserAddressInfo.getDefaultInstance(); } addressInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.common.OfflineUserAddressInfo, com.google.ads.googleads.v17.common.OfflineUserAddressInfo.Builder, com.google.ads.googleads.v17.common.OfflineUserAddressInfoOrBuilder>( (com.google.ads.googleads.v17.common.OfflineUserAddressInfo) identifier_, getParentForChildren(), isClean()); identifier_ = null; } identifierCase_ = 5; onChanged(); return addressInfoBuilder_; } @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.common.UserIdentifier) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.UserIdentifier) private static final com.google.ads.googleads.v17.common.UserIdentifier DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.UserIdentifier(); } public static com.google.ads.googleads.v17.common.UserIdentifier getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UserIdentifier 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.common.UserIdentifier getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy