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 8: {
                    Operator = (global::Google.Ads.GoogleAds.V8.Common.TargetRestrictionOperation.Types.Operator)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (value_ == null)
                    {
                        Value = new global::Google.Ads.GoogleAds.V8.Common.TargetRestriction();
                    }
                    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 8: {
                    Operator = (global::Google.Ads.GoogleAds.V8.Common.TargetRestrictionOperation.Types.Operator)input.ReadEnum();
                    break;
                }

                case 18: {
                    if (value_ == null)
                    {
                        Value = new global::Google.Ads.GoogleAds.V8.Common.TargetRestriction();
                    }
                    input.ReadMessage(Value);
                    break;
                }
                }
            }
        }
 public void MergeFrom(TargetRestrictionOperation other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Operator != global::Google.Ads.GoogleAds.V8.Common.TargetRestrictionOperation.Types.Operator.Unspecified)
     {
         Operator = other.Operator;
     }
     if (other.value_ != null)
     {
         if (value_ == null)
         {
             Value = new global::Google.Ads.GoogleAds.V8.Common.TargetRestriction();
         }
         Value.MergeFrom(other.Value);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }