Debian Codegraph @

artifactregistry/apiv1beta2/artifactregistrypb/repository.pb.go

raw
1 // Copyright 2025 Google LLC
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.35.2
18 // protoc v4.25.7
19 // source: google/devtools/artifactregistry/v1beta2/repository.proto
20
21 package artifactregistrypb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
28 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // A package format.
41 type Repository_Format int32
42
43 const (
44 // Unspecified package format.
45 Repository_FORMAT_UNSPECIFIED Repository_Format = 0
46 // Docker package format.
47 Repository_DOCKER Repository_Format = 1
48 // Maven package format.
49 Repository_MAVEN Repository_Format = 2
50 // NPM package format.
51 Repository_NPM Repository_Format = 3
52 // APT package format.
53 Repository_APT Repository_Format = 5
54 // YUM package format.
55 Repository_YUM Repository_Format = 6
56 // Python package format.
57 Repository_PYTHON Repository_Format = 8
58 )
59
60 // Enum value maps for Repository_Format.
61 var (
62 Repository_Format_name = map[int32]string{
63 0: "FORMAT_UNSPECIFIED",
64 1: "DOCKER",
65 2: "MAVEN",
66 3: "NPM",
67 5: "APT",
68 6: "YUM",
69 8: "PYTHON",
70 }
71 Repository_Format_value = map[string]int32{
72 "FORMAT_UNSPECIFIED": 0,
73 "DOCKER": 1,
74 "MAVEN": 2,
75 "NPM": 3,
76 "APT": 5,
77 "YUM": 6,
78 "PYTHON": 8,
79 }
80 )
81
82 func (x Repository_Format) Enum() *Repository_Format {
83 p := new(Repository_Format)
84 *p = x
85 return p
86 }
87
88 func (x Repository_Format) String() string {
89 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
90 }
91
92 func (Repository_Format) Descriptor() protoreflect.EnumDescriptor {
93 return file_google_devtools_artifactregistry_v1beta2_repository_proto_enumTypes[0].Descriptor()
94 }
95
96 func (Repository_Format) Type() protoreflect.EnumType {
97 return &file_google_devtools_artifactregistry_v1beta2_repository_proto_enumTypes[0]
98 }
99
100 func (x Repository_Format) Number() protoreflect.EnumNumber {
101 return protoreflect.EnumNumber(x)
102 }
103
104 // Deprecated: Use Repository_Format.Descriptor instead.
105 func (Repository_Format) EnumDescriptor() ([]byte, []int) {
106 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{0, 0}
107 }
108
109 // VersionPolicy is the version policy for the repository.
110 type Repository_MavenRepositoryConfig_VersionPolicy int32
111
112 const (
113 // VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
114 // When the version policy is not defined, no validation is performed
115 // for the versions.
116 Repository_MavenRepositoryConfig_VERSION_POLICY_UNSPECIFIED Repository_MavenRepositoryConfig_VersionPolicy = 0
117 // RELEASE - repository will accept only Release versions.
118 Repository_MavenRepositoryConfig_RELEASE Repository_MavenRepositoryConfig_VersionPolicy = 1
119 // SNAPSHOT - repository will accept only Snapshot versions.
120 Repository_MavenRepositoryConfig_SNAPSHOT Repository_MavenRepositoryConfig_VersionPolicy = 2
121 )
122
123 // Enum value maps for Repository_MavenRepositoryConfig_VersionPolicy.
124 var (
125 Repository_MavenRepositoryConfig_VersionPolicy_name = map[int32]string{
126 0: "VERSION_POLICY_UNSPECIFIED",
127 1: "RELEASE",
128 2: "SNAPSHOT",
129 }
130 Repository_MavenRepositoryConfig_VersionPolicy_value = map[string]int32{
131 "VERSION_POLICY_UNSPECIFIED": 0,
132 "RELEASE": 1,
133 "SNAPSHOT": 2,
134 }
135 )
136
137 func (x Repository_MavenRepositoryConfig_VersionPolicy) Enum() *Repository_MavenRepositoryConfig_VersionPolicy {
138 p := new(Repository_MavenRepositoryConfig_VersionPolicy)
139 *p = x
140 return p
141 }
142
143 func (x Repository_MavenRepositoryConfig_VersionPolicy) String() string {
144 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
145 }
146
147 func (Repository_MavenRepositoryConfig_VersionPolicy) Descriptor() protoreflect.EnumDescriptor {
148 return file_google_devtools_artifactregistry_v1beta2_repository_proto_enumTypes[1].Descriptor()
149 }
150
151 func (Repository_MavenRepositoryConfig_VersionPolicy) Type() protoreflect.EnumType {
152 return &file_google_devtools_artifactregistry_v1beta2_repository_proto_enumTypes[1]
153 }
154
155 func (x Repository_MavenRepositoryConfig_VersionPolicy) Number() protoreflect.EnumNumber {
156 return protoreflect.EnumNumber(x)
157 }
158
159 // Deprecated: Use Repository_MavenRepositoryConfig_VersionPolicy.Descriptor instead.
160 func (Repository_MavenRepositoryConfig_VersionPolicy) EnumDescriptor() ([]byte, []int) {
161 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{0, 0, 0}
162 }
163
164 // A Repository for storing artifacts with a specific format.
165 type Repository struct {
166 state protoimpl.MessageState
167 sizeCache protoimpl.SizeCache
168 unknownFields protoimpl.UnknownFields
169
170 // Repository-specific configurations.
171 //
172 // Types that are assignable to FormatConfig:
173 //
174 // *Repository_MavenConfig
175 FormatConfig isRepository_FormatConfig `protobuf_oneof:"format_config"`
176 // The name of the repository, for example:
177 // "projects/p1/locations/us-central1/repositories/repo1".
178 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
179 // The format of packages that are stored in the repository.
180 Format Repository_Format `protobuf:"varint,2,opt,name=format,proto3,enum=google.devtools.artifactregistry.v1beta2.Repository_Format" json:"format,omitempty"`
181 // The user-provided description of the repository.
182 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
183 // Labels with user-defined metadata.
184 // This field may contain up to 64 entries. Label keys and values may be no
185 // longer than 63 characters. Label keys must begin with a lowercase letter
186 // and may only contain lowercase letters, numeric characters, underscores,
187 // and dashes.
188 Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
189 // The time when the repository was created.
190 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
191 // The time when the repository was last updated.
192 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
193 // The Cloud KMS resource name of the customer managed encryption key that’s
194 // used to encrypt the contents of the Repository. Has the form:
195 // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
196 // This value may not be changed after the Repository has been created.
197 KmsKeyName string `protobuf:"bytes,8,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
198 }
199
200 func (x *Repository) Reset() {
201 *x = Repository{}
202 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[0]
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 ms.StoreMessageInfo(mi)
205 }
206
207 func (x *Repository) String() string {
208 return protoimpl.X.MessageStringOf(x)
209 }
210
211 func (*Repository) ProtoMessage() {}
212
213 func (x *Repository) ProtoReflect() protoreflect.Message {
214 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[0]
215 if x != nil {
216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
217 if ms.LoadMessageInfo() == nil {
218 ms.StoreMessageInfo(mi)
219 }
220 return ms
221 }
222 return mi.MessageOf(x)
223 }
224
225 // Deprecated: Use Repository.ProtoReflect.Descriptor instead.
226 func (*Repository) Descriptor() ([]byte, []int) {
227 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{0}
228 }
229
230 func (m *Repository) GetFormatConfig() isRepository_FormatConfig {
231 if m != nil {
232 return m.FormatConfig
233 }
234 return nil
235 }
236
237 func (x *Repository) GetMavenConfig() *Repository_MavenRepositoryConfig {
238 if x, ok := x.GetFormatConfig().(*Repository_MavenConfig); ok {
239 return x.MavenConfig
240 }
241 return nil
242 }
243
244 func (x *Repository) GetName() string {
245 if x != nil {
246 return x.Name
247 }
248 return ""
249 }
250
251 func (x *Repository) GetFormat() Repository_Format {
252 if x != nil {
253 return x.Format
254 }
255 return Repository_FORMAT_UNSPECIFIED
256 }
257
258 func (x *Repository) GetDescription() string {
259 if x != nil {
260 return x.Description
261 }
262 return ""
263 }
264
265 func (x *Repository) GetLabels() map[string]string {
266 if x != nil {
267 return x.Labels
268 }
269 return nil
270 }
271
272 func (x *Repository) GetCreateTime() *timestamppb.Timestamp {
273 if x != nil {
274 return x.CreateTime
275 }
276 return nil
277 }
278
279 func (x *Repository) GetUpdateTime() *timestamppb.Timestamp {
280 if x != nil {
281 return x.UpdateTime
282 }
283 return nil
284 }
285
286 func (x *Repository) GetKmsKeyName() string {
287 if x != nil {
288 return x.KmsKeyName
289 }
290 return ""
291 }
292
293 type isRepository_FormatConfig interface {
294 isRepository_FormatConfig()
295 }
296
297 type Repository_MavenConfig struct {
298 // Maven repository config contains repository level configuration
299 // for the repositories of maven type.
300 MavenConfig *Repository_MavenRepositoryConfig `protobuf:"bytes,9,opt,name=maven_config,json=mavenConfig,proto3,oneof"`
301 }
302
303 func (*Repository_MavenConfig) isRepository_FormatConfig() {}
304
305 // The request to list repositories.
306 type ListRepositoriesRequest struct {
307 state protoimpl.MessageState
308 sizeCache protoimpl.SizeCache
309 unknownFields protoimpl.UnknownFields
310
311 // Required. The name of the parent resource whose repositories will be listed.
312 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
313 // The maximum number of repositories to return. Maximum page size is 1,000.
314 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
315 // The next_page_token value returned from a previous list request, if any.
316 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
317 }
318
319 func (x *ListRepositoriesRequest) Reset() {
320 *x = ListRepositoriesRequest{}
321 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[1]
322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
323 ms.StoreMessageInfo(mi)
324 }
325
326 func (x *ListRepositoriesRequest) String() string {
327 return protoimpl.X.MessageStringOf(x)
328 }
329
330 func (*ListRepositoriesRequest) ProtoMessage() {}
331
332 func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message {
333 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[1]
334 if x != nil {
335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
336 if ms.LoadMessageInfo() == nil {
337 ms.StoreMessageInfo(mi)
338 }
339 return ms
340 }
341 return mi.MessageOf(x)
342 }
343
344 // Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
345 func (*ListRepositoriesRequest) Descriptor() ([]byte, []int) {
346 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{1}
347 }
348
349 func (x *ListRepositoriesRequest) GetParent() string {
350 if x != nil {
351 return x.Parent
352 }
353 return ""
354 }
355
356 func (x *ListRepositoriesRequest) GetPageSize() int32 {
357 if x != nil {
358 return x.PageSize
359 }
360 return 0
361 }
362
363 func (x *ListRepositoriesRequest) GetPageToken() string {
364 if x != nil {
365 return x.PageToken
366 }
367 return ""
368 }
369
370 // The response from listing repositories.
371 type ListRepositoriesResponse struct {
372 state protoimpl.MessageState
373 sizeCache protoimpl.SizeCache
374 unknownFields protoimpl.UnknownFields
375
376 // The repositories returned.
377 Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
378 // The token to retrieve the next page of repositories, or empty if there are
379 // no more repositories to return.
380 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
381 }
382
383 func (x *ListRepositoriesResponse) Reset() {
384 *x = ListRepositoriesResponse{}
385 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[2]
386 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
387 ms.StoreMessageInfo(mi)
388 }
389
390 func (x *ListRepositoriesResponse) String() string {
391 return protoimpl.X.MessageStringOf(x)
392 }
393
394 func (*ListRepositoriesResponse) ProtoMessage() {}
395
396 func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message {
397 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[2]
398 if x != nil {
399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
400 if ms.LoadMessageInfo() == nil {
401 ms.StoreMessageInfo(mi)
402 }
403 return ms
404 }
405 return mi.MessageOf(x)
406 }
407
408 // Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
409 func (*ListRepositoriesResponse) Descriptor() ([]byte, []int) {
410 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{2}
411 }
412
413 func (x *ListRepositoriesResponse) GetRepositories() []*Repository {
414 if x != nil {
415 return x.Repositories
416 }
417 return nil
418 }
419
420 func (x *ListRepositoriesResponse) GetNextPageToken() string {
421 if x != nil {
422 return x.NextPageToken
423 }
424 return ""
425 }
426
427 // The request to retrieve a repository.
428 type GetRepositoryRequest struct {
429 state protoimpl.MessageState
430 sizeCache protoimpl.SizeCache
431 unknownFields protoimpl.UnknownFields
432
433 // Required. The name of the repository to retrieve.
434 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
435 }
436
437 func (x *GetRepositoryRequest) Reset() {
438 *x = GetRepositoryRequest{}
439 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[3]
440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
441 ms.StoreMessageInfo(mi)
442 }
443
444 func (x *GetRepositoryRequest) String() string {
445 return protoimpl.X.MessageStringOf(x)
446 }
447
448 func (*GetRepositoryRequest) ProtoMessage() {}
449
450 func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message {
451 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[3]
452 if x != nil {
453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
454 if ms.LoadMessageInfo() == nil {
455 ms.StoreMessageInfo(mi)
456 }
457 return ms
458 }
459 return mi.MessageOf(x)
460 }
461
462 // Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.
463 func (*GetRepositoryRequest) Descriptor() ([]byte, []int) {
464 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{3}
465 }
466
467 func (x *GetRepositoryRequest) GetName() string {
468 if x != nil {
469 return x.Name
470 }
471 return ""
472 }
473
474 // The request to create a new repository.
475 type CreateRepositoryRequest struct {
476 state protoimpl.MessageState
477 sizeCache protoimpl.SizeCache
478 unknownFields protoimpl.UnknownFields
479
480 // Required. The name of the parent resource where the repository will be created.
481 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
482 // The repository id to use for this repository.
483 RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
484 // The repository to be created.
485 Repository *Repository `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
486 }
487
488 func (x *CreateRepositoryRequest) Reset() {
489 *x = CreateRepositoryRequest{}
490 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[4]
491 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
492 ms.StoreMessageInfo(mi)
493 }
494
495 func (x *CreateRepositoryRequest) String() string {
496 return protoimpl.X.MessageStringOf(x)
497 }
498
499 func (*CreateRepositoryRequest) ProtoMessage() {}
500
501 func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message {
502 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[4]
503 if x != nil {
504 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
505 if ms.LoadMessageInfo() == nil {
506 ms.StoreMessageInfo(mi)
507 }
508 return ms
509 }
510 return mi.MessageOf(x)
511 }
512
513 // Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.
514 func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) {
515 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{4}
516 }
517
518 func (x *CreateRepositoryRequest) GetParent() string {
519 if x != nil {
520 return x.Parent
521 }
522 return ""
523 }
524
525 func (x *CreateRepositoryRequest) GetRepositoryId() string {
526 if x != nil {
527 return x.RepositoryId
528 }
529 return ""
530 }
531
532 func (x *CreateRepositoryRequest) GetRepository() *Repository {
533 if x != nil {
534 return x.Repository
535 }
536 return nil
537 }
538
539 // The request to update a repository.
540 type UpdateRepositoryRequest struct {
541 state protoimpl.MessageState
542 sizeCache protoimpl.SizeCache
543 unknownFields protoimpl.UnknownFields
544
545 // The repository that replaces the resource on the server.
546 Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
547 // The update mask applies to the resource. For the `FieldMask` definition,
548 // see
549 // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
550 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
551 }
552
553 func (x *UpdateRepositoryRequest) Reset() {
554 *x = UpdateRepositoryRequest{}
555 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[5]
556 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
557 ms.StoreMessageInfo(mi)
558 }
559
560 func (x *UpdateRepositoryRequest) String() string {
561 return protoimpl.X.MessageStringOf(x)
562 }
563
564 func (*UpdateRepositoryRequest) ProtoMessage() {}
565
566 func (x *UpdateRepositoryRequest) ProtoReflect() protoreflect.Message {
567 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[5]
568 if x != nil {
569 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
570 if ms.LoadMessageInfo() == nil {
571 ms.StoreMessageInfo(mi)
572 }
573 return ms
574 }
575 return mi.MessageOf(x)
576 }
577
578 // Deprecated: Use UpdateRepositoryRequest.ProtoReflect.Descriptor instead.
579 func (*UpdateRepositoryRequest) Descriptor() ([]byte, []int) {
580 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{5}
581 }
582
583 func (x *UpdateRepositoryRequest) GetRepository() *Repository {
584 if x != nil {
585 return x.Repository
586 }
587 return nil
588 }
589
590 func (x *UpdateRepositoryRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
591 if x != nil {
592 return x.UpdateMask
593 }
594 return nil
595 }
596
597 // The request to delete a repository.
598 type DeleteRepositoryRequest struct {
599 state protoimpl.MessageState
600 sizeCache protoimpl.SizeCache
601 unknownFields protoimpl.UnknownFields
602
603 // Required. The name of the repository to delete.
604 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
605 }
606
607 func (x *DeleteRepositoryRequest) Reset() {
608 *x = DeleteRepositoryRequest{}
609 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[6]
610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
611 ms.StoreMessageInfo(mi)
612 }
613
614 func (x *DeleteRepositoryRequest) String() string {
615 return protoimpl.X.MessageStringOf(x)
616 }
617
618 func (*DeleteRepositoryRequest) ProtoMessage() {}
619
620 func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message {
621 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[6]
622 if x != nil {
623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
624 if ms.LoadMessageInfo() == nil {
625 ms.StoreMessageInfo(mi)
626 }
627 return ms
628 }
629 return mi.MessageOf(x)
630 }
631
632 // Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.
633 func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int) {
634 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{6}
635 }
636
637 func (x *DeleteRepositoryRequest) GetName() string {
638 if x != nil {
639 return x.Name
640 }
641 return ""
642 }
643
644 // MavenRepositoryConfig is maven related repository details.
645 // Provides additional configuration details for repositories of the maven
646 // format type.
647 type Repository_MavenRepositoryConfig struct {
648 state protoimpl.MessageState
649 sizeCache protoimpl.SizeCache
650 unknownFields protoimpl.UnknownFields
651
652 // The repository with this flag will allow publishing
653 // the same snapshot versions.
654 AllowSnapshotOverwrites bool `protobuf:"varint,1,opt,name=allow_snapshot_overwrites,json=allowSnapshotOverwrites,proto3" json:"allow_snapshot_overwrites,omitempty"`
655 // Version policy defines the versions that the registry will accept.
656 VersionPolicy Repository_MavenRepositoryConfig_VersionPolicy `protobuf:"varint,2,opt,name=version_policy,json=versionPolicy,proto3,enum=google.devtools.artifactregistry.v1beta2.Repository_MavenRepositoryConfig_VersionPolicy" json:"version_policy,omitempty"`
657 }
658
659 func (x *Repository_MavenRepositoryConfig) Reset() {
660 *x = Repository_MavenRepositoryConfig{}
661 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[7]
662 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
663 ms.StoreMessageInfo(mi)
664 }
665
666 func (x *Repository_MavenRepositoryConfig) String() string {
667 return protoimpl.X.MessageStringOf(x)
668 }
669
670 func (*Repository_MavenRepositoryConfig) ProtoMessage() {}
671
672 func (x *Repository_MavenRepositoryConfig) ProtoReflect() protoreflect.Message {
673 mi := &file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[7]
674 if x != nil {
675 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
676 if ms.LoadMessageInfo() == nil {
677 ms.StoreMessageInfo(mi)
678 }
679 return ms
680 }
681 return mi.MessageOf(x)
682 }
683
684 // Deprecated: Use Repository_MavenRepositoryConfig.ProtoReflect.Descriptor instead.
685 func (*Repository_MavenRepositoryConfig) Descriptor() ([]byte, []int) {
686 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP(), []int{0, 0}
687 }
688
689 func (x *Repository_MavenRepositoryConfig) GetAllowSnapshotOverwrites() bool {
690 if x != nil {
691 return x.AllowSnapshotOverwrites
692 }
693 return false
694 }
695
696 func (x *Repository_MavenRepositoryConfig) GetVersionPolicy() Repository_MavenRepositoryConfig_VersionPolicy {
697 if x != nil {
698 return x.VersionPolicy
699 }
700 return Repository_MavenRepositoryConfig_VERSION_POLICY_UNSPECIFIED
701 }
702
703 var File_google_devtools_artifactregistry_v1beta2_repository_proto protoreflect.FileDescriptor
704
705 var file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDesc = []byte{
706 0x0a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
707 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
708 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73,
709 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f,
710 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74,
711 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31,
712 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
713 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72,
714 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
715 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
716 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
717 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72,
718 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
719 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
720 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x08, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
721 0x6f, 0x72, 0x79, 0x12, 0x6f, 0x0a, 0x0c, 0x6d, 0x61, 0x76, 0x65, 0x6e, 0x5f, 0x63, 0x6f, 0x6e,
722 0x66, 0x69, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
723 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69,
724 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62,
725 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e,
726 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43,
727 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x6d, 0x61, 0x76, 0x65, 0x6e, 0x43, 0x6f,
728 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
729 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d,
730 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
731 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66,
732 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65,
733 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x46,
734 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x20, 0x0a,
735 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
736 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
737 0x58, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
738 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
739 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
740 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73,
741 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72,
742 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65,
743 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
744 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
745 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
746 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
747 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
748 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
749 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54,
750 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e,
751 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x6d, 0x73, 0x4b, 0x65,
752 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xa0, 0x02, 0x0a, 0x15, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x52,
753 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
754 0x3a, 0x0a, 0x19, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
755 0x74, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01,
756 0x28, 0x08, 0x52, 0x17, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
757 0x74, 0x4f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x73, 0x12, 0x7f, 0x0a, 0x0e, 0x76,
758 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x02, 0x20,
759 0x01, 0x28, 0x0e, 0x32, 0x58, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
760 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65,
761 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52,
762 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4d, 0x61, 0x76, 0x65, 0x6e, 0x52,
763 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
764 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0d, 0x76,
765 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x4a, 0x0a, 0x0d,
766 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1e, 0x0a,
767 0x1a, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f,
768 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a,
769 0x07, 0x52, 0x45, 0x4c, 0x45, 0x41, 0x53, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x4e,
770 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x02, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65,
771 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
772 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
773 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
774 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a,
775 0x12, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
776 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x43, 0x4b, 0x45, 0x52, 0x10,
777 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x41, 0x56, 0x45, 0x4e, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03,
778 0x4e, 0x50, 0x4d, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x50, 0x54, 0x10, 0x05, 0x12, 0x07,
779 0x0a, 0x03, 0x59, 0x55, 0x4d, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x59, 0x54, 0x48, 0x4f,
780 0x4e, 0x10, 0x08, 0x3a, 0x72, 0xea, 0x41, 0x6f, 0x0a, 0x2a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
781 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
782 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69,
783 0x74, 0x6f, 0x72, 0x79, 0x12, 0x41, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b,
784 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
785 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65,
786 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x6f,
787 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x42, 0x0f, 0x0a, 0x0d, 0x66, 0x6f, 0x72, 0x6d, 0x61,
788 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xa1, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73,
789 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71,
790 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
791 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x12, 0x2a, 0x61, 0x72,
792 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67,
793 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65,
794 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
795 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20,
796 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a,
797 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
798 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9c, 0x01, 0x0a,
799 0x18, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65,
800 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0c, 0x72, 0x65, 0x70,
801 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
802 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
803 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
804 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73,
805 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
806 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
807 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
808 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5e, 0x0a, 0x14, 0x47,
809 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
810 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
811 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x61, 0x72, 0x74, 0x69, 0x66,
812 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
813 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x52, 0x65, 0x70, 0x6f, 0x73,
814 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xe0, 0x01, 0x0a, 0x17,
815 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79,
816 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
817 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x12,
818 0x2a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
819 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
820 0x2f, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72,
821 0x65, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
822 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f,
823 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f,
824 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67,
825 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61,
826 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e,
827 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f,
828 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xac,
829 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
830 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x0a, 0x72, 0x65,
831 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34,
832 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
833 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
834 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69,
835 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79,
836 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18,
837 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
838 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73,
839 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x61, 0x0a,
840 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72,
841 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
842 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a,
843 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
844 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
845 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
846 0x42, 0x93, 0x02, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
847 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
848 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
849 0x32, 0x42, 0x0f, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x72, 0x6f,
850 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x55, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
851 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
852 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31,
853 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65,
854 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
855 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f,
856 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66,
857 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x42, 0x65,
858 0x74, 0x61, 0x32, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
859 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73,
860 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0xea, 0x02, 0x28, 0x47, 0x6f,
861 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74,
862 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56,
863 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
864 }
865
866 var (
867 file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescOnce sync.Once
868 file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescData = file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDesc
869 )
870
871 func file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescGZIP() []byte {
872 file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescOnce.Do(func() {
873 file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescData)
874 })
875 return file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDescData
876 }
877
878 var file_google_devtools_artifactregistry_v1beta2_repository_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
879 var file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
880 var file_google_devtools_artifactregistry_v1beta2_repository_proto_goTypes = []any{
881 (Repository_Format)(0), // 0: google.devtools.artifactregistry.v1beta2.Repository.Format
882 (Repository_MavenRepositoryConfig_VersionPolicy)(0), // 1: google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy
883 (*Repository)(nil), // 2: google.devtools.artifactregistry.v1beta2.Repository
884 (*ListRepositoriesRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest
885 (*ListRepositoriesResponse)(nil), // 4: google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse
886 (*GetRepositoryRequest)(nil), // 5: google.devtools.artifactregistry.v1beta2.GetRepositoryRequest
887 (*CreateRepositoryRequest)(nil), // 6: google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest
888 (*UpdateRepositoryRequest)(nil), // 7: google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
889 (*DeleteRepositoryRequest)(nil), // 8: google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest
890 (*Repository_MavenRepositoryConfig)(nil), // 9: google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig
891 nil, // 10: google.devtools.artifactregistry.v1beta2.Repository.LabelsEntry
892 (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp
893 (*fieldmaskpb.FieldMask)(nil), // 12: google.protobuf.FieldMask
894 }
895 var file_google_devtools_artifactregistry_v1beta2_repository_proto_depIdxs = []int32{
896 9, // 0: google.devtools.artifactregistry.v1beta2.Repository.maven_config:type_name -> google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig
897 0, // 1: google.devtools.artifactregistry.v1beta2.Repository.format:type_name -> google.devtools.artifactregistry.v1beta2.Repository.Format
898 10, // 2: google.devtools.artifactregistry.v1beta2.Repository.labels:type_name -> google.devtools.artifactregistry.v1beta2.Repository.LabelsEntry
899 11, // 3: google.devtools.artifactregistry.v1beta2.Repository.create_time:type_name -> google.protobuf.Timestamp
900 11, // 4: google.devtools.artifactregistry.v1beta2.Repository.update_time:type_name -> google.protobuf.Timestamp
901 2, // 5: google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.repositories:type_name -> google.devtools.artifactregistry.v1beta2.Repository
902 2, // 6: google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.repository:type_name -> google.devtools.artifactregistry.v1beta2.Repository
903 2, // 7: google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.repository:type_name -> google.devtools.artifactregistry.v1beta2.Repository
904 12, // 8: google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.update_mask:type_name -> google.protobuf.FieldMask
905 1, // 9: google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.version_policy:type_name -> google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy
906 10, // [10:10] is the sub-list for method output_type
907 10, // [10:10] is the sub-list for method input_type
908 10, // [10:10] is the sub-list for extension type_name
909 10, // [10:10] is the sub-list for extension extendee
910 0, // [0:10] is the sub-list for field type_name
911 }
912
913 func init() { file_google_devtools_artifactregistry_v1beta2_repository_proto_init() }
914 func file_google_devtools_artifactregistry_v1beta2_repository_proto_init() {
915 if File_google_devtools_artifactregistry_v1beta2_repository_proto != nil {
916 return
917 }
918 file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes[0].OneofWrappers = []any{
919 (*Repository_MavenConfig)(nil),
920 }
921 type x struct{}
922 out := protoimpl.TypeBuilder{
923 File: protoimpl.DescBuilder{
924 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
925 RawDescriptor: file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDesc,
926 NumEnums: 2,
927 NumMessages: 9,
928 NumExtensions: 0,
929 NumServices: 0,
930 },
931 GoTypes: file_google_devtools_artifactregistry_v1beta2_repository_proto_goTypes,
932 DependencyIndexes: file_google_devtools_artifactregistry_v1beta2_repository_proto_depIdxs,
933 EnumInfos: file_google_devtools_artifactregistry_v1beta2_repository_proto_enumTypes,
934 MessageInfos: file_google_devtools_artifactregistry_v1beta2_repository_proto_msgTypes,
935 }.Build()
936 File_google_devtools_artifactregistry_v1beta2_repository_proto = out.File
937 file_google_devtools_artifactregistry_v1beta2_repository_proto_rawDesc = nil
938 file_google_devtools_artifactregistry_v1beta2_repository_proto_goTypes = nil
939 file_google_devtools_artifactregistry_v1beta2_repository_proto_depIdxs = nil
940 }