aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/google.golang.org/appengine/internal/modules
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/google.golang.org/appengine/internal/modules')
-rw-r--r--vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go786
-rw-r--r--vendor/google.golang.org/appengine/internal/modules/modules_service.proto80
2 files changed, 866 insertions, 0 deletions
diff --git a/vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go b/vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go
new file mode 100644
index 0000000..ddfc0c0
--- /dev/null
+++ b/vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go
@@ -0,0 +1,786 @@
1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google.golang.org/appengine/internal/modules/modules_service.proto
3
4package modules
5
6import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
9
10// Reference imports to suppress errors if they are not otherwise used.
11var _ = proto.Marshal
12var _ = fmt.Errorf
13var _ = math.Inf
14
15// This is a compile-time assertion to ensure that this generated file
16// is compatible with the proto package it is being compiled against.
17// A compilation error at this line likely means your copy of the
18// proto package needs to be updated.
19const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
20
21type ModulesServiceError_ErrorCode int32
22
23const (
24 ModulesServiceError_OK ModulesServiceError_ErrorCode = 0
25 ModulesServiceError_INVALID_MODULE ModulesServiceError_ErrorCode = 1
26 ModulesServiceError_INVALID_VERSION ModulesServiceError_ErrorCode = 2
27 ModulesServiceError_INVALID_INSTANCES ModulesServiceError_ErrorCode = 3
28 ModulesServiceError_TRANSIENT_ERROR ModulesServiceError_ErrorCode = 4
29 ModulesServiceError_UNEXPECTED_STATE ModulesServiceError_ErrorCode = 5
30)
31
32var ModulesServiceError_ErrorCode_name = map[int32]string{
33 0: "OK",
34 1: "INVALID_MODULE",
35 2: "INVALID_VERSION",
36 3: "INVALID_INSTANCES",
37 4: "TRANSIENT_ERROR",
38 5: "UNEXPECTED_STATE",
39}
40var ModulesServiceError_ErrorCode_value = map[string]int32{
41 "OK": 0,
42 "INVALID_MODULE": 1,
43 "INVALID_VERSION": 2,
44 "INVALID_INSTANCES": 3,
45 "TRANSIENT_ERROR": 4,
46 "UNEXPECTED_STATE": 5,
47}
48
49func (x ModulesServiceError_ErrorCode) Enum() *ModulesServiceError_ErrorCode {
50 p := new(ModulesServiceError_ErrorCode)
51 *p = x
52 return p
53}
54func (x ModulesServiceError_ErrorCode) String() string {
55 return proto.EnumName(ModulesServiceError_ErrorCode_name, int32(x))
56}
57func (x *ModulesServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
58 value, err := proto.UnmarshalJSONEnum(ModulesServiceError_ErrorCode_value, data, "ModulesServiceError_ErrorCode")
59 if err != nil {
60 return err
61 }
62 *x = ModulesServiceError_ErrorCode(value)
63 return nil
64}
65func (ModulesServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) {
66 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{0, 0}
67}
68
69type ModulesServiceError struct {
70 XXX_NoUnkeyedLiteral struct{} `json:"-"`
71 XXX_unrecognized []byte `json:"-"`
72 XXX_sizecache int32 `json:"-"`
73}
74
75func (m *ModulesServiceError) Reset() { *m = ModulesServiceError{} }
76func (m *ModulesServiceError) String() string { return proto.CompactTextString(m) }
77func (*ModulesServiceError) ProtoMessage() {}
78func (*ModulesServiceError) Descriptor() ([]byte, []int) {
79 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{0}
80}
81func (m *ModulesServiceError) XXX_Unmarshal(b []byte) error {
82 return xxx_messageInfo_ModulesServiceError.Unmarshal(m, b)
83}
84func (m *ModulesServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
85 return xxx_messageInfo_ModulesServiceError.Marshal(b, m, deterministic)
86}
87func (dst *ModulesServiceError) XXX_Merge(src proto.Message) {
88 xxx_messageInfo_ModulesServiceError.Merge(dst, src)
89}
90func (m *ModulesServiceError) XXX_Size() int {
91 return xxx_messageInfo_ModulesServiceError.Size(m)
92}
93func (m *ModulesServiceError) XXX_DiscardUnknown() {
94 xxx_messageInfo_ModulesServiceError.DiscardUnknown(m)
95}
96
97var xxx_messageInfo_ModulesServiceError proto.InternalMessageInfo
98
99type GetModulesRequest struct {
100 XXX_NoUnkeyedLiteral struct{} `json:"-"`
101 XXX_unrecognized []byte `json:"-"`
102 XXX_sizecache int32 `json:"-"`
103}
104
105func (m *GetModulesRequest) Reset() { *m = GetModulesRequest{} }
106func (m *GetModulesRequest) String() string { return proto.CompactTextString(m) }
107func (*GetModulesRequest) ProtoMessage() {}
108func (*GetModulesRequest) Descriptor() ([]byte, []int) {
109 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{1}
110}
111func (m *GetModulesRequest) XXX_Unmarshal(b []byte) error {
112 return xxx_messageInfo_GetModulesRequest.Unmarshal(m, b)
113}
114func (m *GetModulesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
115 return xxx_messageInfo_GetModulesRequest.Marshal(b, m, deterministic)
116}
117func (dst *GetModulesRequest) XXX_Merge(src proto.Message) {
118 xxx_messageInfo_GetModulesRequest.Merge(dst, src)
119}
120func (m *GetModulesRequest) XXX_Size() int {
121 return xxx_messageInfo_GetModulesRequest.Size(m)
122}
123func (m *GetModulesRequest) XXX_DiscardUnknown() {
124 xxx_messageInfo_GetModulesRequest.DiscardUnknown(m)
125}
126
127var xxx_messageInfo_GetModulesRequest proto.InternalMessageInfo
128
129type GetModulesResponse struct {
130 Module []string `protobuf:"bytes,1,rep,name=module" json:"module,omitempty"`
131 XXX_NoUnkeyedLiteral struct{} `json:"-"`
132 XXX_unrecognized []byte `json:"-"`
133 XXX_sizecache int32 `json:"-"`
134}
135
136func (m *GetModulesResponse) Reset() { *m = GetModulesResponse{} }
137func (m *GetModulesResponse) String() string { return proto.CompactTextString(m) }
138func (*GetModulesResponse) ProtoMessage() {}
139func (*GetModulesResponse) Descriptor() ([]byte, []int) {
140 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{2}
141}
142func (m *GetModulesResponse) XXX_Unmarshal(b []byte) error {
143 return xxx_messageInfo_GetModulesResponse.Unmarshal(m, b)
144}
145func (m *GetModulesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
146 return xxx_messageInfo_GetModulesResponse.Marshal(b, m, deterministic)
147}
148func (dst *GetModulesResponse) XXX_Merge(src proto.Message) {
149 xxx_messageInfo_GetModulesResponse.Merge(dst, src)
150}
151func (m *GetModulesResponse) XXX_Size() int {
152 return xxx_messageInfo_GetModulesResponse.Size(m)
153}
154func (m *GetModulesResponse) XXX_DiscardUnknown() {
155 xxx_messageInfo_GetModulesResponse.DiscardUnknown(m)
156}
157
158var xxx_messageInfo_GetModulesResponse proto.InternalMessageInfo
159
160func (m *GetModulesResponse) GetModule() []string {
161 if m != nil {
162 return m.Module
163 }
164 return nil
165}
166
167type GetVersionsRequest struct {
168 Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
169 XXX_NoUnkeyedLiteral struct{} `json:"-"`
170 XXX_unrecognized []byte `json:"-"`
171 XXX_sizecache int32 `json:"-"`
172}
173
174func (m *GetVersionsRequest) Reset() { *m = GetVersionsRequest{} }
175func (m *GetVersionsRequest) String() string { return proto.CompactTextString(m) }
176func (*GetVersionsRequest) ProtoMessage() {}
177func (*GetVersionsRequest) Descriptor() ([]byte, []int) {
178 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{3}
179}
180func (m *GetVersionsRequest) XXX_Unmarshal(b []byte) error {
181 return xxx_messageInfo_GetVersionsRequest.Unmarshal(m, b)
182}
183func (m *GetVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
184 return xxx_messageInfo_GetVersionsRequest.Marshal(b, m, deterministic)
185}
186func (dst *GetVersionsRequest) XXX_Merge(src proto.Message) {
187 xxx_messageInfo_GetVersionsRequest.Merge(dst, src)
188}
189func (m *GetVersionsRequest) XXX_Size() int {
190 return xxx_messageInfo_GetVersionsRequest.Size(m)
191}
192func (m *GetVersionsRequest) XXX_DiscardUnknown() {
193 xxx_messageInfo_GetVersionsRequest.DiscardUnknown(m)
194}
195
196var xxx_messageInfo_GetVersionsRequest proto.InternalMessageInfo
197
198func (m *GetVersionsRequest) GetModule() string {
199 if m != nil && m.Module != nil {
200 return *m.Module
201 }
202 return ""
203}
204
205type GetVersionsResponse struct {
206 Version []string `protobuf:"bytes,1,rep,name=version" json:"version,omitempty"`
207 XXX_NoUnkeyedLiteral struct{} `json:"-"`
208 XXX_unrecognized []byte `json:"-"`
209 XXX_sizecache int32 `json:"-"`
210}
211
212func (m *GetVersionsResponse) Reset() { *m = GetVersionsResponse{} }
213func (m *GetVersionsResponse) String() string { return proto.CompactTextString(m) }
214func (*GetVersionsResponse) ProtoMessage() {}
215func (*GetVersionsResponse) Descriptor() ([]byte, []int) {
216 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{4}
217}
218func (m *GetVersionsResponse) XXX_Unmarshal(b []byte) error {
219 return xxx_messageInfo_GetVersionsResponse.Unmarshal(m, b)
220}
221func (m *GetVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
222 return xxx_messageInfo_GetVersionsResponse.Marshal(b, m, deterministic)
223}
224func (dst *GetVersionsResponse) XXX_Merge(src proto.Message) {
225 xxx_messageInfo_GetVersionsResponse.Merge(dst, src)
226}
227func (m *GetVersionsResponse) XXX_Size() int {
228 return xxx_messageInfo_GetVersionsResponse.Size(m)
229}
230func (m *GetVersionsResponse) XXX_DiscardUnknown() {
231 xxx_messageInfo_GetVersionsResponse.DiscardUnknown(m)
232}
233
234var xxx_messageInfo_GetVersionsResponse proto.InternalMessageInfo
235
236func (m *GetVersionsResponse) GetVersion() []string {
237 if m != nil {
238 return m.Version
239 }
240 return nil
241}
242
243type GetDefaultVersionRequest struct {
244 Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
245 XXX_NoUnkeyedLiteral struct{} `json:"-"`
246 XXX_unrecognized []byte `json:"-"`
247 XXX_sizecache int32 `json:"-"`
248}
249
250func (m *GetDefaultVersionRequest) Reset() { *m = GetDefaultVersionRequest{} }
251func (m *GetDefaultVersionRequest) String() string { return proto.CompactTextString(m) }
252func (*GetDefaultVersionRequest) ProtoMessage() {}
253func (*GetDefaultVersionRequest) Descriptor() ([]byte, []int) {
254 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{5}
255}
256func (m *GetDefaultVersionRequest) XXX_Unmarshal(b []byte) error {
257 return xxx_messageInfo_GetDefaultVersionRequest.Unmarshal(m, b)
258}
259func (m *GetDefaultVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
260 return xxx_messageInfo_GetDefaultVersionRequest.Marshal(b, m, deterministic)
261}
262func (dst *GetDefaultVersionRequest) XXX_Merge(src proto.Message) {
263 xxx_messageInfo_GetDefaultVersionRequest.Merge(dst, src)
264}
265func (m *GetDefaultVersionRequest) XXX_Size() int {
266 return xxx_messageInfo_GetDefaultVersionRequest.Size(m)
267}
268func (m *GetDefaultVersionRequest) XXX_DiscardUnknown() {
269 xxx_messageInfo_GetDefaultVersionRequest.DiscardUnknown(m)
270}
271
272var xxx_messageInfo_GetDefaultVersionRequest proto.InternalMessageInfo
273
274func (m *GetDefaultVersionRequest) GetModule() string {
275 if m != nil && m.Module != nil {
276 return *m.Module
277 }
278 return ""
279}
280
281type GetDefaultVersionResponse struct {
282 Version *string `protobuf:"bytes,1,req,name=version" json:"version,omitempty"`
283 XXX_NoUnkeyedLiteral struct{} `json:"-"`
284 XXX_unrecognized []byte `json:"-"`
285 XXX_sizecache int32 `json:"-"`
286}
287
288func (m *GetDefaultVersionResponse) Reset() { *m = GetDefaultVersionResponse{} }
289func (m *GetDefaultVersionResponse) String() string { return proto.CompactTextString(m) }
290func (*GetDefaultVersionResponse) ProtoMessage() {}
291func (*GetDefaultVersionResponse) Descriptor() ([]byte, []int) {
292 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{6}
293}
294func (m *GetDefaultVersionResponse) XXX_Unmarshal(b []byte) error {
295 return xxx_messageInfo_GetDefaultVersionResponse.Unmarshal(m, b)
296}
297func (m *GetDefaultVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
298 return xxx_messageInfo_GetDefaultVersionResponse.Marshal(b, m, deterministic)
299}
300func (dst *GetDefaultVersionResponse) XXX_Merge(src proto.Message) {
301 xxx_messageInfo_GetDefaultVersionResponse.Merge(dst, src)
302}
303func (m *GetDefaultVersionResponse) XXX_Size() int {
304 return xxx_messageInfo_GetDefaultVersionResponse.Size(m)
305}
306func (m *GetDefaultVersionResponse) XXX_DiscardUnknown() {
307 xxx_messageInfo_GetDefaultVersionResponse.DiscardUnknown(m)
308}
309
310var xxx_messageInfo_GetDefaultVersionResponse proto.InternalMessageInfo
311
312func (m *GetDefaultVersionResponse) GetVersion() string {
313 if m != nil && m.Version != nil {
314 return *m.Version
315 }
316 return ""
317}
318
319type GetNumInstancesRequest struct {
320 Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
321 Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
322 XXX_NoUnkeyedLiteral struct{} `json:"-"`
323 XXX_unrecognized []byte `json:"-"`
324 XXX_sizecache int32 `json:"-"`
325}
326
327func (m *GetNumInstancesRequest) Reset() { *m = GetNumInstancesRequest{} }
328func (m *GetNumInstancesRequest) String() string { return proto.CompactTextString(m) }
329func (*GetNumInstancesRequest) ProtoMessage() {}
330func (*GetNumInstancesRequest) Descriptor() ([]byte, []int) {
331 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{7}
332}
333func (m *GetNumInstancesRequest) XXX_Unmarshal(b []byte) error {
334 return xxx_messageInfo_GetNumInstancesRequest.Unmarshal(m, b)
335}
336func (m *GetNumInstancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
337 return xxx_messageInfo_GetNumInstancesRequest.Marshal(b, m, deterministic)
338}
339func (dst *GetNumInstancesRequest) XXX_Merge(src proto.Message) {
340 xxx_messageInfo_GetNumInstancesRequest.Merge(dst, src)
341}
342func (m *GetNumInstancesRequest) XXX_Size() int {
343 return xxx_messageInfo_GetNumInstancesRequest.Size(m)
344}
345func (m *GetNumInstancesRequest) XXX_DiscardUnknown() {
346 xxx_messageInfo_GetNumInstancesRequest.DiscardUnknown(m)
347}
348
349var xxx_messageInfo_GetNumInstancesRequest proto.InternalMessageInfo
350
351func (m *GetNumInstancesRequest) GetModule() string {
352 if m != nil && m.Module != nil {
353 return *m.Module
354 }
355 return ""
356}
357
358func (m *GetNumInstancesRequest) GetVersion() string {
359 if m != nil && m.Version != nil {
360 return *m.Version
361 }
362 return ""
363}
364
365type GetNumInstancesResponse struct {
366 Instances *int64 `protobuf:"varint,1,req,name=instances" json:"instances,omitempty"`
367 XXX_NoUnkeyedLiteral struct{} `json:"-"`
368 XXX_unrecognized []byte `json:"-"`
369 XXX_sizecache int32 `json:"-"`
370}
371
372func (m *GetNumInstancesResponse) Reset() { *m = GetNumInstancesResponse{} }
373func (m *GetNumInstancesResponse) String() string { return proto.CompactTextString(m) }
374func (*GetNumInstancesResponse) ProtoMessage() {}
375func (*GetNumInstancesResponse) Descriptor() ([]byte, []int) {
376 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{8}
377}
378func (m *GetNumInstancesResponse) XXX_Unmarshal(b []byte) error {
379 return xxx_messageInfo_GetNumInstancesResponse.Unmarshal(m, b)
380}
381func (m *GetNumInstancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
382 return xxx_messageInfo_GetNumInstancesResponse.Marshal(b, m, deterministic)
383}
384func (dst *GetNumInstancesResponse) XXX_Merge(src proto.Message) {
385 xxx_messageInfo_GetNumInstancesResponse.Merge(dst, src)
386}
387func (m *GetNumInstancesResponse) XXX_Size() int {
388 return xxx_messageInfo_GetNumInstancesResponse.Size(m)
389}
390func (m *GetNumInstancesResponse) XXX_DiscardUnknown() {
391 xxx_messageInfo_GetNumInstancesResponse.DiscardUnknown(m)
392}
393
394var xxx_messageInfo_GetNumInstancesResponse proto.InternalMessageInfo
395
396func (m *GetNumInstancesResponse) GetInstances() int64 {
397 if m != nil && m.Instances != nil {
398 return *m.Instances
399 }
400 return 0
401}
402
403type SetNumInstancesRequest struct {
404 Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
405 Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
406 Instances *int64 `protobuf:"varint,3,req,name=instances" json:"instances,omitempty"`
407 XXX_NoUnkeyedLiteral struct{} `json:"-"`
408 XXX_unrecognized []byte `json:"-"`
409 XXX_sizecache int32 `json:"-"`
410}
411
412func (m *SetNumInstancesRequest) Reset() { *m = SetNumInstancesRequest{} }
413func (m *SetNumInstancesRequest) String() string { return proto.CompactTextString(m) }
414func (*SetNumInstancesRequest) ProtoMessage() {}
415func (*SetNumInstancesRequest) Descriptor() ([]byte, []int) {
416 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{9}
417}
418func (m *SetNumInstancesRequest) XXX_Unmarshal(b []byte) error {
419 return xxx_messageInfo_SetNumInstancesRequest.Unmarshal(m, b)
420}
421func (m *SetNumInstancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
422 return xxx_messageInfo_SetNumInstancesRequest.Marshal(b, m, deterministic)
423}
424func (dst *SetNumInstancesRequest) XXX_Merge(src proto.Message) {
425 xxx_messageInfo_SetNumInstancesRequest.Merge(dst, src)
426}
427func (m *SetNumInstancesRequest) XXX_Size() int {
428 return xxx_messageInfo_SetNumInstancesRequest.Size(m)
429}
430func (m *SetNumInstancesRequest) XXX_DiscardUnknown() {
431 xxx_messageInfo_SetNumInstancesRequest.DiscardUnknown(m)
432}
433
434var xxx_messageInfo_SetNumInstancesRequest proto.InternalMessageInfo
435
436func (m *SetNumInstancesRequest) GetModule() string {
437 if m != nil && m.Module != nil {
438 return *m.Module
439 }
440 return ""
441}
442
443func (m *SetNumInstancesRequest) GetVersion() string {
444 if m != nil && m.Version != nil {
445 return *m.Version
446 }
447 return ""
448}
449
450func (m *SetNumInstancesRequest) GetInstances() int64 {
451 if m != nil && m.Instances != nil {
452 return *m.Instances
453 }
454 return 0
455}
456
457type SetNumInstancesResponse struct {
458 XXX_NoUnkeyedLiteral struct{} `json:"-"`
459 XXX_unrecognized []byte `json:"-"`
460 XXX_sizecache int32 `json:"-"`
461}
462
463func (m *SetNumInstancesResponse) Reset() { *m = SetNumInstancesResponse{} }
464func (m *SetNumInstancesResponse) String() string { return proto.CompactTextString(m) }
465func (*SetNumInstancesResponse) ProtoMessage() {}
466func (*SetNumInstancesResponse) Descriptor() ([]byte, []int) {
467 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{10}
468}
469func (m *SetNumInstancesResponse) XXX_Unmarshal(b []byte) error {
470 return xxx_messageInfo_SetNumInstancesResponse.Unmarshal(m, b)
471}
472func (m *SetNumInstancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
473 return xxx_messageInfo_SetNumInstancesResponse.Marshal(b, m, deterministic)
474}
475func (dst *SetNumInstancesResponse) XXX_Merge(src proto.Message) {
476 xxx_messageInfo_SetNumInstancesResponse.Merge(dst, src)
477}
478func (m *SetNumInstancesResponse) XXX_Size() int {
479 return xxx_messageInfo_SetNumInstancesResponse.Size(m)
480}
481func (m *SetNumInstancesResponse) XXX_DiscardUnknown() {
482 xxx_messageInfo_SetNumInstancesResponse.DiscardUnknown(m)
483}
484
485var xxx_messageInfo_SetNumInstancesResponse proto.InternalMessageInfo
486
487type StartModuleRequest struct {
488 Module *string `protobuf:"bytes,1,req,name=module" json:"module,omitempty"`
489 Version *string `protobuf:"bytes,2,req,name=version" json:"version,omitempty"`
490 XXX_NoUnkeyedLiteral struct{} `json:"-"`
491 XXX_unrecognized []byte `json:"-"`
492 XXX_sizecache int32 `json:"-"`
493}
494
495func (m *StartModuleRequest) Reset() { *m = StartModuleRequest{} }
496func (m *StartModuleRequest) String() string { return proto.CompactTextString(m) }
497func (*StartModuleRequest) ProtoMessage() {}
498func (*StartModuleRequest) Descriptor() ([]byte, []int) {
499 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{11}
500}
501func (m *StartModuleRequest) XXX_Unmarshal(b []byte) error {
502 return xxx_messageInfo_StartModuleRequest.Unmarshal(m, b)
503}
504func (m *StartModuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
505 return xxx_messageInfo_StartModuleRequest.Marshal(b, m, deterministic)
506}
507func (dst *StartModuleRequest) XXX_Merge(src proto.Message) {
508 xxx_messageInfo_StartModuleRequest.Merge(dst, src)
509}
510func (m *StartModuleRequest) XXX_Size() int {
511 return xxx_messageInfo_StartModuleRequest.Size(m)
512}
513func (m *StartModuleRequest) XXX_DiscardUnknown() {
514 xxx_messageInfo_StartModuleRequest.DiscardUnknown(m)
515}
516
517var xxx_messageInfo_StartModuleRequest proto.InternalMessageInfo
518
519func (m *StartModuleRequest) GetModule() string {
520 if m != nil && m.Module != nil {
521 return *m.Module
522 }
523 return ""
524}
525
526func (m *StartModuleRequest) GetVersion() string {
527 if m != nil && m.Version != nil {
528 return *m.Version
529 }
530 return ""
531}
532
533type StartModuleResponse struct {
534 XXX_NoUnkeyedLiteral struct{} `json:"-"`
535 XXX_unrecognized []byte `json:"-"`
536 XXX_sizecache int32 `json:"-"`
537}
538
539func (m *StartModuleResponse) Reset() { *m = StartModuleResponse{} }
540func (m *StartModuleResponse) String() string { return proto.CompactTextString(m) }
541func (*StartModuleResponse) ProtoMessage() {}
542func (*StartModuleResponse) Descriptor() ([]byte, []int) {
543 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{12}
544}
545func (m *StartModuleResponse) XXX_Unmarshal(b []byte) error {
546 return xxx_messageInfo_StartModuleResponse.Unmarshal(m, b)
547}
548func (m *StartModuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
549 return xxx_messageInfo_StartModuleResponse.Marshal(b, m, deterministic)
550}
551func (dst *StartModuleResponse) XXX_Merge(src proto.Message) {
552 xxx_messageInfo_StartModuleResponse.Merge(dst, src)
553}
554func (m *StartModuleResponse) XXX_Size() int {
555 return xxx_messageInfo_StartModuleResponse.Size(m)
556}
557func (m *StartModuleResponse) XXX_DiscardUnknown() {
558 xxx_messageInfo_StartModuleResponse.DiscardUnknown(m)
559}
560
561var xxx_messageInfo_StartModuleResponse proto.InternalMessageInfo
562
563type StopModuleRequest struct {
564 Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
565 Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
566 XXX_NoUnkeyedLiteral struct{} `json:"-"`
567 XXX_unrecognized []byte `json:"-"`
568 XXX_sizecache int32 `json:"-"`
569}
570
571func (m *StopModuleRequest) Reset() { *m = StopModuleRequest{} }
572func (m *StopModuleRequest) String() string { return proto.CompactTextString(m) }
573func (*StopModuleRequest) ProtoMessage() {}
574func (*StopModuleRequest) Descriptor() ([]byte, []int) {
575 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{13}
576}
577func (m *StopModuleRequest) XXX_Unmarshal(b []byte) error {
578 return xxx_messageInfo_StopModuleRequest.Unmarshal(m, b)
579}
580func (m *StopModuleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
581 return xxx_messageInfo_StopModuleRequest.Marshal(b, m, deterministic)
582}
583func (dst *StopModuleRequest) XXX_Merge(src proto.Message) {
584 xxx_messageInfo_StopModuleRequest.Merge(dst, src)
585}
586func (m *StopModuleRequest) XXX_Size() int {
587 return xxx_messageInfo_StopModuleRequest.Size(m)
588}
589func (m *StopModuleRequest) XXX_DiscardUnknown() {
590 xxx_messageInfo_StopModuleRequest.DiscardUnknown(m)
591}
592
593var xxx_messageInfo_StopModuleRequest proto.InternalMessageInfo
594
595func (m *StopModuleRequest) GetModule() string {
596 if m != nil && m.Module != nil {
597 return *m.Module
598 }
599 return ""
600}
601
602func (m *StopModuleRequest) GetVersion() string {
603 if m != nil && m.Version != nil {
604 return *m.Version
605 }
606 return ""
607}
608
609type StopModuleResponse struct {
610 XXX_NoUnkeyedLiteral struct{} `json:"-"`
611 XXX_unrecognized []byte `json:"-"`
612 XXX_sizecache int32 `json:"-"`
613}
614
615func (m *StopModuleResponse) Reset() { *m = StopModuleResponse{} }
616func (m *StopModuleResponse) String() string { return proto.CompactTextString(m) }
617func (*StopModuleResponse) ProtoMessage() {}
618func (*StopModuleResponse) Descriptor() ([]byte, []int) {
619 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{14}
620}
621func (m *StopModuleResponse) XXX_Unmarshal(b []byte) error {
622 return xxx_messageInfo_StopModuleResponse.Unmarshal(m, b)
623}
624func (m *StopModuleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
625 return xxx_messageInfo_StopModuleResponse.Marshal(b, m, deterministic)
626}
627func (dst *StopModuleResponse) XXX_Merge(src proto.Message) {
628 xxx_messageInfo_StopModuleResponse.Merge(dst, src)
629}
630func (m *StopModuleResponse) XXX_Size() int {
631 return xxx_messageInfo_StopModuleResponse.Size(m)
632}
633func (m *StopModuleResponse) XXX_DiscardUnknown() {
634 xxx_messageInfo_StopModuleResponse.DiscardUnknown(m)
635}
636
637var xxx_messageInfo_StopModuleResponse proto.InternalMessageInfo
638
639type GetHostnameRequest struct {
640 Module *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
641 Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
642 Instance *string `protobuf:"bytes,3,opt,name=instance" json:"instance,omitempty"`
643 XXX_NoUnkeyedLiteral struct{} `json:"-"`
644 XXX_unrecognized []byte `json:"-"`
645 XXX_sizecache int32 `json:"-"`
646}
647
648func (m *GetHostnameRequest) Reset() { *m = GetHostnameRequest{} }
649func (m *GetHostnameRequest) String() string { return proto.CompactTextString(m) }
650func (*GetHostnameRequest) ProtoMessage() {}
651func (*GetHostnameRequest) Descriptor() ([]byte, []int) {
652 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{15}
653}
654func (m *GetHostnameRequest) XXX_Unmarshal(b []byte) error {
655 return xxx_messageInfo_GetHostnameRequest.Unmarshal(m, b)
656}
657func (m *GetHostnameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
658 return xxx_messageInfo_GetHostnameRequest.Marshal(b, m, deterministic)
659}
660func (dst *GetHostnameRequest) XXX_Merge(src proto.Message) {
661 xxx_messageInfo_GetHostnameRequest.Merge(dst, src)
662}
663func (m *GetHostnameRequest) XXX_Size() int {
664 return xxx_messageInfo_GetHostnameRequest.Size(m)
665}
666func (m *GetHostnameRequest) XXX_DiscardUnknown() {
667 xxx_messageInfo_GetHostnameRequest.DiscardUnknown(m)
668}
669
670var xxx_messageInfo_GetHostnameRequest proto.InternalMessageInfo
671
672func (m *GetHostnameRequest) GetModule() string {
673 if m != nil && m.Module != nil {
674 return *m.Module
675 }
676 return ""
677}
678
679func (m *GetHostnameRequest) GetVersion() string {
680 if m != nil && m.Version != nil {
681 return *m.Version
682 }
683 return ""
684}
685
686func (m *GetHostnameRequest) GetInstance() string {
687 if m != nil && m.Instance != nil {
688 return *m.Instance
689 }
690 return ""
691}
692
693type GetHostnameResponse struct {
694 Hostname *string `protobuf:"bytes,1,req,name=hostname" json:"hostname,omitempty"`
695 XXX_NoUnkeyedLiteral struct{} `json:"-"`
696 XXX_unrecognized []byte `json:"-"`
697 XXX_sizecache int32 `json:"-"`
698}
699
700func (m *GetHostnameResponse) Reset() { *m = GetHostnameResponse{} }
701func (m *GetHostnameResponse) String() string { return proto.CompactTextString(m) }
702func (*GetHostnameResponse) ProtoMessage() {}
703func (*GetHostnameResponse) Descriptor() ([]byte, []int) {
704 return fileDescriptor_modules_service_9cd3bffe4e91c59a, []int{16}
705}
706func (m *GetHostnameResponse) XXX_Unmarshal(b []byte) error {
707 return xxx_messageInfo_GetHostnameResponse.Unmarshal(m, b)
708}
709func (m *GetHostnameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
710 return xxx_messageInfo_GetHostnameResponse.Marshal(b, m, deterministic)
711}
712func (dst *GetHostnameResponse) XXX_Merge(src proto.Message) {
713 xxx_messageInfo_GetHostnameResponse.Merge(dst, src)
714}
715func (m *GetHostnameResponse) XXX_Size() int {
716 return xxx_messageInfo_GetHostnameResponse.Size(m)
717}
718func (m *GetHostnameResponse) XXX_DiscardUnknown() {
719 xxx_messageInfo_GetHostnameResponse.DiscardUnknown(m)
720}
721
722var xxx_messageInfo_GetHostnameResponse proto.InternalMessageInfo
723
724func (m *GetHostnameResponse) GetHostname() string {
725 if m != nil && m.Hostname != nil {
726 return *m.Hostname
727 }
728 return ""
729}
730
731func init() {
732 proto.RegisterType((*ModulesServiceError)(nil), "appengine.ModulesServiceError")
733 proto.RegisterType((*GetModulesRequest)(nil), "appengine.GetModulesRequest")
734 proto.RegisterType((*GetModulesResponse)(nil), "appengine.GetModulesResponse")
735 proto.RegisterType((*GetVersionsRequest)(nil), "appengine.GetVersionsRequest")
736 proto.RegisterType((*GetVersionsResponse)(nil), "appengine.GetVersionsResponse")
737 proto.RegisterType((*GetDefaultVersionRequest)(nil), "appengine.GetDefaultVersionRequest")
738 proto.RegisterType((*GetDefaultVersionResponse)(nil), "appengine.GetDefaultVersionResponse")
739 proto.RegisterType((*GetNumInstancesRequest)(nil), "appengine.GetNumInstancesRequest")
740 proto.RegisterType((*GetNumInstancesResponse)(nil), "appengine.GetNumInstancesResponse")
741 proto.RegisterType((*SetNumInstancesRequest)(nil), "appengine.SetNumInstancesRequest")
742 proto.RegisterType((*SetNumInstancesResponse)(nil), "appengine.SetNumInstancesResponse")
743 proto.RegisterType((*StartModuleRequest)(nil), "appengine.StartModuleRequest")
744 proto.RegisterType((*StartModuleResponse)(nil), "appengine.StartModuleResponse")
745 proto.RegisterType((*StopModuleRequest)(nil), "appengine.StopModuleRequest")
746 proto.RegisterType((*StopModuleResponse)(nil), "appengine.StopModuleResponse")
747 proto.RegisterType((*GetHostnameRequest)(nil), "appengine.GetHostnameRequest")
748 proto.RegisterType((*GetHostnameResponse)(nil), "appengine.GetHostnameResponse")
749}
750
751func init() {
752 proto.RegisterFile("google.golang.org/appengine/internal/modules/modules_service.proto", fileDescriptor_modules_service_9cd3bffe4e91c59a)
753}
754
755var fileDescriptor_modules_service_9cd3bffe4e91c59a = []byte{
756 // 457 bytes of a gzipped FileDescriptorProto
757 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xc1, 0x6f, 0xd3, 0x30,
758 0x14, 0xc6, 0x69, 0x02, 0xdb, 0xf2, 0x0e, 0x90, 0x3a, 0x5b, 0xd7, 0x4d, 0x1c, 0x50, 0x4e, 0x1c,
759 0x50, 0x2b, 0x90, 0x10, 0xe7, 0xae, 0x35, 0x25, 0xb0, 0xa5, 0x28, 0xce, 0x2a, 0xc4, 0xa5, 0x0a,
760 0xdb, 0x23, 0x8b, 0x94, 0xda, 0xc1, 0x76, 0x77, 0xe4, 0xbf, 0xe0, 0xff, 0x45, 0x4b, 0xed, 0xb6,
761 0x81, 0x4e, 0x45, 0x68, 0xa7, 0xe4, 0x7d, 0xfe, 0xfc, 0x7b, 0x9f, 0x5f, 0xac, 0xc0, 0x59, 0x2e,
762 0x44, 0x5e, 0x62, 0x2f, 0x17, 0x65, 0xc6, 0xf3, 0x9e, 0x90, 0x79, 0x3f, 0xab, 0x2a, 0xe4, 0x79,
763 0xc1, 0xb1, 0x5f, 0x70, 0x8d, 0x92, 0x67, 0x65, 0x7f, 0x2e, 0xae, 0x17, 0x25, 0x2a, 0xfb, 0x9c,
764 0x29, 0x94, 0xb7, 0xc5, 0x15, 0xf6, 0x2a, 0x29, 0xb4, 0x20, 0xde, 0x6a, 0x47, 0xf8, 0xab, 0x05,
765 0xc1, 0xc5, 0xd2, 0xc4, 0x96, 0x1e, 0x2a, 0xa5, 0x90, 0xe1, 0x4f, 0xf0, 0xea, 0x97, 0xa1, 0xb8,
766 0x46, 0xb2, 0x07, 0xce, 0xe4, 0x93, 0xff, 0x88, 0x10, 0x78, 0x1a, 0xc5, 0xd3, 0xc1, 0x79, 0x34,
767 0x9a, 0x5d, 0x4c, 0x46, 0x97, 0xe7, 0xd4, 0x6f, 0x91, 0x00, 0x9e, 0x59, 0x6d, 0x4a, 0x13, 0x16,
768 0x4d, 0x62, 0xdf, 0x21, 0x47, 0xd0, 0xb6, 0x62, 0x14, 0xb3, 0x74, 0x10, 0x0f, 0x29, 0xf3, 0xdd,
769 0x3b, 0x6f, 0x9a, 0x0c, 0x62, 0x16, 0xd1, 0x38, 0x9d, 0xd1, 0x24, 0x99, 0x24, 0xfe, 0x63, 0x72,
770 0x08, 0xfe, 0x65, 0x4c, 0xbf, 0x7c, 0xa6, 0xc3, 0x94, 0x8e, 0x66, 0x2c, 0x1d, 0xa4, 0xd4, 0x7f,
771 0x12, 0x06, 0xd0, 0x1e, 0xa3, 0x36, 0xc9, 0x12, 0xfc, 0xb1, 0x40, 0xa5, 0xc3, 0x57, 0x40, 0x36,
772 0x45, 0x55, 0x09, 0xae, 0x90, 0x74, 0x60, 0x6f, 0x79, 0xcc, 0x6e, 0xeb, 0x85, 0xfb, 0xd2, 0x4b,
773 0x4c, 0x65, 0xdc, 0x53, 0x94, 0xaa, 0x10, 0xdc, 0x32, 0x1a, 0xee, 0xd6, 0x86, 0xbb, 0x0f, 0x41,
774 0xc3, 0x6d, 0xe0, 0x5d, 0xd8, 0xbf, 0x5d, 0x6a, 0x86, 0x6e, 0xcb, 0xf0, 0x0d, 0x74, 0xc7, 0xa8,
775 0x47, 0xf8, 0x3d, 0x5b, 0x94, 0x76, 0xdf, 0xae, 0x26, 0x6f, 0xe1, 0x64, 0xcb, 0x9e, 0x6d, 0xad,
776 0x9c, 0xcd, 0x56, 0x1f, 0xa1, 0x33, 0x46, 0x1d, 0x2f, 0xe6, 0x11, 0x57, 0x3a, 0xe3, 0x57, 0xb8,
777 0xeb, 0x34, 0x9b, 0x2c, 0xa7, 0x5e, 0x58, 0xb1, 0xde, 0xc1, 0xf1, 0x5f, 0x2c, 0x13, 0xe0, 0x39,
778 0x78, 0x85, 0x15, 0xeb, 0x08, 0x6e, 0xb2, 0x16, 0xc2, 0x1b, 0xe8, 0xb0, 0x07, 0x0a, 0xd1, 0xec,
779 0xe4, 0xfe, 0xd9, 0xe9, 0x04, 0x8e, 0xd9, 0xf6, 0x88, 0xe1, 0x7b, 0x20, 0x4c, 0x67, 0xd2, 0xdc,
780 0x81, 0x6d, 0x01, 0x9c, 0xfb, 0x02, 0x34, 0x26, 0x7a, 0x04, 0x41, 0x83, 0x63, 0xf0, 0x14, 0xda,
781 0x4c, 0x8b, 0xea, 0x7e, 0xfa, 0xbf, 0xcd, 0xf8, 0xf0, 0x2e, 0xe5, 0x1a, 0x63, 0xe0, 0xdf, 0xea,
782 0xfb, 0xf8, 0x41, 0x28, 0xcd, 0xb3, 0xf9, 0xff, 0xd3, 0xc9, 0x29, 0x1c, 0xd8, 0x59, 0x75, 0xdd,
783 0x7a, 0x69, 0x55, 0x87, 0xaf, 0xeb, 0x5b, 0xbc, 0xee, 0x61, 0xbe, 0xec, 0x29, 0x1c, 0xdc, 0x18,
784 0xcd, 0x8c, 0x68, 0x55, 0x9f, 0x79, 0x5f, 0xf7, 0xcd, 0x5f, 0xe2, 0x77, 0x00, 0x00, 0x00, 0xff,
785 0xff, 0x6e, 0xbc, 0xe0, 0x61, 0x5c, 0x04, 0x00, 0x00,
786}
diff --git a/vendor/google.golang.org/appengine/internal/modules/modules_service.proto b/vendor/google.golang.org/appengine/internal/modules/modules_service.proto
new file mode 100644
index 0000000..d29f006
--- /dev/null
+++ b/vendor/google.golang.org/appengine/internal/modules/modules_service.proto
@@ -0,0 +1,80 @@
1syntax = "proto2";
2option go_package = "modules";
3
4package appengine;
5
6message ModulesServiceError {
7 enum ErrorCode {
8 OK = 0;
9 INVALID_MODULE = 1;
10 INVALID_VERSION = 2;
11 INVALID_INSTANCES = 3;
12 TRANSIENT_ERROR = 4;
13 UNEXPECTED_STATE = 5;
14 }
15}
16
17message GetModulesRequest {
18}
19
20message GetModulesResponse {
21 repeated string module = 1;
22}
23
24message GetVersionsRequest {
25 optional string module = 1;
26}
27
28message GetVersionsResponse {
29 repeated string version = 1;
30}
31
32message GetDefaultVersionRequest {
33 optional string module = 1;
34}
35
36message GetDefaultVersionResponse {
37 required string version = 1;
38}
39
40message GetNumInstancesRequest {
41 optional string module = 1;
42 optional string version = 2;
43}
44
45message GetNumInstancesResponse {
46 required int64 instances = 1;
47}
48
49message SetNumInstancesRequest {
50 optional string module = 1;
51 optional string version = 2;
52 required int64 instances = 3;
53}
54
55message SetNumInstancesResponse {}
56
57message StartModuleRequest {
58 required string module = 1;
59 required string version = 2;
60}
61
62message StartModuleResponse {}
63
64message StopModuleRequest {
65 optional string module = 1;
66 optional string version = 2;
67}
68
69message StopModuleResponse {}
70
71message GetHostnameRequest {
72 optional string module = 1;
73 optional string version = 2;
74 optional string instance = 3;
75}
76
77message GetHostnameResponse {
78 required string hostname = 1;
79}
80