Debian Codegraph @

artifactregistry/apiv1beta2/artifactregistrypb/file.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/file.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 // The algorithm used to compute the hash.
40 type Hash_HashType int32
41
42 const (
43 // Unspecified.
44 Hash_HASH_TYPE_UNSPECIFIED Hash_HashType = 0
45 // SHA256 hash.
46 Hash_SHA256 Hash_HashType = 1
47 // MD5 hash.
48 Hash_MD5 Hash_HashType = 2
49 )
50
51 // Enum value maps for Hash_HashType.
52 var (
53 Hash_HashType_name = map[int32]string{
54 0: "HASH_TYPE_UNSPECIFIED",
55 1: "SHA256",
56 2: "MD5",
57 }
58 Hash_HashType_value = map[string]int32{
59 "HASH_TYPE_UNSPECIFIED": 0,
60 "SHA256": 1,
61 "MD5": 2,
62 }
63 )
64
65 func (x Hash_HashType) Enum() *Hash_HashType {
66 p := new(Hash_HashType)
67 *p = x
68 return p
69 }
70
71 func (x Hash_HashType) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor {
76 return file_google_devtools_artifactregistry_v1beta2_file_proto_enumTypes[0].Descriptor()
77 }
78
79 func (Hash_HashType) Type() protoreflect.EnumType {
80 return &file_google_devtools_artifactregistry_v1beta2_file_proto_enumTypes[0]
81 }
82
83 func (x Hash_HashType) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87 // Deprecated: Use Hash_HashType.Descriptor instead.
88 func (Hash_HashType) EnumDescriptor() ([]byte, []int) {
89 return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{0, 0}
90 }
91
92 // A hash of file content.
93 type Hash struct {
94 state protoimpl.MessageState
95 sizeCache protoimpl.SizeCache
96 unknownFields protoimpl.UnknownFields
97
98 // The algorithm used to compute the hash value.
99 Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.artifactregistry.v1beta2.Hash_HashType" json:"type,omitempty"`
100 // The hash value.
101 Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
102 }
103
104 func (x *Hash) Reset() {
105 *x = Hash{}
106 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[0]
107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
108 ms.StoreMessageInfo(mi)
109 }
110
111 func (x *Hash) String() string {
112 return protoimpl.X.MessageStringOf(x)
113 }
114
115 func (*Hash) ProtoMessage() {}
116
117 func (x *Hash) ProtoReflect() protoreflect.Message {
118 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[0]
119 if x != nil {
120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121 if ms.LoadMessageInfo() == nil {
122 ms.StoreMessageInfo(mi)
123 }
124 return ms
125 }
126 return mi.MessageOf(x)
127 }
128
129 // Deprecated: Use Hash.ProtoReflect.Descriptor instead.
130 func (*Hash) Descriptor() ([]byte, []int) {
131 return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{0}
132 }
133
134 func (x *Hash) GetType() Hash_HashType {
135 if x != nil {
136 return x.Type
137 }
138 return Hash_HASH_TYPE_UNSPECIFIED
139 }
140
141 func (x *Hash) GetValue() []byte {
142 if x != nil {
143 return x.Value
144 }
145 return nil
146 }
147
148 // Files store content that is potentially associated with Packages or Versions.
149 type File struct {
150 state protoimpl.MessageState
151 sizeCache protoimpl.SizeCache
152 unknownFields protoimpl.UnknownFields
153
154 // The name of the file, for example:
155 // "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
156 // If the file ID part contains slashes, they are escaped.
157 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
158 // The size of the File in bytes.
159 SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
160 // The hashes of the file content.
161 Hashes []*Hash `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"`
162 // The time when the File was created.
163 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
164 // The time when the File was last updated.
165 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
166 // The name of the Package or Version that owns this file, if any.
167 Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"`
168 }
169
170 func (x *File) Reset() {
171 *x = File{}
172 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[1]
173 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
174 ms.StoreMessageInfo(mi)
175 }
176
177 func (x *File) String() string {
178 return protoimpl.X.MessageStringOf(x)
179 }
180
181 func (*File) ProtoMessage() {}
182
183 func (x *File) ProtoReflect() protoreflect.Message {
184 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[1]
185 if x != nil {
186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
187 if ms.LoadMessageInfo() == nil {
188 ms.StoreMessageInfo(mi)
189 }
190 return ms
191 }
192 return mi.MessageOf(x)
193 }
194
195 // Deprecated: Use File.ProtoReflect.Descriptor instead.
196 func (*File) Descriptor() ([]byte, []int) {
197 return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{1}
198 }
199
200 func (x *File) GetName() string {
201 if x != nil {
202 return x.Name
203 }
204 return ""
205 }
206
207 func (x *File) GetSizeBytes() int64 {
208 if x != nil {
209 return x.SizeBytes
210 }
211 return 0
212 }
213
214 func (x *File) GetHashes() []*Hash {
215 if x != nil {
216 return x.Hashes
217 }
218 return nil
219 }
220
221 func (x *File) GetCreateTime() *timestamppb.Timestamp {
222 if x != nil {
223 return x.CreateTime
224 }
225 return nil
226 }
227
228 func (x *File) GetUpdateTime() *timestamppb.Timestamp {
229 if x != nil {
230 return x.UpdateTime
231 }
232 return nil
233 }
234
235 func (x *File) GetOwner() string {
236 if x != nil {
237 return x.Owner
238 }
239 return ""
240 }
241
242 // The request to list files.
243 type ListFilesRequest struct {
244 state protoimpl.MessageState
245 sizeCache protoimpl.SizeCache
246 unknownFields protoimpl.UnknownFields
247
248 // The name of the repository whose files will be listed. For example:
249 // "projects/p1/locations/us-central1/repositories/repo1
250 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
251 // An expression for filtering the results of the request. Filter rules are
252 // case insensitive. The fields eligible for filtering are:
253 //
254 // - `name`
255 //
256 // - `owner`
257 //
258 // An example of using a filter:
259 //
260 // - `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an
261 // ID starting with "a/b/".
262 //
263 // - `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
264 // Files owned by the version `1.0` in package `pkg1`.
265 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
266 // The maximum number of files to return.
267 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
268 // The next_page_token value returned from a previous list request, if any.
269 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
270 }
271
272 func (x *ListFilesRequest) Reset() {
273 *x = ListFilesRequest{}
274 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[2]
275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276 ms.StoreMessageInfo(mi)
277 }
278
279 func (x *ListFilesRequest) String() string {
280 return protoimpl.X.MessageStringOf(x)
281 }
282
283 func (*ListFilesRequest) ProtoMessage() {}
284
285 func (x *ListFilesRequest) ProtoReflect() protoreflect.Message {
286 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[2]
287 if x != nil {
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 if ms.LoadMessageInfo() == nil {
290 ms.StoreMessageInfo(mi)
291 }
292 return ms
293 }
294 return mi.MessageOf(x)
295 }
296
297 // Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
298 func (*ListFilesRequest) Descriptor() ([]byte, []int) {
299 return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{2}
300 }
301
302 func (x *ListFilesRequest) GetParent() string {
303 if x != nil {
304 return x.Parent
305 }
306 return ""
307 }
308
309 func (x *ListFilesRequest) GetFilter() string {
310 if x != nil {
311 return x.Filter
312 }
313 return ""
314 }
315
316 func (x *ListFilesRequest) GetPageSize() int32 {
317 if x != nil {
318 return x.PageSize
319 }
320 return 0
321 }
322
323 func (x *ListFilesRequest) GetPageToken() string {
324 if x != nil {
325 return x.PageToken
326 }
327 return ""
328 }
329
330 // The response from listing files.
331 type ListFilesResponse struct {
332 state protoimpl.MessageState
333 sizeCache protoimpl.SizeCache
334 unknownFields protoimpl.UnknownFields
335
336 // The files returned.
337 Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
338 // The token to retrieve the next page of files, or empty if there are no
339 // more files to return.
340 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
341 }
342
343 func (x *ListFilesResponse) Reset() {
344 *x = ListFilesResponse{}
345 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[3]
346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
347 ms.StoreMessageInfo(mi)
348 }
349
350 func (x *ListFilesResponse) String() string {
351 return protoimpl.X.MessageStringOf(x)
352 }
353
354 func (*ListFilesResponse) ProtoMessage() {}
355
356 func (x *ListFilesResponse) ProtoReflect() protoreflect.Message {
357 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[3]
358 if x != nil {
359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360 if ms.LoadMessageInfo() == nil {
361 ms.StoreMessageInfo(mi)
362 }
363 return ms
364 }
365 return mi.MessageOf(x)
366 }
367
368 // Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
369 func (*ListFilesResponse) Descriptor() ([]byte, []int) {
370 return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{3}
371 }
372
373 func (x *ListFilesResponse) GetFiles() []*File {
374 if x != nil {
375 return x.Files
376 }
377 return nil
378 }
379
380 func (x *ListFilesResponse) GetNextPageToken() string {
381 if x != nil {
382 return x.NextPageToken
383 }
384 return ""
385 }
386
387 // The request to retrieve a file.
388 type GetFileRequest struct {
389 state protoimpl.MessageState
390 sizeCache protoimpl.SizeCache
391 unknownFields protoimpl.UnknownFields
392
393 // The name of the file to retrieve.
394 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
395 }
396
397 func (x *GetFileRequest) Reset() {
398 *x = GetFileRequest{}
399 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[4]
400 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
401 ms.StoreMessageInfo(mi)
402 }
403
404 func (x *GetFileRequest) String() string {
405 return protoimpl.X.MessageStringOf(x)
406 }
407
408 func (*GetFileRequest) ProtoMessage() {}
409
410 func (x *GetFileRequest) ProtoReflect() protoreflect.Message {
411 mi := &file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes[4]
412 if x != nil {
413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
414 if ms.LoadMessageInfo() == nil {
415 ms.StoreMessageInfo(mi)
416 }
417 return ms
418 }
419 return mi.MessageOf(x)
420 }
421
422 // Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
423 func (*GetFileRequest) Descriptor() ([]byte, []int) {
424 return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP(), []int{4}
425 }
426
427 func (x *GetFileRequest) GetName() string {
428 if x != nil {
429 return x.Name
430 }
431 return ""
432 }
433
434 var File_google_devtools_artifactregistry_v1beta2_file_proto protoreflect.FileDescriptor
435
436 var file_google_devtools_artifactregistry_v1beta2_file_proto_rawDesc = []byte{
437 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
438 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
439 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e,
440 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
441 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72,
442 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a,
443 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
444 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
445 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
446 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x01, 0x0a, 0x04,
447 0x48, 0x61, 0x73, 0x68, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
448 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
449 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
450 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x48, 0x61,
451 0x73, 0x68, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,
452 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
453 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x0a, 0x08, 0x48, 0x61, 0x73, 0x68, 0x54,
454 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x48, 0x41, 0x53, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45,
455 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a,
456 0x0a, 0x06, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x44,
457 0x35, 0x10, 0x02, 0x22, 0x8c, 0x03, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04,
458 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
459 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x03,
460 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12,
461 0x46, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
462 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
463 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
464 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52,
465 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
466 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
467 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
468 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
469 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
470 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
471 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
472 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
473 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
474 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x3a, 0x79, 0xea, 0x41, 0x76, 0x0a, 0x24, 0x61, 0x72,
475 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67,
476 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69,
477 0x6c, 0x65, 0x12, 0x4e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72,
478 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
479 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70, 0x6f,
480 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69,
481 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6c,
482 0x65, 0x7d, 0x22, 0x7e, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52,
483 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
484 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16,
485 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
486 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73,
487 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
488 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
489 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
490 0x65, 0x6e, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73,
491 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65,
492 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
493 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
494 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
495 0x61, 0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x26,
496 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
497 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67,
498 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x24, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c,
499 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
500 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x8d, 0x02, 0x0a,
501 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
502 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
503 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x09, 0x46,
504 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x55, 0x63, 0x6c, 0x6f, 0x75,
505 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
506 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
507 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x72, 0x74, 0x69,
508 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61,
509 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70,
510 0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64,
511 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
512 0x79, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x32, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67,
513 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
514 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61,
515 0x32, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
516 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73,
517 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72,
518 0x6f, 0x74, 0x6f, 0x33,
519 }
520
521 var (
522 file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescOnce sync.Once
523 file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescData = file_google_devtools_artifactregistry_v1beta2_file_proto_rawDesc
524 )
525
526 func file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescGZIP() []byte {
527 file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescOnce.Do(func() {
528 file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescData)
529 })
530 return file_google_devtools_artifactregistry_v1beta2_file_proto_rawDescData
531 }
532
533 var file_google_devtools_artifactregistry_v1beta2_file_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
534 var file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
535 var file_google_devtools_artifactregistry_v1beta2_file_proto_goTypes = []any{
536 (Hash_HashType)(0), // 0: google.devtools.artifactregistry.v1beta2.Hash.HashType
537 (*Hash)(nil), // 1: google.devtools.artifactregistry.v1beta2.Hash
538 (*File)(nil), // 2: google.devtools.artifactregistry.v1beta2.File
539 (*ListFilesRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.ListFilesRequest
540 (*ListFilesResponse)(nil), // 4: google.devtools.artifactregistry.v1beta2.ListFilesResponse
541 (*GetFileRequest)(nil), // 5: google.devtools.artifactregistry.v1beta2.GetFileRequest
542 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
543 }
544 var file_google_devtools_artifactregistry_v1beta2_file_proto_depIdxs = []int32{
545 0, // 0: google.devtools.artifactregistry.v1beta2.Hash.type:type_name -> google.devtools.artifactregistry.v1beta2.Hash.HashType
546 1, // 1: google.devtools.artifactregistry.v1beta2.File.hashes:type_name -> google.devtools.artifactregistry.v1beta2.Hash
547 6, // 2: google.devtools.artifactregistry.v1beta2.File.create_time:type_name -> google.protobuf.Timestamp
548 6, // 3: google.devtools.artifactregistry.v1beta2.File.update_time:type_name -> google.protobuf.Timestamp
549 2, // 4: google.devtools.artifactregistry.v1beta2.ListFilesResponse.files:type_name -> google.devtools.artifactregistry.v1beta2.File
550 5, // [5:5] is the sub-list for method output_type
551 5, // [5:5] is the sub-list for method input_type
552 5, // [5:5] is the sub-list for extension type_name
553 5, // [5:5] is the sub-list for extension extendee
554 0, // [0:5] is the sub-list for field type_name
555 }
556
557 func init() { file_google_devtools_artifactregistry_v1beta2_file_proto_init() }
558 func file_google_devtools_artifactregistry_v1beta2_file_proto_init() {
559 if File_google_devtools_artifactregistry_v1beta2_file_proto != nil {
560 return
561 }
562 type x struct{}
563 out := protoimpl.TypeBuilder{
564 File: protoimpl.DescBuilder{
565 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
566 RawDescriptor: file_google_devtools_artifactregistry_v1beta2_file_proto_rawDesc,
567 NumEnums: 1,
568 NumMessages: 5,
569 NumExtensions: 0,
570 NumServices: 0,
571 },
572 GoTypes: file_google_devtools_artifactregistry_v1beta2_file_proto_goTypes,
573 DependencyIndexes: file_google_devtools_artifactregistry_v1beta2_file_proto_depIdxs,
574 EnumInfos: file_google_devtools_artifactregistry_v1beta2_file_proto_enumTypes,
575 MessageInfos: file_google_devtools_artifactregistry_v1beta2_file_proto_msgTypes,
576 }.Build()
577 File_google_devtools_artifactregistry_v1beta2_file_proto = out.File
578 file_google_devtools_artifactregistry_v1beta2_file_proto_rawDesc = nil
579 file_google_devtools_artifactregistry_v1beta2_file_proto_goTypes = nil
580 file_google_devtools_artifactregistry_v1beta2_file_proto_depIdxs = nil
581 }