public void MergeFrom(CustomerClient other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ResourceName.Length != 0)
     {
         ResourceName = other.ResourceName;
     }
     if (other.HasClientCustomer)
     {
         ClientCustomer = other.ClientCustomer;
     }
     if (other.HasHidden)
     {
         Hidden = other.Hidden;
     }
     if (other.HasLevel)
     {
         Level = other.Level;
     }
     if (other.HasTimeZone)
     {
         TimeZone = other.TimeZone;
     }
     if (other.HasTestAccount)
     {
         TestAccount = other.TestAccount;
     }
     if (other.HasManager)
     {
         Manager = other.Manager;
     }
     if (other.HasDescriptiveName)
     {
         DescriptiveName = other.DescriptiveName;
     }
     if (other.HasCurrencyCode)
     {
         CurrencyCode = other.CurrencyCode;
     }
     if (other.HasId)
     {
         Id = other.Id;
     }
     appliedLabels_.Add(other.appliedLabels_);
     if (other.Status != global::Google.Ads.GoogleAds.V10.Enums.CustomerStatusEnum.Types.CustomerStatus.Unspecified)
     {
         Status = other.Status;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    ResourceName = input.ReadString();
                    break;
                }

                case 98: {
                    ClientCustomer = input.ReadString();
                    break;
                }

                case 104: {
                    Hidden = input.ReadBool();
                    break;
                }

                case 112: {
                    Level = input.ReadInt64();
                    break;
                }

                case 122: {
                    TimeZone = input.ReadString();
                    break;
                }

                case 128: {
                    TestAccount = input.ReadBool();
                    break;
                }

                case 136: {
                    Manager = input.ReadBool();
                    break;
                }

                case 146: {
                    DescriptiveName = input.ReadString();
                    break;
                }

                case 154: {
                    CurrencyCode = input.ReadString();
                    break;
                }

                case 160: {
                    Id = input.ReadInt64();
                    break;
                }

                case 170: {
                    appliedLabels_.AddEntriesFrom(ref input, _repeated_appliedLabels_codec);
                    break;
                }

                case 176: {
                    Status = (global::Google.Ads.GoogleAds.V10.Enums.CustomerStatusEnum.Types.CustomerStatus)input.ReadEnum();
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    ResourceName = input.ReadString();
                    break;
                }

                case 98: {
                    ClientCustomer = input.ReadString();
                    break;
                }

                case 104: {
                    Hidden = input.ReadBool();
                    break;
                }

                case 112: {
                    Level = input.ReadInt64();
                    break;
                }

                case 122: {
                    TimeZone = input.ReadString();
                    break;
                }

                case 128: {
                    TestAccount = input.ReadBool();
                    break;
                }

                case 136: {
                    Manager = input.ReadBool();
                    break;
                }

                case 146: {
                    DescriptiveName = input.ReadString();
                    break;
                }

                case 154: {
                    CurrencyCode = input.ReadString();
                    break;
                }

                case 160: {
                    Id = input.ReadInt64();
                    break;
                }

                case 170: {
                    appliedLabels_.AddEntriesFrom(input, _repeated_appliedLabels_codec);
                    break;
                }

                case 176: {
                    Status = (global::Google.Ads.GoogleAds.V10.Enums.CustomerStatusEnum.Types.CustomerStatus)input.ReadEnum();
                    break;
                }
                }
            }
    #endif
        }