Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Side by Side Diff: pkg/appengine/lib/src/protobuf_api/internal/modules_service.proto

Issue 804973002: Add appengine/gcloud/mustache dependencies. (Closed) Base URL: git@github.com:dart-lang/pub-dartlang-dart.git@master
Patch Set: Added AUTHORS/LICENSE/PATENTS files Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 syntax = "proto2";
2
3 package appengine.modules;
4
5 message ModulesServiceError {
6 enum ErrorCode {
7 OK = 0;
8 INVALID_MODULE = 1;
9 INVALID_VERSION = 2;
10 INVALID_INSTANCES = 3;
11 TRANSIENT_ERROR = 4;
12 UNEXPECTED_STATE = 5;
13 }
14 }
15
16 message GetModulesRequest {
17 }
18
19 message GetModulesResponse {
20 repeated string module = 1;
21 }
22
23 message GetVersionsRequest {
24 optional string module = 1;
25 }
26
27 message GetVersionsResponse {
28 repeated string version = 1;
29 }
30
31 message GetDefaultVersionRequest {
32 optional string module = 1;
33 }
34
35 message GetDefaultVersionResponse {
36 required string version = 1;
37 }
38
39 message GetNumInstancesRequest {
40 optional string module = 1;
41 optional string version = 2;
42 }
43
44 message GetNumInstancesResponse {
45 required int64 instances = 1;
46 }
47
48 message SetNumInstancesRequest {
49 optional string module = 1;
50 optional string version = 2;
51 required int64 instances = 3;
52 }
53
54 message SetNumInstancesResponse {}
55
56 message StartModuleRequest {
57 required string module = 1;
58 required string version = 2;
59 }
60
61 message StartModuleResponse {}
62
63 message StopModuleRequest {
64 optional string module = 1;
65 optional string version = 2;
66 }
67
68 message StopModuleResponse {}
69
70 message GetHostnameRequest {
71 optional string module = 1;
72 optional string version = 2;
73 optional string instance = 3;
74 }
75
76 message GetHostnameResponse {
77 required string hostname = 1;
78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698