1// Copyright 2017 Google Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.25.0
18// 	protoc        v3.13.0
19// source: google/devtools/sourcerepo/v1/sourcerepo.proto
20
21package sourcerepo
22
23import (
24	context "context"
25	reflect "reflect"
26	sync "sync"
27
28	proto "github.com/golang/protobuf/proto"
29	_ "google.golang.org/genproto/googleapis/api/annotations"
30	v1 "google.golang.org/genproto/googleapis/iam/v1"
31	grpc "google.golang.org/grpc"
32	codes "google.golang.org/grpc/codes"
33	status "google.golang.org/grpc/status"
34	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
35	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
36	emptypb "google.golang.org/protobuf/types/known/emptypb"
37)
38
39const (
40	// Verify that this generated code is sufficiently up-to-date.
41	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42	// Verify that runtime/protoimpl is sufficiently up-to-date.
43	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44)
45
46// This is a compile-time assertion that a sufficiently up-to-date version
47// of the legacy proto package is being used.
48const _ = proto.ProtoPackageIsVersion4
49
50// A repository (or repo) is a Git repository storing versioned source content.
51type Repo struct {
52	state         protoimpl.MessageState
53	sizeCache     protoimpl.SizeCache
54	unknownFields protoimpl.UnknownFields
55
56	// Resource name of the repository, of the form
57	// `projects/<project>/repos/<repo>`.  The repo name may contain slashes.
58	// eg, `projects/myproject/repos/name/with/slash`
59	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
60	// The disk usage of the repo, in bytes. Read-only field. Size is only
61	// returned by GetRepo.
62	Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
63	// URL to clone the repository from Google Cloud Source Repositories.
64	// Read-only field.
65	Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
66	// How this repository mirrors a repository managed by another service.
67	// Read-only field.
68	MirrorConfig *MirrorConfig `protobuf:"bytes,4,opt,name=mirror_config,json=mirrorConfig,proto3" json:"mirror_config,omitempty"`
69}
70
71func (x *Repo) Reset() {
72	*x = Repo{}
73	if protoimpl.UnsafeEnabled {
74		mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[0]
75		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76		ms.StoreMessageInfo(mi)
77	}
78}
79
80func (x *Repo) String() string {
81	return protoimpl.X.MessageStringOf(x)
82}
83
84func (*Repo) ProtoMessage() {}
85
86func (x *Repo) ProtoReflect() protoreflect.Message {
87	mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[0]
88	if protoimpl.UnsafeEnabled && x != nil {
89		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
90		if ms.LoadMessageInfo() == nil {
91			ms.StoreMessageInfo(mi)
92		}
93		return ms
94	}
95	return mi.MessageOf(x)
96}
97
98// Deprecated: Use Repo.ProtoReflect.Descriptor instead.
99func (*Repo) Descriptor() ([]byte, []int) {
100	return file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescGZIP(), []int{0}
101}
102
103func (x *Repo) GetName() string {
104	if x != nil {
105		return x.Name
106	}
107	return ""
108}
109
110func (x *Repo) GetSize() int64 {
111	if x != nil {
112		return x.Size
113	}
114	return 0
115}
116
117func (x *Repo) GetUrl() string {
118	if x != nil {
119		return x.Url
120	}
121	return ""
122}
123
124func (x *Repo) GetMirrorConfig() *MirrorConfig {
125	if x != nil {
126		return x.MirrorConfig
127	}
128	return nil
129}
130
131// Configuration to automatically mirror a repository from another
132// hosting service, for example GitHub or BitBucket.
133type MirrorConfig struct {
134	state         protoimpl.MessageState
135	sizeCache     protoimpl.SizeCache
136	unknownFields protoimpl.UnknownFields
137
138	// URL of the main repository at the other hosting service.
139	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
140	// ID of the webhook listening to updates to trigger mirroring.
141	// Removing this webhook from the other hosting service will stop
142	// Google Cloud Source Repositories from receiving notifications,
143	// and thereby disabling mirroring.
144	WebhookId string `protobuf:"bytes,2,opt,name=webhook_id,json=webhookId,proto3" json:"webhook_id,omitempty"`
145	// ID of the SSH deploy key at the other hosting service.
146	// Removing this key from the other service would deauthorize
147	// Google Cloud Source Repositories from mirroring.
148	DeployKeyId string `protobuf:"bytes,3,opt,name=deploy_key_id,json=deployKeyId,proto3" json:"deploy_key_id,omitempty"`
149}
150
151func (x *MirrorConfig) Reset() {
152	*x = MirrorConfig{}
153	if protoimpl.UnsafeEnabled {
154		mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[1]
155		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
156		ms.StoreMessageInfo(mi)
157	}
158}
159
160func (x *MirrorConfig) String() string {
161	return protoimpl.X.MessageStringOf(x)
162}
163
164func (*MirrorConfig) ProtoMessage() {}
165
166func (x *MirrorConfig) ProtoReflect() protoreflect.Message {
167	mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[1]
168	if protoimpl.UnsafeEnabled && x != nil {
169		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
170		if ms.LoadMessageInfo() == nil {
171			ms.StoreMessageInfo(mi)
172		}
173		return ms
174	}
175	return mi.MessageOf(x)
176}
177
178// Deprecated: Use MirrorConfig.ProtoReflect.Descriptor instead.
179func (*MirrorConfig) Descriptor() ([]byte, []int) {
180	return file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescGZIP(), []int{1}
181}
182
183func (x *MirrorConfig) GetUrl() string {
184	if x != nil {
185		return x.Url
186	}
187	return ""
188}
189
190func (x *MirrorConfig) GetWebhookId() string {
191	if x != nil {
192		return x.WebhookId
193	}
194	return ""
195}
196
197func (x *MirrorConfig) GetDeployKeyId() string {
198	if x != nil {
199		return x.DeployKeyId
200	}
201	return ""
202}
203
204// Request for GetRepo.
205type GetRepoRequest struct {
206	state         protoimpl.MessageState
207	sizeCache     protoimpl.SizeCache
208	unknownFields protoimpl.UnknownFields
209
210	// The name of the requested repository. Values are of the form
211	// `projects/<project>/repos/<repo>`.
212	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
213}
214
215func (x *GetRepoRequest) Reset() {
216	*x = GetRepoRequest{}
217	if protoimpl.UnsafeEnabled {
218		mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[2]
219		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
220		ms.StoreMessageInfo(mi)
221	}
222}
223
224func (x *GetRepoRequest) String() string {
225	return protoimpl.X.MessageStringOf(x)
226}
227
228func (*GetRepoRequest) ProtoMessage() {}
229
230func (x *GetRepoRequest) ProtoReflect() protoreflect.Message {
231	mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[2]
232	if protoimpl.UnsafeEnabled && x != nil {
233		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
234		if ms.LoadMessageInfo() == nil {
235			ms.StoreMessageInfo(mi)
236		}
237		return ms
238	}
239	return mi.MessageOf(x)
240}
241
242// Deprecated: Use GetRepoRequest.ProtoReflect.Descriptor instead.
243func (*GetRepoRequest) Descriptor() ([]byte, []int) {
244	return file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescGZIP(), []int{2}
245}
246
247func (x *GetRepoRequest) GetName() string {
248	if x != nil {
249		return x.Name
250	}
251	return ""
252}
253
254// Request for ListRepos.
255type ListReposRequest struct {
256	state         protoimpl.MessageState
257	sizeCache     protoimpl.SizeCache
258	unknownFields protoimpl.UnknownFields
259
260	// The project ID whose repos should be listed. Values are of the form
261	// `projects/<project>`.
262	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
263	// Maximum number of repositories to return; between 1 and 500.
264	// If not set or zero, defaults to 100 at the server.
265	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
266	// Resume listing repositories where a prior ListReposResponse
267	// left off. This is an opaque token that must be obtained from
268	// a recent, prior ListReposResponse's next_page_token field.
269	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
270}
271
272func (x *ListReposRequest) Reset() {
273	*x = ListReposRequest{}
274	if protoimpl.UnsafeEnabled {
275		mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[3]
276		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277		ms.StoreMessageInfo(mi)
278	}
279}
280
281func (x *ListReposRequest) String() string {
282	return protoimpl.X.MessageStringOf(x)
283}
284
285func (*ListReposRequest) ProtoMessage() {}
286
287func (x *ListReposRequest) ProtoReflect() protoreflect.Message {
288	mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[3]
289	if protoimpl.UnsafeEnabled && x != nil {
290		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
291		if ms.LoadMessageInfo() == nil {
292			ms.StoreMessageInfo(mi)
293		}
294		return ms
295	}
296	return mi.MessageOf(x)
297}
298
299// Deprecated: Use ListReposRequest.ProtoReflect.Descriptor instead.
300func (*ListReposRequest) Descriptor() ([]byte, []int) {
301	return file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescGZIP(), []int{3}
302}
303
304func (x *ListReposRequest) GetName() string {
305	if x != nil {
306		return x.Name
307	}
308	return ""
309}
310
311func (x *ListReposRequest) GetPageSize() int32 {
312	if x != nil {
313		return x.PageSize
314	}
315	return 0
316}
317
318func (x *ListReposRequest) GetPageToken() string {
319	if x != nil {
320		return x.PageToken
321	}
322	return ""
323}
324
325// Response for ListRepos.  The size is not set in the returned repositories.
326type ListReposResponse struct {
327	state         protoimpl.MessageState
328	sizeCache     protoimpl.SizeCache
329	unknownFields protoimpl.UnknownFields
330
331	// The listed repos.
332	Repos []*Repo `protobuf:"bytes,1,rep,name=repos,proto3" json:"repos,omitempty"`
333	// If non-empty, additional repositories exist within the project. These
334	// can be retrieved by including this value in the next ListReposRequest's
335	// page_token field.
336	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
337}
338
339func (x *ListReposResponse) Reset() {
340	*x = ListReposResponse{}
341	if protoimpl.UnsafeEnabled {
342		mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[4]
343		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
344		ms.StoreMessageInfo(mi)
345	}
346}
347
348func (x *ListReposResponse) String() string {
349	return protoimpl.X.MessageStringOf(x)
350}
351
352func (*ListReposResponse) ProtoMessage() {}
353
354func (x *ListReposResponse) ProtoReflect() protoreflect.Message {
355	mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[4]
356	if protoimpl.UnsafeEnabled && x != nil {
357		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
358		if ms.LoadMessageInfo() == nil {
359			ms.StoreMessageInfo(mi)
360		}
361		return ms
362	}
363	return mi.MessageOf(x)
364}
365
366// Deprecated: Use ListReposResponse.ProtoReflect.Descriptor instead.
367func (*ListReposResponse) Descriptor() ([]byte, []int) {
368	return file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescGZIP(), []int{4}
369}
370
371func (x *ListReposResponse) GetRepos() []*Repo {
372	if x != nil {
373		return x.Repos
374	}
375	return nil
376}
377
378func (x *ListReposResponse) GetNextPageToken() string {
379	if x != nil {
380		return x.NextPageToken
381	}
382	return ""
383}
384
385// Request for CreateRepo
386type CreateRepoRequest struct {
387	state         protoimpl.MessageState
388	sizeCache     protoimpl.SizeCache
389	unknownFields protoimpl.UnknownFields
390
391	// The project in which to create the repo. Values are of the form
392	// `projects/<project>`.
393	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
394	// The repo to create.  Only name should be set; setting other fields
395	// is an error.  The project in the name should match the parent field.
396	Repo *Repo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
397}
398
399func (x *CreateRepoRequest) Reset() {
400	*x = CreateRepoRequest{}
401	if protoimpl.UnsafeEnabled {
402		mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[5]
403		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
404		ms.StoreMessageInfo(mi)
405	}
406}
407
408func (x *CreateRepoRequest) String() string {
409	return protoimpl.X.MessageStringOf(x)
410}
411
412func (*CreateRepoRequest) ProtoMessage() {}
413
414func (x *CreateRepoRequest) ProtoReflect() protoreflect.Message {
415	mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[5]
416	if protoimpl.UnsafeEnabled && x != nil {
417		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
418		if ms.LoadMessageInfo() == nil {
419			ms.StoreMessageInfo(mi)
420		}
421		return ms
422	}
423	return mi.MessageOf(x)
424}
425
426// Deprecated: Use CreateRepoRequest.ProtoReflect.Descriptor instead.
427func (*CreateRepoRequest) Descriptor() ([]byte, []int) {
428	return file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescGZIP(), []int{5}
429}
430
431func (x *CreateRepoRequest) GetParent() string {
432	if x != nil {
433		return x.Parent
434	}
435	return ""
436}
437
438func (x *CreateRepoRequest) GetRepo() *Repo {
439	if x != nil {
440		return x.Repo
441	}
442	return nil
443}
444
445// Request for DeleteRepo.
446type DeleteRepoRequest struct {
447	state         protoimpl.MessageState
448	sizeCache     protoimpl.SizeCache
449	unknownFields protoimpl.UnknownFields
450
451	// The name of the repo to delete. Values are of the form
452	// `projects/<project>/repos/<repo>`.
453	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
454}
455
456func (x *DeleteRepoRequest) Reset() {
457	*x = DeleteRepoRequest{}
458	if protoimpl.UnsafeEnabled {
459		mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[6]
460		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
461		ms.StoreMessageInfo(mi)
462	}
463}
464
465func (x *DeleteRepoRequest) String() string {
466	return protoimpl.X.MessageStringOf(x)
467}
468
469func (*DeleteRepoRequest) ProtoMessage() {}
470
471func (x *DeleteRepoRequest) ProtoReflect() protoreflect.Message {
472	mi := &file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[6]
473	if protoimpl.UnsafeEnabled && x != nil {
474		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
475		if ms.LoadMessageInfo() == nil {
476			ms.StoreMessageInfo(mi)
477		}
478		return ms
479	}
480	return mi.MessageOf(x)
481}
482
483// Deprecated: Use DeleteRepoRequest.ProtoReflect.Descriptor instead.
484func (*DeleteRepoRequest) Descriptor() ([]byte, []int) {
485	return file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescGZIP(), []int{6}
486}
487
488func (x *DeleteRepoRequest) GetName() string {
489	if x != nil {
490		return x.Name
491	}
492	return ""
493}
494
495var File_google_devtools_sourcerepo_v1_sourcerepo_proto protoreflect.FileDescriptor
496
497var file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDesc = []byte{
498	0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
499	0x73, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2f, 0x76, 0x31, 0x2f,
500	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
501	0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
502	0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76, 0x31, 0x1a,
503	0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
504	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67,
505	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d,
506	0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67,
507	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c,
508	0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
509	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79,
510	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x04, 0x52, 0x65, 0x70, 0x6f, 0x12,
511	0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
512	0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
513	0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03,
514	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x50, 0x0a, 0x0d, 0x6d, 0x69, 0x72,
515	0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
516	0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
517	0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76, 0x31,
518	0x2e, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0c, 0x6d,
519	0x69, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x63, 0x0a, 0x0c, 0x4d,
520	0x69, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03, 0x75,
521	0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a,
522	0x0a, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
523	0x09, 0x52, 0x09, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0d,
524	0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
525	0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x4b, 0x65, 0x79, 0x49, 0x64,
526	0x22, 0x24, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
527	0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
528	0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x62, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
529	0x70, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
530	0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b,
531	0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
532	0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
533	0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
534	0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x76, 0x0a, 0x11, 0x4c, 0x69,
535	0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
536	0x39, 0x0a, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23,
537	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
538	0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x52,
539	0x65, 0x70, 0x6f, 0x52, 0x05, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65,
540	0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
541	0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
542	0x65, 0x6e, 0x22, 0x64, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f,
543	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
544	0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,
545	0x37, 0x0a, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
546	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e,
547	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
548	0x70, 0x6f, 0x52, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x22, 0x27, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65,
549	0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
550	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
551	0x65, 0x32, 0xf8, 0x07, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6f,
552	0x12, 0x93, 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x2f,
553	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
554	0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
555	0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
556	0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
557	0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76, 0x31, 0x2e,
558	0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
559	0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
560	0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
561	0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x85, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x52, 0x65,
562	0x70, 0x6f, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
563	0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e,
564	0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
565	0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
566	0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76,
567	0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e,
568	0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
569	0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x2f, 0x2a, 0x2a, 0x7d, 0x12, 0x90,
570	0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x30, 0x2e,
571	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e,
572	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
573	0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
574	0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
575	0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76, 0x31, 0x2e,
576	0x52, 0x65, 0x70, 0x6f, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x1d, 0x2f, 0x76,
577	0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
578	0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x3a, 0x04, 0x72, 0x65, 0x70,
579	0x6f, 0x12, 0x7e, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x12,
580	0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
581	0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76, 0x31, 0x2e,
582	0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
583	0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
584	0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02,
585	0x20, 0x2a, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,
586	0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x2f, 0x2a, 0x2a,
587	0x7d, 0x12, 0x85, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69,
588	0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e,
589	0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
590	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
591	0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x3a, 0x82,
592	0xd3, 0xe4, 0x93, 0x02, 0x34, 0x22, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f,
593	0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
594	0x72, 0x65, 0x70, 0x6f, 0x73, 0x2f, 0x2a, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d,
595	0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3a, 0x01, 0x2a, 0x12, 0x82, 0x01, 0x0a, 0x0c, 0x47, 0x65,
596	0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f,
597	0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61,
598	0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
599	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50,
600	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f,
601	0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f,
602	0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x2f, 0x2a, 0x2a,
603	0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xab,
604	0x01, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
605	0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69,
606	0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72,
607	0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
608	0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e,
609	0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
610	0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93,
611	0x02, 0x3a, 0x22, 0x35, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
612	0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x70,
613	0x6f, 0x73, 0x2f, 0x2a, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65,
614	0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x01, 0x2a, 0x42, 0x7f, 0x0a, 0x21,
615	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
616	0x6f, 0x6c, 0x73, 0x2e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2e, 0x76,
617	0x31, 0x42, 0x0f, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x50, 0x72, 0x6f,
618	0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
619	0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
620	0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74,
621	0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x2f,
622	0x76, 0x31, 0x3b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x72, 0x65, 0x70, 0x6f, 0x62, 0x06, 0x70,
623	0x72, 0x6f, 0x74, 0x6f, 0x33,
624}
625
626var (
627	file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescOnce sync.Once
628	file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescData = file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDesc
629)
630
631func file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescGZIP() []byte {
632	file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescOnce.Do(func() {
633		file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescData)
634	})
635	return file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDescData
636}
637
638var file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
639var file_google_devtools_sourcerepo_v1_sourcerepo_proto_goTypes = []interface{}{
640	(*Repo)(nil),                          // 0: google.devtools.sourcerepo.v1.Repo
641	(*MirrorConfig)(nil),                  // 1: google.devtools.sourcerepo.v1.MirrorConfig
642	(*GetRepoRequest)(nil),                // 2: google.devtools.sourcerepo.v1.GetRepoRequest
643	(*ListReposRequest)(nil),              // 3: google.devtools.sourcerepo.v1.ListReposRequest
644	(*ListReposResponse)(nil),             // 4: google.devtools.sourcerepo.v1.ListReposResponse
645	(*CreateRepoRequest)(nil),             // 5: google.devtools.sourcerepo.v1.CreateRepoRequest
646	(*DeleteRepoRequest)(nil),             // 6: google.devtools.sourcerepo.v1.DeleteRepoRequest
647	(*v1.SetIamPolicyRequest)(nil),        // 7: google.iam.v1.SetIamPolicyRequest
648	(*v1.GetIamPolicyRequest)(nil),        // 8: google.iam.v1.GetIamPolicyRequest
649	(*v1.TestIamPermissionsRequest)(nil),  // 9: google.iam.v1.TestIamPermissionsRequest
650	(*emptypb.Empty)(nil),                 // 10: google.protobuf.Empty
651	(*v1.Policy)(nil),                     // 11: google.iam.v1.Policy
652	(*v1.TestIamPermissionsResponse)(nil), // 12: google.iam.v1.TestIamPermissionsResponse
653}
654var file_google_devtools_sourcerepo_v1_sourcerepo_proto_depIdxs = []int32{
655	1,  // 0: google.devtools.sourcerepo.v1.Repo.mirror_config:type_name -> google.devtools.sourcerepo.v1.MirrorConfig
656	0,  // 1: google.devtools.sourcerepo.v1.ListReposResponse.repos:type_name -> google.devtools.sourcerepo.v1.Repo
657	0,  // 2: google.devtools.sourcerepo.v1.CreateRepoRequest.repo:type_name -> google.devtools.sourcerepo.v1.Repo
658	3,  // 3: google.devtools.sourcerepo.v1.SourceRepo.ListRepos:input_type -> google.devtools.sourcerepo.v1.ListReposRequest
659	2,  // 4: google.devtools.sourcerepo.v1.SourceRepo.GetRepo:input_type -> google.devtools.sourcerepo.v1.GetRepoRequest
660	5,  // 5: google.devtools.sourcerepo.v1.SourceRepo.CreateRepo:input_type -> google.devtools.sourcerepo.v1.CreateRepoRequest
661	6,  // 6: google.devtools.sourcerepo.v1.SourceRepo.DeleteRepo:input_type -> google.devtools.sourcerepo.v1.DeleteRepoRequest
662	7,  // 7: google.devtools.sourcerepo.v1.SourceRepo.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest
663	8,  // 8: google.devtools.sourcerepo.v1.SourceRepo.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest
664	9,  // 9: google.devtools.sourcerepo.v1.SourceRepo.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest
665	4,  // 10: google.devtools.sourcerepo.v1.SourceRepo.ListRepos:output_type -> google.devtools.sourcerepo.v1.ListReposResponse
666	0,  // 11: google.devtools.sourcerepo.v1.SourceRepo.GetRepo:output_type -> google.devtools.sourcerepo.v1.Repo
667	0,  // 12: google.devtools.sourcerepo.v1.SourceRepo.CreateRepo:output_type -> google.devtools.sourcerepo.v1.Repo
668	10, // 13: google.devtools.sourcerepo.v1.SourceRepo.DeleteRepo:output_type -> google.protobuf.Empty
669	11, // 14: google.devtools.sourcerepo.v1.SourceRepo.SetIamPolicy:output_type -> google.iam.v1.Policy
670	11, // 15: google.devtools.sourcerepo.v1.SourceRepo.GetIamPolicy:output_type -> google.iam.v1.Policy
671	12, // 16: google.devtools.sourcerepo.v1.SourceRepo.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse
672	10, // [10:17] is the sub-list for method output_type
673	3,  // [3:10] is the sub-list for method input_type
674	3,  // [3:3] is the sub-list for extension type_name
675	3,  // [3:3] is the sub-list for extension extendee
676	0,  // [0:3] is the sub-list for field type_name
677}
678
679func init() { file_google_devtools_sourcerepo_v1_sourcerepo_proto_init() }
680func file_google_devtools_sourcerepo_v1_sourcerepo_proto_init() {
681	if File_google_devtools_sourcerepo_v1_sourcerepo_proto != nil {
682		return
683	}
684	if !protoimpl.UnsafeEnabled {
685		file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
686			switch v := v.(*Repo); i {
687			case 0:
688				return &v.state
689			case 1:
690				return &v.sizeCache
691			case 2:
692				return &v.unknownFields
693			default:
694				return nil
695			}
696		}
697		file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
698			switch v := v.(*MirrorConfig); i {
699			case 0:
700				return &v.state
701			case 1:
702				return &v.sizeCache
703			case 2:
704				return &v.unknownFields
705			default:
706				return nil
707			}
708		}
709		file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
710			switch v := v.(*GetRepoRequest); i {
711			case 0:
712				return &v.state
713			case 1:
714				return &v.sizeCache
715			case 2:
716				return &v.unknownFields
717			default:
718				return nil
719			}
720		}
721		file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
722			switch v := v.(*ListReposRequest); i {
723			case 0:
724				return &v.state
725			case 1:
726				return &v.sizeCache
727			case 2:
728				return &v.unknownFields
729			default:
730				return nil
731			}
732		}
733		file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
734			switch v := v.(*ListReposResponse); i {
735			case 0:
736				return &v.state
737			case 1:
738				return &v.sizeCache
739			case 2:
740				return &v.unknownFields
741			default:
742				return nil
743			}
744		}
745		file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
746			switch v := v.(*CreateRepoRequest); i {
747			case 0:
748				return &v.state
749			case 1:
750				return &v.sizeCache
751			case 2:
752				return &v.unknownFields
753			default:
754				return nil
755			}
756		}
757		file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
758			switch v := v.(*DeleteRepoRequest); i {
759			case 0:
760				return &v.state
761			case 1:
762				return &v.sizeCache
763			case 2:
764				return &v.unknownFields
765			default:
766				return nil
767			}
768		}
769	}
770	type x struct{}
771	out := protoimpl.TypeBuilder{
772		File: protoimpl.DescBuilder{
773			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
774			RawDescriptor: file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDesc,
775			NumEnums:      0,
776			NumMessages:   7,
777			NumExtensions: 0,
778			NumServices:   1,
779		},
780		GoTypes:           file_google_devtools_sourcerepo_v1_sourcerepo_proto_goTypes,
781		DependencyIndexes: file_google_devtools_sourcerepo_v1_sourcerepo_proto_depIdxs,
782		MessageInfos:      file_google_devtools_sourcerepo_v1_sourcerepo_proto_msgTypes,
783	}.Build()
784	File_google_devtools_sourcerepo_v1_sourcerepo_proto = out.File
785	file_google_devtools_sourcerepo_v1_sourcerepo_proto_rawDesc = nil
786	file_google_devtools_sourcerepo_v1_sourcerepo_proto_goTypes = nil
787	file_google_devtools_sourcerepo_v1_sourcerepo_proto_depIdxs = nil
788}
789
790// Reference imports to suppress errors if they are not otherwise used.
791var _ context.Context
792var _ grpc.ClientConnInterface
793
794// This is a compile-time assertion to ensure that this generated file
795// is compatible with the grpc package it is being compiled against.
796const _ = grpc.SupportPackageIsVersion6
797
798// SourceRepoClient is the client API for SourceRepo service.
799//
800// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
801type SourceRepoClient interface {
802	// Returns all repos belonging to a project. The sizes of the repos are
803	// not set by ListRepos.  To get the size of a repo, use GetRepo.
804	ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error)
805	// Returns information about a repo.
806	GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error)
807	// Creates a repo in the given project with the given name.
808	//
809	// If the named repository already exists, `CreateRepo` returns
810	// `ALREADY_EXISTS`.
811	CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error)
812	// Deletes a repo.
813	DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
814	// Sets the access control policy on the specified resource. Replaces any
815	// existing policy.
816	SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
817	// Gets the access control policy for a resource.
818	// Returns an empty policy if the resource exists and does not have a policy
819	// set.
820	GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
821	// Returns permissions that a caller has on the specified resource.
822	// If the resource does not exist, this will return an empty set of
823	// permissions, not a NOT_FOUND error.
824	TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
825}
826
827type sourceRepoClient struct {
828	cc grpc.ClientConnInterface
829}
830
831func NewSourceRepoClient(cc grpc.ClientConnInterface) SourceRepoClient {
832	return &sourceRepoClient{cc}
833}
834
835func (c *sourceRepoClient) ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error) {
836	out := new(ListReposResponse)
837	err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos", in, out, opts...)
838	if err != nil {
839		return nil, err
840	}
841	return out, nil
842}
843
844func (c *sourceRepoClient) GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error) {
845	out := new(Repo)
846	err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo", in, out, opts...)
847	if err != nil {
848		return nil, err
849	}
850	return out, nil
851}
852
853func (c *sourceRepoClient) CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error) {
854	out := new(Repo)
855	err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo", in, out, opts...)
856	if err != nil {
857		return nil, err
858	}
859	return out, nil
860}
861
862func (c *sourceRepoClient) DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
863	out := new(emptypb.Empty)
864	err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo", in, out, opts...)
865	if err != nil {
866		return nil, err
867	}
868	return out, nil
869}
870
871func (c *sourceRepoClient) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
872	out := new(v1.Policy)
873	err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy", in, out, opts...)
874	if err != nil {
875		return nil, err
876	}
877	return out, nil
878}
879
880func (c *sourceRepoClient) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) {
881	out := new(v1.Policy)
882	err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy", in, out, opts...)
883	if err != nil {
884		return nil, err
885	}
886	return out, nil
887}
888
889func (c *sourceRepoClient) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) {
890	out := new(v1.TestIamPermissionsResponse)
891	err := c.cc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions", in, out, opts...)
892	if err != nil {
893		return nil, err
894	}
895	return out, nil
896}
897
898// SourceRepoServer is the server API for SourceRepo service.
899type SourceRepoServer interface {
900	// Returns all repos belonging to a project. The sizes of the repos are
901	// not set by ListRepos.  To get the size of a repo, use GetRepo.
902	ListRepos(context.Context, *ListReposRequest) (*ListReposResponse, error)
903	// Returns information about a repo.
904	GetRepo(context.Context, *GetRepoRequest) (*Repo, error)
905	// Creates a repo in the given project with the given name.
906	//
907	// If the named repository already exists, `CreateRepo` returns
908	// `ALREADY_EXISTS`.
909	CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error)
910	// Deletes a repo.
911	DeleteRepo(context.Context, *DeleteRepoRequest) (*emptypb.Empty, error)
912	// Sets the access control policy on the specified resource. Replaces any
913	// existing policy.
914	SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
915	// Gets the access control policy for a resource.
916	// Returns an empty policy if the resource exists and does not have a policy
917	// set.
918	GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
919	// Returns permissions that a caller has on the specified resource.
920	// If the resource does not exist, this will return an empty set of
921	// permissions, not a NOT_FOUND error.
922	TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
923}
924
925// UnimplementedSourceRepoServer can be embedded to have forward compatible implementations.
926type UnimplementedSourceRepoServer struct {
927}
928
929func (*UnimplementedSourceRepoServer) ListRepos(context.Context, *ListReposRequest) (*ListReposResponse, error) {
930	return nil, status.Errorf(codes.Unimplemented, "method ListRepos not implemented")
931}
932func (*UnimplementedSourceRepoServer) GetRepo(context.Context, *GetRepoRequest) (*Repo, error) {
933	return nil, status.Errorf(codes.Unimplemented, "method GetRepo not implemented")
934}
935func (*UnimplementedSourceRepoServer) CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error) {
936	return nil, status.Errorf(codes.Unimplemented, "method CreateRepo not implemented")
937}
938func (*UnimplementedSourceRepoServer) DeleteRepo(context.Context, *DeleteRepoRequest) (*emptypb.Empty, error) {
939	return nil, status.Errorf(codes.Unimplemented, "method DeleteRepo not implemented")
940}
941func (*UnimplementedSourceRepoServer) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) {
942	return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
943}
944func (*UnimplementedSourceRepoServer) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) {
945	return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
946}
947func (*UnimplementedSourceRepoServer) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) {
948	return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
949}
950
951func RegisterSourceRepoServer(s *grpc.Server, srv SourceRepoServer) {
952	s.RegisterService(&_SourceRepo_serviceDesc, srv)
953}
954
955func _SourceRepo_ListRepos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
956	in := new(ListReposRequest)
957	if err := dec(in); err != nil {
958		return nil, err
959	}
960	if interceptor == nil {
961		return srv.(SourceRepoServer).ListRepos(ctx, in)
962	}
963	info := &grpc.UnaryServerInfo{
964		Server:     srv,
965		FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos",
966	}
967	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
968		return srv.(SourceRepoServer).ListRepos(ctx, req.(*ListReposRequest))
969	}
970	return interceptor(ctx, in, info, handler)
971}
972
973func _SourceRepo_GetRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
974	in := new(GetRepoRequest)
975	if err := dec(in); err != nil {
976		return nil, err
977	}
978	if interceptor == nil {
979		return srv.(SourceRepoServer).GetRepo(ctx, in)
980	}
981	info := &grpc.UnaryServerInfo{
982		Server:     srv,
983		FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo",
984	}
985	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
986		return srv.(SourceRepoServer).GetRepo(ctx, req.(*GetRepoRequest))
987	}
988	return interceptor(ctx, in, info, handler)
989}
990
991func _SourceRepo_CreateRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
992	in := new(CreateRepoRequest)
993	if err := dec(in); err != nil {
994		return nil, err
995	}
996	if interceptor == nil {
997		return srv.(SourceRepoServer).CreateRepo(ctx, in)
998	}
999	info := &grpc.UnaryServerInfo{
1000		Server:     srv,
1001		FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo",
1002	}
1003	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1004		return srv.(SourceRepoServer).CreateRepo(ctx, req.(*CreateRepoRequest))
1005	}
1006	return interceptor(ctx, in, info, handler)
1007}
1008
1009func _SourceRepo_DeleteRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1010	in := new(DeleteRepoRequest)
1011	if err := dec(in); err != nil {
1012		return nil, err
1013	}
1014	if interceptor == nil {
1015		return srv.(SourceRepoServer).DeleteRepo(ctx, in)
1016	}
1017	info := &grpc.UnaryServerInfo{
1018		Server:     srv,
1019		FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo",
1020	}
1021	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1022		return srv.(SourceRepoServer).DeleteRepo(ctx, req.(*DeleteRepoRequest))
1023	}
1024	return interceptor(ctx, in, info, handler)
1025}
1026
1027func _SourceRepo_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1028	in := new(v1.SetIamPolicyRequest)
1029	if err := dec(in); err != nil {
1030		return nil, err
1031	}
1032	if interceptor == nil {
1033		return srv.(SourceRepoServer).SetIamPolicy(ctx, in)
1034	}
1035	info := &grpc.UnaryServerInfo{
1036		Server:     srv,
1037		FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy",
1038	}
1039	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1040		return srv.(SourceRepoServer).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest))
1041	}
1042	return interceptor(ctx, in, info, handler)
1043}
1044
1045func _SourceRepo_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1046	in := new(v1.GetIamPolicyRequest)
1047	if err := dec(in); err != nil {
1048		return nil, err
1049	}
1050	if interceptor == nil {
1051		return srv.(SourceRepoServer).GetIamPolicy(ctx, in)
1052	}
1053	info := &grpc.UnaryServerInfo{
1054		Server:     srv,
1055		FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy",
1056	}
1057	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1058		return srv.(SourceRepoServer).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest))
1059	}
1060	return interceptor(ctx, in, info, handler)
1061}
1062
1063func _SourceRepo_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1064	in := new(v1.TestIamPermissionsRequest)
1065	if err := dec(in); err != nil {
1066		return nil, err
1067	}
1068	if interceptor == nil {
1069		return srv.(SourceRepoServer).TestIamPermissions(ctx, in)
1070	}
1071	info := &grpc.UnaryServerInfo{
1072		Server:     srv,
1073		FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions",
1074	}
1075	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1076		return srv.(SourceRepoServer).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest))
1077	}
1078	return interceptor(ctx, in, info, handler)
1079}
1080
1081var _SourceRepo_serviceDesc = grpc.ServiceDesc{
1082	ServiceName: "google.devtools.sourcerepo.v1.SourceRepo",
1083	HandlerType: (*SourceRepoServer)(nil),
1084	Methods: []grpc.MethodDesc{
1085		{
1086			MethodName: "ListRepos",
1087			Handler:    _SourceRepo_ListRepos_Handler,
1088		},
1089		{
1090			MethodName: "GetRepo",
1091			Handler:    _SourceRepo_GetRepo_Handler,
1092		},
1093		{
1094			MethodName: "CreateRepo",
1095			Handler:    _SourceRepo_CreateRepo_Handler,
1096		},
1097		{
1098			MethodName: "DeleteRepo",
1099			Handler:    _SourceRepo_DeleteRepo_Handler,
1100		},
1101		{
1102			MethodName: "SetIamPolicy",
1103			Handler:    _SourceRepo_SetIamPolicy_Handler,
1104		},
1105		{
1106			MethodName: "GetIamPolicy",
1107			Handler:    _SourceRepo_GetIamPolicy_Handler,
1108		},
1109		{
1110			MethodName: "TestIamPermissions",
1111			Handler:    _SourceRepo_TestIamPermissions_Handler,
1112		},
1113	},
1114	Streams:  []grpc.StreamDesc{},
1115	Metadata: "google/devtools/sourcerepo/v1/sourcerepo.proto",
1116}
1117