blob: 168ef2966f83b1e53278d58e6009534123419c15 (
plain)
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
|
package com.orbekk.protobuf;
// Next tag: 6
message Request {
optional string full_service_name = 1;
optional string method_name = 2;
optional bytes request_proto = 3;
optional int64 request_id = 4;
}
// Next tag: 8
message Response {
optional bytes response_proto = 1;
enum RpcError {
UNKNOWN_SERVICE = 0;
UNKNOWN_METHOD = 1;
CANCELED = 2;
};
optional RpcError error = 2;
optional int64 request_id = 5;
// Rpc status
optional bool hasFailed = 4;
optional bool canceled = 6;
optional bool done = 7 [default = true];
optional string error_text = 3;
}
|