2 option go_package = "modules";
6 message ModulesServiceError {
11 INVALID_INSTANCES = 3;
17 message GetModulesRequest {
20 message GetModulesResponse {
21 repeated string module = 1;
24 message GetVersionsRequest {
25 optional string module = 1;
28 message GetVersionsResponse {
29 repeated string version = 1;
32 message GetDefaultVersionRequest {
33 optional string module = 1;
36 message GetDefaultVersionResponse {
37 required string version = 1;
40 message GetNumInstancesRequest {
41 optional string module = 1;
42 optional string version = 2;
45 message GetNumInstancesResponse {
46 required int64 instances = 1;
49 message SetNumInstancesRequest {
50 optional string module = 1;
51 optional string version = 2;
52 required int64 instances = 3;
55 message SetNumInstancesResponse {}
57 message StartModuleRequest {
58 required string module = 1;
59 required string version = 2;
62 message StartModuleResponse {}
64 message StopModuleRequest {
65 optional string module = 1;
66 optional string version = 2;
69 message StopModuleResponse {}
71 message GetHostnameRequest {
72 optional string module = 1;
73 optional string version = 2;
74 optional string instance = 3;
77 message GetHostnameResponse {
78 required string hostname = 1;