summaryrefslogtreecommitdiff
path: root/src/main/java/com/orbekk/protobuf/Rpc.proto
blob: f73314041dc3dcd62b4f24b702e57766234f1fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.orbekk.protobuf;

// Next tag: 4
message Request {
    optional string full_service_name = 1;
    optional string method_name = 2;
    optional bytes request_proto = 3;
}

// Next tag: 4
message Response {
    optional bytes response_proto = 1;
    enum Error {
        UNKNOWN_SERVICE = 0;
        UNKNOWN_METHOD = 1;
        CANCELED = 2;
        APP_ERROR = 3;
    };
    optional Error error = 2;
    optional int32 app_error = 4;
    optional string error_message = 3;
}