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 (filterConditions_ == null) { FilterConditions = new global::TrdCommon.TrdFilterConditions(); } input.ReadMessage(FilterConditions); break; } } } }
public void MergeFrom(C2S other) { if (other == null) { return; } if (other.header_ != null) { if (header_ == null) { Header = new global::TrdCommon.TrdHeader(); } Header.MergeFrom(other.Header); } if (other.filterConditions_ != null) { if (filterConditions_ == null) { FilterConditions = new global::TrdCommon.TrdFilterConditions(); } FilterConditions.MergeFrom(other.FilterConditions); } filterStatusList_.Add(other.filterStatusList_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(C2S other) { if (other == null) { return; } if (other.header_ != null) { if (header_ == null) { Header = new global::TrdCommon.TrdHeader(); } Header.MergeFrom(other.Header); } if (other.filterConditions_ != null) { if (filterConditions_ == null) { FilterConditions = new global::TrdCommon.TrdFilterConditions(); } FilterConditions.MergeFrom(other.FilterConditions); } if (other.FilterPLRatioMin != 0D) { FilterPLRatioMin = other.FilterPLRatioMin; } if (other.FilterPLRatioMax != 0D) { FilterPLRatioMax = other.FilterPLRatioMax; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }