Debian Codegraph @

crit/images/apparmor/apparmor.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v4.23.4
5 // source: apparmor.proto
6
7 package apparmor
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14 )
15
16 const (
17 // Verify that this generated code is sufficiently up-to-date.
18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19 // Verify that runtime/protoimpl is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21 )
22
23 type AaPolicy struct {
24 state protoimpl.MessageState
25 sizeCache protoimpl.SizeCache
26 unknownFields protoimpl.UnknownFields
27
28 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
29 Blob []byte `protobuf:"bytes,2,req,name=blob" json:"blob,omitempty"`
30 }
31
32 func (x *AaPolicy) Reset() {
33 *x = AaPolicy{}
34 if protoimpl.UnsafeEnabled {
35 mi := &file_apparmor_proto_msgTypes[0]
36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
37 ms.StoreMessageInfo(mi)
38 }
39 }
40
41 func (x *AaPolicy) String() string {
42 return protoimpl.X.MessageStringOf(x)
43 }
44
45 func (*AaPolicy) ProtoMessage() {}
46
47 func (x *AaPolicy) ProtoReflect() protoreflect.Message {
48 mi := &file_apparmor_proto_msgTypes[0]
49 if protoimpl.UnsafeEnabled && x != nil {
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 if ms.LoadMessageInfo() == nil {
52 ms.StoreMessageInfo(mi)
53 }
54 return ms
55 }
56 return mi.MessageOf(x)
57 }
58
59 // Deprecated: Use AaPolicy.ProtoReflect.Descriptor instead.
60 func (*AaPolicy) Descriptor() ([]byte, []int) {
61 return file_apparmor_proto_rawDescGZIP(), []int{0}
62 }
63
64 func (x *AaPolicy) GetName() string {
65 if x != nil && x.Name != nil {
66 return *x.Name
67 }
68 return ""
69 }
70
71 func (x *AaPolicy) GetBlob() []byte {
72 if x != nil {
73 return x.Blob
74 }
75 return nil
76 }
77
78 type AaNamespace struct {
79 state protoimpl.MessageState
80 sizeCache protoimpl.SizeCache
81 unknownFields protoimpl.UnknownFields
82
83 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
84 Policies []*AaPolicy `protobuf:"bytes,2,rep,name=policies" json:"policies,omitempty"`
85 Namespaces []*AaNamespace `protobuf:"bytes,3,rep,name=namespaces" json:"namespaces,omitempty"`
86 }
87
88 func (x *AaNamespace) Reset() {
89 *x = AaNamespace{}
90 if protoimpl.UnsafeEnabled {
91 mi := &file_apparmor_proto_msgTypes[1]
92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
93 ms.StoreMessageInfo(mi)
94 }
95 }
96
97 func (x *AaNamespace) String() string {
98 return protoimpl.X.MessageStringOf(x)
99 }
100
101 func (*AaNamespace) ProtoMessage() {}
102
103 func (x *AaNamespace) ProtoReflect() protoreflect.Message {
104 mi := &file_apparmor_proto_msgTypes[1]
105 if protoimpl.UnsafeEnabled && x != nil {
106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
107 if ms.LoadMessageInfo() == nil {
108 ms.StoreMessageInfo(mi)
109 }
110 return ms
111 }
112 return mi.MessageOf(x)
113 }
114
115 // Deprecated: Use AaNamespace.ProtoReflect.Descriptor instead.
116 func (*AaNamespace) Descriptor() ([]byte, []int) {
117 return file_apparmor_proto_rawDescGZIP(), []int{1}
118 }
119
120 func (x *AaNamespace) GetName() string {
121 if x != nil && x.Name != nil {
122 return *x.Name
123 }
124 return ""
125 }
126
127 func (x *AaNamespace) GetPolicies() []*AaPolicy {
128 if x != nil {
129 return x.Policies
130 }
131 return nil
132 }
133
134 func (x *AaNamespace) GetNamespaces() []*AaNamespace {
135 if x != nil {
136 return x.Namespaces
137 }
138 return nil
139 }
140
141 type ApparmorEntry struct {
142 state protoimpl.MessageState
143 sizeCache protoimpl.SizeCache
144 unknownFields protoimpl.UnknownFields
145
146 Namespaces []*AaNamespace `protobuf:"bytes,1,rep,name=namespaces" json:"namespaces,omitempty"`
147 }
148
149 func (x *ApparmorEntry) Reset() {
150 *x = ApparmorEntry{}
151 if protoimpl.UnsafeEnabled {
152 mi := &file_apparmor_proto_msgTypes[2]
153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
154 ms.StoreMessageInfo(mi)
155 }
156 }
157
158 func (x *ApparmorEntry) String() string {
159 return protoimpl.X.MessageStringOf(x)
160 }
161
162 func (*ApparmorEntry) ProtoMessage() {}
163
164 func (x *ApparmorEntry) ProtoReflect() protoreflect.Message {
165 mi := &file_apparmor_proto_msgTypes[2]
166 if protoimpl.UnsafeEnabled && x != nil {
167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
168 if ms.LoadMessageInfo() == nil {
169 ms.StoreMessageInfo(mi)
170 }
171 return ms
172 }
173 return mi.MessageOf(x)
174 }
175
176 // Deprecated: Use ApparmorEntry.ProtoReflect.Descriptor instead.
177 func (*ApparmorEntry) Descriptor() ([]byte, []int) {
178 return file_apparmor_proto_rawDescGZIP(), []int{2}
179 }
180
181 func (x *ApparmorEntry) GetNamespaces() []*AaNamespace {
182 if x != nil {
183 return x.Namespaces
184 }
185 return nil
186 }
187
188 var File_apparmor_proto protoreflect.FileDescriptor
189
190 var file_apparmor_proto_rawDesc = []byte{
191 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x61, 0x72, 0x6d, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
192 0x22, 0x33, 0x0a, 0x09, 0x61, 0x61, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x12, 0x0a,
193 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
194 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6c, 0x6f, 0x62, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0c, 0x52,
195 0x04, 0x62, 0x6c, 0x6f, 0x62, 0x22, 0x79, 0x0a, 0x0c, 0x61, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
196 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
197 0x02, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x08, 0x70, 0x6f, 0x6c,
198 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, 0x61,
199 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
200 0x73, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18,
201 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73,
202 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73,
203 0x22, 0x3f, 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x61, 0x72, 0x6d, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x74,
204 0x72, 0x79, 0x12, 0x2d, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73,
205 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
206 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
207 0x73,
208 }
209
210 var (
211 file_apparmor_proto_rawDescOnce sync.Once
212 file_apparmor_proto_rawDescData = file_apparmor_proto_rawDesc
213 )
214
215 func file_apparmor_proto_rawDescGZIP() []byte {
216 file_apparmor_proto_rawDescOnce.Do(func() {
217 file_apparmor_proto_rawDescData = protoimpl.X.CompressGZIP(file_apparmor_proto_rawDescData)
218 })
219 return file_apparmor_proto_rawDescData
220 }
221
222 var file_apparmor_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
223 var file_apparmor_proto_goTypes = []interface{}{
224 (*AaPolicy)(nil), // 0: aa_policy
225 (*AaNamespace)(nil), // 1: aa_namespace
226 (*ApparmorEntry)(nil), // 2: apparmor_entry
227 }
228 var file_apparmor_proto_depIdxs = []int32{
229 0, // 0: aa_namespace.policies:type_name -> aa_policy
230 1, // 1: aa_namespace.namespaces:type_name -> aa_namespace
231 1, // 2: apparmor_entry.namespaces:type_name -> aa_namespace
232 3, // [3:3] is the sub-list for method output_type
233 3, // [3:3] is the sub-list for method input_type
234 3, // [3:3] is the sub-list for extension type_name
235 3, // [3:3] is the sub-list for extension extendee
236 0, // [0:3] is the sub-list for field type_name
237 }
238
239 func init() { file_apparmor_proto_init() }
240 func file_apparmor_proto_init() {
241 if File_apparmor_proto != nil {
242 return
243 }
244 if !protoimpl.UnsafeEnabled {
245 file_apparmor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
246 switch v := v.(*AaPolicy); i {
247 case 0:
248 return &v.state
249 case 1:
250 return &v.sizeCache
251 case 2:
252 return &v.unknownFields
253 default:
254 return nil
255 }
256 }
257 file_apparmor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
258 switch v := v.(*AaNamespace); i {
259 case 0:
260 return &v.state
261 case 1:
262 return &v.sizeCache
263 case 2:
264 return &v.unknownFields
265 default:
266 return nil
267 }
268 }
269 file_apparmor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
270 switch v := v.(*ApparmorEntry); i {
271 case 0:
272 return &v.state
273 case 1:
274 return &v.sizeCache
275 case 2:
276 return &v.unknownFields
277 default:
278 return nil
279 }
280 }
281 }
282 type x struct{}
283 out := protoimpl.TypeBuilder{
284 File: protoimpl.DescBuilder{
285 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
286 RawDescriptor: file_apparmor_proto_rawDesc,
287 NumEnums: 0,
288 NumMessages: 3,
289 NumExtensions: 0,
290 NumServices: 0,
291 },
292 GoTypes: file_apparmor_proto_goTypes,
293 DependencyIndexes: file_apparmor_proto_depIdxs,
294 MessageInfos: file_apparmor_proto_msgTypes,
295 }.Build()
296 File_apparmor_proto = out.File
297 file_apparmor_proto_rawDesc = nil
298 file_apparmor_proto_goTypes = nil
299 file_apparmor_proto_depIdxs = nil
300 }