Debian Codegraph @

artifactregistry/apiv1/artifactregistrypb/attachment.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/v1/attachment.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // An Attachment refers to additional metadata that can be attached to
40 // artifacts in Artifact Registry. An attachment consists of one or more files.
41 type Attachment struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // The name of the attachment. E.g.
47 // `projects/p1/locations/us/repositories/repo/attachments/sbom`.
48 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
49 // Required. The target the attachment is for, can be a Version, Package or
50 // Repository. E.g.
51 // `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.
52 Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
53 // Type of attachment.
54 // E.g. `application/vnd.spdx+json`
55 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
56 // The namespace this attachment belongs to.
57 // E.g. If an attachment is created by artifact analysis, namespace is set
58 // to `artifactanalysis.googleapis.com`.
59 AttachmentNamespace string `protobuf:"bytes,4,opt,name=attachment_namespace,json=attachmentNamespace,proto3" json:"attachment_namespace,omitempty"`
60 // Optional. User annotations. These attributes can only be set and used by
61 // the user, and not by Artifact Registry. See
62 // https://google.aip.dev/128#annotations for more details such as format and
63 // size limitations.
64 Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
65 // Output only. The time when the attachment was created.
66 CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
67 // Output only. The time when the attachment was last updated.
68 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
69 // Required. The files that belong to this attachment.
70 // If the file ID part contains slashes, they are escaped. E.g.
71 // `projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>`.
72 Files []string `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"`
73 // Output only. The name of the OCI version that this attachment created. Only
74 // populated for Docker attachments. E.g.
75 // `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.
76 OciVersionName string `protobuf:"bytes,9,opt,name=oci_version_name,json=ociVersionName,proto3" json:"oci_version_name,omitempty"`
77 }
78
79 func (x *Attachment) Reset() {
80 *x = Attachment{}
81 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[0]
82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
83 ms.StoreMessageInfo(mi)
84 }
85
86 func (x *Attachment) String() string {
87 return protoimpl.X.MessageStringOf(x)
88 }
89
90 func (*Attachment) ProtoMessage() {}
91
92 func (x *Attachment) ProtoReflect() protoreflect.Message {
93 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[0]
94 if x != nil {
95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
96 if ms.LoadMessageInfo() == nil {
97 ms.StoreMessageInfo(mi)
98 }
99 return ms
100 }
101 return mi.MessageOf(x)
102 }
103
104 // Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
105 func (*Attachment) Descriptor() ([]byte, []int) {
106 return file_google_devtools_artifactregistry_v1_attachment_proto_rawDescGZIP(), []int{0}
107 }
108
109 func (x *Attachment) GetName() string {
110 if x != nil {
111 return x.Name
112 }
113 return ""
114 }
115
116 func (x *Attachment) GetTarget() string {
117 if x != nil {
118 return x.Target
119 }
120 return ""
121 }
122
123 func (x *Attachment) GetType() string {
124 if x != nil {
125 return x.Type
126 }
127 return ""
128 }
129
130 func (x *Attachment) GetAttachmentNamespace() string {
131 if x != nil {
132 return x.AttachmentNamespace
133 }
134 return ""
135 }
136
137 func (x *Attachment) GetAnnotations() map[string]string {
138 if x != nil {
139 return x.Annotations
140 }
141 return nil
142 }
143
144 func (x *Attachment) GetCreateTime() *timestamppb.Timestamp {
145 if x != nil {
146 return x.CreateTime
147 }
148 return nil
149 }
150
151 func (x *Attachment) GetUpdateTime() *timestamppb.Timestamp {
152 if x != nil {
153 return x.UpdateTime
154 }
155 return nil
156 }
157
158 func (x *Attachment) GetFiles() []string {
159 if x != nil {
160 return x.Files
161 }
162 return nil
163 }
164
165 func (x *Attachment) GetOciVersionName() string {
166 if x != nil {
167 return x.OciVersionName
168 }
169 return ""
170 }
171
172 // The request to list attachments.
173 type ListAttachmentsRequest struct {
174 state protoimpl.MessageState
175 sizeCache protoimpl.SizeCache
176 unknownFields protoimpl.UnknownFields
177
178 // Required. The name of the parent resource whose attachments will be listed.
179 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
180 // Optional. An expression for filtering the results of the request. Filter
181 // rules are case insensitive. The fields eligible for filtering are:
182 //
183 // - `target`
184 // - `type`
185 // - `attachment_namespace`
186 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
187 // The maximum number of attachments to return. Maximum page size is 1,000.
188 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
189 // The next_page_token value returned from a previous list request, if any.
190 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
191 }
192
193 func (x *ListAttachmentsRequest) Reset() {
194 *x = ListAttachmentsRequest{}
195 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[1]
196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197 ms.StoreMessageInfo(mi)
198 }
199
200 func (x *ListAttachmentsRequest) String() string {
201 return protoimpl.X.MessageStringOf(x)
202 }
203
204 func (*ListAttachmentsRequest) ProtoMessage() {}
205
206 func (x *ListAttachmentsRequest) ProtoReflect() protoreflect.Message {
207 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[1]
208 if x != nil {
209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210 if ms.LoadMessageInfo() == nil {
211 ms.StoreMessageInfo(mi)
212 }
213 return ms
214 }
215 return mi.MessageOf(x)
216 }
217
218 // Deprecated: Use ListAttachmentsRequest.ProtoReflect.Descriptor instead.
219 func (*ListAttachmentsRequest) Descriptor() ([]byte, []int) {
220 return file_google_devtools_artifactregistry_v1_attachment_proto_rawDescGZIP(), []int{1}
221 }
222
223 func (x *ListAttachmentsRequest) GetParent() string {
224 if x != nil {
225 return x.Parent
226 }
227 return ""
228 }
229
230 func (x *ListAttachmentsRequest) GetFilter() string {
231 if x != nil {
232 return x.Filter
233 }
234 return ""
235 }
236
237 func (x *ListAttachmentsRequest) GetPageSize() int32 {
238 if x != nil {
239 return x.PageSize
240 }
241 return 0
242 }
243
244 func (x *ListAttachmentsRequest) GetPageToken() string {
245 if x != nil {
246 return x.PageToken
247 }
248 return ""
249 }
250
251 // The response from listing attachments.
252 type ListAttachmentsResponse struct {
253 state protoimpl.MessageState
254 sizeCache protoimpl.SizeCache
255 unknownFields protoimpl.UnknownFields
256
257 // The attachments returned.
258 Attachments []*Attachment `protobuf:"bytes,1,rep,name=attachments,proto3" json:"attachments,omitempty"`
259 // The token to retrieve the next page of attachments, or empty if there are
260 // no more attachments to return.
261 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
262 }
263
264 func (x *ListAttachmentsResponse) Reset() {
265 *x = ListAttachmentsResponse{}
266 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[2]
267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268 ms.StoreMessageInfo(mi)
269 }
270
271 func (x *ListAttachmentsResponse) String() string {
272 return protoimpl.X.MessageStringOf(x)
273 }
274
275 func (*ListAttachmentsResponse) ProtoMessage() {}
276
277 func (x *ListAttachmentsResponse) ProtoReflect() protoreflect.Message {
278 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[2]
279 if x != nil {
280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
281 if ms.LoadMessageInfo() == nil {
282 ms.StoreMessageInfo(mi)
283 }
284 return ms
285 }
286 return mi.MessageOf(x)
287 }
288
289 // Deprecated: Use ListAttachmentsResponse.ProtoReflect.Descriptor instead.
290 func (*ListAttachmentsResponse) Descriptor() ([]byte, []int) {
291 return file_google_devtools_artifactregistry_v1_attachment_proto_rawDescGZIP(), []int{2}
292 }
293
294 func (x *ListAttachmentsResponse) GetAttachments() []*Attachment {
295 if x != nil {
296 return x.Attachments
297 }
298 return nil
299 }
300
301 func (x *ListAttachmentsResponse) GetNextPageToken() string {
302 if x != nil {
303 return x.NextPageToken
304 }
305 return ""
306 }
307
308 // The request to retrieve an attachment.
309 type GetAttachmentRequest struct {
310 state protoimpl.MessageState
311 sizeCache protoimpl.SizeCache
312 unknownFields protoimpl.UnknownFields
313
314 // Required. The name of the attachment to retrieve.
315 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
316 }
317
318 func (x *GetAttachmentRequest) Reset() {
319 *x = GetAttachmentRequest{}
320 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[3]
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 ms.StoreMessageInfo(mi)
323 }
324
325 func (x *GetAttachmentRequest) String() string {
326 return protoimpl.X.MessageStringOf(x)
327 }
328
329 func (*GetAttachmentRequest) ProtoMessage() {}
330
331 func (x *GetAttachmentRequest) ProtoReflect() protoreflect.Message {
332 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[3]
333 if x != nil {
334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
335 if ms.LoadMessageInfo() == nil {
336 ms.StoreMessageInfo(mi)
337 }
338 return ms
339 }
340 return mi.MessageOf(x)
341 }
342
343 // Deprecated: Use GetAttachmentRequest.ProtoReflect.Descriptor instead.
344 func (*GetAttachmentRequest) Descriptor() ([]byte, []int) {
345 return file_google_devtools_artifactregistry_v1_attachment_proto_rawDescGZIP(), []int{3}
346 }
347
348 func (x *GetAttachmentRequest) GetName() string {
349 if x != nil {
350 return x.Name
351 }
352 return ""
353 }
354
355 // The request to create a new attachment.
356 type CreateAttachmentRequest struct {
357 state protoimpl.MessageState
358 sizeCache protoimpl.SizeCache
359 unknownFields protoimpl.UnknownFields
360
361 // Required. The name of the parent resource where the attachment will be
362 // created.
363 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
364 // Required. The attachment id to use for this attachment.
365 AttachmentId string `protobuf:"bytes,2,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"`
366 // Required. The attachment to be created.
367 Attachment *Attachment `protobuf:"bytes,3,opt,name=attachment,proto3" json:"attachment,omitempty"`
368 }
369
370 func (x *CreateAttachmentRequest) Reset() {
371 *x = CreateAttachmentRequest{}
372 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[4]
373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374 ms.StoreMessageInfo(mi)
375 }
376
377 func (x *CreateAttachmentRequest) String() string {
378 return protoimpl.X.MessageStringOf(x)
379 }
380
381 func (*CreateAttachmentRequest) ProtoMessage() {}
382
383 func (x *CreateAttachmentRequest) ProtoReflect() protoreflect.Message {
384 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[4]
385 if x != nil {
386 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
387 if ms.LoadMessageInfo() == nil {
388 ms.StoreMessageInfo(mi)
389 }
390 return ms
391 }
392 return mi.MessageOf(x)
393 }
394
395 // Deprecated: Use CreateAttachmentRequest.ProtoReflect.Descriptor instead.
396 func (*CreateAttachmentRequest) Descriptor() ([]byte, []int) {
397 return file_google_devtools_artifactregistry_v1_attachment_proto_rawDescGZIP(), []int{4}
398 }
399
400 func (x *CreateAttachmentRequest) GetParent() string {
401 if x != nil {
402 return x.Parent
403 }
404 return ""
405 }
406
407 func (x *CreateAttachmentRequest) GetAttachmentId() string {
408 if x != nil {
409 return x.AttachmentId
410 }
411 return ""
412 }
413
414 func (x *CreateAttachmentRequest) GetAttachment() *Attachment {
415 if x != nil {
416 return x.Attachment
417 }
418 return nil
419 }
420
421 // The request to delete an attachment.
422 type DeleteAttachmentRequest struct {
423 state protoimpl.MessageState
424 sizeCache protoimpl.SizeCache
425 unknownFields protoimpl.UnknownFields
426
427 // Required. The name of the attachment to delete.
428 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
429 }
430
431 func (x *DeleteAttachmentRequest) Reset() {
432 *x = DeleteAttachmentRequest{}
433 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[5]
434 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
435 ms.StoreMessageInfo(mi)
436 }
437
438 func (x *DeleteAttachmentRequest) String() string {
439 return protoimpl.X.MessageStringOf(x)
440 }
441
442 func (*DeleteAttachmentRequest) ProtoMessage() {}
443
444 func (x *DeleteAttachmentRequest) ProtoReflect() protoreflect.Message {
445 mi := &file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes[5]
446 if x != nil {
447 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
448 if ms.LoadMessageInfo() == nil {
449 ms.StoreMessageInfo(mi)
450 }
451 return ms
452 }
453 return mi.MessageOf(x)
454 }
455
456 // Deprecated: Use DeleteAttachmentRequest.ProtoReflect.Descriptor instead.
457 func (*DeleteAttachmentRequest) Descriptor() ([]byte, []int) {
458 return file_google_devtools_artifactregistry_v1_attachment_proto_rawDescGZIP(), []int{5}
459 }
460
461 func (x *DeleteAttachmentRequest) GetName() string {
462 if x != nil {
463 return x.Name
464 }
465 return ""
466 }
467
468 var File_google_devtools_artifactregistry_v1_attachment_proto protoreflect.FileDescriptor
469
470 var file_google_devtools_artifactregistry_v1_attachment_proto_rawDesc = []byte{
471 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
472 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
473 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74,
474 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
475 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
476 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
477 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
478 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
479 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
480 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
481 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
482 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x05, 0x0a, 0x0a, 0x41, 0x74, 0x74,
483 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
484 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x74,
485 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
486 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
487 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x31, 0x0a, 0x14,
488 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73,
489 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x61, 0x74, 0x74, 0x61,
490 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12,
491 0x67, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05,
492 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
493 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72,
494 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63,
495 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
496 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x61, 0x6e, 0x6e,
497 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,
498 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
499 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
500 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a,
501 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70,
502 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
503 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
504 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03,
505 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x05,
506 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2c, 0xe0, 0x41, 0x02,
507 0xfa, 0x41, 0x26, 0x0a, 0x24, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
508 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
509 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73,
510 0x12, 0x2d, 0x0a, 0x10, 0x6f, 0x63, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
511 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
512 0x0e, 0x6f, 0x63, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x1a,
513 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e,
514 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
515 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
516 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a,
517 0x8c, 0x01, 0xea, 0x41, 0x88, 0x01, 0x0a, 0x2a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
518 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
519 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65,
520 0x6e, 0x74, 0x12, 0x5a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72,
521 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
522 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f,
523 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69,
524 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74,
525 0x73, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x22, 0xbd,
526 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e,
527 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 0x72,
528 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41,
529 0x2c, 0x12, 0x2a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73,
530 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
531 0x6f, 0x6d, 0x2f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70,
532 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,
533 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74,
534 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
535 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
536 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20,
537 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x94,
538 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e,
539 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0b, 0x61, 0x74,
540 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
541 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
542 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
543 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74,
544 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a,
545 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
546 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65,
547 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x5e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x61,
548 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a,
549 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02,
550 0xfa, 0x41, 0x2c, 0x0a, 0x2a, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
551 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
552 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52,
553 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xe5, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
554 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
555 0x74, 0x12, 0x4a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
556 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x12, 0x2a, 0x61, 0x72, 0x74, 0x69, 0x66,
557 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
558 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x74, 0x74, 0x61, 0x63,
559 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a,
560 0x0d, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,
561 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x61, 0x74, 0x74, 0x61, 0x63,
562 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x61, 0x63,
563 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f,
564 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72,
565 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76,
566 0x31, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41,
567 0x02, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x61, 0x0a,
568 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e,
569 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
570 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2c, 0x0a, 0x2a,
571 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
572 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
573 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
574 0x42, 0xfa, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
575 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
576 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x41, 0x74,
577 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
578 0x50, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
579 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
580 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x74, 0x69,
581 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61,
582 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70,
583 0x62, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
584 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
585 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
586 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69,
587 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
588 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
589 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
590 0x72, 0x6f, 0x74, 0x6f, 0x33,
591 }
592
593 var (
594 file_google_devtools_artifactregistry_v1_attachment_proto_rawDescOnce sync.Once
595 file_google_devtools_artifactregistry_v1_attachment_proto_rawDescData = file_google_devtools_artifactregistry_v1_attachment_proto_rawDesc
596 )
597
598 func file_google_devtools_artifactregistry_v1_attachment_proto_rawDescGZIP() []byte {
599 file_google_devtools_artifactregistry_v1_attachment_proto_rawDescOnce.Do(func() {
600 file_google_devtools_artifactregistry_v1_attachment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_attachment_proto_rawDescData)
601 })
602 return file_google_devtools_artifactregistry_v1_attachment_proto_rawDescData
603 }
604
605 var file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
606 var file_google_devtools_artifactregistry_v1_attachment_proto_goTypes = []any{
607 (*Attachment)(nil), // 0: google.devtools.artifactregistry.v1.Attachment
608 (*ListAttachmentsRequest)(nil), // 1: google.devtools.artifactregistry.v1.ListAttachmentsRequest
609 (*ListAttachmentsResponse)(nil), // 2: google.devtools.artifactregistry.v1.ListAttachmentsResponse
610 (*GetAttachmentRequest)(nil), // 3: google.devtools.artifactregistry.v1.GetAttachmentRequest
611 (*CreateAttachmentRequest)(nil), // 4: google.devtools.artifactregistry.v1.CreateAttachmentRequest
612 (*DeleteAttachmentRequest)(nil), // 5: google.devtools.artifactregistry.v1.DeleteAttachmentRequest
613 nil, // 6: google.devtools.artifactregistry.v1.Attachment.AnnotationsEntry
614 (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
615 }
616 var file_google_devtools_artifactregistry_v1_attachment_proto_depIdxs = []int32{
617 6, // 0: google.devtools.artifactregistry.v1.Attachment.annotations:type_name -> google.devtools.artifactregistry.v1.Attachment.AnnotationsEntry
618 7, // 1: google.devtools.artifactregistry.v1.Attachment.create_time:type_name -> google.protobuf.Timestamp
619 7, // 2: google.devtools.artifactregistry.v1.Attachment.update_time:type_name -> google.protobuf.Timestamp
620 0, // 3: google.devtools.artifactregistry.v1.ListAttachmentsResponse.attachments:type_name -> google.devtools.artifactregistry.v1.Attachment
621 0, // 4: google.devtools.artifactregistry.v1.CreateAttachmentRequest.attachment:type_name -> google.devtools.artifactregistry.v1.Attachment
622 5, // [5:5] is the sub-list for method output_type
623 5, // [5:5] is the sub-list for method input_type
624 5, // [5:5] is the sub-list for extension type_name
625 5, // [5:5] is the sub-list for extension extendee
626 0, // [0:5] is the sub-list for field type_name
627 }
628
629 func init() { file_google_devtools_artifactregistry_v1_attachment_proto_init() }
630 func file_google_devtools_artifactregistry_v1_attachment_proto_init() {
631 if File_google_devtools_artifactregistry_v1_attachment_proto != nil {
632 return
633 }
634 type x struct{}
635 out := protoimpl.TypeBuilder{
636 File: protoimpl.DescBuilder{
637 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
638 RawDescriptor: file_google_devtools_artifactregistry_v1_attachment_proto_rawDesc,
639 NumEnums: 0,
640 NumMessages: 7,
641 NumExtensions: 0,
642 NumServices: 0,
643 },
644 GoTypes: file_google_devtools_artifactregistry_v1_attachment_proto_goTypes,
645 DependencyIndexes: file_google_devtools_artifactregistry_v1_attachment_proto_depIdxs,
646 MessageInfos: file_google_devtools_artifactregistry_v1_attachment_proto_msgTypes,
647 }.Build()
648 File_google_devtools_artifactregistry_v1_attachment_proto = out.File
649 file_google_devtools_artifactregistry_v1_attachment_proto_rawDesc = nil
650 file_google_devtools_artifactregistry_v1_attachment_proto_goTypes = nil
651 file_google_devtools_artifactregistry_v1_attachment_proto_depIdxs = nil
652 }