public void MergeFrom(ClickView other) { if (other == null) { return; } if (other.ResourceName.Length != 0) { ResourceName = other.ResourceName; } if (other.HasGclid) { Gclid = other.Gclid; } if (other.areaOfInterest_ != null) { if (areaOfInterest_ == null) { AreaOfInterest = new global::Google.Ads.GoogleAds.V8.Common.ClickLocation(); } AreaOfInterest.MergeFrom(other.AreaOfInterest); } if (other.locationOfPresence_ != null) { if (locationOfPresence_ == null) { LocationOfPresence = new global::Google.Ads.GoogleAds.V8.Common.ClickLocation(); } LocationOfPresence.MergeFrom(other.LocationOfPresence); } if (other.HasPageNumber) { PageNumber = other.PageNumber; } if (other.HasAdGroupAd) { AdGroupAd = other.AdGroupAd; } if (other.HasCampaignLocationTarget) { CampaignLocationTarget = other.CampaignLocationTarget; } if (other.HasUserList) { UserList = other.UserList; } if (other.Keyword.Length != 0) { Keyword = other.Keyword; } if (other.keywordInfo_ != null) { if (keywordInfo_ == null) { KeywordInfo = new global::Google.Ads.GoogleAds.V8.Common.KeywordInfo(); } KeywordInfo.MergeFrom(other.KeywordInfo); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(ClickView other) { if (other == null) { return; } if (other.ResourceName.Length != 0) { ResourceName = other.ResourceName; } if (other.gclid_ != null) { if (gclid_ == null || other.Gclid != "") { Gclid = other.Gclid; } } if (other.areaOfInterest_ != null) { if (areaOfInterest_ == null) { AreaOfInterest = new global::Google.Ads.GoogleAds.V4.Common.ClickLocation(); } AreaOfInterest.MergeFrom(other.AreaOfInterest); } if (other.locationOfPresence_ != null) { if (locationOfPresence_ == null) { LocationOfPresence = new global::Google.Ads.GoogleAds.V4.Common.ClickLocation(); } LocationOfPresence.MergeFrom(other.LocationOfPresence); } if (other.pageNumber_ != null) { if (pageNumber_ == null || other.PageNumber != 0L) { PageNumber = other.PageNumber; } } if (other.adGroupAd_ != null) { if (adGroupAd_ == null || other.AdGroupAd != "") { AdGroupAd = other.AdGroupAd; } } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }