Debian Codegraph @

artifactregistry/apiv1beta2/artifactregistrypb/version.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/version.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 structpb "google.golang.org/protobuf/types/known/structpb"
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 // The view, which determines what version information is returned in a
41 // response.
42 type VersionView int32
43
44 const (
45 // The default / unset value.
46 // The API will default to the BASIC view.
47 VersionView_VERSION_VIEW_UNSPECIFIED VersionView = 0
48 // Includes basic information about the version, but not any related tags.
49 VersionView_BASIC VersionView = 1
50 // Include everything.
51 VersionView_FULL VersionView = 2
52 )
53
54 // Enum value maps for VersionView.
55 var (
56 VersionView_name = map[int32]string{
57 0: "VERSION_VIEW_UNSPECIFIED",
58 1: "BASIC",
59 2: "FULL",
60 }
61 VersionView_value = map[string]int32{
62 "VERSION_VIEW_UNSPECIFIED": 0,
63 "BASIC": 1,
64 "FULL": 2,
65 }
66 )
67
68 func (x VersionView) Enum() *VersionView {
69 p := new(VersionView)
70 *p = x
71 return p
72 }
73
74 func (x VersionView) String() string {
75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
76 }
77
78 func (VersionView) Descriptor() protoreflect.EnumDescriptor {
79 return file_google_devtools_artifactregistry_v1beta2_version_proto_enumTypes[0].Descriptor()
80 }
81
82 func (VersionView) Type() protoreflect.EnumType {
83 return &file_google_devtools_artifactregistry_v1beta2_version_proto_enumTypes[0]
84 }
85
86 func (x VersionView) Number() protoreflect.EnumNumber {
87 return protoreflect.EnumNumber(x)
88 }
89
90 // Deprecated: Use VersionView.Descriptor instead.
91 func (VersionView) EnumDescriptor() ([]byte, []int) {
92 return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{0}
93 }
94
95 // The body of a version resource. A version resource represents a
96 // collection of components, such as files and other data. This may correspond
97 // to a version in many package management schemes.
98 type Version struct {
99 state protoimpl.MessageState
100 sizeCache protoimpl.SizeCache
101 unknownFields protoimpl.UnknownFields
102
103 // The name of the version, for example:
104 // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
105 // If the package or version ID parts contain slashes, the slashes are
106 // escaped.
107 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
108 // Optional. Description of the version, as specified in its metadata.
109 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
110 // The time when the version was created.
111 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
112 // The time when the version was last updated.
113 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
114 // Output only. A list of related tags. Will contain up to 100 tags that
115 // reference this version.
116 RelatedTags []*Tag `protobuf:"bytes,7,rep,name=related_tags,json=relatedTags,proto3" json:"related_tags,omitempty"`
117 // Output only. Repository-specific Metadata stored against this version.
118 // The fields returned are defined by the underlying repository-specific
119 // resource. Currently, the only resource in use is
120 // [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
121 Metadata *structpb.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
122 }
123
124 func (x *Version) Reset() {
125 *x = Version{}
126 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[0]
127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128 ms.StoreMessageInfo(mi)
129 }
130
131 func (x *Version) String() string {
132 return protoimpl.X.MessageStringOf(x)
133 }
134
135 func (*Version) ProtoMessage() {}
136
137 func (x *Version) ProtoReflect() protoreflect.Message {
138 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[0]
139 if x != nil {
140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
141 if ms.LoadMessageInfo() == nil {
142 ms.StoreMessageInfo(mi)
143 }
144 return ms
145 }
146 return mi.MessageOf(x)
147 }
148
149 // Deprecated: Use Version.ProtoReflect.Descriptor instead.
150 func (*Version) Descriptor() ([]byte, []int) {
151 return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{0}
152 }
153
154 func (x *Version) GetName() string {
155 if x != nil {
156 return x.Name
157 }
158 return ""
159 }
160
161 func (x *Version) GetDescription() string {
162 if x != nil {
163 return x.Description
164 }
165 return ""
166 }
167
168 func (x *Version) GetCreateTime() *timestamppb.Timestamp {
169 if x != nil {
170 return x.CreateTime
171 }
172 return nil
173 }
174
175 func (x *Version) GetUpdateTime() *timestamppb.Timestamp {
176 if x != nil {
177 return x.UpdateTime
178 }
179 return nil
180 }
181
182 func (x *Version) GetRelatedTags() []*Tag {
183 if x != nil {
184 return x.RelatedTags
185 }
186 return nil
187 }
188
189 func (x *Version) GetMetadata() *structpb.Struct {
190 if x != nil {
191 return x.Metadata
192 }
193 return nil
194 }
195
196 // The request to list versions.
197 type ListVersionsRequest struct {
198 state protoimpl.MessageState
199 sizeCache protoimpl.SizeCache
200 unknownFields protoimpl.UnknownFields
201
202 // The name of the parent resource whose versions will be listed.
203 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
204 // The maximum number of versions to return. Maximum page size is 1,000.
205 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
206 // The next_page_token value returned from a previous list request, if any.
207 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
208 // The view that should be returned in the response.
209 View VersionView `protobuf:"varint,4,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1beta2.VersionView" json:"view,omitempty"`
210 // Optional. The field to order the results by.
211 OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
212 }
213
214 func (x *ListVersionsRequest) Reset() {
215 *x = ListVersionsRequest{}
216 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[1]
217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
218 ms.StoreMessageInfo(mi)
219 }
220
221 func (x *ListVersionsRequest) String() string {
222 return protoimpl.X.MessageStringOf(x)
223 }
224
225 func (*ListVersionsRequest) ProtoMessage() {}
226
227 func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message {
228 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[1]
229 if x != nil {
230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
231 if ms.LoadMessageInfo() == nil {
232 ms.StoreMessageInfo(mi)
233 }
234 return ms
235 }
236 return mi.MessageOf(x)
237 }
238
239 // Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
240 func (*ListVersionsRequest) Descriptor() ([]byte, []int) {
241 return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{1}
242 }
243
244 func (x *ListVersionsRequest) GetParent() string {
245 if x != nil {
246 return x.Parent
247 }
248 return ""
249 }
250
251 func (x *ListVersionsRequest) GetPageSize() int32 {
252 if x != nil {
253 return x.PageSize
254 }
255 return 0
256 }
257
258 func (x *ListVersionsRequest) GetPageToken() string {
259 if x != nil {
260 return x.PageToken
261 }
262 return ""
263 }
264
265 func (x *ListVersionsRequest) GetView() VersionView {
266 if x != nil {
267 return x.View
268 }
269 return VersionView_VERSION_VIEW_UNSPECIFIED
270 }
271
272 func (x *ListVersionsRequest) GetOrderBy() string {
273 if x != nil {
274 return x.OrderBy
275 }
276 return ""
277 }
278
279 // The response from listing versions.
280 type ListVersionsResponse struct {
281 state protoimpl.MessageState
282 sizeCache protoimpl.SizeCache
283 unknownFields protoimpl.UnknownFields
284
285 // The versions returned.
286 Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
287 // The token to retrieve the next page of versions, or empty if there are no
288 // more versions to return.
289 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
290 }
291
292 func (x *ListVersionsResponse) Reset() {
293 *x = ListVersionsResponse{}
294 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[2]
295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
296 ms.StoreMessageInfo(mi)
297 }
298
299 func (x *ListVersionsResponse) String() string {
300 return protoimpl.X.MessageStringOf(x)
301 }
302
303 func (*ListVersionsResponse) ProtoMessage() {}
304
305 func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message {
306 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[2]
307 if x != nil {
308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309 if ms.LoadMessageInfo() == nil {
310 ms.StoreMessageInfo(mi)
311 }
312 return ms
313 }
314 return mi.MessageOf(x)
315 }
316
317 // Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
318 func (*ListVersionsResponse) Descriptor() ([]byte, []int) {
319 return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{2}
320 }
321
322 func (x *ListVersionsResponse) GetVersions() []*Version {
323 if x != nil {
324 return x.Versions
325 }
326 return nil
327 }
328
329 func (x *ListVersionsResponse) GetNextPageToken() string {
330 if x != nil {
331 return x.NextPageToken
332 }
333 return ""
334 }
335
336 // The request to retrieve a version.
337 type GetVersionRequest struct {
338 state protoimpl.MessageState
339 sizeCache protoimpl.SizeCache
340 unknownFields protoimpl.UnknownFields
341
342 // The name of the version to retrieve.
343 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
344 // The view that should be returned in the response.
345 View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1beta2.VersionView" json:"view,omitempty"`
346 }
347
348 func (x *GetVersionRequest) Reset() {
349 *x = GetVersionRequest{}
350 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[3]
351 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
352 ms.StoreMessageInfo(mi)
353 }
354
355 func (x *GetVersionRequest) String() string {
356 return protoimpl.X.MessageStringOf(x)
357 }
358
359 func (*GetVersionRequest) ProtoMessage() {}
360
361 func (x *GetVersionRequest) ProtoReflect() protoreflect.Message {
362 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[3]
363 if x != nil {
364 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
365 if ms.LoadMessageInfo() == nil {
366 ms.StoreMessageInfo(mi)
367 }
368 return ms
369 }
370 return mi.MessageOf(x)
371 }
372
373 // Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
374 func (*GetVersionRequest) Descriptor() ([]byte, []int) {
375 return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{3}
376 }
377
378 func (x *GetVersionRequest) GetName() string {
379 if x != nil {
380 return x.Name
381 }
382 return ""
383 }
384
385 func (x *GetVersionRequest) GetView() VersionView {
386 if x != nil {
387 return x.View
388 }
389 return VersionView_VERSION_VIEW_UNSPECIFIED
390 }
391
392 // The request to delete a version.
393 type DeleteVersionRequest struct {
394 state protoimpl.MessageState
395 sizeCache protoimpl.SizeCache
396 unknownFields protoimpl.UnknownFields
397
398 // The name of the version to delete.
399 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
400 // By default, a version that is tagged may not be deleted. If force=true, the
401 // version and any tags pointing to the version are deleted.
402 Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
403 }
404
405 func (x *DeleteVersionRequest) Reset() {
406 *x = DeleteVersionRequest{}
407 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[4]
408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
409 ms.StoreMessageInfo(mi)
410 }
411
412 func (x *DeleteVersionRequest) String() string {
413 return protoimpl.X.MessageStringOf(x)
414 }
415
416 func (*DeleteVersionRequest) ProtoMessage() {}
417
418 func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message {
419 mi := &file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes[4]
420 if x != nil {
421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
422 if ms.LoadMessageInfo() == nil {
423 ms.StoreMessageInfo(mi)
424 }
425 return ms
426 }
427 return mi.MessageOf(x)
428 }
429
430 // Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
431 func (*DeleteVersionRequest) Descriptor() ([]byte, []int) {
432 return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP(), []int{4}
433 }
434
435 func (x *DeleteVersionRequest) GetName() string {
436 if x != nil {
437 return x.Name
438 }
439 return ""
440 }
441
442 func (x *DeleteVersionRequest) GetForce() bool {
443 if x != nil {
444 return x.Force
445 }
446 return false
447 }
448
449 var File_google_devtools_artifactregistry_v1beta2_version_proto protoreflect.FileDescriptor
450
451 var file_google_devtools_artifactregistry_v1beta2_version_proto_rawDesc = []byte{
452 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
453 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
454 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69,
455 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
456 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
457 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
458 0x61, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
459 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
460 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
461 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32,
462 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f,
463 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
464 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x74, 0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f,
465 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
466 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
467 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
468 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
469 0x6f, 0x22, 0xde, 0x03, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
470 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
471 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
472 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
473 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69,
474 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
475 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
476 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
477 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
478 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
479 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
480 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x50, 0x0a,
481 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20,
482 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
483 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65,
484 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54,
485 0x61, 0x67, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x54, 0x61, 0x67, 0x73, 0x12,
486 0x38, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28,
487 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
488 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
489 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x3a, 0x96, 0x01, 0xea, 0x41, 0x92, 0x01,
490 0x0a, 0x27, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
491 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
492 0x6d, 0x2f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x67, 0x70, 0x72, 0x6f, 0x6a, 0x65,
493 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f,
494 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
495 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f,
496 0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x70, 0x61, 0x63,
497 0x6b, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x7b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x7d, 0x2f,
498 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
499 0x6e, 0x7d, 0x22, 0xd4, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69,
500 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61,
501 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
502 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
503 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
504 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20,
505 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x49,
506 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x67,
507 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61,
508 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e,
509 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56,
510 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x72, 0x64,
511 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
512 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0x8d, 0x01, 0x0a, 0x14, 0x4c, 0x69,
513 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
514 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01,
515 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
516 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72,
517 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
518 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
519 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
520 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74,
521 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x72, 0x0a, 0x11, 0x47, 0x65, 0x74,
522 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
523 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
524 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
525 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
526 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73,
527 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x65, 0x72, 0x73,
528 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0x40, 0x0a,
529 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65,
530 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
531 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72,
532 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x2a,
533 0x40, 0x0a, 0x0b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1c,
534 0x0a, 0x18, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55,
535 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05,
536 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10,
537 0x02, 0x42, 0x90, 0x02, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
538 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
539 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
540 0x61, 0x32, 0x42, 0x0c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
541 0x50, 0x01, 0x5a, 0x55, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
542 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
543 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65,
544 0x74, 0x61, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69,
545 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72,
546 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67,
547 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
548 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61,
549 0x32, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
550 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
551 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67,
552 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66,
553 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62,
554 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
555 }
556
557 var (
558 file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescOnce sync.Once
559 file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescData = file_google_devtools_artifactregistry_v1beta2_version_proto_rawDesc
560 )
561
562 func file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescGZIP() []byte {
563 file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescOnce.Do(func() {
564 file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescData)
565 })
566 return file_google_devtools_artifactregistry_v1beta2_version_proto_rawDescData
567 }
568
569 var file_google_devtools_artifactregistry_v1beta2_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
570 var file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
571 var file_google_devtools_artifactregistry_v1beta2_version_proto_goTypes = []any{
572 (VersionView)(0), // 0: google.devtools.artifactregistry.v1beta2.VersionView
573 (*Version)(nil), // 1: google.devtools.artifactregistry.v1beta2.Version
574 (*ListVersionsRequest)(nil), // 2: google.devtools.artifactregistry.v1beta2.ListVersionsRequest
575 (*ListVersionsResponse)(nil), // 3: google.devtools.artifactregistry.v1beta2.ListVersionsResponse
576 (*GetVersionRequest)(nil), // 4: google.devtools.artifactregistry.v1beta2.GetVersionRequest
577 (*DeleteVersionRequest)(nil), // 5: google.devtools.artifactregistry.v1beta2.DeleteVersionRequest
578 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
579 (*Tag)(nil), // 7: google.devtools.artifactregistry.v1beta2.Tag
580 (*structpb.Struct)(nil), // 8: google.protobuf.Struct
581 }
582 var file_google_devtools_artifactregistry_v1beta2_version_proto_depIdxs = []int32{
583 6, // 0: google.devtools.artifactregistry.v1beta2.Version.create_time:type_name -> google.protobuf.Timestamp
584 6, // 1: google.devtools.artifactregistry.v1beta2.Version.update_time:type_name -> google.protobuf.Timestamp
585 7, // 2: google.devtools.artifactregistry.v1beta2.Version.related_tags:type_name -> google.devtools.artifactregistry.v1beta2.Tag
586 8, // 3: google.devtools.artifactregistry.v1beta2.Version.metadata:type_name -> google.protobuf.Struct
587 0, // 4: google.devtools.artifactregistry.v1beta2.ListVersionsRequest.view:type_name -> google.devtools.artifactregistry.v1beta2.VersionView
588 1, // 5: google.devtools.artifactregistry.v1beta2.ListVersionsResponse.versions:type_name -> google.devtools.artifactregistry.v1beta2.Version
589 0, // 6: google.devtools.artifactregistry.v1beta2.GetVersionRequest.view:type_name -> google.devtools.artifactregistry.v1beta2.VersionView
590 7, // [7:7] is the sub-list for method output_type
591 7, // [7:7] is the sub-list for method input_type
592 7, // [7:7] is the sub-list for extension type_name
593 7, // [7:7] is the sub-list for extension extendee
594 0, // [0:7] is the sub-list for field type_name
595 }
596
597 func init() { file_google_devtools_artifactregistry_v1beta2_version_proto_init() }
598 func file_google_devtools_artifactregistry_v1beta2_version_proto_init() {
599 if File_google_devtools_artifactregistry_v1beta2_version_proto != nil {
600 return
601 }
602 file_google_devtools_artifactregistry_v1beta2_tag_proto_init()
603 type x struct{}
604 out := protoimpl.TypeBuilder{
605 File: protoimpl.DescBuilder{
606 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
607 RawDescriptor: file_google_devtools_artifactregistry_v1beta2_version_proto_rawDesc,
608 NumEnums: 1,
609 NumMessages: 5,
610 NumExtensions: 0,
611 NumServices: 0,
612 },
613 GoTypes: file_google_devtools_artifactregistry_v1beta2_version_proto_goTypes,
614 DependencyIndexes: file_google_devtools_artifactregistry_v1beta2_version_proto_depIdxs,
615 EnumInfos: file_google_devtools_artifactregistry_v1beta2_version_proto_enumTypes,
616 MessageInfos: file_google_devtools_artifactregistry_v1beta2_version_proto_msgTypes,
617 }.Build()
618 File_google_devtools_artifactregistry_v1beta2_version_proto = out.File
619 file_google_devtools_artifactregistry_v1beta2_version_proto_rawDesc = nil
620 file_google_devtools_artifactregistry_v1beta2_version_proto_goTypes = nil
621 file_google_devtools_artifactregistry_v1beta2_version_proto_depIdxs = nil
622 }