public ProtoOAPingReq GetPingRequest(byte[] msg = null) { return(ProtoOAPingReq.CreateBuilder().MergeFrom(GetPayload(msg)).Build()); }
public ProtoMessage CreatePingRequest(long timestamp, string clientMsgId = null) { return(CreateMessage((uint)ProtoOAPayloadType.OA_PING_REQ, ProtoOAPingReq.CreateBuilder().SetTimestamp(timestamp).Build().ToByteString(), clientMsgId)); }