public void MergeFrom(CampaignOperation other) { if (other == null) { return; } if (other.updateMask_ != null) { if (updateMask_ == null) { UpdateMask = new global::Google.Protobuf.WellKnownTypes.FieldMask(); } UpdateMask.MergeFrom(other.UpdateMask); } switch (other.OperationCase) { case OperationOneofCase.Create: if (Create == null) { Create = new global::Google.Ads.GoogleAds.V3.Resources.Campaign(); } Create.MergeFrom(other.Create); break; case OperationOneofCase.Update: if (Update == null) { Update = new global::Google.Ads.GoogleAds.V3.Resources.Campaign(); } Update.MergeFrom(other.Update); break; case OperationOneofCase.Remove: Remove = other.Remove; break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }