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 (header_ == null) { Header = new global::TrdCommon.TrdHeader(); } input.ReadMessage(Header); break; } case 18: { if (orderFill_ == null) { OrderFill = new global::TrdCommon.OrderFill(); } input.ReadMessage(OrderFill); break; } } } }
public void MergeFrom(S2C other) { if (other == null) { return; } if (other.header_ != null) { if (header_ == null) { Header = new global::TrdCommon.TrdHeader(); } Header.MergeFrom(other.Header); } if (other.orderFill_ != null) { if (orderFill_ == null) { OrderFill = new global::TrdCommon.OrderFill(); } OrderFill.MergeFrom(other.OrderFill); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }