forked from Venus-Framework/pigeon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentities.proto
33 lines (30 loc) · 859 Bytes
/
entities.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
syntax = "proto3";
option java_package = "com.dianping.pigeon.remoting.common.codec.protobuf";
import "google/protobuf/any.proto";
message Pb3Request {
int32 serialize = 1; // 没有找到byte类型,用int代替
int64 seq = 2;
int32 messageType = 3;
int32 timeout = 4;
string serviceName = 5;
string methodName = 6;
repeated google.protobuf.Any parameters = 7;
int32 callType = 8;
string version = 9;
string app = 10;
map<string, string> globalValues = 11;
map<string, string> requestValues = 12;
}
message Pb3Response {
int32 serialize = 1; // 没有找到byte类型,用int代替
int64 seq = 2;
int32 messageType = 3;
string cause = 4;
google.protobuf.Any returnVal = 5;
map<string, string> responseValues = 6;
Pb3Exception exception = 7;
}
message Pb3Exception {
string cause = 1;
string detailMessage = 2;
}