Debian Codegraph @

securitycenter/apiv2/securitycenterpb/file.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/cloud/securitycenter/v2/file.proto
20
21 package securitycenterpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // The type of the operation
38 type File_FileOperation_OperationType int32
39
40 const (
41 // The operation is unspecified.
42 File_FileOperation_OPERATION_TYPE_UNSPECIFIED File_FileOperation_OperationType = 0
43 // Represents an open operation.
44 File_FileOperation_OPEN File_FileOperation_OperationType = 1
45 // Represents a read operation.
46 File_FileOperation_READ File_FileOperation_OperationType = 2
47 // Represents a rename operation.
48 File_FileOperation_RENAME File_FileOperation_OperationType = 3
49 // Represents a write operation.
50 File_FileOperation_WRITE File_FileOperation_OperationType = 4
51 // Represents an execute operation.
52 File_FileOperation_EXECUTE File_FileOperation_OperationType = 5
53 )
54
55 // Enum value maps for File_FileOperation_OperationType.
56 var (
57 File_FileOperation_OperationType_name = map[int32]string{
58 0: "OPERATION_TYPE_UNSPECIFIED",
59 1: "OPEN",
60 2: "READ",
61 3: "RENAME",
62 4: "WRITE",
63 5: "EXECUTE",
64 }
65 File_FileOperation_OperationType_value = map[string]int32{
66 "OPERATION_TYPE_UNSPECIFIED": 0,
67 "OPEN": 1,
68 "READ": 2,
69 "RENAME": 3,
70 "WRITE": 4,
71 "EXECUTE": 5,
72 }
73 )
74
75 func (x File_FileOperation_OperationType) Enum() *File_FileOperation_OperationType {
76 p := new(File_FileOperation_OperationType)
77 *p = x
78 return p
79 }
80
81 func (x File_FileOperation_OperationType) String() string {
82 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
83 }
84
85 func (File_FileOperation_OperationType) Descriptor() protoreflect.EnumDescriptor {
86 return file_google_cloud_securitycenter_v2_file_proto_enumTypes[0].Descriptor()
87 }
88
89 func (File_FileOperation_OperationType) Type() protoreflect.EnumType {
90 return &file_google_cloud_securitycenter_v2_file_proto_enumTypes[0]
91 }
92
93 func (x File_FileOperation_OperationType) Number() protoreflect.EnumNumber {
94 return protoreflect.EnumNumber(x)
95 }
96
97 // Deprecated: Use File_FileOperation_OperationType.Descriptor instead.
98 func (File_FileOperation_OperationType) EnumDescriptor() ([]byte, []int) {
99 return file_google_cloud_securitycenter_v2_file_proto_rawDescGZIP(), []int{0, 1, 0}
100 }
101
102 // File information about the related binary/library used by an executable, or
103 // the script used by a script interpreter
104 type File struct {
105 state protoimpl.MessageState
106 sizeCache protoimpl.SizeCache
107 unknownFields protoimpl.UnknownFields
108
109 // Absolute path of the file as a JSON encoded string.
110 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
111 // Size of the file in bytes.
112 Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
113 // SHA256 hash of the first hashed_size bytes of the file encoded as a
114 // hex string. If hashed_size == size, sha256 represents the SHA256 hash
115 // of the entire file.
116 Sha256 string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"`
117 // The length in bytes of the file prefix that was hashed. If
118 // hashed_size == size, any hashes reported represent the entire
119 // file.
120 HashedSize int64 `protobuf:"varint,4,opt,name=hashed_size,json=hashedSize,proto3" json:"hashed_size,omitempty"`
121 // True when the hash covers only a prefix of the file.
122 PartiallyHashed bool `protobuf:"varint,5,opt,name=partially_hashed,json=partiallyHashed,proto3" json:"partially_hashed,omitempty"`
123 // Prefix of the file contents as a JSON-encoded string.
124 Contents string `protobuf:"bytes,6,opt,name=contents,proto3" json:"contents,omitempty"`
125 // Path of the file in terms of underlying disk/partition identifiers.
126 DiskPath *File_DiskPath `protobuf:"bytes,7,opt,name=disk_path,json=diskPath,proto3" json:"disk_path,omitempty"`
127 // Operation(s) performed on a file.
128 Operations []*File_FileOperation `protobuf:"bytes,8,rep,name=operations,proto3" json:"operations,omitempty"`
129 }
130
131 func (x *File) Reset() {
132 *x = File{}
133 mi := &file_google_cloud_securitycenter_v2_file_proto_msgTypes[0]
134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
135 ms.StoreMessageInfo(mi)
136 }
137
138 func (x *File) String() string {
139 return protoimpl.X.MessageStringOf(x)
140 }
141
142 func (*File) ProtoMessage() {}
143
144 func (x *File) ProtoReflect() protoreflect.Message {
145 mi := &file_google_cloud_securitycenter_v2_file_proto_msgTypes[0]
146 if x != nil {
147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
148 if ms.LoadMessageInfo() == nil {
149 ms.StoreMessageInfo(mi)
150 }
151 return ms
152 }
153 return mi.MessageOf(x)
154 }
155
156 // Deprecated: Use File.ProtoReflect.Descriptor instead.
157 func (*File) Descriptor() ([]byte, []int) {
158 return file_google_cloud_securitycenter_v2_file_proto_rawDescGZIP(), []int{0}
159 }
160
161 func (x *File) GetPath() string {
162 if x != nil {
163 return x.Path
164 }
165 return ""
166 }
167
168 func (x *File) GetSize() int64 {
169 if x != nil {
170 return x.Size
171 }
172 return 0
173 }
174
175 func (x *File) GetSha256() string {
176 if x != nil {
177 return x.Sha256
178 }
179 return ""
180 }
181
182 func (x *File) GetHashedSize() int64 {
183 if x != nil {
184 return x.HashedSize
185 }
186 return 0
187 }
188
189 func (x *File) GetPartiallyHashed() bool {
190 if x != nil {
191 return x.PartiallyHashed
192 }
193 return false
194 }
195
196 func (x *File) GetContents() string {
197 if x != nil {
198 return x.Contents
199 }
200 return ""
201 }
202
203 func (x *File) GetDiskPath() *File_DiskPath {
204 if x != nil {
205 return x.DiskPath
206 }
207 return nil
208 }
209
210 func (x *File) GetOperations() []*File_FileOperation {
211 if x != nil {
212 return x.Operations
213 }
214 return nil
215 }
216
217 // Path of the file in terms of underlying disk/partition identifiers.
218 type File_DiskPath struct {
219 state protoimpl.MessageState
220 sizeCache protoimpl.SizeCache
221 unknownFields protoimpl.UnknownFields
222
223 // UUID of the partition (format
224 // https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)
225 PartitionUuid string `protobuf:"bytes,1,opt,name=partition_uuid,json=partitionUuid,proto3" json:"partition_uuid,omitempty"`
226 // Relative path of the file in the partition as a JSON encoded string.
227 // Example: /home/user1/executable_file.sh
228 RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
229 }
230
231 func (x *File_DiskPath) Reset() {
232 *x = File_DiskPath{}
233 mi := &file_google_cloud_securitycenter_v2_file_proto_msgTypes[1]
234 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
235 ms.StoreMessageInfo(mi)
236 }
237
238 func (x *File_DiskPath) String() string {
239 return protoimpl.X.MessageStringOf(x)
240 }
241
242 func (*File_DiskPath) ProtoMessage() {}
243
244 func (x *File_DiskPath) ProtoReflect() protoreflect.Message {
245 mi := &file_google_cloud_securitycenter_v2_file_proto_msgTypes[1]
246 if x != nil {
247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
248 if ms.LoadMessageInfo() == nil {
249 ms.StoreMessageInfo(mi)
250 }
251 return ms
252 }
253 return mi.MessageOf(x)
254 }
255
256 // Deprecated: Use File_DiskPath.ProtoReflect.Descriptor instead.
257 func (*File_DiskPath) Descriptor() ([]byte, []int) {
258 return file_google_cloud_securitycenter_v2_file_proto_rawDescGZIP(), []int{0, 0}
259 }
260
261 func (x *File_DiskPath) GetPartitionUuid() string {
262 if x != nil {
263 return x.PartitionUuid
264 }
265 return ""
266 }
267
268 func (x *File_DiskPath) GetRelativePath() string {
269 if x != nil {
270 return x.RelativePath
271 }
272 return ""
273 }
274
275 // Operation(s) performed on a file.
276 type File_FileOperation struct {
277 state protoimpl.MessageState
278 sizeCache protoimpl.SizeCache
279 unknownFields protoimpl.UnknownFields
280
281 // The type of the operation
282 Type File_FileOperation_OperationType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.securitycenter.v2.File_FileOperation_OperationType" json:"type,omitempty"`
283 }
284
285 func (x *File_FileOperation) Reset() {
286 *x = File_FileOperation{}
287 mi := &file_google_cloud_securitycenter_v2_file_proto_msgTypes[2]
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 ms.StoreMessageInfo(mi)
290 }
291
292 func (x *File_FileOperation) String() string {
293 return protoimpl.X.MessageStringOf(x)
294 }
295
296 func (*File_FileOperation) ProtoMessage() {}
297
298 func (x *File_FileOperation) ProtoReflect() protoreflect.Message {
299 mi := &file_google_cloud_securitycenter_v2_file_proto_msgTypes[2]
300 if x != nil {
301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
302 if ms.LoadMessageInfo() == nil {
303 ms.StoreMessageInfo(mi)
304 }
305 return ms
306 }
307 return mi.MessageOf(x)
308 }
309
310 // Deprecated: Use File_FileOperation.ProtoReflect.Descriptor instead.
311 func (*File_FileOperation) Descriptor() ([]byte, []int) {
312 return file_google_cloud_securitycenter_v2_file_proto_rawDescGZIP(), []int{0, 1}
313 }
314
315 func (x *File_FileOperation) GetType() File_FileOperation_OperationType {
316 if x != nil {
317 return x.Type
318 }
319 return File_FileOperation_OPERATION_TYPE_UNSPECIFIED
320 }
321
322 var File_google_cloud_securitycenter_v2_file_proto protoreflect.FileDescriptor
323
324 var file_google_cloud_securitycenter_v2_file_proto_rawDesc = []byte{
325 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
326 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32,
327 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f,
328 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
329 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x22, 0xf7, 0x04, 0x0a, 0x04,
330 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01,
331 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
332 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06,
333 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x68,
334 0x61, 0x32, 0x35, 0x36, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x68, 0x65, 0x64, 0x5f, 0x73,
335 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x65,
336 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
337 0x6c, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
338 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x6c, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x64,
339 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01,
340 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4a, 0x0a, 0x09,
341 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
342 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
343 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32,
344 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x52, 0x08,
345 0x64, 0x69, 0x73, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x52, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x72,
346 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67,
347 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75,
348 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69,
349 0x6c, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
350 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x56, 0x0a, 0x08,
351 0x44, 0x69, 0x73, 0x6b, 0x50, 0x61, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74,
352 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
353 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x75, 0x69, 0x64, 0x12,
354 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68,
355 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65,
356 0x50, 0x61, 0x74, 0x68, 0x1a, 0xce, 0x01, 0x0a, 0x0d, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x65,
357 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
358 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
359 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74,
360 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f,
361 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
362 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x67, 0x0a, 0x0d,
363 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a,
364 0x1a, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
365 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a,
366 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x45, 0x41, 0x44, 0x10,
367 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x03, 0x12, 0x09, 0x0a,
368 0x05, 0x57, 0x52, 0x49, 0x54, 0x45, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x58, 0x45, 0x43,
369 0x55, 0x54, 0x45, 0x10, 0x05, 0x42, 0xe3, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
370 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72,
371 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x42, 0x09, 0x46, 0x69,
372 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64,
373 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73,
374 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70,
375 0x69, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74,
376 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
377 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
378 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e,
379 0x74, 0x65, 0x72, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
380 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65,
381 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
382 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
383 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f,
384 0x74, 0x6f, 0x33,
385 }
386
387 var (
388 file_google_cloud_securitycenter_v2_file_proto_rawDescOnce sync.Once
389 file_google_cloud_securitycenter_v2_file_proto_rawDescData = file_google_cloud_securitycenter_v2_file_proto_rawDesc
390 )
391
392 func file_google_cloud_securitycenter_v2_file_proto_rawDescGZIP() []byte {
393 file_google_cloud_securitycenter_v2_file_proto_rawDescOnce.Do(func() {
394 file_google_cloud_securitycenter_v2_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_file_proto_rawDescData)
395 })
396 return file_google_cloud_securitycenter_v2_file_proto_rawDescData
397 }
398
399 var file_google_cloud_securitycenter_v2_file_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
400 var file_google_cloud_securitycenter_v2_file_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
401 var file_google_cloud_securitycenter_v2_file_proto_goTypes = []any{
402 (File_FileOperation_OperationType)(0), // 0: google.cloud.securitycenter.v2.File.FileOperation.OperationType
403 (*File)(nil), // 1: google.cloud.securitycenter.v2.File
404 (*File_DiskPath)(nil), // 2: google.cloud.securitycenter.v2.File.DiskPath
405 (*File_FileOperation)(nil), // 3: google.cloud.securitycenter.v2.File.FileOperation
406 }
407 var file_google_cloud_securitycenter_v2_file_proto_depIdxs = []int32{
408 2, // 0: google.cloud.securitycenter.v2.File.disk_path:type_name -> google.cloud.securitycenter.v2.File.DiskPath
409 3, // 1: google.cloud.securitycenter.v2.File.operations:type_name -> google.cloud.securitycenter.v2.File.FileOperation
410 0, // 2: google.cloud.securitycenter.v2.File.FileOperation.type:type_name -> google.cloud.securitycenter.v2.File.FileOperation.OperationType
411 3, // [3:3] is the sub-list for method output_type
412 3, // [3:3] is the sub-list for method input_type
413 3, // [3:3] is the sub-list for extension type_name
414 3, // [3:3] is the sub-list for extension extendee
415 0, // [0:3] is the sub-list for field type_name
416 }
417
418 func init() { file_google_cloud_securitycenter_v2_file_proto_init() }
419 func file_google_cloud_securitycenter_v2_file_proto_init() {
420 if File_google_cloud_securitycenter_v2_file_proto != nil {
421 return
422 }
423 type x struct{}
424 out := protoimpl.TypeBuilder{
425 File: protoimpl.DescBuilder{
426 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
427 RawDescriptor: file_google_cloud_securitycenter_v2_file_proto_rawDesc,
428 NumEnums: 1,
429 NumMessages: 3,
430 NumExtensions: 0,
431 NumServices: 0,
432 },
433 GoTypes: file_google_cloud_securitycenter_v2_file_proto_goTypes,
434 DependencyIndexes: file_google_cloud_securitycenter_v2_file_proto_depIdxs,
435 EnumInfos: file_google_cloud_securitycenter_v2_file_proto_enumTypes,
436 MessageInfos: file_google_cloud_securitycenter_v2_file_proto_msgTypes,
437 }.Build()
438 File_google_cloud_securitycenter_v2_file_proto = out.File
439 file_google_cloud_securitycenter_v2_file_proto_rawDesc = nil
440 file_google_cloud_securitycenter_v2_file_proto_goTypes = nil
441 file_google_cloud_securitycenter_v2_file_proto_depIdxs = nil
442 }