OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / genproto / googleapis / appengine / v1 / appengine.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/appengine/v1/appengine.proto
3
4 package appengine
5
6 import proto "github.com/golang/protobuf/proto"
7 import fmt "fmt"
8 import math "math"
9 import _ "google.golang.org/genproto/googleapis/api/annotations"
10 import _ "google.golang.org/genproto/googleapis/iam/v1"
11 import _ "google.golang.org/genproto/googleapis/iam/v1"
12 import google_longrunning "google.golang.org/genproto/googleapis/longrunning"
13 import _ "github.com/golang/protobuf/ptypes/empty"
14 import google_protobuf5 "google.golang.org/genproto/protobuf/field_mask"
15
16 import (
17         context "golang.org/x/net/context"
18         grpc "google.golang.org/grpc"
19 )
20
21 // Reference imports to suppress errors if they are not otherwise used.
22 var _ = proto.Marshal
23 var _ = fmt.Errorf
24 var _ = math.Inf
25
26 // Fields that should be returned when [Version][google.appengine.v1.Version] resources
27 // are retreived.
28 type VersionView int32
29
30 const (
31         // Basic version information including scaling and inbound services,
32         // but not detailed deployment information.
33         VersionView_BASIC VersionView = 0
34         // The information from `BASIC`, plus detailed information about the
35         // deployment. This format is required when creating resources, but
36         // is not returned in `Get` or `List` by default.
37         VersionView_FULL VersionView = 1
38 )
39
40 var VersionView_name = map[int32]string{
41         0: "BASIC",
42         1: "FULL",
43 }
44 var VersionView_value = map[string]int32{
45         "BASIC": 0,
46         "FULL":  1,
47 }
48
49 func (x VersionView) String() string {
50         return proto.EnumName(VersionView_name, int32(x))
51 }
52 func (VersionView) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
53
54 // Request message for `Applications.GetApplication`.
55 type GetApplicationRequest struct {
56         // Name of the Application resource to get. Example: `apps/myapp`.
57         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
58 }
59
60 func (m *GetApplicationRequest) Reset()                    { *m = GetApplicationRequest{} }
61 func (m *GetApplicationRequest) String() string            { return proto.CompactTextString(m) }
62 func (*GetApplicationRequest) ProtoMessage()               {}
63 func (*GetApplicationRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
64
65 func (m *GetApplicationRequest) GetName() string {
66         if m != nil {
67                 return m.Name
68         }
69         return ""
70 }
71
72 // Request message for 'Applications.RepairApplication'.
73 type RepairApplicationRequest struct {
74         // Name of the application to repair. Example: `apps/myapp`
75         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
76 }
77
78 func (m *RepairApplicationRequest) Reset()                    { *m = RepairApplicationRequest{} }
79 func (m *RepairApplicationRequest) String() string            { return proto.CompactTextString(m) }
80 func (*RepairApplicationRequest) ProtoMessage()               {}
81 func (*RepairApplicationRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
82
83 func (m *RepairApplicationRequest) GetName() string {
84         if m != nil {
85                 return m.Name
86         }
87         return ""
88 }
89
90 // Request message for `Services.ListServices`.
91 type ListServicesRequest struct {
92         // Name of the parent Application resource. Example: `apps/myapp`.
93         Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
94         // Maximum results to return per page.
95         PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
96         // Continuation token for fetching the next page of results.
97         PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
98 }
99
100 func (m *ListServicesRequest) Reset()                    { *m = ListServicesRequest{} }
101 func (m *ListServicesRequest) String() string            { return proto.CompactTextString(m) }
102 func (*ListServicesRequest) ProtoMessage()               {}
103 func (*ListServicesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
104
105 func (m *ListServicesRequest) GetParent() string {
106         if m != nil {
107                 return m.Parent
108         }
109         return ""
110 }
111
112 func (m *ListServicesRequest) GetPageSize() int32 {
113         if m != nil {
114                 return m.PageSize
115         }
116         return 0
117 }
118
119 func (m *ListServicesRequest) GetPageToken() string {
120         if m != nil {
121                 return m.PageToken
122         }
123         return ""
124 }
125
126 // Response message for `Services.ListServices`.
127 type ListServicesResponse struct {
128         // The services belonging to the requested application.
129         Services []*Service `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"`
130         // Continuation token for fetching the next page of results.
131         NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
132 }
133
134 func (m *ListServicesResponse) Reset()                    { *m = ListServicesResponse{} }
135 func (m *ListServicesResponse) String() string            { return proto.CompactTextString(m) }
136 func (*ListServicesResponse) ProtoMessage()               {}
137 func (*ListServicesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
138
139 func (m *ListServicesResponse) GetServices() []*Service {
140         if m != nil {
141                 return m.Services
142         }
143         return nil
144 }
145
146 func (m *ListServicesResponse) GetNextPageToken() string {
147         if m != nil {
148                 return m.NextPageToken
149         }
150         return ""
151 }
152
153 // Request message for `Services.GetService`.
154 type GetServiceRequest struct {
155         // Name of the resource requested. Example: `apps/myapp/services/default`.
156         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
157 }
158
159 func (m *GetServiceRequest) Reset()                    { *m = GetServiceRequest{} }
160 func (m *GetServiceRequest) String() string            { return proto.CompactTextString(m) }
161 func (*GetServiceRequest) ProtoMessage()               {}
162 func (*GetServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
163
164 func (m *GetServiceRequest) GetName() string {
165         if m != nil {
166                 return m.Name
167         }
168         return ""
169 }
170
171 // Request message for `Services.UpdateService`.
172 type UpdateServiceRequest struct {
173         // Name of the resource to update. Example: `apps/myapp/services/default`.
174         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
175         // A Service resource containing the updated service. Only fields set in the
176         // field mask will be updated.
177         Service *Service `protobuf:"bytes,2,opt,name=service" json:"service,omitempty"`
178         // Standard field mask for the set of fields to be updated.
179         UpdateMask *google_protobuf5.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
180         // Set to `true` to gradually shift traffic from one version to another
181         // single version. By default, traffic is shifted immediately.
182         // For gradual traffic migration, the target version
183         // must be located within instances that are configured for both
184         // [warmup requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype)
185         // and
186         // [automatic scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling).
187         // You must specify the
188         // [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby)
189         // field in the Service resource. Gradual traffic migration is not
190         // supported in the App Engine flexible environment. For examples, see
191         // [Migrating and Splitting Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
192         MigrateTraffic bool `protobuf:"varint,4,opt,name=migrate_traffic,json=migrateTraffic" json:"migrate_traffic,omitempty"`
193 }
194
195 func (m *UpdateServiceRequest) Reset()                    { *m = UpdateServiceRequest{} }
196 func (m *UpdateServiceRequest) String() string            { return proto.CompactTextString(m) }
197 func (*UpdateServiceRequest) ProtoMessage()               {}
198 func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
199
200 func (m *UpdateServiceRequest) GetName() string {
201         if m != nil {
202                 return m.Name
203         }
204         return ""
205 }
206
207 func (m *UpdateServiceRequest) GetService() *Service {
208         if m != nil {
209                 return m.Service
210         }
211         return nil
212 }
213
214 func (m *UpdateServiceRequest) GetUpdateMask() *google_protobuf5.FieldMask {
215         if m != nil {
216                 return m.UpdateMask
217         }
218         return nil
219 }
220
221 func (m *UpdateServiceRequest) GetMigrateTraffic() bool {
222         if m != nil {
223                 return m.MigrateTraffic
224         }
225         return false
226 }
227
228 // Request message for `Services.DeleteService`.
229 type DeleteServiceRequest struct {
230         // Name of the resource requested. Example: `apps/myapp/services/default`.
231         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
232 }
233
234 func (m *DeleteServiceRequest) Reset()                    { *m = DeleteServiceRequest{} }
235 func (m *DeleteServiceRequest) String() string            { return proto.CompactTextString(m) }
236 func (*DeleteServiceRequest) ProtoMessage()               {}
237 func (*DeleteServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }
238
239 func (m *DeleteServiceRequest) GetName() string {
240         if m != nil {
241                 return m.Name
242         }
243         return ""
244 }
245
246 // Request message for `Versions.ListVersions`.
247 type ListVersionsRequest struct {
248         // Name of the parent Service resource. Example:
249         // `apps/myapp/services/default`.
250         Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
251         // Controls the set of fields returned in the `List` response.
252         View VersionView `protobuf:"varint,2,opt,name=view,enum=google.appengine.v1.VersionView" json:"view,omitempty"`
253         // Maximum results to return per page.
254         PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
255         // Continuation token for fetching the next page of results.
256         PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
257 }
258
259 func (m *ListVersionsRequest) Reset()                    { *m = ListVersionsRequest{} }
260 func (m *ListVersionsRequest) String() string            { return proto.CompactTextString(m) }
261 func (*ListVersionsRequest) ProtoMessage()               {}
262 func (*ListVersionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} }
263
264 func (m *ListVersionsRequest) GetParent() string {
265         if m != nil {
266                 return m.Parent
267         }
268         return ""
269 }
270
271 func (m *ListVersionsRequest) GetView() VersionView {
272         if m != nil {
273                 return m.View
274         }
275         return VersionView_BASIC
276 }
277
278 func (m *ListVersionsRequest) GetPageSize() int32 {
279         if m != nil {
280                 return m.PageSize
281         }
282         return 0
283 }
284
285 func (m *ListVersionsRequest) GetPageToken() string {
286         if m != nil {
287                 return m.PageToken
288         }
289         return ""
290 }
291
292 // Response message for `Versions.ListVersions`.
293 type ListVersionsResponse struct {
294         // The versions belonging to the requested service.
295         Versions []*Version `protobuf:"bytes,1,rep,name=versions" json:"versions,omitempty"`
296         // Continuation token for fetching the next page of results.
297         NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
298 }
299
300 func (m *ListVersionsResponse) Reset()                    { *m = ListVersionsResponse{} }
301 func (m *ListVersionsResponse) String() string            { return proto.CompactTextString(m) }
302 func (*ListVersionsResponse) ProtoMessage()               {}
303 func (*ListVersionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }
304
305 func (m *ListVersionsResponse) GetVersions() []*Version {
306         if m != nil {
307                 return m.Versions
308         }
309         return nil
310 }
311
312 func (m *ListVersionsResponse) GetNextPageToken() string {
313         if m != nil {
314                 return m.NextPageToken
315         }
316         return ""
317 }
318
319 // Request message for `Versions.GetVersion`.
320 type GetVersionRequest struct {
321         // Name of the resource requested. Example:
322         // `apps/myapp/services/default/versions/v1`.
323         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
324         // Controls the set of fields returned in the `Get` response.
325         View VersionView `protobuf:"varint,2,opt,name=view,enum=google.appengine.v1.VersionView" json:"view,omitempty"`
326 }
327
328 func (m *GetVersionRequest) Reset()                    { *m = GetVersionRequest{} }
329 func (m *GetVersionRequest) String() string            { return proto.CompactTextString(m) }
330 func (*GetVersionRequest) ProtoMessage()               {}
331 func (*GetVersionRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} }
332
333 func (m *GetVersionRequest) GetName() string {
334         if m != nil {
335                 return m.Name
336         }
337         return ""
338 }
339
340 func (m *GetVersionRequest) GetView() VersionView {
341         if m != nil {
342                 return m.View
343         }
344         return VersionView_BASIC
345 }
346
347 // Request message for `Versions.CreateVersion`.
348 type CreateVersionRequest struct {
349         // Name of the parent resource to create this version under. Example:
350         // `apps/myapp/services/default`.
351         Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
352         // Application deployment configuration.
353         Version *Version `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
354 }
355
356 func (m *CreateVersionRequest) Reset()                    { *m = CreateVersionRequest{} }
357 func (m *CreateVersionRequest) String() string            { return proto.CompactTextString(m) }
358 func (*CreateVersionRequest) ProtoMessage()               {}
359 func (*CreateVersionRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{10} }
360
361 func (m *CreateVersionRequest) GetParent() string {
362         if m != nil {
363                 return m.Parent
364         }
365         return ""
366 }
367
368 func (m *CreateVersionRequest) GetVersion() *Version {
369         if m != nil {
370                 return m.Version
371         }
372         return nil
373 }
374
375 // Request message for `Versions.UpdateVersion`.
376 type UpdateVersionRequest struct {
377         // Name of the resource to update. Example:
378         // `apps/myapp/services/default/versions/1`.
379         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
380         // A Version containing the updated resource. Only fields set in the field
381         // mask will be updated.
382         Version *Version `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
383         // Standard field mask for the set of fields to be updated.
384         UpdateMask *google_protobuf5.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
385 }
386
387 func (m *UpdateVersionRequest) Reset()                    { *m = UpdateVersionRequest{} }
388 func (m *UpdateVersionRequest) String() string            { return proto.CompactTextString(m) }
389 func (*UpdateVersionRequest) ProtoMessage()               {}
390 func (*UpdateVersionRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{11} }
391
392 func (m *UpdateVersionRequest) GetName() string {
393         if m != nil {
394                 return m.Name
395         }
396         return ""
397 }
398
399 func (m *UpdateVersionRequest) GetVersion() *Version {
400         if m != nil {
401                 return m.Version
402         }
403         return nil
404 }
405
406 func (m *UpdateVersionRequest) GetUpdateMask() *google_protobuf5.FieldMask {
407         if m != nil {
408                 return m.UpdateMask
409         }
410         return nil
411 }
412
413 // Request message for `Versions.DeleteVersion`.
414 type DeleteVersionRequest struct {
415         // Name of the resource requested. Example:
416         // `apps/myapp/services/default/versions/v1`.
417         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
418 }
419
420 func (m *DeleteVersionRequest) Reset()                    { *m = DeleteVersionRequest{} }
421 func (m *DeleteVersionRequest) String() string            { return proto.CompactTextString(m) }
422 func (*DeleteVersionRequest) ProtoMessage()               {}
423 func (*DeleteVersionRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{12} }
424
425 func (m *DeleteVersionRequest) GetName() string {
426         if m != nil {
427                 return m.Name
428         }
429         return ""
430 }
431
432 // Request message for `Instances.ListInstances`.
433 type ListInstancesRequest struct {
434         // Name of the parent Version resource. Example:
435         // `apps/myapp/services/default/versions/v1`.
436         Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
437         // Maximum results to return per page.
438         PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
439         // Continuation token for fetching the next page of results.
440         PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
441 }
442
443 func (m *ListInstancesRequest) Reset()                    { *m = ListInstancesRequest{} }
444 func (m *ListInstancesRequest) String() string            { return proto.CompactTextString(m) }
445 func (*ListInstancesRequest) ProtoMessage()               {}
446 func (*ListInstancesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{13} }
447
448 func (m *ListInstancesRequest) GetParent() string {
449         if m != nil {
450                 return m.Parent
451         }
452         return ""
453 }
454
455 func (m *ListInstancesRequest) GetPageSize() int32 {
456         if m != nil {
457                 return m.PageSize
458         }
459         return 0
460 }
461
462 func (m *ListInstancesRequest) GetPageToken() string {
463         if m != nil {
464                 return m.PageToken
465         }
466         return ""
467 }
468
469 // Response message for `Instances.ListInstances`.
470 type ListInstancesResponse struct {
471         // The instances belonging to the requested version.
472         Instances []*Instance `protobuf:"bytes,1,rep,name=instances" json:"instances,omitempty"`
473         // Continuation token for fetching the next page of results.
474         NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
475 }
476
477 func (m *ListInstancesResponse) Reset()                    { *m = ListInstancesResponse{} }
478 func (m *ListInstancesResponse) String() string            { return proto.CompactTextString(m) }
479 func (*ListInstancesResponse) ProtoMessage()               {}
480 func (*ListInstancesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{14} }
481
482 func (m *ListInstancesResponse) GetInstances() []*Instance {
483         if m != nil {
484                 return m.Instances
485         }
486         return nil
487 }
488
489 func (m *ListInstancesResponse) GetNextPageToken() string {
490         if m != nil {
491                 return m.NextPageToken
492         }
493         return ""
494 }
495
496 // Request message for `Instances.GetInstance`.
497 type GetInstanceRequest struct {
498         // Name of the resource requested. Example:
499         // `apps/myapp/services/default/versions/v1/instances/instance-1`.
500         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
501 }
502
503 func (m *GetInstanceRequest) Reset()                    { *m = GetInstanceRequest{} }
504 func (m *GetInstanceRequest) String() string            { return proto.CompactTextString(m) }
505 func (*GetInstanceRequest) ProtoMessage()               {}
506 func (*GetInstanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{15} }
507
508 func (m *GetInstanceRequest) GetName() string {
509         if m != nil {
510                 return m.Name
511         }
512         return ""
513 }
514
515 // Request message for `Instances.DeleteInstance`.
516 type DeleteInstanceRequest struct {
517         // Name of the resource requested. Example:
518         // `apps/myapp/services/default/versions/v1/instances/instance-1`.
519         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
520 }
521
522 func (m *DeleteInstanceRequest) Reset()                    { *m = DeleteInstanceRequest{} }
523 func (m *DeleteInstanceRequest) String() string            { return proto.CompactTextString(m) }
524 func (*DeleteInstanceRequest) ProtoMessage()               {}
525 func (*DeleteInstanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{16} }
526
527 func (m *DeleteInstanceRequest) GetName() string {
528         if m != nil {
529                 return m.Name
530         }
531         return ""
532 }
533
534 // Request message for `Instances.DebugInstance`.
535 type DebugInstanceRequest struct {
536         // Name of the resource requested. Example:
537         // `apps/myapp/services/default/versions/v1/instances/instance-1`.
538         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
539 }
540
541 func (m *DebugInstanceRequest) Reset()                    { *m = DebugInstanceRequest{} }
542 func (m *DebugInstanceRequest) String() string            { return proto.CompactTextString(m) }
543 func (*DebugInstanceRequest) ProtoMessage()               {}
544 func (*DebugInstanceRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{17} }
545
546 func (m *DebugInstanceRequest) GetName() string {
547         if m != nil {
548                 return m.Name
549         }
550         return ""
551 }
552
553 func init() {
554         proto.RegisterType((*GetApplicationRequest)(nil), "google.appengine.v1.GetApplicationRequest")
555         proto.RegisterType((*RepairApplicationRequest)(nil), "google.appengine.v1.RepairApplicationRequest")
556         proto.RegisterType((*ListServicesRequest)(nil), "google.appengine.v1.ListServicesRequest")
557         proto.RegisterType((*ListServicesResponse)(nil), "google.appengine.v1.ListServicesResponse")
558         proto.RegisterType((*GetServiceRequest)(nil), "google.appengine.v1.GetServiceRequest")
559         proto.RegisterType((*UpdateServiceRequest)(nil), "google.appengine.v1.UpdateServiceRequest")
560         proto.RegisterType((*DeleteServiceRequest)(nil), "google.appengine.v1.DeleteServiceRequest")
561         proto.RegisterType((*ListVersionsRequest)(nil), "google.appengine.v1.ListVersionsRequest")
562         proto.RegisterType((*ListVersionsResponse)(nil), "google.appengine.v1.ListVersionsResponse")
563         proto.RegisterType((*GetVersionRequest)(nil), "google.appengine.v1.GetVersionRequest")
564         proto.RegisterType((*CreateVersionRequest)(nil), "google.appengine.v1.CreateVersionRequest")
565         proto.RegisterType((*UpdateVersionRequest)(nil), "google.appengine.v1.UpdateVersionRequest")
566         proto.RegisterType((*DeleteVersionRequest)(nil), "google.appengine.v1.DeleteVersionRequest")
567         proto.RegisterType((*ListInstancesRequest)(nil), "google.appengine.v1.ListInstancesRequest")
568         proto.RegisterType((*ListInstancesResponse)(nil), "google.appengine.v1.ListInstancesResponse")
569         proto.RegisterType((*GetInstanceRequest)(nil), "google.appengine.v1.GetInstanceRequest")
570         proto.RegisterType((*DeleteInstanceRequest)(nil), "google.appengine.v1.DeleteInstanceRequest")
571         proto.RegisterType((*DebugInstanceRequest)(nil), "google.appengine.v1.DebugInstanceRequest")
572         proto.RegisterEnum("google.appengine.v1.VersionView", VersionView_name, VersionView_value)
573 }
574
575 // Reference imports to suppress errors if they are not otherwise used.
576 var _ context.Context
577 var _ grpc.ClientConn
578
579 // This is a compile-time assertion to ensure that this generated file
580 // is compatible with the grpc package it is being compiled against.
581 const _ = grpc.SupportPackageIsVersion4
582
583 // Client API for Instances service
584
585 type InstancesClient interface {
586         // Lists the instances of a version.
587         ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
588         // Gets instance information.
589         GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
590         // Stops a running instance.
591         DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
592         // Enables debugging on a VM instance. This allows you to use the SSH
593         // command to connect to the virtual machine where the instance lives.
594         // While in "debug mode", the instance continues to serve live traffic.
595         // You should delete the instance when you are done debugging and then
596         // allow the system to take over and determine if another instance
597         // should be started.
598         //
599         // Only applicable for instances in App Engine flexible environment.
600         DebugInstance(ctx context.Context, in *DebugInstanceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
601 }
602
603 type instancesClient struct {
604         cc *grpc.ClientConn
605 }
606
607 func NewInstancesClient(cc *grpc.ClientConn) InstancesClient {
608         return &instancesClient{cc}
609 }
610
611 func (c *instancesClient) ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) {
612         out := new(ListInstancesResponse)
613         err := grpc.Invoke(ctx, "/google.appengine.v1.Instances/ListInstances", in, out, c.cc, opts...)
614         if err != nil {
615                 return nil, err
616         }
617         return out, nil
618 }
619
620 func (c *instancesClient) GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) {
621         out := new(Instance)
622         err := grpc.Invoke(ctx, "/google.appengine.v1.Instances/GetInstance", in, out, c.cc, opts...)
623         if err != nil {
624                 return nil, err
625         }
626         return out, nil
627 }
628
629 func (c *instancesClient) DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
630         out := new(google_longrunning.Operation)
631         err := grpc.Invoke(ctx, "/google.appengine.v1.Instances/DeleteInstance", in, out, c.cc, opts...)
632         if err != nil {
633                 return nil, err
634         }
635         return out, nil
636 }
637
638 func (c *instancesClient) DebugInstance(ctx context.Context, in *DebugInstanceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
639         out := new(google_longrunning.Operation)
640         err := grpc.Invoke(ctx, "/google.appengine.v1.Instances/DebugInstance", in, out, c.cc, opts...)
641         if err != nil {
642                 return nil, err
643         }
644         return out, nil
645 }
646
647 // Server API for Instances service
648
649 type InstancesServer interface {
650         // Lists the instances of a version.
651         ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
652         // Gets instance information.
653         GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
654         // Stops a running instance.
655         DeleteInstance(context.Context, *DeleteInstanceRequest) (*google_longrunning.Operation, error)
656         // Enables debugging on a VM instance. This allows you to use the SSH
657         // command to connect to the virtual machine where the instance lives.
658         // While in "debug mode", the instance continues to serve live traffic.
659         // You should delete the instance when you are done debugging and then
660         // allow the system to take over and determine if another instance
661         // should be started.
662         //
663         // Only applicable for instances in App Engine flexible environment.
664         DebugInstance(context.Context, *DebugInstanceRequest) (*google_longrunning.Operation, error)
665 }
666
667 func RegisterInstancesServer(s *grpc.Server, srv InstancesServer) {
668         s.RegisterService(&_Instances_serviceDesc, srv)
669 }
670
671 func _Instances_ListInstances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
672         in := new(ListInstancesRequest)
673         if err := dec(in); err != nil {
674                 return nil, err
675         }
676         if interceptor == nil {
677                 return srv.(InstancesServer).ListInstances(ctx, in)
678         }
679         info := &grpc.UnaryServerInfo{
680                 Server:     srv,
681                 FullMethod: "/google.appengine.v1.Instances/ListInstances",
682         }
683         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
684                 return srv.(InstancesServer).ListInstances(ctx, req.(*ListInstancesRequest))
685         }
686         return interceptor(ctx, in, info, handler)
687 }
688
689 func _Instances_GetInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
690         in := new(GetInstanceRequest)
691         if err := dec(in); err != nil {
692                 return nil, err
693         }
694         if interceptor == nil {
695                 return srv.(InstancesServer).GetInstance(ctx, in)
696         }
697         info := &grpc.UnaryServerInfo{
698                 Server:     srv,
699                 FullMethod: "/google.appengine.v1.Instances/GetInstance",
700         }
701         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
702                 return srv.(InstancesServer).GetInstance(ctx, req.(*GetInstanceRequest))
703         }
704         return interceptor(ctx, in, info, handler)
705 }
706
707 func _Instances_DeleteInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
708         in := new(DeleteInstanceRequest)
709         if err := dec(in); err != nil {
710                 return nil, err
711         }
712         if interceptor == nil {
713                 return srv.(InstancesServer).DeleteInstance(ctx, in)
714         }
715         info := &grpc.UnaryServerInfo{
716                 Server:     srv,
717                 FullMethod: "/google.appengine.v1.Instances/DeleteInstance",
718         }
719         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
720                 return srv.(InstancesServer).DeleteInstance(ctx, req.(*DeleteInstanceRequest))
721         }
722         return interceptor(ctx, in, info, handler)
723 }
724
725 func _Instances_DebugInstance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
726         in := new(DebugInstanceRequest)
727         if err := dec(in); err != nil {
728                 return nil, err
729         }
730         if interceptor == nil {
731                 return srv.(InstancesServer).DebugInstance(ctx, in)
732         }
733         info := &grpc.UnaryServerInfo{
734                 Server:     srv,
735                 FullMethod: "/google.appengine.v1.Instances/DebugInstance",
736         }
737         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
738                 return srv.(InstancesServer).DebugInstance(ctx, req.(*DebugInstanceRequest))
739         }
740         return interceptor(ctx, in, info, handler)
741 }
742
743 var _Instances_serviceDesc = grpc.ServiceDesc{
744         ServiceName: "google.appengine.v1.Instances",
745         HandlerType: (*InstancesServer)(nil),
746         Methods: []grpc.MethodDesc{
747                 {
748                         MethodName: "ListInstances",
749                         Handler:    _Instances_ListInstances_Handler,
750                 },
751                 {
752                         MethodName: "GetInstance",
753                         Handler:    _Instances_GetInstance_Handler,
754                 },
755                 {
756                         MethodName: "DeleteInstance",
757                         Handler:    _Instances_DeleteInstance_Handler,
758                 },
759                 {
760                         MethodName: "DebugInstance",
761                         Handler:    _Instances_DebugInstance_Handler,
762                 },
763         },
764         Streams:  []grpc.StreamDesc{},
765         Metadata: "google/appengine/v1/appengine.proto",
766 }
767
768 // Client API for Versions service
769
770 type VersionsClient interface {
771         // Lists the versions of a service.
772         ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error)
773         // Gets the specified Version resource.
774         // By default, only a `BASIC_VIEW` will be returned.
775         // Specify the `FULL_VIEW` parameter to get the full resource.
776         GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error)
777         // Deploys code and resource files to a new version.
778         CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
779         // Updates the specified Version resource.
780         // You can specify the following fields depending on the App Engine
781         // environment and type of scaling that the version resource uses:
782         //
783         // * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status):
784         //   For Version resources that use basic scaling, manual scaling, or run in
785         //   the App Engine flexible environment.
786         // * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class):
787         //   For Version resources that run in the App Engine standard environment.
788         // * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
789         //   For Version resources that use automatic scaling and run in the App
790         //   Engine standard environment.
791         // * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
792         //   For Version resources that use automatic scaling and run in the App
793         //   Engine standard environment.
794         UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
795         // Deletes an existing Version resource.
796         DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
797 }
798
799 type versionsClient struct {
800         cc *grpc.ClientConn
801 }
802
803 func NewVersionsClient(cc *grpc.ClientConn) VersionsClient {
804         return &versionsClient{cc}
805 }
806
807 func (c *versionsClient) ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) {
808         out := new(ListVersionsResponse)
809         err := grpc.Invoke(ctx, "/google.appengine.v1.Versions/ListVersions", in, out, c.cc, opts...)
810         if err != nil {
811                 return nil, err
812         }
813         return out, nil
814 }
815
816 func (c *versionsClient) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) {
817         out := new(Version)
818         err := grpc.Invoke(ctx, "/google.appengine.v1.Versions/GetVersion", in, out, c.cc, opts...)
819         if err != nil {
820                 return nil, err
821         }
822         return out, nil
823 }
824
825 func (c *versionsClient) CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
826         out := new(google_longrunning.Operation)
827         err := grpc.Invoke(ctx, "/google.appengine.v1.Versions/CreateVersion", in, out, c.cc, opts...)
828         if err != nil {
829                 return nil, err
830         }
831         return out, nil
832 }
833
834 func (c *versionsClient) UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
835         out := new(google_longrunning.Operation)
836         err := grpc.Invoke(ctx, "/google.appengine.v1.Versions/UpdateVersion", in, out, c.cc, opts...)
837         if err != nil {
838                 return nil, err
839         }
840         return out, nil
841 }
842
843 func (c *versionsClient) DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
844         out := new(google_longrunning.Operation)
845         err := grpc.Invoke(ctx, "/google.appengine.v1.Versions/DeleteVersion", in, out, c.cc, opts...)
846         if err != nil {
847                 return nil, err
848         }
849         return out, nil
850 }
851
852 // Server API for Versions service
853
854 type VersionsServer interface {
855         // Lists the versions of a service.
856         ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
857         // Gets the specified Version resource.
858         // By default, only a `BASIC_VIEW` will be returned.
859         // Specify the `FULL_VIEW` parameter to get the full resource.
860         GetVersion(context.Context, *GetVersionRequest) (*Version, error)
861         // Deploys code and resource files to a new version.
862         CreateVersion(context.Context, *CreateVersionRequest) (*google_longrunning.Operation, error)
863         // Updates the specified Version resource.
864         // You can specify the following fields depending on the App Engine
865         // environment and type of scaling that the version resource uses:
866         //
867         // * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status):
868         //   For Version resources that use basic scaling, manual scaling, or run in
869         //   the App Engine flexible environment.
870         // * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class):
871         //   For Version resources that run in the App Engine standard environment.
872         // * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
873         //   For Version resources that use automatic scaling and run in the App
874         //   Engine standard environment.
875         // * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
876         //   For Version resources that use automatic scaling and run in the App
877         //   Engine standard environment.
878         UpdateVersion(context.Context, *UpdateVersionRequest) (*google_longrunning.Operation, error)
879         // Deletes an existing Version resource.
880         DeleteVersion(context.Context, *DeleteVersionRequest) (*google_longrunning.Operation, error)
881 }
882
883 func RegisterVersionsServer(s *grpc.Server, srv VersionsServer) {
884         s.RegisterService(&_Versions_serviceDesc, srv)
885 }
886
887 func _Versions_ListVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
888         in := new(ListVersionsRequest)
889         if err := dec(in); err != nil {
890                 return nil, err
891         }
892         if interceptor == nil {
893                 return srv.(VersionsServer).ListVersions(ctx, in)
894         }
895         info := &grpc.UnaryServerInfo{
896                 Server:     srv,
897                 FullMethod: "/google.appengine.v1.Versions/ListVersions",
898         }
899         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
900                 return srv.(VersionsServer).ListVersions(ctx, req.(*ListVersionsRequest))
901         }
902         return interceptor(ctx, in, info, handler)
903 }
904
905 func _Versions_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
906         in := new(GetVersionRequest)
907         if err := dec(in); err != nil {
908                 return nil, err
909         }
910         if interceptor == nil {
911                 return srv.(VersionsServer).GetVersion(ctx, in)
912         }
913         info := &grpc.UnaryServerInfo{
914                 Server:     srv,
915                 FullMethod: "/google.appengine.v1.Versions/GetVersion",
916         }
917         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
918                 return srv.(VersionsServer).GetVersion(ctx, req.(*GetVersionRequest))
919         }
920         return interceptor(ctx, in, info, handler)
921 }
922
923 func _Versions_CreateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
924         in := new(CreateVersionRequest)
925         if err := dec(in); err != nil {
926                 return nil, err
927         }
928         if interceptor == nil {
929                 return srv.(VersionsServer).CreateVersion(ctx, in)
930         }
931         info := &grpc.UnaryServerInfo{
932                 Server:     srv,
933                 FullMethod: "/google.appengine.v1.Versions/CreateVersion",
934         }
935         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
936                 return srv.(VersionsServer).CreateVersion(ctx, req.(*CreateVersionRequest))
937         }
938         return interceptor(ctx, in, info, handler)
939 }
940
941 func _Versions_UpdateVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
942         in := new(UpdateVersionRequest)
943         if err := dec(in); err != nil {
944                 return nil, err
945         }
946         if interceptor == nil {
947                 return srv.(VersionsServer).UpdateVersion(ctx, in)
948         }
949         info := &grpc.UnaryServerInfo{
950                 Server:     srv,
951                 FullMethod: "/google.appengine.v1.Versions/UpdateVersion",
952         }
953         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
954                 return srv.(VersionsServer).UpdateVersion(ctx, req.(*UpdateVersionRequest))
955         }
956         return interceptor(ctx, in, info, handler)
957 }
958
959 func _Versions_DeleteVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
960         in := new(DeleteVersionRequest)
961         if err := dec(in); err != nil {
962                 return nil, err
963         }
964         if interceptor == nil {
965                 return srv.(VersionsServer).DeleteVersion(ctx, in)
966         }
967         info := &grpc.UnaryServerInfo{
968                 Server:     srv,
969                 FullMethod: "/google.appengine.v1.Versions/DeleteVersion",
970         }
971         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
972                 return srv.(VersionsServer).DeleteVersion(ctx, req.(*DeleteVersionRequest))
973         }
974         return interceptor(ctx, in, info, handler)
975 }
976
977 var _Versions_serviceDesc = grpc.ServiceDesc{
978         ServiceName: "google.appengine.v1.Versions",
979         HandlerType: (*VersionsServer)(nil),
980         Methods: []grpc.MethodDesc{
981                 {
982                         MethodName: "ListVersions",
983                         Handler:    _Versions_ListVersions_Handler,
984                 },
985                 {
986                         MethodName: "GetVersion",
987                         Handler:    _Versions_GetVersion_Handler,
988                 },
989                 {
990                         MethodName: "CreateVersion",
991                         Handler:    _Versions_CreateVersion_Handler,
992                 },
993                 {
994                         MethodName: "UpdateVersion",
995                         Handler:    _Versions_UpdateVersion_Handler,
996                 },
997                 {
998                         MethodName: "DeleteVersion",
999                         Handler:    _Versions_DeleteVersion_Handler,
1000                 },
1001         },
1002         Streams:  []grpc.StreamDesc{},
1003         Metadata: "google/appengine/v1/appengine.proto",
1004 }
1005
1006 // Client API for Services service
1007
1008 type ServicesClient interface {
1009         // Lists all the services in the application.
1010         ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
1011         // Gets the current configuration of the specified service.
1012         GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
1013         // Updates the configuration of the specified service.
1014         UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
1015         // Deletes the specified service and all enclosed versions.
1016         DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
1017 }
1018
1019 type servicesClient struct {
1020         cc *grpc.ClientConn
1021 }
1022
1023 func NewServicesClient(cc *grpc.ClientConn) ServicesClient {
1024         return &servicesClient{cc}
1025 }
1026
1027 func (c *servicesClient) ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) {
1028         out := new(ListServicesResponse)
1029         err := grpc.Invoke(ctx, "/google.appengine.v1.Services/ListServices", in, out, c.cc, opts...)
1030         if err != nil {
1031                 return nil, err
1032         }
1033         return out, nil
1034 }
1035
1036 func (c *servicesClient) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) {
1037         out := new(Service)
1038         err := grpc.Invoke(ctx, "/google.appengine.v1.Services/GetService", in, out, c.cc, opts...)
1039         if err != nil {
1040                 return nil, err
1041         }
1042         return out, nil
1043 }
1044
1045 func (c *servicesClient) UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
1046         out := new(google_longrunning.Operation)
1047         err := grpc.Invoke(ctx, "/google.appengine.v1.Services/UpdateService", in, out, c.cc, opts...)
1048         if err != nil {
1049                 return nil, err
1050         }
1051         return out, nil
1052 }
1053
1054 func (c *servicesClient) DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
1055         out := new(google_longrunning.Operation)
1056         err := grpc.Invoke(ctx, "/google.appengine.v1.Services/DeleteService", in, out, c.cc, opts...)
1057         if err != nil {
1058                 return nil, err
1059         }
1060         return out, nil
1061 }
1062
1063 // Server API for Services service
1064
1065 type ServicesServer interface {
1066         // Lists all the services in the application.
1067         ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
1068         // Gets the current configuration of the specified service.
1069         GetService(context.Context, *GetServiceRequest) (*Service, error)
1070         // Updates the configuration of the specified service.
1071         UpdateService(context.Context, *UpdateServiceRequest) (*google_longrunning.Operation, error)
1072         // Deletes the specified service and all enclosed versions.
1073         DeleteService(context.Context, *DeleteServiceRequest) (*google_longrunning.Operation, error)
1074 }
1075
1076 func RegisterServicesServer(s *grpc.Server, srv ServicesServer) {
1077         s.RegisterService(&_Services_serviceDesc, srv)
1078 }
1079
1080 func _Services_ListServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1081         in := new(ListServicesRequest)
1082         if err := dec(in); err != nil {
1083                 return nil, err
1084         }
1085         if interceptor == nil {
1086                 return srv.(ServicesServer).ListServices(ctx, in)
1087         }
1088         info := &grpc.UnaryServerInfo{
1089                 Server:     srv,
1090                 FullMethod: "/google.appengine.v1.Services/ListServices",
1091         }
1092         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1093                 return srv.(ServicesServer).ListServices(ctx, req.(*ListServicesRequest))
1094         }
1095         return interceptor(ctx, in, info, handler)
1096 }
1097
1098 func _Services_GetService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1099         in := new(GetServiceRequest)
1100         if err := dec(in); err != nil {
1101                 return nil, err
1102         }
1103         if interceptor == nil {
1104                 return srv.(ServicesServer).GetService(ctx, in)
1105         }
1106         info := &grpc.UnaryServerInfo{
1107                 Server:     srv,
1108                 FullMethod: "/google.appengine.v1.Services/GetService",
1109         }
1110         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1111                 return srv.(ServicesServer).GetService(ctx, req.(*GetServiceRequest))
1112         }
1113         return interceptor(ctx, in, info, handler)
1114 }
1115
1116 func _Services_UpdateService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1117         in := new(UpdateServiceRequest)
1118         if err := dec(in); err != nil {
1119                 return nil, err
1120         }
1121         if interceptor == nil {
1122                 return srv.(ServicesServer).UpdateService(ctx, in)
1123         }
1124         info := &grpc.UnaryServerInfo{
1125                 Server:     srv,
1126                 FullMethod: "/google.appengine.v1.Services/UpdateService",
1127         }
1128         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1129                 return srv.(ServicesServer).UpdateService(ctx, req.(*UpdateServiceRequest))
1130         }
1131         return interceptor(ctx, in, info, handler)
1132 }
1133
1134 func _Services_DeleteService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1135         in := new(DeleteServiceRequest)
1136         if err := dec(in); err != nil {
1137                 return nil, err
1138         }
1139         if interceptor == nil {
1140                 return srv.(ServicesServer).DeleteService(ctx, in)
1141         }
1142         info := &grpc.UnaryServerInfo{
1143                 Server:     srv,
1144                 FullMethod: "/google.appengine.v1.Services/DeleteService",
1145         }
1146         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1147                 return srv.(ServicesServer).DeleteService(ctx, req.(*DeleteServiceRequest))
1148         }
1149         return interceptor(ctx, in, info, handler)
1150 }
1151
1152 var _Services_serviceDesc = grpc.ServiceDesc{
1153         ServiceName: "google.appengine.v1.Services",
1154         HandlerType: (*ServicesServer)(nil),
1155         Methods: []grpc.MethodDesc{
1156                 {
1157                         MethodName: "ListServices",
1158                         Handler:    _Services_ListServices_Handler,
1159                 },
1160                 {
1161                         MethodName: "GetService",
1162                         Handler:    _Services_GetService_Handler,
1163                 },
1164                 {
1165                         MethodName: "UpdateService",
1166                         Handler:    _Services_UpdateService_Handler,
1167                 },
1168                 {
1169                         MethodName: "DeleteService",
1170                         Handler:    _Services_DeleteService_Handler,
1171                 },
1172         },
1173         Streams:  []grpc.StreamDesc{},
1174         Metadata: "google/appengine/v1/appengine.proto",
1175 }
1176
1177 // Client API for Applications service
1178
1179 type ApplicationsClient interface {
1180         // Gets information about an application.
1181         GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error)
1182         // Recreates the required App Engine features for the application in your
1183         // project, for example a Cloud Storage bucket or App Engine service account.
1184         // Use this method if you receive an error message about a missing feature,
1185         // for example "*Error retrieving the App Engine service account*".
1186         RepairApplication(ctx context.Context, in *RepairApplicationRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
1187 }
1188
1189 type applicationsClient struct {
1190         cc *grpc.ClientConn
1191 }
1192
1193 func NewApplicationsClient(cc *grpc.ClientConn) ApplicationsClient {
1194         return &applicationsClient{cc}
1195 }
1196
1197 func (c *applicationsClient) GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) {
1198         out := new(Application)
1199         err := grpc.Invoke(ctx, "/google.appengine.v1.Applications/GetApplication", in, out, c.cc, opts...)
1200         if err != nil {
1201                 return nil, err
1202         }
1203         return out, nil
1204 }
1205
1206 func (c *applicationsClient) RepairApplication(ctx context.Context, in *RepairApplicationRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) {
1207         out := new(google_longrunning.Operation)
1208         err := grpc.Invoke(ctx, "/google.appengine.v1.Applications/RepairApplication", in, out, c.cc, opts...)
1209         if err != nil {
1210                 return nil, err
1211         }
1212         return out, nil
1213 }
1214
1215 // Server API for Applications service
1216
1217 type ApplicationsServer interface {
1218         // Gets information about an application.
1219         GetApplication(context.Context, *GetApplicationRequest) (*Application, error)
1220         // Recreates the required App Engine features for the application in your
1221         // project, for example a Cloud Storage bucket or App Engine service account.
1222         // Use this method if you receive an error message about a missing feature,
1223         // for example "*Error retrieving the App Engine service account*".
1224         RepairApplication(context.Context, *RepairApplicationRequest) (*google_longrunning.Operation, error)
1225 }
1226
1227 func RegisterApplicationsServer(s *grpc.Server, srv ApplicationsServer) {
1228         s.RegisterService(&_Applications_serviceDesc, srv)
1229 }
1230
1231 func _Applications_GetApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1232         in := new(GetApplicationRequest)
1233         if err := dec(in); err != nil {
1234                 return nil, err
1235         }
1236         if interceptor == nil {
1237                 return srv.(ApplicationsServer).GetApplication(ctx, in)
1238         }
1239         info := &grpc.UnaryServerInfo{
1240                 Server:     srv,
1241                 FullMethod: "/google.appengine.v1.Applications/GetApplication",
1242         }
1243         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1244                 return srv.(ApplicationsServer).GetApplication(ctx, req.(*GetApplicationRequest))
1245         }
1246         return interceptor(ctx, in, info, handler)
1247 }
1248
1249 func _Applications_RepairApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1250         in := new(RepairApplicationRequest)
1251         if err := dec(in); err != nil {
1252                 return nil, err
1253         }
1254         if interceptor == nil {
1255                 return srv.(ApplicationsServer).RepairApplication(ctx, in)
1256         }
1257         info := &grpc.UnaryServerInfo{
1258                 Server:     srv,
1259                 FullMethod: "/google.appengine.v1.Applications/RepairApplication",
1260         }
1261         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1262                 return srv.(ApplicationsServer).RepairApplication(ctx, req.(*RepairApplicationRequest))
1263         }
1264         return interceptor(ctx, in, info, handler)
1265 }
1266
1267 var _Applications_serviceDesc = grpc.ServiceDesc{
1268         ServiceName: "google.appengine.v1.Applications",
1269         HandlerType: (*ApplicationsServer)(nil),
1270         Methods: []grpc.MethodDesc{
1271                 {
1272                         MethodName: "GetApplication",
1273                         Handler:    _Applications_GetApplication_Handler,
1274                 },
1275                 {
1276                         MethodName: "RepairApplication",
1277                         Handler:    _Applications_RepairApplication_Handler,
1278                 },
1279         },
1280         Streams:  []grpc.StreamDesc{},
1281         Metadata: "google/appengine/v1/appengine.proto",
1282 }
1283
1284 func init() { proto.RegisterFile("google/appengine/v1/appengine.proto", fileDescriptor1) }
1285
1286 var fileDescriptor1 = []byte{
1287         // 1134 bytes of a gzipped FileDescriptorProto
1288         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xdf, 0x6f, 0xdb, 0x54,
1289         0x14, 0xc6, 0x6d, 0xba, 0x25, 0x27, 0x6b, 0xb6, 0xde, 0xb6, 0x10, 0xbc, 0x76, 0x0a, 0x1e, 0x2c,
1290         0xa9, 0xa7, 0xc5, 0x9a, 0x07, 0xd3, 0x48, 0x01, 0xa9, 0xdd, 0xb4, 0x6a, 0x52, 0x11, 0x95, 0xbb,
1291         0xed, 0x01, 0x09, 0x55, 0x6e, 0x7a, 0x63, 0x5d, 0x9a, 0xd8, 0xc6, 0x76, 0xb2, 0x6e, 0x10, 0x21,
1292         0x31, 0x09, 0x01, 0x8f, 0x1b, 0x0f, 0x3c, 0x20, 0xed, 0x81, 0x7f, 0x86, 0x77, 0xfe, 0x01, 0x1e,
1293         0xf8, 0x43, 0x90, 0xaf, 0xef, 0xb5, 0x63, 0xc7, 0xbf, 0x54, 0xc4, 0x5b, 0x7c, 0xef, 0x77, 0xef,
1294         0xf9, 0xee, 0x77, 0x3e, 0xfb, 0x9c, 0x1b, 0xb8, 0x6e, 0x58, 0x96, 0x31, 0xc4, 0x8a, 0x6e, 0xdb,
1295         0xd8, 0x34, 0x88, 0x89, 0x95, 0xc9, 0xed, 0xe8, 0xa1, 0x6b, 0x3b, 0x96, 0x67, 0xa1, 0xd5, 0x00,
1296         0xd4, 0x8d, 0xc6, 0x27, 0xb7, 0xc5, 0x8d, 0x70, 0x25, 0x51, 0x74, 0xd3, 0xb4, 0x3c, 0xdd, 0x23,
1297         0x96, 0xe9, 0x06, 0x4b, 0xc4, 0x0f, 0x32, 0xf6, 0x1d, 0x92, 0x3e, 0xc5, 0x31, 0x98, 0x94, 0x06,
1298         0x23, 0xa6, 0xeb, 0xe9, 0x66, 0x9f, 0x45, 0x17, 0xdf, 0x4b, 0xc3, 0xb8, 0xd8, 0x99, 0x90, 0x7c,
1299         0xc8, 0x04, 0x3b, 0x6e, 0x14, 0xe9, 0x1a, 0x83, 0x10, 0x7d, 0x44, 0x63, 0xe8, 0xa3, 0x23, 0xdb,
1300         0x1a, 0x92, 0xfe, 0x73, 0x36, 0x2f, 0xc6, 0xe7, 0x63, 0x73, 0x5c, 0xa4, 0xa1, 0x65, 0x1a, 0xce,
1301         0xd8, 0x34, 0x89, 0x69, 0x28, 0x96, 0x8d, 0x9d, 0xd8, 0x89, 0xaf, 0x32, 0x10, 0x7d, 0x3a, 0x1e,
1302         0x0f, 0x14, 0x3c, 0xb2, 0x3d, 0xbe, 0x43, 0x2b, 0x39, 0x39, 0x20, 0x78, 0x78, 0x72, 0x34, 0xd2,
1303         0xdd, 0xd3, 0x00, 0x21, 0xdd, 0x84, 0xf5, 0x3d, 0xec, 0xed, 0x44, 0x0a, 0x69, 0xf8, 0x9b, 0x31,
1304         0x76, 0x3d, 0x84, 0xa0, 0x62, 0xea, 0x23, 0xdc, 0x14, 0x5a, 0x42, 0xa7, 0xa6, 0xd1, 0xdf, 0x52,
1305         0x17, 0x9a, 0x1a, 0xb6, 0x75, 0xe2, 0x94, 0xc4, 0x13, 0x58, 0xdd, 0x27, 0xae, 0x77, 0x18, 0x88,
1306         0xe6, 0x72, 0xe8, 0xdb, 0x70, 0xc1, 0xd6, 0x1d, 0x6c, 0x7a, 0x0c, 0xcc, 0x9e, 0xd0, 0x55, 0xa8,
1307         0xd9, 0xba, 0x81, 0x8f, 0x5c, 0xf2, 0x02, 0x37, 0x17, 0x5a, 0x42, 0x67, 0x49, 0xab, 0xfa, 0x03,
1308         0x87, 0xe4, 0x05, 0x46, 0x9b, 0x00, 0x74, 0xd2, 0xb3, 0x4e, 0xb1, 0xd9, 0x5c, 0xa4, 0x0b, 0x29,
1309         0xfc, 0xb1, 0x3f, 0x20, 0x9d, 0xc1, 0x5a, 0x3c, 0x94, 0x6b, 0x5b, 0xa6, 0x8b, 0xd1, 0x3d, 0xa8,
1310         0xb2, 0x9c, 0xb9, 0x4d, 0xa1, 0xb5, 0xd8, 0xa9, 0xab, 0x1b, 0xdd, 0x14, 0x5b, 0x75, 0xd9, 0x42,
1311         0x2d, 0x44, 0xa3, 0x1b, 0x70, 0xd9, 0xc4, 0x67, 0xde, 0xd1, 0x4c, 0xd4, 0x05, 0x1a, 0x75, 0xd9,
1312         0x1f, 0x3e, 0x08, 0x23, 0xb7, 0x61, 0x65, 0x0f, 0xf3, 0xc0, 0x79, 0x6a, 0xfc, 0x29, 0xc0, 0xda,
1313         0x13, 0xfb, 0x44, 0xf7, 0x70, 0x31, 0x18, 0xdd, 0x85, 0x8b, 0x8c, 0x09, 0x8d, 0x5a, 0x44, 0x9b,
1314         0x83, 0xd1, 0x36, 0xd4, 0xc7, 0x34, 0x06, 0x4d, 0x32, 0xd5, 0xa9, 0xae, 0x8a, 0x7c, 0x2d, 0xf7,
1315         0x41, 0xf7, 0xa1, 0xef, 0x83, 0xcf, 0x75, 0xf7, 0x54, 0x83, 0x00, 0xee, 0xff, 0x46, 0x6d, 0xb8,
1316         0x3c, 0x22, 0x86, 0xe3, 0xaf, 0xf6, 0x1c, 0x7d, 0x30, 0x20, 0xfd, 0x66, 0xa5, 0x25, 0x74, 0xaa,
1317         0x5a, 0x83, 0x0d, 0x3f, 0x0e, 0x46, 0x25, 0x19, 0xd6, 0x1e, 0xe0, 0x21, 0x2e, 0x73, 0x12, 0xe9,
1318         0x8d, 0x10, 0xb8, 0xe0, 0x69, 0xf0, 0x5e, 0x14, 0xba, 0xe0, 0x43, 0xa8, 0x4c, 0x08, 0x7e, 0x46,
1319         0x8f, 0xdd, 0x50, 0x5b, 0xa9, 0xc7, 0x66, 0x7b, 0x3d, 0x25, 0xf8, 0x99, 0x46, 0xd1, 0x71, 0xef,
1320         0x2c, 0xe6, 0x7a, 0xa7, 0x92, 0xe1, 0x9d, 0x88, 0x60, 0xe4, 0x1d, 0xf6, 0x32, 0xe7, 0x7b, 0x87,
1321         0x2d, 0xd4, 0x42, 0x74, 0x69, 0xef, 0x7c, 0x45, 0xbd, 0xc3, 0xd7, 0xe7, 0xd8, 0xe1, 0x5c, 0xa2,
1322         0x48, 0x03, 0x58, 0xbb, 0xef, 0x60, 0xdd, 0xc3, 0x89, 0x08, 0x59, 0xd2, 0xdf, 0x85, 0x8b, 0xec,
1323         0x08, 0xb9, 0xa6, 0xe3, 0xbb, 0x71, 0xb0, 0x9f, 0x62, 0xe6, 0xec, 0x12, 0x47, 0x39, 0x67, 0x90,
1324         0xff, 0xe4, 0xec, 0xc8, 0xb0, 0xc5, 0x04, 0xa5, 0xaf, 0x03, 0x3b, 0x3c, 0x62, 0xe5, 0xe0, 0x7f,
1325         0xfd, 0x6c, 0x7d, 0x07, 0xeb, 0x89, 0x58, 0xcc, 0x7b, 0xdb, 0x50, 0xe3, 0xf5, 0x88, 0x9b, 0x6f,
1326         0x33, 0x55, 0x27, 0xbe, 0x54, 0x8b, 0xf0, 0xa5, 0xed, 0xd7, 0x01, 0xb4, 0x87, 0xc3, 0xe0, 0x79,
1327         0x9a, 0xdc, 0x84, 0xf5, 0x40, 0xbf, 0x32, 0x60, 0x2a, 0xf6, 0xf1, 0xd8, 0x28, 0x81, 0x95, 0x25,
1328         0xa8, 0xcf, 0xf8, 0x16, 0xd5, 0x60, 0x69, 0x77, 0xe7, 0xf0, 0xd1, 0xfd, 0x2b, 0x6f, 0xa1, 0x2a,
1329         0x54, 0x1e, 0x3e, 0xd9, 0xdf, 0xbf, 0x22, 0xa8, 0x2f, 0x97, 0xa0, 0x16, 0x2a, 0x84, 0xfe, 0x10,
1330         0x60, 0x39, 0xa6, 0x19, 0xda, 0x4a, 0x15, 0x26, 0x2d, 0x87, 0xa2, 0x5c, 0x06, 0x1a, 0xa4, 0x40,
1331         0xda, 0xfe, 0xe1, 0xaf, 0x7f, 0x5e, 0x2f, 0x7c, 0x84, 0xee, 0xf8, 0x85, 0xf9, 0xdb, 0x20, 0xd9,
1332         0x9f, 0xea, 0xb6, 0xed, 0x2a, 0x32, 0xef, 0x03, 0xfc, 0x9f, 0xfc, 0xa5, 0x57, 0xe4, 0xa9, 0x12,
1333         0xa5, 0xe0, 0x95, 0x00, 0xf5, 0x19, 0x6d, 0x51, 0x3b, 0x35, 0xf0, 0xbc, 0xfa, 0x62, 0x7e, 0x96,
1334         0x13, 0xa4, 0x7c, 0x09, 0x73, 0x29, 0x45, 0x8c, 0x14, 0x79, 0x8a, 0x7e, 0x13, 0xa0, 0x11, 0x4f,
1335         0x23, 0x4a, 0x17, 0x24, 0x35, 0xd7, 0x11, 0xb5, 0x99, 0x86, 0xa4, 0xfb, 0x05, 0x6f, 0x48, 0x38,
1336         0x35, 0xf9, 0x5c, 0xd4, 0xde, 0x08, 0xb0, 0x1c, 0x33, 0x4d, 0x46, 0x56, 0xd3, 0x8c, 0x55, 0x44,
1337         0xec, 0x01, 0x25, 0xf6, 0x99, 0xf4, 0xf1, 0x39, 0x88, 0xf5, 0x4e, 0xfc, 0x80, 0x3d, 0x41, 0x56,
1338         0xff, 0x5e, 0x82, 0x2a, 0x2f, 0x11, 0xe8, 0x57, 0x01, 0x2e, 0xcd, 0xd6, 0x0c, 0xd4, 0xc9, 0x34,
1339         0x56, 0xa2, 0xee, 0x89, 0x5b, 0x25, 0x90, 0xcc, 0x81, 0x0a, 0x25, 0xbe, 0x85, 0xda, 0xb9, 0x0e,
1340         0x9c, 0x86, 0xdc, 0xd1, 0x4b, 0x01, 0x20, 0x2a, 0x28, 0xe8, 0x46, 0x96, 0xe9, 0xe2, 0x5f, 0x41,
1341         0x31, 0xf7, 0x0b, 0x9c, 0x60, 0x51, 0x28, 0xdf, 0x14, 0xbd, 0x16, 0x60, 0x39, 0x56, 0x77, 0x32,
1342         0x72, 0x99, 0x56, 0x9b, 0x8a, 0x72, 0x79, 0x8f, 0x92, 0x51, 0xa5, 0xb2, 0x92, 0xf4, 0xc2, 0xfa,
1343         0xe1, 0xb3, 0x8a, 0x15, 0xa9, 0x0c, 0x56, 0x69, 0x85, 0xac, 0x24, 0x2b, 0xb5, 0xac, 0x44, 0x11,
1344         0xab, 0x5f, 0xa8, 0xef, 0x67, 0x2a, 0x53, 0xa6, 0xef, 0xe7, 0xab, 0x57, 0x11, 0x2b, 0x96, 0x38,
1345         0xb9, 0x2c, 0x2b, 0xf5, 0xf7, 0x0a, 0x54, 0x79, 0x07, 0x8d, 0x7e, 0x66, 0x16, 0x0f, 0x07, 0xb2,
1346         0x2d, 0x9e, 0x68, 0xf0, 0x73, 0x2c, 0x9e, 0xec, 0xcf, 0xa5, 0xf7, 0x29, 0xc7, 0x6b, 0x68, 0x63,
1347         0x3e, 0x9f, 0xd3, 0x90, 0x26, 0x3a, 0xa3, 0xb6, 0x66, 0x8b, 0xb3, 0x6d, 0x1d, 0xef, 0x46, 0xc5,
1348         0xdc, 0x96, 0x39, 0x11, 0x39, 0x5d, 0x9d, 0x29, 0xfa, 0x29, 0x74, 0x0d, 0x8f, 0x9e, 0xe7, 0x9a,
1349         0x04, 0x81, 0x82, 0xfc, 0xdc, 0xa2, 0x0c, 0xda, 0x6a, 0x2e, 0x83, 0x5e, 0xd8, 0xda, 0x7f, 0xcf,
1350         0x9d, 0x92, 0xcf, 0x24, 0xad, 0x31, 0x2f, 0x62, 0xc2, 0xb4, 0x90, 0x73, 0x99, 0xa8, 0xaf, 0x16,
1351         0xe0, 0xd2, 0xcc, 0xcd, 0xcf, 0x45, 0xcf, 0xa1, 0x11, 0xbf, 0x3c, 0x66, 0x94, 0x93, 0xd4, 0x1b,
1352         0xa6, 0x98, 0xde, 0xc5, 0xce, 0x00, 0xa5, 0x77, 0x29, 0xad, 0x55, 0xb4, 0x92, 0xa4, 0x35, 0x45,
1353         0x3f, 0x0a, 0xb0, 0x32, 0x77, 0x17, 0x45, 0xb7, 0x52, 0xb7, 0xcc, 0xba, 0xb3, 0x16, 0xa9, 0x72,
1354         0x9d, 0x86, 0xdf, 0x94, 0x9a, 0x73, 0xe1, 0x7b, 0x0e, 0xdd, 0xb2, 0x27, 0xc8, 0xbb, 0x04, 0xde,
1355         0xe9, 0x5b, 0xa3, 0xb4, 0xb8, 0xbb, 0x8d, 0x1d, 0xfe, 0x74, 0xe0, 0x77, 0xa7, 0x07, 0xc2, 0x97,
1356         0x9f, 0x30, 0x98, 0x61, 0x0d, 0x75, 0xd3, 0xe8, 0x5a, 0x8e, 0xa1, 0x18, 0xd8, 0xa4, 0xbd, 0xab,
1357         0x12, 0x4c, 0xe9, 0x36, 0x71, 0x63, 0xff, 0x27, 0x6c, 0x87, 0x0f, 0xc7, 0x17, 0x28, 0xf0, 0xce,
1358         0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x89, 0x36, 0x22, 0x8f, 0x3d, 0x11, 0x00, 0x00,
1359 }