public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (simpleValue_ == null) { simpleValue_ = new global::protobuf.Simple(); } input.ReadMessage(simpleValue_); break; } case 18: { listValue_.AddEntriesFrom(input, _repeated_listValue_codec); break; } } } }
public void MergeFrom(Complex other) { if (other == null) { return; } if (other.simpleValue_ != null) { if (simpleValue_ == null) { simpleValue_ = new global::protobuf.Simple(); } SimpleValue.MergeFrom(other.SimpleValue); } listValue_.Add(other.listValue_); }