public void MergeFrom(DetailPlacementView other)
 {
     if (other == null)
     {
         return;
     }
     if (other.ResourceName.Length != 0)
     {
         ResourceName = other.ResourceName;
     }
     if (other.HasPlacement)
     {
         Placement = other.Placement;
     }
     if (other.HasDisplayName)
     {
         DisplayName = other.DisplayName;
     }
     if (other.HasGroupPlacementTargetUrl)
     {
         GroupPlacementTargetUrl = other.GroupPlacementTargetUrl;
     }
     if (other.HasTargetUrl)
     {
         TargetUrl = other.TargetUrl;
     }
     if (other.PlacementType != global::Google.Ads.GoogleAds.V10.Enums.PlacementTypeEnum.Types.PlacementType.Unspecified)
     {
         PlacementType = other.PlacementType;
     }
     _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 48: {
                    PlacementType = (global::Google.Ads.GoogleAds.V10.Enums.PlacementTypeEnum.Types.PlacementType)input.ReadEnum();
                    break;
                }

                case 58: {
                    Placement = input.ReadString();
                    break;
                }

                case 66: {
                    DisplayName = input.ReadString();
                    break;
                }

                case 74: {
                    GroupPlacementTargetUrl = input.ReadString();
                    break;
                }

                case 82: {
                    TargetUrl = input.ReadString();
                    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 48: {
                    PlacementType = (global::Google.Ads.GoogleAds.V10.Enums.PlacementTypeEnum.Types.PlacementType)input.ReadEnum();
                    break;
                }

                case 58: {
                    Placement = input.ReadString();
                    break;
                }

                case 66: {
                    DisplayName = input.ReadString();
                    break;
                }

                case 74: {
                    GroupPlacementTargetUrl = input.ReadString();
                    break;
                }

                case 82: {
                    TargetUrl = input.ReadString();
                    break;
                }
                }
            }
        }