42 lines
1.1 KiB
Protocol Buffer
42 lines
1.1 KiB
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
option java_multiple_files = false;
|
||
|
option java_package = "com.yuandian.dataflow.proto.msgtype";
|
||
|
option go_package = "../grpc-gen;grpcgen";
|
||
|
|
||
|
|
||
|
package dataflow;
|
||
|
|
||
|
message BussFlowOrl {
|
||
|
int32 table_id = 1;
|
||
|
int32 msg_type = 2;
|
||
|
int32 msg_version = 3;
|
||
|
int32 msg_seq = 4;
|
||
|
int32 msg_len = 5;
|
||
|
int64 request_mac = 6;
|
||
|
int64 response_mac = 7;
|
||
|
int64 request_ip = 8;
|
||
|
int32 request_port = 9;
|
||
|
int64 response_ip = 10;
|
||
|
int32 response_port = 11;
|
||
|
int32 probe_if = 12;
|
||
|
int32 protocol = 13;
|
||
|
int64 start_tv_sec = 14;//Web开始时间秒
|
||
|
int64 start_tv_usec = 15;//开始时间毫秒
|
||
|
int64 end_tv_sec = 16;//结束时间秒
|
||
|
int64 end_tv_usec = 17;//结束时间微妙
|
||
|
int32 req_len = 18;
|
||
|
int32 res_len = 19;
|
||
|
int32 busi_msg_len = 20;
|
||
|
int32 key_msg_len = 21;
|
||
|
int32 detail_msg_len = 22;
|
||
|
int32 remain_len = 23;
|
||
|
string business_code = 24;
|
||
|
string session_id = 25;
|
||
|
string req_data = 26;
|
||
|
string res_data = 27;
|
||
|
string busi_msg = 28;
|
||
|
string busi_key_msg = 29;
|
||
|
string busi_detail_msg = 30;
|
||
|
string remain_data = 31;
|
||
|
}
|