Debian Codegraph @

artifactregistry/apiv1/artifactregistrypb/generic.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/generic.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 // GenericArtifact represents a generic artifact
40 type GenericArtifact struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Resource name of the generic artifact.
46 // project, location, repository, package_id and version_id
47 // create a unique generic artifact.
48 // i.e. "projects/test-project/locations/us-west4/repositories/test-repo/
49 // genericArtifacts/package_id:version_id"
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51 // The version of the generic artifact.
52 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
53 // Output only. The time when the Generic module is created.
54 CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
55 // Output only. The time when the Generic module is updated.
56 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
57 }
58
59 func (x *GenericArtifact) Reset() {
60 *x = GenericArtifact{}
61 mi := &file_google_devtools_artifactregistry_v1_generic_proto_msgTypes[0]
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 ms.StoreMessageInfo(mi)
64 }
65
66 func (x *GenericArtifact) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*GenericArtifact) ProtoMessage() {}
71
72 func (x *GenericArtifact) ProtoReflect() protoreflect.Message {
73 mi := &file_google_devtools_artifactregistry_v1_generic_proto_msgTypes[0]
74 if x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use GenericArtifact.ProtoReflect.Descriptor instead.
85 func (*GenericArtifact) Descriptor() ([]byte, []int) {
86 return file_google_devtools_artifactregistry_v1_generic_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *GenericArtifact) GetName() string {
90 if x != nil {
91 return x.Name
92 }
93 return ""
94 }
95
96 func (x *GenericArtifact) GetVersion() string {
97 if x != nil {
98 return x.Version
99 }
100 return ""
101 }
102
103 func (x *GenericArtifact) GetCreateTime() *timestamppb.Timestamp {
104 if x != nil {
105 return x.CreateTime
106 }
107 return nil
108 }
109
110 func (x *GenericArtifact) GetUpdateTime() *timestamppb.Timestamp {
111 if x != nil {
112 return x.UpdateTime
113 }
114 return nil
115 }
116
117 var File_google_devtools_artifactregistry_v1_generic_proto protoreflect.FileDescriptor
118
119 var file_google_devtools_artifactregistry_v1_generic_proto_rawDesc = []byte{
120 0x0a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
121 0x73, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
122 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x2e, 0x70, 0x72,
123 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74,
124 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67,
125 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
126 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
127 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
128 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
129 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
130 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e,
131 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x02, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69,
132 0x63, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
133 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a,
134 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
135 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
136 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
137 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
138 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63,
139 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64,
140 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
141 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
142 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
143 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x3a, 0x9c, 0x01, 0xea, 0x41,
144 0x98, 0x01, 0x0a, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69,
145 0x73, 0x74, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
146 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x41, 0x72, 0x74, 0x69, 0x66,
147 0x61, 0x63, 0x74, 0x12, 0x65, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70,
148 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
149 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x70,
150 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x70, 0x6f, 0x73,
151 0x69, 0x74, 0x6f, 0x72, 0x79, 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x41, 0x72,
152 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63,
153 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x7d, 0x42, 0xf7, 0x01, 0x0a, 0x27, 0x63,
154 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
155 0x6c, 0x73, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73,
156 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x50,
157 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f,
158 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x72, 0x74, 0x69,
159 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x70, 0x69,
160 0x76, 0x31, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65, 0x67, 0x69, 0x73,
161 0x74, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x72, 0x65,
162 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x70, 0x62, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
163 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
164 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x47, 0x6f,
165 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x72, 0x74, 0x69, 0x66,
166 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02,
167 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
168 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
169 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
170 }
171
172 var (
173 file_google_devtools_artifactregistry_v1_generic_proto_rawDescOnce sync.Once
174 file_google_devtools_artifactregistry_v1_generic_proto_rawDescData = file_google_devtools_artifactregistry_v1_generic_proto_rawDesc
175 )
176
177 func file_google_devtools_artifactregistry_v1_generic_proto_rawDescGZIP() []byte {
178 file_google_devtools_artifactregistry_v1_generic_proto_rawDescOnce.Do(func() {
179 file_google_devtools_artifactregistry_v1_generic_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_artifactregistry_v1_generic_proto_rawDescData)
180 })
181 return file_google_devtools_artifactregistry_v1_generic_proto_rawDescData
182 }
183
184 var file_google_devtools_artifactregistry_v1_generic_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
185 var file_google_devtools_artifactregistry_v1_generic_proto_goTypes = []any{
186 (*GenericArtifact)(nil), // 0: google.devtools.artifactregistry.v1.GenericArtifact
187 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
188 }
189 var file_google_devtools_artifactregistry_v1_generic_proto_depIdxs = []int32{
190 1, // 0: google.devtools.artifactregistry.v1.GenericArtifact.create_time:type_name -> google.protobuf.Timestamp
191 1, // 1: google.devtools.artifactregistry.v1.GenericArtifact.update_time:type_name -> google.protobuf.Timestamp
192 2, // [2:2] is the sub-list for method output_type
193 2, // [2:2] is the sub-list for method input_type
194 2, // [2:2] is the sub-list for extension type_name
195 2, // [2:2] is the sub-list for extension extendee
196 0, // [0:2] is the sub-list for field type_name
197 }
198
199 func init() { file_google_devtools_artifactregistry_v1_generic_proto_init() }
200 func file_google_devtools_artifactregistry_v1_generic_proto_init() {
201 if File_google_devtools_artifactregistry_v1_generic_proto != nil {
202 return
203 }
204 type x struct{}
205 out := protoimpl.TypeBuilder{
206 File: protoimpl.DescBuilder{
207 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
208 RawDescriptor: file_google_devtools_artifactregistry_v1_generic_proto_rawDesc,
209 NumEnums: 0,
210 NumMessages: 1,
211 NumExtensions: 0,
212 NumServices: 0,
213 },
214 GoTypes: file_google_devtools_artifactregistry_v1_generic_proto_goTypes,
215 DependencyIndexes: file_google_devtools_artifactregistry_v1_generic_proto_depIdxs,
216 MessageInfos: file_google_devtools_artifactregistry_v1_generic_proto_msgTypes,
217 }.Build()
218 File_google_devtools_artifactregistry_v1_generic_proto = out.File
219 file_google_devtools_artifactregistry_v1_generic_proto_rawDesc = nil
220 file_google_devtools_artifactregistry_v1_generic_proto_goTypes = nil
221 file_google_devtools_artifactregistry_v1_generic_proto_depIdxs = nil
222 }