public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (project_ == null) { Project = new global::PKIo.Project(); } input.ReadMessage(Project); break; } case 18: { if (template_ == null) { Template = new global::PKIo.PassTemplate(); } input.ReadMessage(Template); break; } } } }
public void MergeFrom(ProjectByShortCodeResult other) { if (other == null) { return; } if (other.project_ != null) { if (project_ == null) { Project = new global::PKIo.Project(); } Project.MergeFrom(other.Project); } if (other.template_ != null) { if (template_ == null) { Template = new global::PKIo.PassTemplate(); } Template.MergeFrom(other.Template); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }