1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package grafeas
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type SBOMReferenceNote struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45 Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
46
47
48 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
49 }
50
51 func (x *SBOMReferenceNote) Reset() {
52 *x = SBOMReferenceNote{}
53 if protoimpl.UnsafeEnabled {
54 mi := &file_grafeas_v1_sbom_proto_msgTypes[0]
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 ms.StoreMessageInfo(mi)
57 }
58 }
59
60 func (x *SBOMReferenceNote) String() string {
61 return protoimpl.X.MessageStringOf(x)
62 }
63
64 func (*SBOMReferenceNote) ProtoMessage() {}
65
66 func (x *SBOMReferenceNote) ProtoReflect() protoreflect.Message {
67 mi := &file_grafeas_v1_sbom_proto_msgTypes[0]
68 if protoimpl.UnsafeEnabled && x != nil {
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 if ms.LoadMessageInfo() == nil {
71 ms.StoreMessageInfo(mi)
72 }
73 return ms
74 }
75 return mi.MessageOf(x)
76 }
77
78
79 func (*SBOMReferenceNote) Descriptor() ([]byte, []int) {
80 return file_grafeas_v1_sbom_proto_rawDescGZIP(), []int{0}
81 }
82
83 func (x *SBOMReferenceNote) GetFormat() string {
84 if x != nil {
85 return x.Format
86 }
87 return ""
88 }
89
90 func (x *SBOMReferenceNote) GetVersion() string {
91 if x != nil {
92 return x.Version
93 }
94 return ""
95 }
96
97
98
99
100
101 type SBOMReferenceOccurrence struct {
102 state protoimpl.MessageState
103 sizeCache protoimpl.SizeCache
104 unknownFields protoimpl.UnknownFields
105
106
107 Payload *SbomReferenceIntotoPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
108
109
110
111 PayloadType string `protobuf:"bytes,2,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"`
112
113 Signatures []*EnvelopeSignature `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
114 }
115
116 func (x *SBOMReferenceOccurrence) Reset() {
117 *x = SBOMReferenceOccurrence{}
118 if protoimpl.UnsafeEnabled {
119 mi := &file_grafeas_v1_sbom_proto_msgTypes[1]
120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121 ms.StoreMessageInfo(mi)
122 }
123 }
124
125 func (x *SBOMReferenceOccurrence) String() string {
126 return protoimpl.X.MessageStringOf(x)
127 }
128
129 func (*SBOMReferenceOccurrence) ProtoMessage() {}
130
131 func (x *SBOMReferenceOccurrence) ProtoReflect() protoreflect.Message {
132 mi := &file_grafeas_v1_sbom_proto_msgTypes[1]
133 if protoimpl.UnsafeEnabled && x != nil {
134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
135 if ms.LoadMessageInfo() == nil {
136 ms.StoreMessageInfo(mi)
137 }
138 return ms
139 }
140 return mi.MessageOf(x)
141 }
142
143
144 func (*SBOMReferenceOccurrence) Descriptor() ([]byte, []int) {
145 return file_grafeas_v1_sbom_proto_rawDescGZIP(), []int{1}
146 }
147
148 func (x *SBOMReferenceOccurrence) GetPayload() *SbomReferenceIntotoPayload {
149 if x != nil {
150 return x.Payload
151 }
152 return nil
153 }
154
155 func (x *SBOMReferenceOccurrence) GetPayloadType() string {
156 if x != nil {
157 return x.PayloadType
158 }
159 return ""
160 }
161
162 func (x *SBOMReferenceOccurrence) GetSignatures() []*EnvelopeSignature {
163 if x != nil {
164 return x.Signatures
165 }
166 return nil
167 }
168
169
170
171
172
173 type SbomReferenceIntotoPayload struct {
174 state protoimpl.MessageState
175 sizeCache protoimpl.SizeCache
176 unknownFields protoimpl.UnknownFields
177
178
179 Type string `protobuf:"bytes,1,opt,name=type,json=_type,proto3" json:"type,omitempty"`
180
181 PredicateType string `protobuf:"bytes,2,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"`
182
183
184 Subject []*Subject `protobuf:"bytes,3,rep,name=subject,proto3" json:"subject,omitempty"`
185
186
187 Predicate *SbomReferenceIntotoPredicate `protobuf:"bytes,4,opt,name=predicate,proto3" json:"predicate,omitempty"`
188 }
189
190 func (x *SbomReferenceIntotoPayload) Reset() {
191 *x = SbomReferenceIntotoPayload{}
192 if protoimpl.UnsafeEnabled {
193 mi := &file_grafeas_v1_sbom_proto_msgTypes[2]
194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
195 ms.StoreMessageInfo(mi)
196 }
197 }
198
199 func (x *SbomReferenceIntotoPayload) String() string {
200 return protoimpl.X.MessageStringOf(x)
201 }
202
203 func (*SbomReferenceIntotoPayload) ProtoMessage() {}
204
205 func (x *SbomReferenceIntotoPayload) ProtoReflect() protoreflect.Message {
206 mi := &file_grafeas_v1_sbom_proto_msgTypes[2]
207 if protoimpl.UnsafeEnabled && x != nil {
208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
209 if ms.LoadMessageInfo() == nil {
210 ms.StoreMessageInfo(mi)
211 }
212 return ms
213 }
214 return mi.MessageOf(x)
215 }
216
217
218 func (*SbomReferenceIntotoPayload) Descriptor() ([]byte, []int) {
219 return file_grafeas_v1_sbom_proto_rawDescGZIP(), []int{2}
220 }
221
222 func (x *SbomReferenceIntotoPayload) GetType() string {
223 if x != nil {
224 return x.Type
225 }
226 return ""
227 }
228
229 func (x *SbomReferenceIntotoPayload) GetPredicateType() string {
230 if x != nil {
231 return x.PredicateType
232 }
233 return ""
234 }
235
236 func (x *SbomReferenceIntotoPayload) GetSubject() []*Subject {
237 if x != nil {
238 return x.Subject
239 }
240 return nil
241 }
242
243 func (x *SbomReferenceIntotoPayload) GetPredicate() *SbomReferenceIntotoPredicate {
244 if x != nil {
245 return x.Predicate
246 }
247 return nil
248 }
249
250
251 type SbomReferenceIntotoPredicate struct {
252 state protoimpl.MessageState
253 sizeCache protoimpl.SizeCache
254 unknownFields protoimpl.UnknownFields
255
256
257 ReferrerId string `protobuf:"bytes,1,opt,name=referrer_id,json=referrerId,proto3" json:"referrer_id,omitempty"`
258
259 Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
260
261 MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
262
263 Digest map[string]string `protobuf:"bytes,4,rep,name=digest,proto3" json:"digest,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
264 }
265
266 func (x *SbomReferenceIntotoPredicate) Reset() {
267 *x = SbomReferenceIntotoPredicate{}
268 if protoimpl.UnsafeEnabled {
269 mi := &file_grafeas_v1_sbom_proto_msgTypes[3]
270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
271 ms.StoreMessageInfo(mi)
272 }
273 }
274
275 func (x *SbomReferenceIntotoPredicate) String() string {
276 return protoimpl.X.MessageStringOf(x)
277 }
278
279 func (*SbomReferenceIntotoPredicate) ProtoMessage() {}
280
281 func (x *SbomReferenceIntotoPredicate) ProtoReflect() protoreflect.Message {
282 mi := &file_grafeas_v1_sbom_proto_msgTypes[3]
283 if protoimpl.UnsafeEnabled && x != nil {
284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
285 if ms.LoadMessageInfo() == nil {
286 ms.StoreMessageInfo(mi)
287 }
288 return ms
289 }
290 return mi.MessageOf(x)
291 }
292
293
294 func (*SbomReferenceIntotoPredicate) Descriptor() ([]byte, []int) {
295 return file_grafeas_v1_sbom_proto_rawDescGZIP(), []int{3}
296 }
297
298 func (x *SbomReferenceIntotoPredicate) GetReferrerId() string {
299 if x != nil {
300 return x.ReferrerId
301 }
302 return ""
303 }
304
305 func (x *SbomReferenceIntotoPredicate) GetLocation() string {
306 if x != nil {
307 return x.Location
308 }
309 return ""
310 }
311
312 func (x *SbomReferenceIntotoPredicate) GetMimeType() string {
313 if x != nil {
314 return x.MimeType
315 }
316 return ""
317 }
318
319 func (x *SbomReferenceIntotoPredicate) GetDigest() map[string]string {
320 if x != nil {
321 return x.Digest
322 }
323 return nil
324 }
325
326 var File_grafeas_v1_sbom_proto protoreflect.FileDescriptor
327
328 var file_grafeas_v1_sbom_proto_rawDesc = []byte{
329 0x0a, 0x15, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x62, 0x6f,
330 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
331 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f,
332 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x67, 0x72,
333 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x74, 0x6f, 0x74, 0x6f, 0x5f,
334 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
335 0x45, 0x0a, 0x11, 0x53, 0x42, 0x4f, 0x4d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
336 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01,
337 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07,
338 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76,
339 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xbd, 0x01, 0x0a, 0x17, 0x53, 0x42, 0x4f, 0x4d, 0x52,
340 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
341 0x63, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20,
342 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
343 0x2e, 0x53, 0x62, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e,
344 0x74, 0x6f, 0x74, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79,
345 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f,
346 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c,
347 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61,
348 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72,
349 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70,
350 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e,
351 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xcf, 0x01, 0x0a, 0x1a, 0x53, 0x62, 0x6f, 0x6d, 0x52,
352 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x74, 0x6f, 0x74, 0x6f, 0x50, 0x61,
353 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x13, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
354 0x01, 0x28, 0x09, 0x52, 0x05, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72,
355 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
356 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70,
357 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x03,
358 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e,
359 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74,
360 0x12, 0x46, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20,
361 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
362 0x2e, 0x53, 0x62, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e,
363 0x74, 0x6f, 0x74, 0x6f, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x09, 0x70,
364 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x81, 0x02, 0x0a, 0x1c, 0x53, 0x62, 0x6f,
365 0x6d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x74, 0x6f, 0x74, 0x6f,
366 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x66,
367 0x65, 0x72, 0x72, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
368 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f,
369 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f,
370 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74,
371 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54,
372 0x79, 0x70, 0x65, 0x12, 0x4c, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20,
373 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
374 0x2e, 0x53, 0x62, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x6e,
375 0x74, 0x6f, 0x74, 0x6f, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x44, 0x69,
376 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73,
377 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
378 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
379 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
380 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x51, 0x0a, 0x0d,
381 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a,
382 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
383 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
384 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76,
385 0x31, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62,
386 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
387 }
388
389 var (
390 file_grafeas_v1_sbom_proto_rawDescOnce sync.Once
391 file_grafeas_v1_sbom_proto_rawDescData = file_grafeas_v1_sbom_proto_rawDesc
392 )
393
394 func file_grafeas_v1_sbom_proto_rawDescGZIP() []byte {
395 file_grafeas_v1_sbom_proto_rawDescOnce.Do(func() {
396 file_grafeas_v1_sbom_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_sbom_proto_rawDescData)
397 })
398 return file_grafeas_v1_sbom_proto_rawDescData
399 }
400
401 var file_grafeas_v1_sbom_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
402 var file_grafeas_v1_sbom_proto_goTypes = []interface{}{
403 (*SBOMReferenceNote)(nil),
404 (*SBOMReferenceOccurrence)(nil),
405 (*SbomReferenceIntotoPayload)(nil),
406 (*SbomReferenceIntotoPredicate)(nil),
407 nil,
408 (*EnvelopeSignature)(nil),
409 (*Subject)(nil),
410 }
411 var file_grafeas_v1_sbom_proto_depIdxs = []int32{
412 2,
413 5,
414 6,
415 3,
416 4,
417 5,
418 5,
419 5,
420 5,
421 0,
422 }
423
424 func init() { file_grafeas_v1_sbom_proto_init() }
425 func file_grafeas_v1_sbom_proto_init() {
426 if File_grafeas_v1_sbom_proto != nil {
427 return
428 }
429 file_grafeas_v1_common_proto_init()
430 file_grafeas_v1_intoto_statement_proto_init()
431 if !protoimpl.UnsafeEnabled {
432 file_grafeas_v1_sbom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
433 switch v := v.(*SBOMReferenceNote); i {
434 case 0:
435 return &v.state
436 case 1:
437 return &v.sizeCache
438 case 2:
439 return &v.unknownFields
440 default:
441 return nil
442 }
443 }
444 file_grafeas_v1_sbom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
445 switch v := v.(*SBOMReferenceOccurrence); i {
446 case 0:
447 return &v.state
448 case 1:
449 return &v.sizeCache
450 case 2:
451 return &v.unknownFields
452 default:
453 return nil
454 }
455 }
456 file_grafeas_v1_sbom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
457 switch v := v.(*SbomReferenceIntotoPayload); i {
458 case 0:
459 return &v.state
460 case 1:
461 return &v.sizeCache
462 case 2:
463 return &v.unknownFields
464 default:
465 return nil
466 }
467 }
468 file_grafeas_v1_sbom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
469 switch v := v.(*SbomReferenceIntotoPredicate); i {
470 case 0:
471 return &v.state
472 case 1:
473 return &v.sizeCache
474 case 2:
475 return &v.unknownFields
476 default:
477 return nil
478 }
479 }
480 }
481 type x struct{}
482 out := protoimpl.TypeBuilder{
483 File: protoimpl.DescBuilder{
484 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
485 RawDescriptor: file_grafeas_v1_sbom_proto_rawDesc,
486 NumEnums: 0,
487 NumMessages: 5,
488 NumExtensions: 0,
489 NumServices: 0,
490 },
491 GoTypes: file_grafeas_v1_sbom_proto_goTypes,
492 DependencyIndexes: file_grafeas_v1_sbom_proto_depIdxs,
493 MessageInfos: file_grafeas_v1_sbom_proto_msgTypes,
494 }.Build()
495 File_grafeas_v1_sbom_proto = out.File
496 file_grafeas_v1_sbom_proto_rawDesc = nil
497 file_grafeas_v1_sbom_proto_goTypes = nil
498 file_grafeas_v1_sbom_proto_depIdxs = nil
499 }
500
View as plain text