TYPE3
[iec.git] / src / type3_AndroidCloud / anbox-master / src / anbox / protobuf / anbox_rpc.proto
1 option optimize_for = LITE_RUNTIME;
2
3 package anbox.protobuf.rpc;
4
5 message Invocation {
6     required uint32 id = 1;
7     required string method_name = 2;
8     required bytes parameters = 3;
9     required uint32 protocol_version = 4;
10 }
11
12 message Result {
13     optional uint32 id = 1;
14     optional bytes response = 2;
15     repeated bytes events = 3;
16 }
17
18 message StructuredError {
19   optional uint32 domain = 1;
20   optional uint32 code = 2;
21 }
22
23 message Void {
24   optional string error = 127;
25   optional StructuredError structured_error = 128;
26 }