OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / genproto / googleapis / devtools / sourcerepo / v1 / sourcerepo.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/devtools/sourcerepo/v1/sourcerepo.proto
3
4 /*
5 Package sourcerepo is a generated protocol buffer package.
6
7 It is generated from these files:
8         google/devtools/sourcerepo/v1/sourcerepo.proto
9
10 It has these top-level messages:
11         Repo
12         MirrorConfig
13         GetRepoRequest
14         ListReposRequest
15         ListReposResponse
16         CreateRepoRequest
17         DeleteRepoRequest
18 */
19 package sourcerepo
20
21 import proto "github.com/golang/protobuf/proto"
22 import fmt "fmt"
23 import math "math"
24 import _ "google.golang.org/genproto/googleapis/api/annotations"
25 import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
26 import google_iam_v11 "google.golang.org/genproto/googleapis/iam/v1"
27 import google_iam_v1 "google.golang.org/genproto/googleapis/iam/v1"
28 import google_protobuf1 "github.com/golang/protobuf/ptypes/empty"
29
30 import (
31         context "golang.org/x/net/context"
32         grpc "google.golang.org/grpc"
33 )
34
35 // Reference imports to suppress errors if they are not otherwise used.
36 var _ = proto.Marshal
37 var _ = fmt.Errorf
38 var _ = math.Inf
39
40 // This is a compile-time assertion to ensure that this generated file
41 // is compatible with the proto package it is being compiled against.
42 // A compilation error at this line likely means your copy of the
43 // proto package needs to be updated.
44 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
45
46 // A repository (or repo) is a Git repository storing versioned source content.
47 type Repo struct {
48         // Resource name of the repository, of the form
49         // `projects/<project>/repos/<repo>`.
50         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
51         // The disk usage of the repo, in bytes.
52         // Only returned by GetRepo.
53         Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
54         // URL to clone the repository from Google Cloud Source Repositories.
55         Url string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
56         // How this repository mirrors a repository managed by another service.
57         MirrorConfig *MirrorConfig `protobuf:"bytes,4,opt,name=mirror_config,json=mirrorConfig" json:"mirror_config,omitempty"`
58 }
59
60 func (m *Repo) Reset()                    { *m = Repo{} }
61 func (m *Repo) String() string            { return proto.CompactTextString(m) }
62 func (*Repo) ProtoMessage()               {}
63 func (*Repo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
64
65 func (m *Repo) GetName() string {
66         if m != nil {
67                 return m.Name
68         }
69         return ""
70 }
71
72 func (m *Repo) GetSize() int64 {
73         if m != nil {
74                 return m.Size
75         }
76         return 0
77 }
78
79 func (m *Repo) GetUrl() string {
80         if m != nil {
81                 return m.Url
82         }
83         return ""
84 }
85
86 func (m *Repo) GetMirrorConfig() *MirrorConfig {
87         if m != nil {
88                 return m.MirrorConfig
89         }
90         return nil
91 }
92
93 // Configuration to automatically mirror a repository from another
94 // hosting service, for example GitHub or BitBucket.
95 type MirrorConfig struct {
96         // URL of the main repository at the other hosting service.
97         Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
98         // ID of the webhook listening to updates to trigger mirroring.
99         // Removing this webook from the other hosting service will stop
100         // Google Cloud Source Repositories from receiving notifications,
101         // and thereby disabling mirroring.
102         WebhookId string `protobuf:"bytes,2,opt,name=webhook_id,json=webhookId" json:"webhook_id,omitempty"`
103         // ID of the SSH deploy key at the other hosting service.
104         // Removing this key from the other service would deauthorize
105         // Google Cloud Source Repositories from mirroring.
106         DeployKeyId string `protobuf:"bytes,3,opt,name=deploy_key_id,json=deployKeyId" json:"deploy_key_id,omitempty"`
107 }
108
109 func (m *MirrorConfig) Reset()                    { *m = MirrorConfig{} }
110 func (m *MirrorConfig) String() string            { return proto.CompactTextString(m) }
111 func (*MirrorConfig) ProtoMessage()               {}
112 func (*MirrorConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
113
114 func (m *MirrorConfig) GetUrl() string {
115         if m != nil {
116                 return m.Url
117         }
118         return ""
119 }
120
121 func (m *MirrorConfig) GetWebhookId() string {
122         if m != nil {
123                 return m.WebhookId
124         }
125         return ""
126 }
127
128 func (m *MirrorConfig) GetDeployKeyId() string {
129         if m != nil {
130                 return m.DeployKeyId
131         }
132         return ""
133 }
134
135 // Request for GetRepo.
136 type GetRepoRequest struct {
137         // The name of the requested repository. Values are of the form
138         // `projects/<project>/repos/<repo>`.
139         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
140 }
141
142 func (m *GetRepoRequest) Reset()                    { *m = GetRepoRequest{} }
143 func (m *GetRepoRequest) String() string            { return proto.CompactTextString(m) }
144 func (*GetRepoRequest) ProtoMessage()               {}
145 func (*GetRepoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
146
147 func (m *GetRepoRequest) GetName() string {
148         if m != nil {
149                 return m.Name
150         }
151         return ""
152 }
153
154 // Request for ListRepos.
155 type ListReposRequest struct {
156         // The project ID whose repos should be listed. Values are of the form
157         // `projects/<project>`.
158         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
159         // Maximum number of repositories to return; between 1 and 500.
160         // If not set or zero, defaults to 100 at the server.
161         PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
162         // Resume listing repositories where a prior ListReposResponse
163         // left off. This is an opaque token that must be obtained from
164         // a recent, prior ListReposResponse's next_page_token field.
165         PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
166 }
167
168 func (m *ListReposRequest) Reset()                    { *m = ListReposRequest{} }
169 func (m *ListReposRequest) String() string            { return proto.CompactTextString(m) }
170 func (*ListReposRequest) ProtoMessage()               {}
171 func (*ListReposRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
172
173 func (m *ListReposRequest) GetName() string {
174         if m != nil {
175                 return m.Name
176         }
177         return ""
178 }
179
180 func (m *ListReposRequest) GetPageSize() int32 {
181         if m != nil {
182                 return m.PageSize
183         }
184         return 0
185 }
186
187 func (m *ListReposRequest) GetPageToken() string {
188         if m != nil {
189                 return m.PageToken
190         }
191         return ""
192 }
193
194 // Response for ListRepos.  The size is not set in the returned repositories.
195 type ListReposResponse struct {
196         // The listed repos.
197         Repos []*Repo `protobuf:"bytes,1,rep,name=repos" json:"repos,omitempty"`
198         // If non-empty, additional repositories exist within the project. These
199         // can be retrieved by including this value in the next ListReposRequest's
200         // page_token field.
201         NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
202 }
203
204 func (m *ListReposResponse) Reset()                    { *m = ListReposResponse{} }
205 func (m *ListReposResponse) String() string            { return proto.CompactTextString(m) }
206 func (*ListReposResponse) ProtoMessage()               {}
207 func (*ListReposResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
208
209 func (m *ListReposResponse) GetRepos() []*Repo {
210         if m != nil {
211                 return m.Repos
212         }
213         return nil
214 }
215
216 func (m *ListReposResponse) GetNextPageToken() string {
217         if m != nil {
218                 return m.NextPageToken
219         }
220         return ""
221 }
222
223 // Request for CreateRepo
224 type CreateRepoRequest struct {
225         // The project in which to create the repo. Values are of the form
226         // `projects/<project>`.
227         Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
228         // The repo to create.  Only name should be set; setting other fields
229         // is an error.  The project in the name should match the parent field.
230         Repo *Repo `protobuf:"bytes,2,opt,name=repo" json:"repo,omitempty"`
231 }
232
233 func (m *CreateRepoRequest) Reset()                    { *m = CreateRepoRequest{} }
234 func (m *CreateRepoRequest) String() string            { return proto.CompactTextString(m) }
235 func (*CreateRepoRequest) ProtoMessage()               {}
236 func (*CreateRepoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
237
238 func (m *CreateRepoRequest) GetParent() string {
239         if m != nil {
240                 return m.Parent
241         }
242         return ""
243 }
244
245 func (m *CreateRepoRequest) GetRepo() *Repo {
246         if m != nil {
247                 return m.Repo
248         }
249         return nil
250 }
251
252 // Request for DeleteRepo.
253 type DeleteRepoRequest struct {
254         // The name of the repo to delete. Values are of the form
255         // `projects/<project>/repos/<repo>`.
256         Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
257 }
258
259 func (m *DeleteRepoRequest) Reset()                    { *m = DeleteRepoRequest{} }
260 func (m *DeleteRepoRequest) String() string            { return proto.CompactTextString(m) }
261 func (*DeleteRepoRequest) ProtoMessage()               {}
262 func (*DeleteRepoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
263
264 func (m *DeleteRepoRequest) GetName() string {
265         if m != nil {
266                 return m.Name
267         }
268         return ""
269 }
270
271 func init() {
272         proto.RegisterType((*Repo)(nil), "google.devtools.sourcerepo.v1.Repo")
273         proto.RegisterType((*MirrorConfig)(nil), "google.devtools.sourcerepo.v1.MirrorConfig")
274         proto.RegisterType((*GetRepoRequest)(nil), "google.devtools.sourcerepo.v1.GetRepoRequest")
275         proto.RegisterType((*ListReposRequest)(nil), "google.devtools.sourcerepo.v1.ListReposRequest")
276         proto.RegisterType((*ListReposResponse)(nil), "google.devtools.sourcerepo.v1.ListReposResponse")
277         proto.RegisterType((*CreateRepoRequest)(nil), "google.devtools.sourcerepo.v1.CreateRepoRequest")
278         proto.RegisterType((*DeleteRepoRequest)(nil), "google.devtools.sourcerepo.v1.DeleteRepoRequest")
279 }
280
281 // Reference imports to suppress errors if they are not otherwise used.
282 var _ context.Context
283 var _ grpc.ClientConn
284
285 // This is a compile-time assertion to ensure that this generated file
286 // is compatible with the grpc package it is being compiled against.
287 const _ = grpc.SupportPackageIsVersion4
288
289 // Client API for SourceRepo service
290
291 type SourceRepoClient interface {
292         // Returns all repos belonging to a project. The sizes of the repos are
293         // not set by ListRepos.  To get the size of a repo, use GetRepo.
294         ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error)
295         // Returns information about a repo.
296         GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error)
297         // Creates a repo in the given project with the given name.
298         //
299         // If the named repository already exists, `CreateRepo` returns
300         // `ALREADY_EXISTS`.
301         CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error)
302         // Deletes a repo.
303         DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
304         // Sets the access control policy on the specified resource. Replaces any
305         // existing policy.
306         SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error)
307         // Gets the access control policy for a resource.
308         // Returns an empty policy if the resource exists and does not have a policy
309         // set.
310         GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error)
311         // Returns permissions that a caller has on the specified resource.
312         // If the resource does not exist, this will return an empty set of
313         // permissions, not a NOT_FOUND error.
314         TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, error)
315 }
316
317 type sourceRepoClient struct {
318         cc *grpc.ClientConn
319 }
320
321 func NewSourceRepoClient(cc *grpc.ClientConn) SourceRepoClient {
322         return &sourceRepoClient{cc}
323 }
324
325 func (c *sourceRepoClient) ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error) {
326         out := new(ListReposResponse)
327         err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos", in, out, c.cc, opts...)
328         if err != nil {
329                 return nil, err
330         }
331         return out, nil
332 }
333
334 func (c *sourceRepoClient) GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error) {
335         out := new(Repo)
336         err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo", in, out, c.cc, opts...)
337         if err != nil {
338                 return nil, err
339         }
340         return out, nil
341 }
342
343 func (c *sourceRepoClient) CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error) {
344         out := new(Repo)
345         err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo", in, out, c.cc, opts...)
346         if err != nil {
347                 return nil, err
348         }
349         return out, nil
350 }
351
352 func (c *sourceRepoClient) DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
353         out := new(google_protobuf1.Empty)
354         err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo", in, out, c.cc, opts...)
355         if err != nil {
356                 return nil, err
357         }
358         return out, nil
359 }
360
361 func (c *sourceRepoClient) SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) {
362         out := new(google_iam_v1.Policy)
363         err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy", in, out, c.cc, opts...)
364         if err != nil {
365                 return nil, err
366         }
367         return out, nil
368 }
369
370 func (c *sourceRepoClient) GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) {
371         out := new(google_iam_v1.Policy)
372         err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy", in, out, c.cc, opts...)
373         if err != nil {
374                 return nil, err
375         }
376         return out, nil
377 }
378
379 func (c *sourceRepoClient) TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, error) {
380         out := new(google_iam_v11.TestIamPermissionsResponse)
381         err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions", in, out, c.cc, opts...)
382         if err != nil {
383                 return nil, err
384         }
385         return out, nil
386 }
387
388 // Server API for SourceRepo service
389
390 type SourceRepoServer interface {
391         // Returns all repos belonging to a project. The sizes of the repos are
392         // not set by ListRepos.  To get the size of a repo, use GetRepo.
393         ListRepos(context.Context, *ListReposRequest) (*ListReposResponse, error)
394         // Returns information about a repo.
395         GetRepo(context.Context, *GetRepoRequest) (*Repo, error)
396         // Creates a repo in the given project with the given name.
397         //
398         // If the named repository already exists, `CreateRepo` returns
399         // `ALREADY_EXISTS`.
400         CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error)
401         // Deletes a repo.
402         DeleteRepo(context.Context, *DeleteRepoRequest) (*google_protobuf1.Empty, error)
403         // Sets the access control policy on the specified resource. Replaces any
404         // existing policy.
405         SetIamPolicy(context.Context, *google_iam_v11.SetIamPolicyRequest) (*google_iam_v1.Policy, error)
406         // Gets the access control policy for a resource.
407         // Returns an empty policy if the resource exists and does not have a policy
408         // set.
409         GetIamPolicy(context.Context, *google_iam_v11.GetIamPolicyRequest) (*google_iam_v1.Policy, error)
410         // Returns permissions that a caller has on the specified resource.
411         // If the resource does not exist, this will return an empty set of
412         // permissions, not a NOT_FOUND error.
413         TestIamPermissions(context.Context, *google_iam_v11.TestIamPermissionsRequest) (*google_iam_v11.TestIamPermissionsResponse, error)
414 }
415
416 func RegisterSourceRepoServer(s *grpc.Server, srv SourceRepoServer) {
417         s.RegisterService(&_SourceRepo_serviceDesc, srv)
418 }
419
420 func _SourceRepo_ListRepos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
421         in := new(ListReposRequest)
422         if err := dec(in); err != nil {
423                 return nil, err
424         }
425         if interceptor == nil {
426                 return srv.(SourceRepoServer).ListRepos(ctx, in)
427         }
428         info := &grpc.UnaryServerInfo{
429                 Server:     srv,
430                 FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos",
431         }
432         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
433                 return srv.(SourceRepoServer).ListRepos(ctx, req.(*ListReposRequest))
434         }
435         return interceptor(ctx, in, info, handler)
436 }
437
438 func _SourceRepo_GetRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
439         in := new(GetRepoRequest)
440         if err := dec(in); err != nil {
441                 return nil, err
442         }
443         if interceptor == nil {
444                 return srv.(SourceRepoServer).GetRepo(ctx, in)
445         }
446         info := &grpc.UnaryServerInfo{
447                 Server:     srv,
448                 FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo",
449         }
450         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
451                 return srv.(SourceRepoServer).GetRepo(ctx, req.(*GetRepoRequest))
452         }
453         return interceptor(ctx, in, info, handler)
454 }
455
456 func _SourceRepo_CreateRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
457         in := new(CreateRepoRequest)
458         if err := dec(in); err != nil {
459                 return nil, err
460         }
461         if interceptor == nil {
462                 return srv.(SourceRepoServer).CreateRepo(ctx, in)
463         }
464         info := &grpc.UnaryServerInfo{
465                 Server:     srv,
466                 FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo",
467         }
468         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
469                 return srv.(SourceRepoServer).CreateRepo(ctx, req.(*CreateRepoRequest))
470         }
471         return interceptor(ctx, in, info, handler)
472 }
473
474 func _SourceRepo_DeleteRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
475         in := new(DeleteRepoRequest)
476         if err := dec(in); err != nil {
477                 return nil, err
478         }
479         if interceptor == nil {
480                 return srv.(SourceRepoServer).DeleteRepo(ctx, in)
481         }
482         info := &grpc.UnaryServerInfo{
483                 Server:     srv,
484                 FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo",
485         }
486         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
487                 return srv.(SourceRepoServer).DeleteRepo(ctx, req.(*DeleteRepoRequest))
488         }
489         return interceptor(ctx, in, info, handler)
490 }
491
492 func _SourceRepo_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
493         in := new(google_iam_v11.SetIamPolicyRequest)
494         if err := dec(in); err != nil {
495                 return nil, err
496         }
497         if interceptor == nil {
498                 return srv.(SourceRepoServer).SetIamPolicy(ctx, in)
499         }
500         info := &grpc.UnaryServerInfo{
501                 Server:     srv,
502                 FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy",
503         }
504         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
505                 return srv.(SourceRepoServer).SetIamPolicy(ctx, req.(*google_iam_v11.SetIamPolicyRequest))
506         }
507         return interceptor(ctx, in, info, handler)
508 }
509
510 func _SourceRepo_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
511         in := new(google_iam_v11.GetIamPolicyRequest)
512         if err := dec(in); err != nil {
513                 return nil, err
514         }
515         if interceptor == nil {
516                 return srv.(SourceRepoServer).GetIamPolicy(ctx, in)
517         }
518         info := &grpc.UnaryServerInfo{
519                 Server:     srv,
520                 FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy",
521         }
522         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
523                 return srv.(SourceRepoServer).GetIamPolicy(ctx, req.(*google_iam_v11.GetIamPolicyRequest))
524         }
525         return interceptor(ctx, in, info, handler)
526 }
527
528 func _SourceRepo_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
529         in := new(google_iam_v11.TestIamPermissionsRequest)
530         if err := dec(in); err != nil {
531                 return nil, err
532         }
533         if interceptor == nil {
534                 return srv.(SourceRepoServer).TestIamPermissions(ctx, in)
535         }
536         info := &grpc.UnaryServerInfo{
537                 Server:     srv,
538                 FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions",
539         }
540         handler := func(ctx context.Context, req interface{}) (interface{}, error) {
541                 return srv.(SourceRepoServer).TestIamPermissions(ctx, req.(*google_iam_v11.TestIamPermissionsRequest))
542         }
543         return interceptor(ctx, in, info, handler)
544 }
545
546 var _SourceRepo_serviceDesc = grpc.ServiceDesc{
547         ServiceName: "google.devtools.sourcerepo.v1.SourceRepo",
548         HandlerType: (*SourceRepoServer)(nil),
549         Methods: []grpc.MethodDesc{
550                 {
551                         MethodName: "ListRepos",
552                         Handler:    _SourceRepo_ListRepos_Handler,
553                 },
554                 {
555                         MethodName: "GetRepo",
556                         Handler:    _SourceRepo_GetRepo_Handler,
557                 },
558                 {
559                         MethodName: "CreateRepo",
560                         Handler:    _SourceRepo_CreateRepo_Handler,
561                 },
562                 {
563                         MethodName: "DeleteRepo",
564                         Handler:    _SourceRepo_DeleteRepo_Handler,
565                 },
566                 {
567                         MethodName: "SetIamPolicy",
568                         Handler:    _SourceRepo_SetIamPolicy_Handler,
569                 },
570                 {
571                         MethodName: "GetIamPolicy",
572                         Handler:    _SourceRepo_GetIamPolicy_Handler,
573                 },
574                 {
575                         MethodName: "TestIamPermissions",
576                         Handler:    _SourceRepo_TestIamPermissions_Handler,
577                 },
578         },
579         Streams:  []grpc.StreamDesc{},
580         Metadata: "google/devtools/sourcerepo/v1/sourcerepo.proto",
581 }
582
583 func init() { proto.RegisterFile("google/devtools/sourcerepo/v1/sourcerepo.proto", fileDescriptor0) }
584
585 var fileDescriptor0 = []byte{
586         // 748 bytes of a gzipped FileDescriptorProto
587         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xd1, 0x4e, 0x13, 0x4d,
588         0x14, 0xce, 0xd0, 0x02, 0x7f, 0x0f, 0xe5, 0x07, 0x26, 0x81, 0x34, 0xc5, 0x92, 0xba, 0x28, 0xd6,
589         0x12, 0x77, 0x05, 0x35, 0xc4, 0x1a, 0x13, 0x03, 0x9a, 0x86, 0xa8, 0x49, 0x53, 0xb8, 0xf2, 0xa6,
590         0xd9, 0xb6, 0x87, 0x65, 0xa5, 0xbb, 0xb3, 0xee, 0x4c, 0xab, 0xd5, 0xa0, 0x09, 0x09, 0xf7, 0x46,
591         0x1e, 0xc3, 0xc7, 0xf1, 0x15, 0x7c, 0x08, 0x2f, 0xcd, 0xcc, 0xee, 0xd2, 0x2d, 0xad, 0xed, 0xde,
592         0xcd, 0x9c, 0xf3, 0x9d, 0xf3, 0x7d, 0xf3, 0xcd, 0xd9, 0x59, 0xd0, 0x2d, 0xc6, 0xac, 0x0e, 0x1a,
593         0x6d, 0xec, 0x09, 0xc6, 0x3a, 0xdc, 0xe0, 0xac, 0xeb, 0xb7, 0xd0, 0x47, 0x8f, 0x19, 0xbd, 0x9d,
594         0xd8, 0x4e, 0xf7, 0x7c, 0x26, 0x18, 0x2d, 0x04, 0x78, 0x3d, 0xc2, 0xeb, 0x31, 0x44, 0x6f, 0x27,
595         0x7f, 0x2b, 0x6c, 0x67, 0x7a, 0xb6, 0x61, 0xba, 0x2e, 0x13, 0xa6, 0xb0, 0x99, 0xcb, 0x83, 0xe2,
596         0xfc, 0x6a, 0x3c, 0xdb, 0x15, 0xa7, 0x61, 0x78, 0x23, 0x0c, 0xdb, 0xa6, 0x23, 0x39, 0x6d, 0xd3,
597         0x69, 0x78, 0xac, 0x63, 0xb7, 0xfa, 0x61, 0x3e, 0x3f, 0x9c, 0x1f, 0xca, 0xad, 0x87, 0x39, 0xb5,
598         0x6b, 0x76, 0x4f, 0x0c, 0x74, 0x3c, 0x11, 0x26, 0xb5, 0x1f, 0x04, 0xd2, 0x75, 0xf4, 0x18, 0xa5,
599         0x90, 0x76, 0x4d, 0x07, 0x73, 0xa4, 0x48, 0x4a, 0x99, 0xba, 0x5a, 0xcb, 0x18, 0xb7, 0x3f, 0x63,
600         0x6e, 0xa6, 0x48, 0x4a, 0xa9, 0xba, 0x5a, 0xd3, 0x65, 0x48, 0x75, 0xfd, 0x4e, 0x2e, 0xa5, 0x60,
601         0x72, 0x49, 0x6b, 0xb0, 0xe8, 0xd8, 0xbe, 0xcf, 0xfc, 0x46, 0x8b, 0xb9, 0x27, 0xb6, 0x95, 0x4b,
602         0x17, 0x49, 0x69, 0x61, 0x77, 0x5b, 0x9f, 0xe8, 0x83, 0xfe, 0x56, 0xd5, 0x1c, 0xa8, 0x92, 0x7a,
603         0xd6, 0x89, 0xed, 0xb4, 0x16, 0x64, 0xe3, 0xd9, 0x88, 0x93, 0x0c, 0x38, 0x0b, 0x00, 0x1f, 0xb1,
604         0x79, 0xca, 0xd8, 0x59, 0xc3, 0x6e, 0x2b, 0x7d, 0x99, 0x7a, 0x26, 0x8c, 0x1c, 0xb6, 0xa9, 0x06,
605         0x8b, 0x6d, 0xf4, 0x3a, 0xac, 0xdf, 0x38, 0xc3, 0xbe, 0x44, 0x04, 0x72, 0x17, 0x82, 0xe0, 0x6b,
606         0xec, 0x1f, 0xb6, 0xb5, 0x3b, 0xf0, 0x7f, 0x15, 0x85, 0x3c, 0x7b, 0x1d, 0x3f, 0x74, 0x91, 0x8b,
607         0x71, 0x16, 0x68, 0x4d, 0x58, 0x7e, 0x63, 0x73, 0x05, 0xe3, 0x13, 0x70, 0x74, 0x1d, 0x32, 0x9e,
608         0x69, 0x61, 0xe3, 0xda, 0xaf, 0xd9, 0xfa, 0x7f, 0x32, 0x70, 0x24, 0x3d, 0x2b, 0x00, 0xa8, 0xa4,
609         0x60, 0x67, 0xe8, 0x86, 0x5a, 0x14, 0xfc, 0x58, 0x06, 0xb4, 0x1e, 0xac, 0xc4, 0x38, 0xb8, 0xc7,
610         0x5c, 0x8e, 0xf4, 0x29, 0xcc, 0x4a, 0xa7, 0x78, 0x8e, 0x14, 0x53, 0xa5, 0x85, 0xdd, 0xcd, 0x29,
611         0x6e, 0xaa, 0x73, 0x04, 0x15, 0x74, 0x0b, 0x96, 0x5c, 0xfc, 0x24, 0x1a, 0x31, 0xce, 0xc0, 0xa1,
612         0x45, 0x19, 0xae, 0x5d, 0xf3, 0xb6, 0x61, 0xe5, 0xc0, 0x47, 0x53, 0x60, 0xdc, 0x84, 0x35, 0x98,
613         0xf3, 0x4c, 0x1f, 0x5d, 0x11, 0x1e, 0x2f, 0xdc, 0xd1, 0x3d, 0x48, 0xcb, 0xee, 0xaa, 0x53, 0x42,
614         0x39, 0xaa, 0x40, 0xbb, 0x07, 0x2b, 0x2f, 0xb1, 0x83, 0xc3, 0x2c, 0x63, 0x2c, 0xdc, 0xfd, 0x33,
615         0x0f, 0x70, 0xa4, 0xba, 0xa8, 0x81, 0xbc, 0x22, 0x90, 0xb9, 0xb6, 0x85, 0x1a, 0x53, 0x08, 0x6f,
616         0x5e, 0x52, 0xfe, 0x61, 0xf2, 0x82, 0xc0, 0x71, 0x6d, 0xf3, 0xe2, 0xd7, 0xef, 0xab, 0x99, 0x02,
617         0x5d, 0x97, 0x5f, 0xd0, 0x17, 0x29, 0xe9, 0xb9, 0xe7, 0xb3, 0xf7, 0xd8, 0x12, 0xdc, 0x28, 0x9f,
618         0x1b, 0x81, 0xb7, 0x97, 0x04, 0xe6, 0xc3, 0xb1, 0xa1, 0x0f, 0xa6, 0x50, 0x0c, 0x8f, 0x57, 0x3e,
619         0x89, 0x67, 0xda, 0x96, 0x12, 0x51, 0xa4, 0x1b, 0xe3, 0x44, 0x04, 0x1a, 0x8c, 0x72, 0xf9, 0x9c,
620         0x7e, 0x27, 0x00, 0x83, 0xcb, 0xa3, 0xd3, 0x4e, 0x3b, 0x72, 0xcf, 0xc9, 0xd4, 0x6c, 0x2b, 0x35,
621         0x77, 0xb5, 0x82, 0x52, 0x13, 0x4c, 0xc2, 0xa8, 0x29, 0x15, 0x75, 0xd1, 0xf4, 0x2b, 0xc0, 0xe0,
622         0xa2, 0xa7, 0x2a, 0x1a, 0x99, 0x89, 0xfc, 0x5a, 0x54, 0x11, 0x3d, 0x54, 0xfa, 0x2b, 0xf9, 0x50,
623         0x45, 0x96, 0x94, 0xa7, 0x59, 0x72, 0x49, 0x20, 0x7b, 0x84, 0xe2, 0xd0, 0x74, 0x6a, 0xea, 0xf9,
624         0xa3, 0x5a, 0xd4, 0xd0, 0x36, 0x1d, 0x49, 0x19, 0x4f, 0x46, 0xa4, 0xab, 0x37, 0x30, 0x41, 0x56,
625         0xab, 0x28, 0xce, 0xc7, 0x9a, 0xa1, 0x38, 0x7d, 0x0c, 0xb4, 0x8f, 0xe5, 0xad, 0xf0, 0x58, 0xdb,
626         0x0a, 0x29, 0xd3, 0x0b, 0x02, 0xd9, 0xea, 0x24, 0x1d, 0xd5, 0xe4, 0x3a, 0xf6, 0x94, 0x8e, 0x1d,
627         0x9a, 0x44, 0x87, 0x15, 0xe7, 0xfc, 0x49, 0x80, 0x1e, 0x23, 0x57, 0x11, 0xf4, 0x1d, 0x9b, 0x73,
628         0xf9, 0x93, 0xa1, 0xa5, 0x1b, 0x34, 0xa3, 0x90, 0x48, 0xd0, 0xfd, 0x04, 0xc8, 0xf0, 0xc3, 0x79,
629         0xa1, 0x44, 0x56, 0xb4, 0x27, 0x09, 0x44, 0x8a, 0x91, 0x36, 0x15, 0x52, 0xde, 0xff, 0x06, 0xb7,
630         0x5b, 0xcc, 0x99, 0x3c, 0x31, 0xfb, 0x4b, 0x83, 0xc7, 0xa1, 0x26, 0x27, 0xa4, 0x46, 0xde, 0x55,
631         0xc3, 0x0a, 0x8b, 0x75, 0x4c, 0xd7, 0xd2, 0x99, 0x6f, 0x19, 0x16, 0xba, 0x6a, 0x7e, 0x8c, 0x20,
632         0x65, 0x7a, 0x36, 0xff, 0xc7, 0x9f, 0xfb, 0xd9, 0x60, 0xd7, 0x9c, 0x53, 0x35, 0x8f, 0xfe, 0x06,
633         0x00, 0x00, 0xff, 0xff, 0x30, 0x80, 0x85, 0x9e, 0xec, 0x07, 0x00, 0x00,
634 }