Debian Codegraph @

googleapis/grafeas/v1/secret.pb.go

raw
1 // Copyright 2025 The Grafeas Authors. All rights reserved.
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.26.0
18 // protoc v4.24.4
19 // source: grafeas/v1/secret.proto
20
21 package grafeas
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 anypb "google.golang.org/protobuf/types/known/anypb"
31 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // Kind of secret.
42 type SecretKind int32
43
44 const (
45 // Unspecified
46 SecretKind_SECRET_KIND_UNSPECIFIED SecretKind = 0
47 // The secret kind is unknown.
48 SecretKind_SECRET_KIND_UNKNOWN SecretKind = 1
49 // A Google Cloud service account key per:
50 // https://cloud.google.com/iam/docs/creating-managing-service-account-keys
51 SecretKind_SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY SecretKind = 2
52 // A Google Cloud API key per:
53 // https://cloud.google.com/docs/authentication/api-keys
54 SecretKind_SECRET_KIND_GCP_API_KEY SecretKind = 3
55 // A Google Cloud OAuth2 client credentials per:
56 // https://developers.google.com/identity/protocols/oauth2
57 SecretKind_SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS SecretKind = 4
58 // A Google Cloud OAuth2 access token per:
59 // https://cloud.google.com/docs/authentication/token-types#access
60 SecretKind_SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN SecretKind = 5
61 // An Anthropic Admin API key.
62 SecretKind_SECRET_KIND_ANTHROPIC_ADMIN_API_KEY SecretKind = 6
63 // An Anthropic API key.
64 SecretKind_SECRET_KIND_ANTHROPIC_API_KEY SecretKind = 7
65 // An Azure access token.
66 SecretKind_SECRET_KIND_AZURE_ACCESS_TOKEN SecretKind = 8
67 // An Azure Identity Platform ID token.
68 SecretKind_SECRET_KIND_AZURE_IDENTITY_TOKEN SecretKind = 9
69 // A Docker Hub personal access token.
70 SecretKind_SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN SecretKind = 10
71 // A GitHub App refresh token.
72 SecretKind_SECRET_KIND_GITHUB_APP_REFRESH_TOKEN SecretKind = 11
73 // A GitHub App server-to-server token.
74 SecretKind_SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN SecretKind = 12
75 // A GitHub App user-to-server token.
76 SecretKind_SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN SecretKind = 13
77 // A GitHub personal access token (classic).
78 SecretKind_SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN SecretKind = 14
79 // A GitHub fine-grained personal access token.
80 SecretKind_SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN SecretKind = 15
81 // A GitHub OAuth token.
82 SecretKind_SECRET_KIND_GITHUB_OAUTH_TOKEN SecretKind = 16
83 // A Hugging Face API key.
84 SecretKind_SECRET_KIND_HUGGINGFACE_API_KEY SecretKind = 17
85 // An OpenAI API key.
86 SecretKind_SECRET_KIND_OPENAI_API_KEY SecretKind = 18
87 // A Perplexity API key.
88 SecretKind_SECRET_KIND_PERPLEXITY_API_KEY SecretKind = 19
89 // A Stripe secret key.
90 SecretKind_SECRET_KIND_STRIPE_SECRET_KEY SecretKind = 20
91 // A Stripe restricted key.
92 SecretKind_SECRET_KIND_STRIPE_RESTRICTED_KEY SecretKind = 21
93 // A Stripe webhook secret.
94 SecretKind_SECRET_KIND_STRIPE_WEBHOOK_SECRET SecretKind = 22
95 )
96
97 // Enum value maps for SecretKind.
98 var (
99 SecretKind_name = map[int32]string{
100 0: "SECRET_KIND_UNSPECIFIED",
101 1: "SECRET_KIND_UNKNOWN",
102 2: "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY",
103 3: "SECRET_KIND_GCP_API_KEY",
104 4: "SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS",
105 5: "SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN",
106 6: "SECRET_KIND_ANTHROPIC_ADMIN_API_KEY",
107 7: "SECRET_KIND_ANTHROPIC_API_KEY",
108 8: "SECRET_KIND_AZURE_ACCESS_TOKEN",
109 9: "SECRET_KIND_AZURE_IDENTITY_TOKEN",
110 10: "SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN",
111 11: "SECRET_KIND_GITHUB_APP_REFRESH_TOKEN",
112 12: "SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN",
113 13: "SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN",
114 14: "SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN",
115 15: "SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN",
116 16: "SECRET_KIND_GITHUB_OAUTH_TOKEN",
117 17: "SECRET_KIND_HUGGINGFACE_API_KEY",
118 18: "SECRET_KIND_OPENAI_API_KEY",
119 19: "SECRET_KIND_PERPLEXITY_API_KEY",
120 20: "SECRET_KIND_STRIPE_SECRET_KEY",
121 21: "SECRET_KIND_STRIPE_RESTRICTED_KEY",
122 22: "SECRET_KIND_STRIPE_WEBHOOK_SECRET",
123 }
124 SecretKind_value = map[string]int32{
125 "SECRET_KIND_UNSPECIFIED": 0,
126 "SECRET_KIND_UNKNOWN": 1,
127 "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY": 2,
128 "SECRET_KIND_GCP_API_KEY": 3,
129 "SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS": 4,
130 "SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN": 5,
131 "SECRET_KIND_ANTHROPIC_ADMIN_API_KEY": 6,
132 "SECRET_KIND_ANTHROPIC_API_KEY": 7,
133 "SECRET_KIND_AZURE_ACCESS_TOKEN": 8,
134 "SECRET_KIND_AZURE_IDENTITY_TOKEN": 9,
135 "SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN": 10,
136 "SECRET_KIND_GITHUB_APP_REFRESH_TOKEN": 11,
137 "SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN": 12,
138 "SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN": 13,
139 "SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN": 14,
140 "SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN": 15,
141 "SECRET_KIND_GITHUB_OAUTH_TOKEN": 16,
142 "SECRET_KIND_HUGGINGFACE_API_KEY": 17,
143 "SECRET_KIND_OPENAI_API_KEY": 18,
144 "SECRET_KIND_PERPLEXITY_API_KEY": 19,
145 "SECRET_KIND_STRIPE_SECRET_KEY": 20,
146 "SECRET_KIND_STRIPE_RESTRICTED_KEY": 21,
147 "SECRET_KIND_STRIPE_WEBHOOK_SECRET": 22,
148 }
149 )
150
151 func (x SecretKind) Enum() *SecretKind {
152 p := new(SecretKind)
153 *p = x
154 return p
155 }
156
157 func (x SecretKind) String() string {
158 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
159 }
160
161 func (SecretKind) Descriptor() protoreflect.EnumDescriptor {
162 return file_grafeas_v1_secret_proto_enumTypes[0].Descriptor()
163 }
164
165 func (SecretKind) Type() protoreflect.EnumType {
166 return &file_grafeas_v1_secret_proto_enumTypes[0]
167 }
168
169 func (x SecretKind) Number() protoreflect.EnumNumber {
170 return protoreflect.EnumNumber(x)
171 }
172
173 // Deprecated: Use SecretKind.Descriptor instead.
174 func (SecretKind) EnumDescriptor() ([]byte, []int) {
175 return file_grafeas_v1_secret_proto_rawDescGZIP(), []int{0}
176 }
177
178 // The status of the secret.
179 type SecretStatus_Status int32
180
181 const (
182 // Unspecified
183 SecretStatus_STATUS_UNSPECIFIED SecretStatus_Status = 0
184 // The status of the secret is unknown.
185 SecretStatus_UNKNOWN SecretStatus_Status = 1
186 // The secret is valid.
187 SecretStatus_VALID SecretStatus_Status = 2
188 // The secret is invalid.
189 SecretStatus_INVALID SecretStatus_Status = 3
190 )
191
192 // Enum value maps for SecretStatus_Status.
193 var (
194 SecretStatus_Status_name = map[int32]string{
195 0: "STATUS_UNSPECIFIED",
196 1: "UNKNOWN",
197 2: "VALID",
198 3: "INVALID",
199 }
200 SecretStatus_Status_value = map[string]int32{
201 "STATUS_UNSPECIFIED": 0,
202 "UNKNOWN": 1,
203 "VALID": 2,
204 "INVALID": 3,
205 }
206 )
207
208 func (x SecretStatus_Status) Enum() *SecretStatus_Status {
209 p := new(SecretStatus_Status)
210 *p = x
211 return p
212 }
213
214 func (x SecretStatus_Status) String() string {
215 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
216 }
217
218 func (SecretStatus_Status) Descriptor() protoreflect.EnumDescriptor {
219 return file_grafeas_v1_secret_proto_enumTypes[1].Descriptor()
220 }
221
222 func (SecretStatus_Status) Type() protoreflect.EnumType {
223 return &file_grafeas_v1_secret_proto_enumTypes[1]
224 }
225
226 func (x SecretStatus_Status) Number() protoreflect.EnumNumber {
227 return protoreflect.EnumNumber(x)
228 }
229
230 // Deprecated: Use SecretStatus_Status.Descriptor instead.
231 func (SecretStatus_Status) EnumDescriptor() ([]byte, []int) {
232 return file_grafeas_v1_secret_proto_rawDescGZIP(), []int{3, 0}
233 }
234
235 // The note representing a secret.
236 type SecretNote struct {
237 state protoimpl.MessageState
238 sizeCache protoimpl.SizeCache
239 unknownFields protoimpl.UnknownFields
240 }
241
242 func (x *SecretNote) Reset() {
243 *x = SecretNote{}
244 if protoimpl.UnsafeEnabled {
245 mi := &file_grafeas_v1_secret_proto_msgTypes[0]
246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
247 ms.StoreMessageInfo(mi)
248 }
249 }
250
251 func (x *SecretNote) String() string {
252 return protoimpl.X.MessageStringOf(x)
253 }
254
255 func (*SecretNote) ProtoMessage() {}
256
257 func (x *SecretNote) ProtoReflect() protoreflect.Message {
258 mi := &file_grafeas_v1_secret_proto_msgTypes[0]
259 if protoimpl.UnsafeEnabled && x != nil {
260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
261 if ms.LoadMessageInfo() == nil {
262 ms.StoreMessageInfo(mi)
263 }
264 return ms
265 }
266 return mi.MessageOf(x)
267 }
268
269 // Deprecated: Use SecretNote.ProtoReflect.Descriptor instead.
270 func (*SecretNote) Descriptor() ([]byte, []int) {
271 return file_grafeas_v1_secret_proto_rawDescGZIP(), []int{0}
272 }
273
274 // The occurrence provides details of a secret.
275 type SecretOccurrence struct {
276 state protoimpl.MessageState
277 sizeCache protoimpl.SizeCache
278 unknownFields protoimpl.UnknownFields
279
280 // Type of secret.
281 Kind SecretKind `protobuf:"varint,1,opt,name=kind,proto3,enum=grafeas.v1.SecretKind" json:"kind,omitempty"`
282 // Locations where the secret is detected.
283 Locations []*SecretLocation `protobuf:"bytes,2,rep,name=locations,proto3" json:"locations,omitempty"`
284 // Status of the secret.
285 Statuses []*SecretStatus `protobuf:"bytes,3,rep,name=statuses,proto3" json:"statuses,omitempty"`
286 // Scan result of the secret.
287 Data *anypb.Any `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
288 // Hash value, typically a digest for the secret data, that allows unique
289 // identification of a specific secret.
290 Digest *Digest `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"`
291 }
292
293 func (x *SecretOccurrence) Reset() {
294 *x = SecretOccurrence{}
295 if protoimpl.UnsafeEnabled {
296 mi := &file_grafeas_v1_secret_proto_msgTypes[1]
297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298 ms.StoreMessageInfo(mi)
299 }
300 }
301
302 func (x *SecretOccurrence) String() string {
303 return protoimpl.X.MessageStringOf(x)
304 }
305
306 func (*SecretOccurrence) ProtoMessage() {}
307
308 func (x *SecretOccurrence) ProtoReflect() protoreflect.Message {
309 mi := &file_grafeas_v1_secret_proto_msgTypes[1]
310 if protoimpl.UnsafeEnabled && x != nil {
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 if ms.LoadMessageInfo() == nil {
313 ms.StoreMessageInfo(mi)
314 }
315 return ms
316 }
317 return mi.MessageOf(x)
318 }
319
320 // Deprecated: Use SecretOccurrence.ProtoReflect.Descriptor instead.
321 func (*SecretOccurrence) Descriptor() ([]byte, []int) {
322 return file_grafeas_v1_secret_proto_rawDescGZIP(), []int{1}
323 }
324
325 func (x *SecretOccurrence) GetKind() SecretKind {
326 if x != nil {
327 return x.Kind
328 }
329 return SecretKind_SECRET_KIND_UNSPECIFIED
330 }
331
332 func (x *SecretOccurrence) GetLocations() []*SecretLocation {
333 if x != nil {
334 return x.Locations
335 }
336 return nil
337 }
338
339 func (x *SecretOccurrence) GetStatuses() []*SecretStatus {
340 if x != nil {
341 return x.Statuses
342 }
343 return nil
344 }
345
346 func (x *SecretOccurrence) GetData() *anypb.Any {
347 if x != nil {
348 return x.Data
349 }
350 return nil
351 }
352
353 func (x *SecretOccurrence) GetDigest() *Digest {
354 if x != nil {
355 return x.Digest
356 }
357 return nil
358 }
359
360 // The location of the secret.
361 type SecretLocation struct {
362 state protoimpl.MessageState
363 sizeCache protoimpl.SizeCache
364 unknownFields protoimpl.UnknownFields
365
366 // The detailed location of the secret.
367 //
368 // Types that are assignable to Location:
369 //
370 // *SecretLocation_FileLocation
371 Location isSecretLocation_Location `protobuf_oneof:"location"`
372 }
373
374 func (x *SecretLocation) Reset() {
375 *x = SecretLocation{}
376 if protoimpl.UnsafeEnabled {
377 mi := &file_grafeas_v1_secret_proto_msgTypes[2]
378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
379 ms.StoreMessageInfo(mi)
380 }
381 }
382
383 func (x *SecretLocation) String() string {
384 return protoimpl.X.MessageStringOf(x)
385 }
386
387 func (*SecretLocation) ProtoMessage() {}
388
389 func (x *SecretLocation) ProtoReflect() protoreflect.Message {
390 mi := &file_grafeas_v1_secret_proto_msgTypes[2]
391 if protoimpl.UnsafeEnabled && x != nil {
392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
393 if ms.LoadMessageInfo() == nil {
394 ms.StoreMessageInfo(mi)
395 }
396 return ms
397 }
398 return mi.MessageOf(x)
399 }
400
401 // Deprecated: Use SecretLocation.ProtoReflect.Descriptor instead.
402 func (*SecretLocation) Descriptor() ([]byte, []int) {
403 return file_grafeas_v1_secret_proto_rawDescGZIP(), []int{2}
404 }
405
406 func (m *SecretLocation) GetLocation() isSecretLocation_Location {
407 if m != nil {
408 return m.Location
409 }
410 return nil
411 }
412
413 func (x *SecretLocation) GetFileLocation() *FileLocation {
414 if x, ok := x.GetLocation().(*SecretLocation_FileLocation); ok {
415 return x.FileLocation
416 }
417 return nil
418 }
419
420 type isSecretLocation_Location interface {
421 isSecretLocation_Location()
422 }
423
424 type SecretLocation_FileLocation struct {
425 // The secret is found from a file.
426 FileLocation *FileLocation `protobuf:"bytes,1,opt,name=file_location,json=fileLocation,proto3,oneof"`
427 }
428
429 func (*SecretLocation_FileLocation) isSecretLocation_Location() {}
430
431 // The status of the secret with a timestamp.
432 type SecretStatus struct {
433 state protoimpl.MessageState
434 sizeCache protoimpl.SizeCache
435 unknownFields protoimpl.UnknownFields
436
437 // The status of the secret.
438 Status SecretStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=grafeas.v1.SecretStatus_Status" json:"status,omitempty"`
439 // The time the secret status was last updated.
440 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
441 // Optional message about the status code.
442 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
443 }
444
445 func (x *SecretStatus) Reset() {
446 *x = SecretStatus{}
447 if protoimpl.UnsafeEnabled {
448 mi := &file_grafeas_v1_secret_proto_msgTypes[3]
449 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
450 ms.StoreMessageInfo(mi)
451 }
452 }
453
454 func (x *SecretStatus) String() string {
455 return protoimpl.X.MessageStringOf(x)
456 }
457
458 func (*SecretStatus) ProtoMessage() {}
459
460 func (x *SecretStatus) ProtoReflect() protoreflect.Message {
461 mi := &file_grafeas_v1_secret_proto_msgTypes[3]
462 if protoimpl.UnsafeEnabled && x != nil {
463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
464 if ms.LoadMessageInfo() == nil {
465 ms.StoreMessageInfo(mi)
466 }
467 return ms
468 }
469 return mi.MessageOf(x)
470 }
471
472 // Deprecated: Use SecretStatus.ProtoReflect.Descriptor instead.
473 func (*SecretStatus) Descriptor() ([]byte, []int) {
474 return file_grafeas_v1_secret_proto_rawDescGZIP(), []int{3}
475 }
476
477 func (x *SecretStatus) GetStatus() SecretStatus_Status {
478 if x != nil {
479 return x.Status
480 }
481 return SecretStatus_STATUS_UNSPECIFIED
482 }
483
484 func (x *SecretStatus) GetUpdateTime() *timestamppb.Timestamp {
485 if x != nil {
486 return x.UpdateTime
487 }
488 return nil
489 }
490
491 func (x *SecretStatus) GetMessage() string {
492 if x != nil {
493 return x.Message
494 }
495 return ""
496 }
497
498 var File_grafeas_v1_secret_proto protoreflect.FileDescriptor
499
500 var file_grafeas_v1_secret_proto_rawDesc = []byte{
501 0x0a, 0x17, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63,
502 0x72, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66, 0x65,
503 0x61, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
504 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72,
505 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
506 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
507 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
508 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
509 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63,
510 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0c, 0x0a, 0x0a, 0x53,
511 0x65, 0x63, 0x72, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x22, 0x93, 0x02, 0x0a, 0x10, 0x53, 0x65,
512 0x63, 0x72, 0x65, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x2f,
513 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x67,
514 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
515 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12,
516 0x3d, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03,
517 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e,
518 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03,
519 0xe0, 0x41, 0x01, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39,
520 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
521 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
522 0x63, 0x72, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
523 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74,
524 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
525 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x64,
526 0x61, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20,
527 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
528 0x2e, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x22,
529 0x5d, 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
530 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
531 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65,
532 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
533 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
534 0x6f, 0x6e, 0x42, 0x0a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf4,
535 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
536 0x3c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
537 0x1f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63,
538 0x72, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
539 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x40, 0x0a,
540 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
541 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
542 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03,
543 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
544 0x1d, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
545 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x45,
546 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54,
547 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
548 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x09, 0x0a,
549 0x05, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41,
550 0x4c, 0x49, 0x44, 0x10, 0x03, 0x2a, 0xa5, 0x07, 0x0a, 0x0a, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
551 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b,
552 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
553 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44,
554 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x27, 0x0a, 0x23, 0x53, 0x45,
555 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x47, 0x43, 0x50, 0x5f, 0x53, 0x45,
556 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4b, 0x45,
557 0x59, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49,
558 0x4e, 0x44, 0x5f, 0x47, 0x43, 0x50, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x03,
559 0x12, 0x2d, 0x0a, 0x29, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f,
560 0x47, 0x43, 0x50, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x32, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e,
561 0x54, 0x5f, 0x43, 0x52, 0x45, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x41, 0x4c, 0x53, 0x10, 0x04, 0x12,
562 0x27, 0x0a, 0x23, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x47,
563 0x43, 0x50, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x32, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53,
564 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x05, 0x12, 0x27, 0x0a, 0x23, 0x53, 0x45, 0x43, 0x52,
565 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x41, 0x4e, 0x54, 0x48, 0x52, 0x4f, 0x50, 0x49,
566 0x43, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10,
567 0x06, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44,
568 0x5f, 0x41, 0x4e, 0x54, 0x48, 0x52, 0x4f, 0x50, 0x49, 0x43, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b,
569 0x45, 0x59, 0x10, 0x07, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b,
570 0x49, 0x4e, 0x44, 0x5f, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53,
571 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x08, 0x12, 0x24, 0x0a, 0x20, 0x53, 0x45, 0x43, 0x52,
572 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x49, 0x44,
573 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x09, 0x12, 0x30,
574 0x0a, 0x2c, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x44, 0x4f,
575 0x43, 0x4b, 0x45, 0x52, 0x5f, 0x48, 0x55, 0x42, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x41,
576 0x4c, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x0a,
577 0x12, 0x28, 0x0a, 0x24, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f,
578 0x47, 0x49, 0x54, 0x48, 0x55, 0x42, 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x52, 0x45, 0x46, 0x52, 0x45,
579 0x53, 0x48, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x0b, 0x12, 0x31, 0x0a, 0x2d, 0x53, 0x45,
580 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x47, 0x49, 0x54, 0x48, 0x55, 0x42,
581 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x5f, 0x53,
582 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x0c, 0x12, 0x2f, 0x0a,
583 0x2b, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x47, 0x49, 0x54,
584 0x48, 0x55, 0x42, 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x5f,
585 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x0d, 0x12, 0x34,
586 0x0a, 0x30, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x47, 0x49,
587 0x54, 0x48, 0x55, 0x42, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, 0x43, 0x5f, 0x50, 0x45, 0x52,
588 0x53, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b,
589 0x45, 0x4e, 0x10, 0x0e, 0x12, 0x39, 0x0a, 0x35, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b,
590 0x49, 0x4e, 0x44, 0x5f, 0x47, 0x49, 0x54, 0x48, 0x55, 0x42, 0x5f, 0x46, 0x49, 0x4e, 0x45, 0x5f,
591 0x47, 0x52, 0x41, 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x4f, 0x4e, 0x41, 0x4c,
592 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x0f, 0x12,
593 0x22, 0x0a, 0x1e, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x47,
594 0x49, 0x54, 0x48, 0x55, 0x42, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x54, 0x4f, 0x4b, 0x45,
595 0x4e, 0x10, 0x10, 0x12, 0x23, 0x0a, 0x1f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49,
596 0x4e, 0x44, 0x5f, 0x48, 0x55, 0x47, 0x47, 0x49, 0x4e, 0x47, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x41,
597 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x11, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x45, 0x43, 0x52,
598 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x41, 0x49, 0x5f, 0x41,
599 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x12, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x45, 0x43, 0x52,
600 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x50, 0x45, 0x52, 0x50, 0x4c, 0x45, 0x58, 0x49,
601 0x54, 0x59, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x13, 0x12, 0x21, 0x0a, 0x1d,
602 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x53, 0x54, 0x52, 0x49,
603 0x50, 0x45, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x14, 0x12,
604 0x25, 0x0a, 0x21, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x53,
605 0x54, 0x52, 0x49, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x45, 0x44,
606 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x15, 0x12, 0x25, 0x0a, 0x21, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54,
607 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42,
608 0x48, 0x4f, 0x4f, 0x4b, 0x5f, 0x53, 0x45, 0x43, 0x52, 0x45, 0x54, 0x10, 0x16, 0x42, 0x51, 0x0a,
609 0x0d, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x50, 0x01,
610 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
611 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
612 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f,
613 0x76, 0x31, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41,
614 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
615 }
616
617 var (
618 file_grafeas_v1_secret_proto_rawDescOnce sync.Once
619 file_grafeas_v1_secret_proto_rawDescData = file_grafeas_v1_secret_proto_rawDesc
620 )
621
622 func file_grafeas_v1_secret_proto_rawDescGZIP() []byte {
623 file_grafeas_v1_secret_proto_rawDescOnce.Do(func() {
624 file_grafeas_v1_secret_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_secret_proto_rawDescData)
625 })
626 return file_grafeas_v1_secret_proto_rawDescData
627 }
628
629 var file_grafeas_v1_secret_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
630 var file_grafeas_v1_secret_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
631 var file_grafeas_v1_secret_proto_goTypes = []interface{}{
632 (SecretKind)(0), // 0: grafeas.v1.SecretKind
633 (SecretStatus_Status)(0), // 1: grafeas.v1.SecretStatus.Status
634 (*SecretNote)(nil), // 2: grafeas.v1.SecretNote
635 (*SecretOccurrence)(nil), // 3: grafeas.v1.SecretOccurrence
636 (*SecretLocation)(nil), // 4: grafeas.v1.SecretLocation
637 (*SecretStatus)(nil), // 5: grafeas.v1.SecretStatus
638 (*anypb.Any)(nil), // 6: google.protobuf.Any
639 (*Digest)(nil), // 7: grafeas.v1.Digest
640 (*FileLocation)(nil), // 8: grafeas.v1.FileLocation
641 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
642 }
643 var file_grafeas_v1_secret_proto_depIdxs = []int32{
644 0, // 0: grafeas.v1.SecretOccurrence.kind:type_name -> grafeas.v1.SecretKind
645 4, // 1: grafeas.v1.SecretOccurrence.locations:type_name -> grafeas.v1.SecretLocation
646 5, // 2: grafeas.v1.SecretOccurrence.statuses:type_name -> grafeas.v1.SecretStatus
647 6, // 3: grafeas.v1.SecretOccurrence.data:type_name -> google.protobuf.Any
648 7, // 4: grafeas.v1.SecretOccurrence.digest:type_name -> grafeas.v1.Digest
649 8, // 5: grafeas.v1.SecretLocation.file_location:type_name -> grafeas.v1.FileLocation
650 1, // 6: grafeas.v1.SecretStatus.status:type_name -> grafeas.v1.SecretStatus.Status
651 9, // 7: grafeas.v1.SecretStatus.update_time:type_name -> google.protobuf.Timestamp
652 8, // [8:8] is the sub-list for method output_type
653 8, // [8:8] is the sub-list for method input_type
654 8, // [8:8] is the sub-list for extension type_name
655 8, // [8:8] is the sub-list for extension extendee
656 0, // [0:8] is the sub-list for field type_name
657 }
658
659 func init() { file_grafeas_v1_secret_proto_init() }
660 func file_grafeas_v1_secret_proto_init() {
661 if File_grafeas_v1_secret_proto != nil {
662 return
663 }
664 file_grafeas_v1_common_proto_init()
665 if !protoimpl.UnsafeEnabled {
666 file_grafeas_v1_secret_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
667 switch v := v.(*SecretNote); i {
668 case 0:
669 return &v.state
670 case 1:
671 return &v.sizeCache
672 case 2:
673 return &v.unknownFields
674 default:
675 return nil
676 }
677 }
678 file_grafeas_v1_secret_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
679 switch v := v.(*SecretOccurrence); i {
680 case 0:
681 return &v.state
682 case 1:
683 return &v.sizeCache
684 case 2:
685 return &v.unknownFields
686 default:
687 return nil
688 }
689 }
690 file_grafeas_v1_secret_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
691 switch v := v.(*SecretLocation); i {
692 case 0:
693 return &v.state
694 case 1:
695 return &v.sizeCache
696 case 2:
697 return &v.unknownFields
698 default:
699 return nil
700 }
701 }
702 file_grafeas_v1_secret_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
703 switch v := v.(*SecretStatus); i {
704 case 0:
705 return &v.state
706 case 1:
707 return &v.sizeCache
708 case 2:
709 return &v.unknownFields
710 default:
711 return nil
712 }
713 }
714 }
715 file_grafeas_v1_secret_proto_msgTypes[2].OneofWrappers = []interface{}{
716 (*SecretLocation_FileLocation)(nil),
717 }
718 type x struct{}
719 out := protoimpl.TypeBuilder{
720 File: protoimpl.DescBuilder{
721 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
722 RawDescriptor: file_grafeas_v1_secret_proto_rawDesc,
723 NumEnums: 2,
724 NumMessages: 4,
725 NumExtensions: 0,
726 NumServices: 0,
727 },
728 GoTypes: file_grafeas_v1_secret_proto_goTypes,
729 DependencyIndexes: file_grafeas_v1_secret_proto_depIdxs,
730 EnumInfos: file_grafeas_v1_secret_proto_enumTypes,
731 MessageInfos: file_grafeas_v1_secret_proto_msgTypes,
732 }.Build()
733 File_grafeas_v1_secret_proto = out.File
734 file_grafeas_v1_secret_proto_rawDesc = nil
735 file_grafeas_v1_secret_proto_goTypes = nil
736 file_grafeas_v1_secret_proto_depIdxs = nil
737 }