Debian Codegraph @

artifactregistry/apiv1beta2/artifactregistrypb/apt_artifact.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/apt_artifact.proto
20
21 package artifactregistrypb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 status "google.golang.org/genproto/googleapis/rpc/status"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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 // Package type is either binary or source.
40 type AptArtifact_PackageType int32
41
42 const (
43 // Package type is not specified.
44 AptArtifact_PACKAGE_TYPE_UNSPECIFIED AptArtifact_PackageType = 0
45 // Binary package.
46 AptArtifact_BINARY AptArtifact_PackageType = 1
47 // Source package.
48 AptArtifact_SOURCE AptArtifact_PackageType = 2
49 )
50
51 // Enum value maps for AptArtifact_PackageType.
52 var (
53 AptArtifact_PackageType_name = map[int32]string{
54 0: "PACKAGE_TYPE_UNSPECIFIED",
55 1: "BINARY",
56 2: "SOURCE",
57 }
58 AptArtifact_PackageType_value = map[string]int32{
59 "PACKAGE_TYPE_UNSPECIFIED": 0,
60 "BINARY": 1,
61 "SOURCE": 2,
62 }
63 )
64
65 func (x AptArtifact_PackageType) Enum() *AptArtifact_PackageType {
66 p := new(AptArtifact_PackageType)
67 *p = x
68 return p
69 }
70
71 func (x AptArtifact_PackageType) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (AptArtifact_PackageType) Descriptor() protoreflect.EnumDescriptor {
76 return file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_enumTypes[0].Descriptor()
77 }
78
79 func (AptArtifact_PackageType) Type() protoreflect.EnumType {
80 return &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_enumTypes[0]
81 }
82
83 func (x AptArtifact_PackageType) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87 // Deprecated: Use AptArtifact_PackageType.Descriptor instead.
88 func (AptArtifact_PackageType) EnumDescriptor() ([]byte, []int) {
89 return file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescGZIP(), []int{0, 0}
90 }
91
92 // A detailed representation of an Apt artifact. Information in the record
93 // is derived from the archive's control file.
94 // See https://www.debian.org/doc/debian-policy/ch-controlfields.html
95 type AptArtifact struct {
96 state protoimpl.MessageState
97 sizeCache protoimpl.SizeCache
98 unknownFields protoimpl.UnknownFields
99
100 // Output only. The Artifact Registry resource name of the artifact.
101 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
102 // Output only. The Apt package name of the artifact.
103 PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
104 // Output only. An artifact is a binary or source package.
105 PackageType AptArtifact_PackageType `protobuf:"varint,3,opt,name=package_type,json=packageType,proto3,enum=google.devtools.artifactregistry.v1beta2.AptArtifact_PackageType" json:"package_type,omitempty"`
106 // Output only. Operating system architecture of the artifact.
107 Architecture string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"`
108 // Output only. Repository component of the artifact.
109 Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"`
110 // Output only. Contents of the artifact's control metadata file.
111 ControlFile []byte `protobuf:"bytes,6,opt,name=control_file,json=controlFile,proto3" json:"control_file,omitempty"`
112 }
113
114 func (x *AptArtifact) Reset() {
115 *x = AptArtifact{}
116 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[0]
117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
118 ms.StoreMessageInfo(mi)
119 }
120
121 func (x *AptArtifact) String() string {
122 return protoimpl.X.MessageStringOf(x)
123 }
124
125 func (*AptArtifact) ProtoMessage() {}
126
127 func (x *AptArtifact) ProtoReflect() protoreflect.Message {
128 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[0]
129 if x != nil {
130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131 if ms.LoadMessageInfo() == nil {
132 ms.StoreMessageInfo(mi)
133 }
134 return ms
135 }
136 return mi.MessageOf(x)
137 }
138
139 // Deprecated: Use AptArtifact.ProtoReflect.Descriptor instead.
140 func (*AptArtifact) Descriptor() ([]byte, []int) {
141 return file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescGZIP(), []int{0}
142 }
143
144 func (x *AptArtifact) GetName() string {
145 if x != nil {
146 return x.Name
147 }
148 return ""
149 }
150
151 func (x *AptArtifact) GetPackageName() string {
152 if x != nil {
153 return x.PackageName
154 }
155 return ""
156 }
157
158 func (x *AptArtifact) GetPackageType() AptArtifact_PackageType {
159 if x != nil {
160 return x.PackageType
161 }
162 return AptArtifact_PACKAGE_TYPE_UNSPECIFIED
163 }
164
165 func (x *AptArtifact) GetArchitecture() string {
166 if x != nil {
167 return x.Architecture
168 }
169 return ""
170 }
171
172 func (x *AptArtifact) GetComponent() string {
173 if x != nil {
174 return x.Component
175 }
176 return ""
177 }
178
179 func (x *AptArtifact) GetControlFile() []byte {
180 if x != nil {
181 return x.ControlFile
182 }
183 return nil
184 }
185
186 // Google Cloud Storage location where the artifacts currently reside.
187 type ImportAptArtifactsGcsSource struct {
188 state protoimpl.MessageState
189 sizeCache protoimpl.SizeCache
190 unknownFields protoimpl.UnknownFields
191
192 // Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
193 Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
194 // Supports URI wildcards for matching multiple objects from a single URI.
195 UseWildcards bool `protobuf:"varint,2,opt,name=use_wildcards,json=useWildcards,proto3" json:"use_wildcards,omitempty"`
196 }
197
198 func (x *ImportAptArtifactsGcsSource) Reset() {
199 *x = ImportAptArtifactsGcsSource{}
200 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[1]
201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
202 ms.StoreMessageInfo(mi)
203 }
204
205 func (x *ImportAptArtifactsGcsSource) String() string {
206 return protoimpl.X.MessageStringOf(x)
207 }
208
209 func (*ImportAptArtifactsGcsSource) ProtoMessage() {}
210
211 func (x *ImportAptArtifactsGcsSource) ProtoReflect() protoreflect.Message {
212 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[1]
213 if x != nil {
214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215 if ms.LoadMessageInfo() == nil {
216 ms.StoreMessageInfo(mi)
217 }
218 return ms
219 }
220 return mi.MessageOf(x)
221 }
222
223 // Deprecated: Use ImportAptArtifactsGcsSource.ProtoReflect.Descriptor instead.
224 func (*ImportAptArtifactsGcsSource) Descriptor() ([]byte, []int) {
225 return file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescGZIP(), []int{1}
226 }
227
228 func (x *ImportAptArtifactsGcsSource) GetUris() []string {
229 if x != nil {
230 return x.Uris
231 }
232 return nil
233 }
234
235 func (x *ImportAptArtifactsGcsSource) GetUseWildcards() bool {
236 if x != nil {
237 return x.UseWildcards
238 }
239 return false
240 }
241
242 // The request to import new apt artifacts.
243 type ImportAptArtifactsRequest struct {
244 state protoimpl.MessageState
245 sizeCache protoimpl.SizeCache
246 unknownFields protoimpl.UnknownFields
247
248 // The source location of the package binaries.
249 //
250 // Types that are assignable to Source:
251 //
252 // *ImportAptArtifactsRequest_GcsSource
253 Source isImportAptArtifactsRequest_Source `protobuf_oneof:"source"`
254 // The name of the parent resource where the artifacts will be imported.
255 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
256 }
257
258 func (x *ImportAptArtifactsRequest) Reset() {
259 *x = ImportAptArtifactsRequest{}
260 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[2]
261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
262 ms.StoreMessageInfo(mi)
263 }
264
265 func (x *ImportAptArtifactsRequest) String() string {
266 return protoimpl.X.MessageStringOf(x)
267 }
268
269 func (*ImportAptArtifactsRequest) ProtoMessage() {}
270
271 func (x *ImportAptArtifactsRequest) ProtoReflect() protoreflect.Message {
272 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[2]
273 if x != nil {
274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
275 if ms.LoadMessageInfo() == nil {
276 ms.StoreMessageInfo(mi)
277 }
278 return ms
279 }
280 return mi.MessageOf(x)
281 }
282
283 // Deprecated: Use ImportAptArtifactsRequest.ProtoReflect.Descriptor instead.
284 func (*ImportAptArtifactsRequest) Descriptor() ([]byte, []int) {
285 return file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescGZIP(), []int{2}
286 }
287
288 func (m *ImportAptArtifactsRequest) GetSource() isImportAptArtifactsRequest_Source {
289 if m != nil {
290 return m.Source
291 }
292 return nil
293 }
294
295 func (x *ImportAptArtifactsRequest) GetGcsSource() *ImportAptArtifactsGcsSource {
296 if x, ok := x.GetSource().(*ImportAptArtifactsRequest_GcsSource); ok {
297 return x.GcsSource
298 }
299 return nil
300 }
301
302 func (x *ImportAptArtifactsRequest) GetParent() string {
303 if x != nil {
304 return x.Parent
305 }
306 return ""
307 }
308
309 type isImportAptArtifactsRequest_Source interface {
310 isImportAptArtifactsRequest_Source()
311 }
312
313 type ImportAptArtifactsRequest_GcsSource struct {
314 // Google Cloud Storage location where input content is located.
315 GcsSource *ImportAptArtifactsGcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
316 }
317
318 func (*ImportAptArtifactsRequest_GcsSource) isImportAptArtifactsRequest_Source() {}
319
320 // Error information explaining why a package was not imported.
321 type ImportAptArtifactsErrorInfo struct {
322 state protoimpl.MessageState
323 sizeCache protoimpl.SizeCache
324 unknownFields protoimpl.UnknownFields
325
326 // The source that was not imported.
327 //
328 // Types that are assignable to Source:
329 //
330 // *ImportAptArtifactsErrorInfo_GcsSource
331 Source isImportAptArtifactsErrorInfo_Source `protobuf_oneof:"source"`
332 // The detailed error status.
333 Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
334 }
335
336 func (x *ImportAptArtifactsErrorInfo) Reset() {
337 *x = ImportAptArtifactsErrorInfo{}
338 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[3]
339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
340 ms.StoreMessageInfo(mi)
341 }
342
343 func (x *ImportAptArtifactsErrorInfo) String() string {
344 return protoimpl.X.MessageStringOf(x)
345 }
346
347 func (*ImportAptArtifactsErrorInfo) ProtoMessage() {}
348
349 func (x *ImportAptArtifactsErrorInfo) ProtoReflect() protoreflect.Message {
350 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[3]
351 if x != nil {
352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
353 if ms.LoadMessageInfo() == nil {
354 ms.StoreMessageInfo(mi)
355 }
356 return ms
357 }
358 return mi.MessageOf(x)
359 }
360
361 // Deprecated: Use ImportAptArtifactsErrorInfo.ProtoReflect.Descriptor instead.
362 func (*ImportAptArtifactsErrorInfo) Descriptor() ([]byte, []int) {
363 return file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescGZIP(), []int{3}
364 }
365
366 func (m *ImportAptArtifactsErrorInfo) GetSource() isImportAptArtifactsErrorInfo_Source {
367 if m != nil {
368 return m.Source
369 }
370 return nil
371 }
372
373 func (x *ImportAptArtifactsErrorInfo) GetGcsSource() *ImportAptArtifactsGcsSource {
374 if x, ok := x.GetSource().(*ImportAptArtifactsErrorInfo_GcsSource); ok {
375 return x.GcsSource
376 }
377 return nil
378 }
379
380 func (x *ImportAptArtifactsErrorInfo) GetError() *status.Status {
381 if x != nil {
382 return x.Error
383 }
384 return nil
385 }
386
387 type isImportAptArtifactsErrorInfo_Source interface {
388 isImportAptArtifactsErrorInfo_Source()
389 }
390
391 type ImportAptArtifactsErrorInfo_GcsSource struct {
392 // Google Cloud Storage location requested.
393 GcsSource *ImportAptArtifactsGcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
394 }
395
396 func (*ImportAptArtifactsErrorInfo_GcsSource) isImportAptArtifactsErrorInfo_Source() {}
397
398 // The response message from importing APT artifacts.
399 type ImportAptArtifactsResponse struct {
400 state protoimpl.MessageState
401 sizeCache protoimpl.SizeCache
402 unknownFields protoimpl.UnknownFields
403
404 // The Apt artifacts imported.
405 AptArtifacts []*AptArtifact `protobuf:"bytes,1,rep,name=apt_artifacts,json=aptArtifacts,proto3" json:"apt_artifacts,omitempty"`
406 // Detailed error info for artifacts that were not imported.
407 Errors []*ImportAptArtifactsErrorInfo `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
408 }
409
410 func (x *ImportAptArtifactsResponse) Reset() {
411 *x = ImportAptArtifactsResponse{}
412 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[4]
413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
414 ms.StoreMessageInfo(mi)
415 }
416
417 func (x *ImportAptArtifactsResponse) String() string {
418 return protoimpl.X.MessageStringOf(x)
419 }
420
421 func (*ImportAptArtifactsResponse) ProtoMessage() {}
422
423 func (x *ImportAptArtifactsResponse) ProtoReflect() protoreflect.Message {
424 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[4]
425 if x != nil {
426 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
427 if ms.LoadMessageInfo() == nil {
428 ms.StoreMessageInfo(mi)
429 }
430 return ms
431 }
432 return mi.MessageOf(x)
433 }
434
435 // Deprecated: Use ImportAptArtifactsResponse.ProtoReflect.Descriptor instead.
436 func (*ImportAptArtifactsResponse) Descriptor() ([]byte, []int) {
437 return file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescGZIP(), []int{4}
438 }
439
440 func (x *ImportAptArtifactsResponse) GetAptArtifacts() []*AptArtifact {
441 if x != nil {
442 return x.AptArtifacts
443 }
444 return nil
445 }
446
447 func (x *ImportAptArtifactsResponse) GetErrors() []*ImportAptArtifactsErrorInfo {
448 if x != nil {
449 return x.Errors
450 }
451 return nil
452 }
453
454 // The operation metadata for importing artifacts.
455 type ImportAptArtifactsMetadata struct {
456 state protoimpl.MessageState
457 sizeCache protoimpl.SizeCache
458 unknownFields protoimpl.UnknownFields
459 }
460
461 func (x *ImportAptArtifactsMetadata) Reset() {
462 *x = ImportAptArtifactsMetadata{}
463 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[5]
464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
465 ms.StoreMessageInfo(mi)
466 }
467
468 func (x *ImportAptArtifactsMetadata) String() string {
469 return protoimpl.X.MessageStringOf(x)
470 }
471
472 func (*ImportAptArtifactsMetadata) ProtoMessage() {}
473
474 func (x *ImportAptArtifactsMetadata) ProtoReflect() protoreflect.Message {
475 mi := &file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[5]
476 if x != nil {
477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
478 if ms.LoadMessageInfo() == nil {
479 ms.StoreMessageInfo(mi)
480 }
481 return ms
482 }
483 return mi.MessageOf(x)
484 }
485
486 // Deprecated: Use ImportAptArtifactsMetadata.ProtoReflect.Descriptor instead.
487 func (*ImportAptArtifactsMetadata) Descriptor() ([]byte, []int) {
488 return file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescGZIP(), []int{5}
489 }
490
491 var File_google_devtools_artifactregistry_v1beta2_apt_artifact_proto protoreflect.FileDescriptor
492
493 var file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDesc = []byte{
494 0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
495 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
496 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61, 0x70, 0x74, 0x5f, 0x61,
497 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67,
498 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61,
499 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e,
500 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
501 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
502 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
503 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
504 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f,
505 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x04, 0x0a,
506 0x0b, 0x41, 0x70, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x17, 0x0a, 0x04,
507 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
508 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
509 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
510 0x52, 0x0b, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x69, 0x0a,
511 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
512 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
513 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65,
514 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x41,
515 0x70, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61,
516 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x63,
517 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68,
518 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
519 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72,
520 0x65, 0x12, 0x21, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x05,
521 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
522 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f,
523 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
524 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x22, 0x43, 0x0a, 0x0b,
525 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x50,
526 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
527 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e,
528 0x41, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x10,
529 0x02, 0x3a, 0x90, 0x01, 0xea, 0x41, 0x8c, 0x01, 0x0a, 0x2b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
530 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
531 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x70, 0x74, 0x41, 0x72, 0x74,
532 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x5d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
533 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
534 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72,
535 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70,
536 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x61, 0x70, 0x74, 0x41, 0x72, 0x74, 0x69,
537 0x66, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x70, 0x74, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66,
538 0x61, 0x63, 0x74, 0x7d, 0x22, 0x56, 0x0a, 0x1b, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70,
539 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75,
540 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x69, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
541 0x09, 0x52, 0x04, 0x75, 0x72, 0x69, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x5f, 0x77,
542 0x69, 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
543 0x75, 0x73, 0x65, 0x57, 0x69, 0x6c, 0x64, 0x63, 0x61, 0x72, 0x64, 0x73, 0x22, 0xa5, 0x01, 0x0a,
544 0x19, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61,
545 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x66, 0x0a, 0x0a, 0x67, 0x63,
546 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45,
547 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
548 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
549 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
550 0x41, 0x70, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x47, 0x63, 0x73, 0x53,
551 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72,
552 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
553 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f,
554 0x75, 0x72, 0x63, 0x65, 0x22, 0xb9, 0x01, 0x0a, 0x1b, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41,
555 0x70, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72,
556 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x66, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72,
557 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
558 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66,
559 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65,
560 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x74, 0x41, 0x72, 0x74,
561 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48,
562 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x28, 0x0a, 0x05,
563 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f,
564 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
565 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
566 0x22, 0xd7, 0x01, 0x0a, 0x1a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x74, 0x41, 0x72,
567 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
568 0x5a, 0x0a, 0x0d, 0x61, 0x70, 0x74, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73,
569 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
570 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
571 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
572 0x32, 0x2e, 0x41, 0x70, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x0c, 0x61,
573 0x70, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x5d, 0x0a, 0x06, 0x65,
574 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f,
575 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72,
576 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76,
577 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x74,
578 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e,
579 0x66, 0x6f, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0x1c, 0x0a, 0x1a, 0x49, 0x6d,
580 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73,
581 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x94, 0x02, 0x0a, 0x2c, 0x63, 0x6f, 0x6d,
582 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73,
583 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72,
584 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x10, 0x41, 0x70, 0x74, 0x41, 0x72,
585 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x55, 0x63,
586 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
587 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73,
588 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x61,
589 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70,
590 0x62, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
591 0x72, 0x79, 0x70, 0x62, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
592 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69,
593 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x32, 0xca, 0x02, 0x25, 0x47,
594 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69,
595 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x62,
596 0x65, 0x74, 0x61, 0x32, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
597 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65,
598 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x62,
599 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
600 }
601
602 var (
603 file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescOnce sync.Once
604 file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescData = file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDesc
605 )
606
607 func file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescGZIP() []byte {
608 file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescOnce.Do(func() {
609 file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescData)
610 })
611 return file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDescData
612 }
613
614 var file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
615 var file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
616 var file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_goTypes = []any{
617 (AptArtifact_PackageType)(0), // 0: google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType
618 (*AptArtifact)(nil), // 1: google.devtools.artifactregistry.v1beta2.AptArtifact
619 (*ImportAptArtifactsGcsSource)(nil), // 2: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource
620 (*ImportAptArtifactsRequest)(nil), // 3: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest
621 (*ImportAptArtifactsErrorInfo)(nil), // 4: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo
622 (*ImportAptArtifactsResponse)(nil), // 5: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse
623 (*ImportAptArtifactsMetadata)(nil), // 6: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata
624 (*status.Status)(nil), // 7: google.rpc.Status
625 }
626 var file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_depIdxs = []int32{
627 0, // 0: google.devtools.artifactregistry.v1beta2.AptArtifact.package_type:type_name -> google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType
628 2, // 1: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.gcs_source:type_name -> google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource
629 2, // 2: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.gcs_source:type_name -> google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource
630 7, // 3: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.error:type_name -> google.rpc.Status
631 1, // 4: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.apt_artifacts:type_name -> google.devtools.artifactregistry.v1beta2.AptArtifact
632 4, // 5: google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.errors:type_name -> google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo
633 6, // [6:6] is the sub-list for method output_type
634 6, // [6:6] is the sub-list for method input_type
635 6, // [6:6] is the sub-list for extension type_name
636 6, // [6:6] is the sub-list for extension extendee
637 0, // [0:6] is the sub-list for field type_name
638 }
639
640 func init() { file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_init() }
641 func file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_init() {
642 if File_google_devtools_artifactregistry_v1beta2_apt_artifact_proto != nil {
643 return
644 }
645 file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[2].OneofWrappers = []any{
646 (*ImportAptArtifactsRequest_GcsSource)(nil),
647 }
648 file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes[3].OneofWrappers = []any{
649 (*ImportAptArtifactsErrorInfo_GcsSource)(nil),
650 }
651 type x struct{}
652 out := protoimpl.TypeBuilder{
653 File: protoimpl.DescBuilder{
654 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
655 RawDescriptor: file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDesc,
656 NumEnums: 1,
657 NumMessages: 6,
658 NumExtensions: 0,
659 NumServices: 0,
660 },
661 GoTypes: file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_goTypes,
662 DependencyIndexes: file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_depIdxs,
663 EnumInfos: file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_enumTypes,
664 MessageInfos: file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_msgTypes,
665 }.Build()
666 File_google_devtools_artifactregistry_v1beta2_apt_artifact_proto = out.File
667 file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_rawDesc = nil
668 file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_goTypes = nil
669 file_google_devtools_artifactregistry_v1beta2_apt_artifact_proto_depIdxs = nil
670 }