forked from MASKOR/mapit-msgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
services_internal.proto
84 lines (67 loc) · 1.42 KB
/
services_internal.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
syntax = "proto3";
import "datastructs.proto";
package mapit.msgs;
//TODO: should be public
message RequestGenericEntry {
enum CompType {
PROTO_3 = 0;
COMP_ID = 30;
MSG_TYPE = 01;
}
string workspace = 1;
string path = 2;
}
//TODO: should be public
message ReplyGenericEntry {
enum CompType {
PROTO_3 = 0;
COMP_ID = 31;
MSG_TYPE = 01;
}
enum Status {
SUCCESS = 0;
NOT_FOUND = 404;
}
Status status = 1;
GenericEntry entry = 2;
}
// Sends a url to the server for requests of data it does not have locally.
// E.g. Remote should compute voxelgrid_filter of /test/test/bunny which it does not have. It then would request this url.
message RequestSendLocalServerUrl {
enum CompType {
PROTO_3 = 0;
COMP_ID = 30;
MSG_TYPE = 201;
}
string url = 1;
}
message ReplySendLocalServerUrl {
enum CompType {
PROTO_3 = 0;
COMP_ID = 31;
MSG_TYPE = 201;
}
enum Status {
SUCCESS = 0;
ERROR = 3;
}
Status status = 1;
}
message RequestStoreOperatorExecution {
enum CompType {
PROTO_3 = 0;
COMP_ID = 30;
MSG_TYPE = 101;
}
string workspace = 1;
OperationDescription param = 2;
}
message ReplyStoreOperatorExecution {
enum CompType {
PROTO_3 = 0;
COMP_ID = 31;
MSG_TYPE = 101;
}
int32 status_code = 1; // operator specific error code (0 is ok)
string error_msg = 2; // human readable error code (optional)
}