1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package artifactregistrypb
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 structpb "google.golang.org/protobuf/types/known/structpb"
31 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32 )
33
34 const (
35
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41
42
43 type VersionView int32
44
45 const (
46
47
48 VersionView_VERSION_VIEW_UNSPECIFIED VersionView = 0
49
50 VersionView_BASIC VersionView = 1
51
52 VersionView_FULL VersionView = 2
53 )
54
55
56 var (
57 VersionView_name = map[int32]string{
58 0: "VERSION_VIEW_UNSPECIFIED",
59 1: "BASIC",
60 2: "FULL",
61 }
62 VersionView_value = map[string]int32{
63 "VERSION_VIEW_UNSPECIFIED": 0,
64 "BASIC": 1,
65 "FULL": 2,
66 }
67 )
68
69 func (x VersionView) Enum() *VersionView {
70 p := new(VersionView)
71 *p = x
72 return p
73 }
74
75 func (x VersionView) String() string {
76 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
77 }
78
79 func (VersionView) Descriptor() protoreflect.EnumDescriptor {
80 return file_google_devtools_artifactregistry_v1_version_proto_enumTypes[0].Descriptor()
81 }
82
83 func (VersionView) Type() protoreflect.EnumType {
84 return &file_google_devtools_artifactregistry_v1_version_proto_enumTypes[0]
85 }
86
87 func (x VersionView) Number() protoreflect.EnumNumber {
88 return protoreflect.EnumNumber(x)
89 }
90
91
92 func (VersionView) EnumDescriptor() ([]byte, []int) {
93 return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{0}
94 }
95
96
97
98
99 type Version struct {
100 state protoimpl.MessageState
101 sizeCache protoimpl.SizeCache
102 unknownFields protoimpl.UnknownFields
103
104
105
106
107
108 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
109
110 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
111
112 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
113
114 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
115
116
117 RelatedTags []*Tag `protobuf:"bytes,7,rep,name=related_tags,json=relatedTags,proto3" json:"related_tags,omitempty"`
118
119
120
121
122
123 Metadata *structpb.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
124 }
125
126 func (x *Version) Reset() {
127 *x = Version{}
128 if protoimpl.UnsafeEnabled {
129 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[0]
130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131 ms.StoreMessageInfo(mi)
132 }
133 }
134
135 func (x *Version) String() string {
136 return protoimpl.X.MessageStringOf(x)
137 }
138
139 func (*Version) ProtoMessage() {}
140
141 func (x *Version) ProtoReflect() protoreflect.Message {
142 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[0]
143 if protoimpl.UnsafeEnabled && x != nil {
144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
145 if ms.LoadMessageInfo() == nil {
146 ms.StoreMessageInfo(mi)
147 }
148 return ms
149 }
150 return mi.MessageOf(x)
151 }
152
153
154 func (*Version) Descriptor() ([]byte, []int) {
155 return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{0}
156 }
157
158 func (x *Version) GetName() string {
159 if x != nil {
160 return x.Name
161 }
162 return ""
163 }
164
165 func (x *Version) GetDescription() string {
166 if x != nil {
167 return x.Description
168 }
169 return ""
170 }
171
172 func (x *Version) GetCreateTime() *timestamppb.Timestamp {
173 if x != nil {
174 return x.CreateTime
175 }
176 return nil
177 }
178
179 func (x *Version) GetUpdateTime() *timestamppb.Timestamp {
180 if x != nil {
181 return x.UpdateTime
182 }
183 return nil
184 }
185
186 func (x *Version) GetRelatedTags() []*Tag {
187 if x != nil {
188 return x.RelatedTags
189 }
190 return nil
191 }
192
193 func (x *Version) GetMetadata() *structpb.Struct {
194 if x != nil {
195 return x.Metadata
196 }
197 return nil
198 }
199
200
201 type ListVersionsRequest struct {
202 state protoimpl.MessageState
203 sizeCache protoimpl.SizeCache
204 unknownFields protoimpl.UnknownFields
205
206
207 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
208
209 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
210
211 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
212
213 View VersionView `protobuf:"varint,4,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1.VersionView" json:"view,omitempty"`
214
215 OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
216 }
217
218 func (x *ListVersionsRequest) Reset() {
219 *x = ListVersionsRequest{}
220 if protoimpl.UnsafeEnabled {
221 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[1]
222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
223 ms.StoreMessageInfo(mi)
224 }
225 }
226
227 func (x *ListVersionsRequest) String() string {
228 return protoimpl.X.MessageStringOf(x)
229 }
230
231 func (*ListVersionsRequest) ProtoMessage() {}
232
233 func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message {
234 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[1]
235 if protoimpl.UnsafeEnabled && x != nil {
236 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
237 if ms.LoadMessageInfo() == nil {
238 ms.StoreMessageInfo(mi)
239 }
240 return ms
241 }
242 return mi.MessageOf(x)
243 }
244
245
246 func (*ListVersionsRequest) Descriptor() ([]byte, []int) {
247 return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{1}
248 }
249
250 func (x *ListVersionsRequest) GetParent() string {
251 if x != nil {
252 return x.Parent
253 }
254 return ""
255 }
256
257 func (x *ListVersionsRequest) GetPageSize() int32 {
258 if x != nil {
259 return x.PageSize
260 }
261 return 0
262 }
263
264 func (x *ListVersionsRequest) GetPageToken() string {
265 if x != nil {
266 return x.PageToken
267 }
268 return ""
269 }
270
271 func (x *ListVersionsRequest) GetView() VersionView {
272 if x != nil {
273 return x.View
274 }
275 return VersionView_VERSION_VIEW_UNSPECIFIED
276 }
277
278 func (x *ListVersionsRequest) GetOrderBy() string {
279 if x != nil {
280 return x.OrderBy
281 }
282 return ""
283 }
284
285
286 type ListVersionsResponse struct {
287 state protoimpl.MessageState
288 sizeCache protoimpl.SizeCache
289 unknownFields protoimpl.UnknownFields
290
291
292 Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
293
294
295 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
296 }
297
298 func (x *ListVersionsResponse) Reset() {
299 *x = ListVersionsResponse{}
300 if protoimpl.UnsafeEnabled {
301 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[2]
302 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
303 ms.StoreMessageInfo(mi)
304 }
305 }
306
307 func (x *ListVersionsResponse) String() string {
308 return protoimpl.X.MessageStringOf(x)
309 }
310
311 func (*ListVersionsResponse) ProtoMessage() {}
312
313 func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message {
314 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[2]
315 if protoimpl.UnsafeEnabled && x != nil {
316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
317 if ms.LoadMessageInfo() == nil {
318 ms.StoreMessageInfo(mi)
319 }
320 return ms
321 }
322 return mi.MessageOf(x)
323 }
324
325
326 func (*ListVersionsResponse) Descriptor() ([]byte, []int) {
327 return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{2}
328 }
329
330 func (x *ListVersionsResponse) GetVersions() []*Version {
331 if x != nil {
332 return x.Versions
333 }
334 return nil
335 }
336
337 func (x *ListVersionsResponse) GetNextPageToken() string {
338 if x != nil {
339 return x.NextPageToken
340 }
341 return ""
342 }
343
344
345 type GetVersionRequest struct {
346 state protoimpl.MessageState
347 sizeCache protoimpl.SizeCache
348 unknownFields protoimpl.UnknownFields
349
350
351 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
352
353 View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1.VersionView" json:"view,omitempty"`
354 }
355
356 func (x *GetVersionRequest) Reset() {
357 *x = GetVersionRequest{}
358 if protoimpl.UnsafeEnabled {
359 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[3]
360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
361 ms.StoreMessageInfo(mi)
362 }
363 }
364
365 func (x *GetVersionRequest) String() string {
366 return protoimpl.X.MessageStringOf(x)
367 }
368
369 func (*GetVersionRequest) ProtoMessage() {}
370
371 func (x *GetVersionRequest) ProtoReflect() protoreflect.Message {
372 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[3]
373 if protoimpl.UnsafeEnabled && x != nil {
374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
375 if ms.LoadMessageInfo() == nil {
376 ms.StoreMessageInfo(mi)
377 }
378 return ms
379 }
380 return mi.MessageOf(x)
381 }
382
383
384 func (*GetVersionRequest) Descriptor() ([]byte, []int) {
385 return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{3}
386 }
387
388 func (x *GetVersionRequest) GetName() string {
389 if x != nil {
390 return x.Name
391 }
392 return ""
393 }
394
395 func (x *GetVersionRequest) GetView() VersionView {
396 if x != nil {
397 return x.View
398 }
399 return VersionView_VERSION_VIEW_UNSPECIFIED
400 }
401
402
403 type DeleteVersionRequest struct {
404 state protoimpl.MessageState
405 sizeCache protoimpl.SizeCache
406 unknownFields protoimpl.UnknownFields
407
408
409 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
410
411
412 Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
413 }
414
415 func (x *DeleteVersionRequest) Reset() {
416 *x = DeleteVersionRequest{}
417 if protoimpl.UnsafeEnabled {
418 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[4]
419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
420 ms.StoreMessageInfo(mi)
421 }
422 }
423
424 func (x *DeleteVersionRequest) String() string {
425 return protoimpl.X.MessageStringOf(x)
426 }
427
428 func (*DeleteVersionRequest) ProtoMessage() {}
429
430 func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message {
431 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[4]
432 if protoimpl.UnsafeEnabled && x != nil {
433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
434 if ms.LoadMessageInfo() == nil {
435 ms.StoreMessageInfo(mi)
436 }
437 return ms
438 }
439 return mi.MessageOf(x)
440 }
441
442
443 func (*DeleteVersionRequest) Descriptor() ([]byte, []int) {
444 return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{4}
445 }
446
447 func (x *DeleteVersionRequest) GetName() string {
448 if x != nil {
449 return x.Name
450 }
451 return ""
452 }
453
454 func (x *DeleteVersionRequest) GetForce() bool {
455 if x != nil {
456 return x.Force
457 }
458 return false
459 }
460
461
462 type BatchDeleteVersionsRequest struct {
463 state protoimpl.MessageState
464 sizeCache protoimpl.SizeCache
465 unknownFields protoimpl.UnknownFields
466
467
468 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
469
470
471 Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
472
473 ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
474 }
475
476 func (x *BatchDeleteVersionsRequest) Reset() {
477 *x = BatchDeleteVersionsRequest{}
478 if protoimpl.UnsafeEnabled {
479 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[5]
480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
481 ms.StoreMessageInfo(mi)
482 }
483 }
484
485 func (x *BatchDeleteVersionsRequest) String() string {
486 return protoimpl.X.MessageStringOf(x)
487 }
488
489 func (*BatchDeleteVersionsRequest) ProtoMessage() {}
490
491 func (x *BatchDeleteVersionsRequest) ProtoReflect() protoreflect.Message {
492 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[5]
493 if protoimpl.UnsafeEnabled && x != nil {
494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
495 if ms.LoadMessageInfo() == nil {
496 ms.StoreMessageInfo(mi)
497 }
498 return ms
499 }
500 return mi.MessageOf(x)
501 }
502
503
504 func (*BatchDeleteVersionsRequest) Descriptor() ([]byte, []int) {
505 return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{5}
506 }
507
508 func (x *BatchDeleteVersionsRequest) GetParent() string {
509 if x != nil {
510 return x.Parent
511 }
512 return ""
513 }
514
515 func (x *BatchDeleteVersionsRequest) GetNames() []string {
516 if x != nil {
517 return x.Names
518 }
519 return nil
520 }
521
522 func (x *BatchDeleteVersionsRequest) GetValidateOnly() bool {
523 if x != nil {
524 return x.ValidateOnly
525 }
526 return false
527 }
528
529
530 type BatchDeleteVersionsMetadata struct {
531 state protoimpl.MessageState
532 sizeCache protoimpl.SizeCache
533 unknownFields protoimpl.UnknownFields
534
535
536 FailedVersions []string `protobuf:"bytes,2,rep,name=failed_versions,json=failedVersions,proto3" json:"failed_versions,omitempty"`
537 }
538
539 func (x *BatchDeleteVersionsMetadata) Reset() {
540 *x = BatchDeleteVersionsMetadata{}
541 if protoimpl.UnsafeEnabled {
542 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[6]
543 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
544 ms.StoreMessageInfo(mi)
545 }
546 }
547
548 func (x *BatchDeleteVersionsMetadata) String() string {
549 return protoimpl.X.MessageStringOf(x)
550 }
551
552 func (*BatchDeleteVersionsMetadata) ProtoMessage() {}
553
554 func (x *BatchDeleteVersionsMetadata) ProtoReflect() protoreflect.Message {
555 mi := &file_google_devtools_artifactregistry_v1_version_proto_msgTypes[6]
556 if protoimpl.UnsafeEnabled && x != nil {
557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
558 if ms.LoadMessageInfo() == nil {
559 ms.StoreMessageInfo(mi)
560 }
561 return ms
562 }
563 return mi.MessageOf(x)
564 }
565
566
567 func (*BatchDeleteVersionsMetadata) Descriptor() ([]byte, []int) {
568 return file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP(), []int{6}
569 }
570
571 func (x *BatchDeleteVersionsMetadata) GetFailedVersions() []string {
572 if x != nil {
573 return x.FailedVersions
574 }
575 return nil
576 }
577
578 var File_google_devtools_artifactregistry_v1_version_proto protoreflect.FileDescriptor
579
580 var file_google_devtools_artifactregistry_v1_version_proto_rawDesc = []byte{
581 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
582 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
583 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
584 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
585 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
586 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
587 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
588 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
589 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
590 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76,
591 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65,
592 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72,
593 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
594 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
595 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
596 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
597 0x74, 0x6f, 0x22, 0xd9, 0x03, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12,
598 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
599 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
600 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
601 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74,
602 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
603 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
604 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
605 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
606 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
607 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
608 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4b,
609 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07,
610 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
611 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72,
612 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x0b,
613 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x54, 0x61, 0x67, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x6d,
614 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
615 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
616 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x6d, 0x65, 0x74,
617 0x61, 0x64, 0x61, 0x74, 0x61, 0x3a, 0x96, 0x01, 0xea, 0x41, 0x92, 0x01, 0x0a, 0x27, 0x61, 0x72,
618 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67,
619 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x65,
620 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x67, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
621 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
622 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72,
623 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70,
624 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
625 0x73, 0x2f, 0x7b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x7d, 0x2f, 0x76, 0x65, 0x72, 0x73,
626 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xcf,
627 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52,
628 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
629 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b,
630 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
631 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
632 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
633 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x44, 0x0a, 0x04, 0x76, 0x69,
634 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
635 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66,
636 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56,
637 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77,
638 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01,
639 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79,
640 0x22, 0x88, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
641 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x08, 0x76, 0x65, 0x72,
642 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f,
643 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72,
644 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76,
645 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69,
646 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
647 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
648 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6d, 0x0a, 0x11, 0x47,
649 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
650 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
651 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01,
652 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
653 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
654 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
655 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0x40, 0x0a, 0x14, 0x44, 0x65,
656 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
657 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
658 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18,
659 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0xce, 0x01, 0x0a,
660 0x1a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73,
661 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x70,
662 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x41, 0x29,
663 0x12, 0x27, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
664 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
665 0x6d, 0x2f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
666 0x74, 0x12, 0x45, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
667 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
668 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
669 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
670 0x6e, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69,
671 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
672 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x46, 0x0a,
673 0x1b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73,
674 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x27, 0x0a, 0x0f,
675 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18,
676 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x56, 0x65, 0x72,
677 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2a, 0x40, 0x0a, 0x0b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
678 0x56, 0x69, 0x65, 0x77, 0x12, 0x1c, 0x0a, 0x18, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f,
679 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
680 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x08, 0x0a,
681 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x42, 0xf7, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e,
682 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e,
683 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
684 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74,
685 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
686 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
687 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f,
688 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
689 0x70, 0x62, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73,
690 0x74, 0x72, 0x79, 0x70, 0x62, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
691 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67,
692 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
693 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
694 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f,
695 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74,
696 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56,
697 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
698 }
699
700 var (
701 file_google_devtools_artifactregistry_v1_version_proto_rawDescOnce sync.Once
702 file_google_devtools_artifactregistry_v1_version_proto_rawDescData = file_google_devtools_artifactregistry_v1_version_proto_rawDesc
703 )
704
705 func file_google_devtools_artifactregistry_v1_version_proto_rawDescGZIP() []byte {
706 file_google_devtools_artifactregistry_v1_version_proto_rawDescOnce.Do(func() {
707 file_google_devtools_artifactregistry_v1_version_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_version_proto_rawDescData)
708 })
709 return file_google_devtools_artifactregistry_v1_version_proto_rawDescData
710 }
711
712 var file_google_devtools_artifactregistry_v1_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
713 var file_google_devtools_artifactregistry_v1_version_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
714 var file_google_devtools_artifactregistry_v1_version_proto_goTypes = []interface{}{
715 (VersionView)(0),
716 (*Version)(nil),
717 (*ListVersionsRequest)(nil),
718 (*ListVersionsResponse)(nil),
719 (*GetVersionRequest)(nil),
720 (*DeleteVersionRequest)(nil),
721 (*BatchDeleteVersionsRequest)(nil),
722 (*BatchDeleteVersionsMetadata)(nil),
723 (*timestamppb.Timestamp)(nil),
724 (*Tag)(nil),
725 (*structpb.Struct)(nil),
726 }
727 var file_google_devtools_artifactregistry_v1_version_proto_depIdxs = []int32{
728 8,
729 8,
730 9,
731 10,
732 0,
733 1,
734 0,
735 7,
736 7,
737 7,
738 7,
739 0,
740 }
741
742 func init() { file_google_devtools_artifactregistry_v1_version_proto_init() }
743 func file_google_devtools_artifactregistry_v1_version_proto_init() {
744 if File_google_devtools_artifactregistry_v1_version_proto != nil {
745 return
746 }
747 file_google_devtools_artifactregistry_v1_tag_proto_init()
748 if !protoimpl.UnsafeEnabled {
749 file_google_devtools_artifactregistry_v1_version_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
750 switch v := v.(*Version); i {
751 case 0:
752 return &v.state
753 case 1:
754 return &v.sizeCache
755 case 2:
756 return &v.unknownFields
757 default:
758 return nil
759 }
760 }
761 file_google_devtools_artifactregistry_v1_version_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
762 switch v := v.(*ListVersionsRequest); i {
763 case 0:
764 return &v.state
765 case 1:
766 return &v.sizeCache
767 case 2:
768 return &v.unknownFields
769 default:
770 return nil
771 }
772 }
773 file_google_devtools_artifactregistry_v1_version_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
774 switch v := v.(*ListVersionsResponse); i {
775 case 0:
776 return &v.state
777 case 1:
778 return &v.sizeCache
779 case 2:
780 return &v.unknownFields
781 default:
782 return nil
783 }
784 }
785 file_google_devtools_artifactregistry_v1_version_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
786 switch v := v.(*GetVersionRequest); i {
787 case 0:
788 return &v.state
789 case 1:
790 return &v.sizeCache
791 case 2:
792 return &v.unknownFields
793 default:
794 return nil
795 }
796 }
797 file_google_devtools_artifactregistry_v1_version_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
798 switch v := v.(*DeleteVersionRequest); i {
799 case 0:
800 return &v.state
801 case 1:
802 return &v.sizeCache
803 case 2:
804 return &v.unknownFields
805 default:
806 return nil
807 }
808 }
809 file_google_devtools_artifactregistry_v1_version_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
810 switch v := v.(*BatchDeleteVersionsRequest); i {
811 case 0:
812 return &v.state
813 case 1:
814 return &v.sizeCache
815 case 2:
816 return &v.unknownFields
817 default:
818 return nil
819 }
820 }
821 file_google_devtools_artifactregistry_v1_version_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
822 switch v := v.(*BatchDeleteVersionsMetadata); i {
823 case 0:
824 return &v.state
825 case 1:
826 return &v.sizeCache
827 case 2:
828 return &v.unknownFields
829 default:
830 return nil
831 }
832 }
833 }
834 type x struct{}
835 out := protoimpl.TypeBuilder{
836 File: protoimpl.DescBuilder{
837 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
838 RawDescriptor: file_google_devtools_artifactregistry_v1_version_proto_rawDesc,
839 NumEnums: 1,
840 NumMessages: 7,
841 NumExtensions: 0,
842 NumServices: 0,
843 },
844 GoTypes: file_google_devtools_artifactregistry_v1_version_proto_goTypes,
845 DependencyIndexes: file_google_devtools_artifactregistry_v1_version_proto_depIdxs,
846 EnumInfos: file_google_devtools_artifactregistry_v1_version_proto_enumTypes,
847 MessageInfos: file_google_devtools_artifactregistry_v1_version_proto_msgTypes,
848 }.Build()
849 File_google_devtools_artifactregistry_v1_version_proto = out.File
850 file_google_devtools_artifactregistry_v1_version_proto_rawDesc = nil
851 file_google_devtools_artifactregistry_v1_version_proto_goTypes = nil
852 file_google_devtools_artifactregistry_v1_version_proto_depIdxs = nil
853 }
854
View as plain text