public void MergeFrom(OneOfMessage other) { if (other == null) { return; } if (other.find_ != null) { if (find_ == null) { find_ = new global::Mysqlx.Crud.Find(); } Find.MergeFrom(other.Find); } if (other.insert_ != null) { if (insert_ == null) { insert_ = new global::Mysqlx.Crud.Insert(); } Insert.MergeFrom(other.Insert); } if (other.update_ != null) { if (update_ == null) { update_ = new global::Mysqlx.Crud.Update(); } Update.MergeFrom(other.Update); } if (other.delete_ != null) { if (delete_ == null) { delete_ = new global::Mysqlx.Crud.Delete(); } Delete.MergeFrom(other.Delete); } if (other.stmtExecute_ != null) { if (stmtExecute_ == null) { stmtExecute_ = new global::Mysqlx.Sql.StmtExecute(); } StmtExecute.MergeFrom(other.StmtExecute); } switch (other.TypePresentCase) { case TypePresentOneofCase.Type: Type = other.Type; break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }