Debian Codegraph @

crit/images/seccomp/seccomp.pb.go

raw symbols SCIP
1 // SPDX-License-Identifier: MIT
2
3 // Code generated by protoc-gen-go. DO NOT EDIT.
4 // versions:
5 // protoc-gen-go v1.30.0
6 // protoc v4.23.4
7 // source: seccomp.proto
8
9 package seccomp
10
11 import (
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type SeccompFilter struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 Filter []byte `protobuf:"bytes,1,req,name=filter" json:"filter,omitempty"`
31 Prev *uint32 `protobuf:"varint,2,opt,name=prev" json:"prev,omitempty"`
32 Flags *uint32 `protobuf:"varint,3,opt,name=flags" json:"flags,omitempty"`
33 }
34
35 func (x *SeccompFilter) Reset() {
36 *x = SeccompFilter{}
37 if protoimpl.UnsafeEnabled {
38 mi := &file_seccomp_proto_msgTypes[0]
39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40 ms.StoreMessageInfo(mi)
41 }
42 }
43
44 func (x *SeccompFilter) String() string {
45 return protoimpl.X.MessageStringOf(x)
46 }
47
48 func (*SeccompFilter) ProtoMessage() {}
49
50 func (x *SeccompFilter) ProtoReflect() protoreflect.Message {
51 mi := &file_seccomp_proto_msgTypes[0]
52 if protoimpl.UnsafeEnabled && x != nil {
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 if ms.LoadMessageInfo() == nil {
55 ms.StoreMessageInfo(mi)
56 }
57 return ms
58 }
59 return mi.MessageOf(x)
60 }
61
62 // Deprecated: Use SeccompFilter.ProtoReflect.Descriptor instead.
63 func (*SeccompFilter) Descriptor() ([]byte, []int) {
64 return file_seccomp_proto_rawDescGZIP(), []int{0}
65 }
66
67 func (x *SeccompFilter) GetFilter() []byte {
68 if x != nil {
69 return x.Filter
70 }
71 return nil
72 }
73
74 func (x *SeccompFilter) GetPrev() uint32 {
75 if x != nil && x.Prev != nil {
76 return *x.Prev
77 }
78 return 0
79 }
80
81 func (x *SeccompFilter) GetFlags() uint32 {
82 if x != nil && x.Flags != nil {
83 return *x.Flags
84 }
85 return 0
86 }
87
88 type SeccompEntry struct {
89 state protoimpl.MessageState
90 sizeCache protoimpl.SizeCache
91 unknownFields protoimpl.UnknownFields
92
93 SeccompFilters []*SeccompFilter `protobuf:"bytes,1,rep,name=seccomp_filters,json=seccompFilters" json:"seccomp_filters,omitempty"`
94 }
95
96 func (x *SeccompEntry) Reset() {
97 *x = SeccompEntry{}
98 if protoimpl.UnsafeEnabled {
99 mi := &file_seccomp_proto_msgTypes[1]
100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
101 ms.StoreMessageInfo(mi)
102 }
103 }
104
105 func (x *SeccompEntry) String() string {
106 return protoimpl.X.MessageStringOf(x)
107 }
108
109 func (*SeccompEntry) ProtoMessage() {}
110
111 func (x *SeccompEntry) ProtoReflect() protoreflect.Message {
112 mi := &file_seccomp_proto_msgTypes[1]
113 if protoimpl.UnsafeEnabled && x != nil {
114 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
115 if ms.LoadMessageInfo() == nil {
116 ms.StoreMessageInfo(mi)
117 }
118 return ms
119 }
120 return mi.MessageOf(x)
121 }
122
123 // Deprecated: Use SeccompEntry.ProtoReflect.Descriptor instead.
124 func (*SeccompEntry) Descriptor() ([]byte, []int) {
125 return file_seccomp_proto_rawDescGZIP(), []int{1}
126 }
127
128 func (x *SeccompEntry) GetSeccompFilters() []*SeccompFilter {
129 if x != nil {
130 return x.SeccompFilters
131 }
132 return nil
133 }
134
135 var File_seccomp_proto protoreflect.FileDescriptor
136
137 var file_seccomp_proto_rawDesc = []byte{
138 0x0a, 0x0d, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
139 0x52, 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65,
140 0x72, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x02, 0x28,
141 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x72, 0x65,
142 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x72, 0x65, 0x76, 0x12, 0x14, 0x0a,
143 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c,
144 0x61, 0x67, 0x73, 0x22, 0x49, 0x0a, 0x0d, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x65,
145 0x6e, 0x74, 0x72, 0x79, 0x12, 0x38, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x5f,
146 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
147 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0e,
148 0x73, 0x65, 0x63, 0x63, 0x6f, 0x6d, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73,
149 }
150
151 var (
152 file_seccomp_proto_rawDescOnce sync.Once
153 file_seccomp_proto_rawDescData = file_seccomp_proto_rawDesc
154 )
155
156 func file_seccomp_proto_rawDescGZIP() []byte {
157 file_seccomp_proto_rawDescOnce.Do(func() {
158 file_seccomp_proto_rawDescData = protoimpl.X.CompressGZIP(file_seccomp_proto_rawDescData)
159 })
160 return file_seccomp_proto_rawDescData
161 }
162
163 var file_seccomp_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
164 var file_seccomp_proto_goTypes = []interface{}{
165 (*SeccompFilter)(nil), // 0: seccomp_filter
166 (*SeccompEntry)(nil), // 1: seccomp_entry
167 }
168 var file_seccomp_proto_depIdxs = []int32{
169 0, // 0: seccomp_entry.seccomp_filters:type_name -> seccomp_filter
170 1, // [1:1] is the sub-list for method output_type
171 1, // [1:1] is the sub-list for method input_type
172 1, // [1:1] is the sub-list for extension type_name
173 1, // [1:1] is the sub-list for extension extendee
174 0, // [0:1] is the sub-list for field type_name
175 }
176
177 func init() { file_seccomp_proto_init() }
178 func file_seccomp_proto_init() {
179 if File_seccomp_proto != nil {
180 return
181 }
182 if !protoimpl.UnsafeEnabled {
183 file_seccomp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
184 switch v := v.(*SeccompFilter); i {
185 case 0:
186 return &v.state
187 case 1:
188 return &v.sizeCache
189 case 2:
190 return &v.unknownFields
191 default:
192 return nil
193 }
194 }
195 file_seccomp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
196 switch v := v.(*SeccompEntry); i {
197 case 0:
198 return &v.state
199 case 1:
200 return &v.sizeCache
201 case 2:
202 return &v.unknownFields
203 default:
204 return nil
205 }
206 }
207 }
208 type x struct{}
209 out := protoimpl.TypeBuilder{
210 File: protoimpl.DescBuilder{
211 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
212 RawDescriptor: file_seccomp_proto_rawDesc,
213 NumEnums: 0,
214 NumMessages: 2,
215 NumExtensions: 0,
216 NumServices: 0,
217 },
218 GoTypes: file_seccomp_proto_goTypes,
219 DependencyIndexes: file_seccomp_proto_depIdxs,
220 MessageInfos: file_seccomp_proto_msgTypes,
221 }.Build()
222 File_seccomp_proto = out.File
223 file_seccomp_proto_rawDesc = nil
224 file_seccomp_proto_goTypes = nil
225 file_seccomp_proto_depIdxs = nil
226 }