1syntax = "proto2"; 2 3enum MessageStatus { 4 FAIL = 0; 5 OK = 1; 6}; 7 8message MessageInfo { 9 required fixed32 msg_id = 1; 10 optional fixed32 interface_id = 2; 11} 12 13message MessageResponseInfo { 14 required fixed64 interface_id = 1; 15 required fixed32 seq = 2; 16 required fixed32 msg_id = 3; 17} 18 19message MessageHeader { 20 required MessageInfo info = 1; 21 optional MessageResponseInfo response_info = 2; 22 optional MessageResponse response = 3; 23} 24 25message MessageResponse { 26 required MessageStatus status = 1; 27 required fixed32 seq = 2; 28} 29 30