Debian Codegraph @

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