public void MergeFrom(CampaignCustomizer other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ResourceName.Length != 0)
     {
         ResourceName = other.ResourceName;
     }
     if (other.Campaign.Length != 0)
     {
         Campaign = other.Campaign;
     }
     if (other.CustomizerAttribute.Length != 0)
     {
         CustomizerAttribute = other.CustomizerAttribute;
     }
     if (other.Status != global::Google.Ads.GoogleAds.V10.Enums.CustomizerValueStatusEnum.Types.CustomizerValueStatus.Unspecified)
     {
         Status = other.Status;
     }
     if (other.value_ != null)
     {
         if (value_ == null)
         {
             Value = new global::Google.Ads.GoogleAds.V10.Common.CustomizerValue();
         }
         Value.MergeFrom(other.Value);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        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 18: {
                    Campaign = input.ReadString();
                    break;
                }

                case 26: {
                    CustomizerAttribute = input.ReadString();
                    break;
                }

                case 32: {
                    Status = (global::Google.Ads.GoogleAds.V10.Enums.CustomizerValueStatusEnum.Types.CustomizerValueStatus)input.ReadEnum();
                    break;
                }

                case 42: {
                    if (value_ == null)
                    {
                        Value = new global::Google.Ads.GoogleAds.V10.Common.CustomizerValue();
                    }
                    input.ReadMessage(Value);
                    break;
                }
                }
            }
    #endif
        }
        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 18: {
                    Campaign = input.ReadString();
                    break;
                }

                case 26: {
                    CustomizerAttribute = input.ReadString();
                    break;
                }

                case 32: {
                    Status = (global::Google.Ads.GoogleAds.V10.Enums.CustomizerValueStatusEnum.Types.CustomizerValueStatus)input.ReadEnum();
                    break;
                }

                case 42: {
                    if (value_ == null)
                    {
                        Value = new global::Google.Ads.GoogleAds.V10.Common.CustomizerValue();
                    }
                    input.ReadMessage(Value);
                    break;
                }
                }
            }
        }