public static ProtoMessage Version_Req()
        {
            ProtoOAVersionReq message = new ProtoOAVersionReq
            {
                payloadType = ProtoOAPayloadType.ProtoOaVersionReq
            };

            Log.Info("ProtoOAVersionReq");

            InnerMemoryStream.SetLength(0);
            Serializer.Serialize(InnerMemoryStream, message);

            return(Encode((uint)message.payloadType, InnerMemoryStream.ToArray()));
        }
        public ProtoMessage CreateVersionRequest(string clientMsgId = null)
        {
            var _msg = ProtoOAVersionReq.CreateBuilder();

            return(CreateMessage((uint)_msg.PayloadType, _msg.Build().ToByteString(), clientMsgId));
        }