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: { Username = input.ReadString(); break; } case 18: { Counter = input.ReadString(); break; } case 26: { Company = input.ReadString(); break; } case 34: { Account = input.ReadString(); break; } case 40: { Action = (global::Zeus.RPC.Protocol.TradeAction)input.ReadEnum(); break; } case 50: { Result = input.ReadString(); break; } case 58: { Content = input.ReadString(); break; } case 66: { ExtJson = input.ReadString(); break; } case 72: { Platform = (global::Zeus.RPC.Protocol.Platform)input.ReadEnum(); break; } } } }
public void MergeFrom(UserLogReq other) { if (other == null) { return; } if (other.Username.Length != 0) { Username = other.Username; } if (other.Counter.Length != 0) { Counter = other.Counter; } if (other.Company.Length != 0) { Company = other.Company; } if (other.Account.Length != 0) { Account = other.Account; } if (other.Action != 0) { Action = other.Action; } if (other.Result.Length != 0) { Result = other.Result; } if (other.Content.Length != 0) { Content = other.Content; } if (other.ExtJson.Length != 0) { ExtJson = other.ExtJson; } if (other.Platform != 0) { Platform = other.Platform; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }