diff options
Diffstat (limited to 'vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto')
-rw-r--r-- | vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto b/vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto new file mode 100644 index 0000000..f21763a --- /dev/null +++ b/vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto | |||
@@ -0,0 +1,44 @@ | |||
1 | syntax = "proto2"; | ||
2 | option go_package = "remote_api"; | ||
3 | |||
4 | package remote_api; | ||
5 | |||
6 | message Request { | ||
7 | required string service_name = 2; | ||
8 | required string method = 3; | ||
9 | required bytes request = 4; | ||
10 | optional string request_id = 5; | ||
11 | } | ||
12 | |||
13 | message ApplicationError { | ||
14 | required int32 code = 1; | ||
15 | required string detail = 2; | ||
16 | } | ||
17 | |||
18 | message RpcError { | ||
19 | enum ErrorCode { | ||
20 | UNKNOWN = 0; | ||
21 | CALL_NOT_FOUND = 1; | ||
22 | PARSE_ERROR = 2; | ||
23 | SECURITY_VIOLATION = 3; | ||
24 | OVER_QUOTA = 4; | ||
25 | REQUEST_TOO_LARGE = 5; | ||
26 | CAPABILITY_DISABLED = 6; | ||
27 | FEATURE_DISABLED = 7; | ||
28 | BAD_REQUEST = 8; | ||
29 | RESPONSE_TOO_LARGE = 9; | ||
30 | CANCELLED = 10; | ||
31 | REPLAY_ERROR = 11; | ||
32 | DEADLINE_EXCEEDED = 12; | ||
33 | } | ||
34 | required int32 code = 1; | ||
35 | optional string detail = 2; | ||
36 | } | ||
37 | |||
38 | message Response { | ||
39 | optional bytes response = 1; | ||
40 | optional bytes exception = 2; | ||
41 | optional ApplicationError application_error = 3; | ||
42 | optional bytes java_exception = 4; | ||
43 | optional RpcError rpc_error = 5; | ||
44 | } | ||