27 lines
598 B
Protocol Buffer
27 lines
598 B
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 BasicTrafficFlow {
|
|
int32 table_id = 1;
|
|
int32 cap_port = 2;
|
|
int32 request_port = 3;
|
|
int32 response_port = 4;
|
|
int32 request_ip = 5;
|
|
int32 response_ip = 6;
|
|
int32 start_time = 7;
|
|
int32 total_bytes = 8;
|
|
int32 total_packets = 9;
|
|
int32 spackets64 = 10;
|
|
int32 spackets128 = 11;
|
|
int32 spackets256 = 12;
|
|
int32 spackets512 = 13;
|
|
int32 spackets1024 = 14;
|
|
int32 spackets = 15;
|
|
int32 send_time = 16;
|
|
} |