Debian Codegraph @

crit/images/eventpoll/eventpoll.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: eventpoll.proto
8
9 package eventpoll
10
11 import (
12 fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 type EventpollTfdEntry struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
32 Tfd *uint32 `protobuf:"varint,2,req,name=tfd" json:"tfd,omitempty"`
33 Events *uint32 `protobuf:"varint,3,req,name=events" json:"events,omitempty"`
34 Data *uint64 `protobuf:"varint,4,req,name=data" json:"data,omitempty"`
35 // to find dup'ed target files
36 Dev *uint32 `protobuf:"varint,5,opt,name=dev" json:"dev,omitempty"`
37 Inode *uint64 `protobuf:"varint,6,opt,name=inode" json:"inode,omitempty"`
38 Pos *uint64 `protobuf:"varint,7,opt,name=pos" json:"pos,omitempty"`
39 }
40
41 func (x *EventpollTfdEntry) Reset() {
42 *x = EventpollTfdEntry{}
43 if protoimpl.UnsafeEnabled {
44 mi := &file_eventpoll_proto_msgTypes[0]
45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
46 ms.StoreMessageInfo(mi)
47 }
48 }
49
50 func (x *EventpollTfdEntry) String() string {
51 return protoimpl.X.MessageStringOf(x)
52 }
53
54 func (*EventpollTfdEntry) ProtoMessage() {}
55
56 func (x *EventpollTfdEntry) ProtoReflect() protoreflect.Message {
57 mi := &file_eventpoll_proto_msgTypes[0]
58 if protoimpl.UnsafeEnabled && x != nil {
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 if ms.LoadMessageInfo() == nil {
61 ms.StoreMessageInfo(mi)
62 }
63 return ms
64 }
65 return mi.MessageOf(x)
66 }
67
68 // Deprecated: Use EventpollTfdEntry.ProtoReflect.Descriptor instead.
69 func (*EventpollTfdEntry) Descriptor() ([]byte, []int) {
70 return file_eventpoll_proto_rawDescGZIP(), []int{0}
71 }
72
73 func (x *EventpollTfdEntry) GetId() uint32 {
74 if x != nil && x.Id != nil {
75 return *x.Id
76 }
77 return 0
78 }
79
80 func (x *EventpollTfdEntry) GetTfd() uint32 {
81 if x != nil && x.Tfd != nil {
82 return *x.Tfd
83 }
84 return 0
85 }
86
87 func (x *EventpollTfdEntry) GetEvents() uint32 {
88 if x != nil && x.Events != nil {
89 return *x.Events
90 }
91 return 0
92 }
93
94 func (x *EventpollTfdEntry) GetData() uint64 {
95 if x != nil && x.Data != nil {
96 return *x.Data
97 }
98 return 0
99 }
100
101 func (x *EventpollTfdEntry) GetDev() uint32 {
102 if x != nil && x.Dev != nil {
103 return *x.Dev
104 }
105 return 0
106 }
107
108 func (x *EventpollTfdEntry) GetInode() uint64 {
109 if x != nil && x.Inode != nil {
110 return *x.Inode
111 }
112 return 0
113 }
114
115 func (x *EventpollTfdEntry) GetPos() uint64 {
116 if x != nil && x.Pos != nil {
117 return *x.Pos
118 }
119 return 0
120 }
121
122 type EventpollFileEntry struct {
123 state protoimpl.MessageState
124 sizeCache protoimpl.SizeCache
125 unknownFields protoimpl.UnknownFields
126
127 Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
128 Flags *uint32 `protobuf:"varint,2,req,name=flags" json:"flags,omitempty"`
129 Fown *fown.FownEntry `protobuf:"bytes,3,req,name=fown" json:"fown,omitempty"`
130 Tfd []*EventpollTfdEntry `protobuf:"bytes,4,rep,name=tfd" json:"tfd,omitempty"`
131 }
132
133 func (x *EventpollFileEntry) Reset() {
134 *x = EventpollFileEntry{}
135 if protoimpl.UnsafeEnabled {
136 mi := &file_eventpoll_proto_msgTypes[1]
137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
138 ms.StoreMessageInfo(mi)
139 }
140 }
141
142 func (x *EventpollFileEntry) String() string {
143 return protoimpl.X.MessageStringOf(x)
144 }
145
146 func (*EventpollFileEntry) ProtoMessage() {}
147
148 func (x *EventpollFileEntry) ProtoReflect() protoreflect.Message {
149 mi := &file_eventpoll_proto_msgTypes[1]
150 if protoimpl.UnsafeEnabled && x != nil {
151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
152 if ms.LoadMessageInfo() == nil {
153 ms.StoreMessageInfo(mi)
154 }
155 return ms
156 }
157 return mi.MessageOf(x)
158 }
159
160 // Deprecated: Use EventpollFileEntry.ProtoReflect.Descriptor instead.
161 func (*EventpollFileEntry) Descriptor() ([]byte, []int) {
162 return file_eventpoll_proto_rawDescGZIP(), []int{1}
163 }
164
165 func (x *EventpollFileEntry) GetId() uint32 {
166 if x != nil && x.Id != nil {
167 return *x.Id
168 }
169 return 0
170 }
171
172 func (x *EventpollFileEntry) GetFlags() uint32 {
173 if x != nil && x.Flags != nil {
174 return *x.Flags
175 }
176 return 0
177 }
178
179 func (x *EventpollFileEntry) GetFown() *fown.FownEntry {
180 if x != nil {
181 return x.Fown
182 }
183 return nil
184 }
185
186 func (x *EventpollFileEntry) GetTfd() []*EventpollTfdEntry {
187 if x != nil {
188 return x.Tfd
189 }
190 return nil
191 }
192
193 var File_eventpoll_proto protoreflect.FileDescriptor
194
195 var file_eventpoll_proto_rawDesc = []byte{
196 0x0a, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74,
197 0x6f, 0x1a, 0x0a, 0x66, 0x6f, 0x77, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x01,
198 0x0a, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x6f, 0x6c, 0x6c, 0x5f, 0x74, 0x66, 0x64, 0x5f,
199 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28,
200 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x66, 0x64, 0x18, 0x02, 0x20, 0x02,
201 0x28, 0x0d, 0x52, 0x03, 0x74, 0x66, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
202 0x73, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12,
203 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, 0x64,
204 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x65, 0x76, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d,
205 0x52, 0x03, 0x64, 0x65, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x06,
206 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x70,
207 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x85, 0x01,
208 0x0a, 0x14, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x6f, 0x6c, 0x6c, 0x5f, 0x66, 0x69, 0x6c, 0x65,
209 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02,
210 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18,
211 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x04,
212 0x66, 0x6f, 0x77, 0x6e, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x66, 0x6f, 0x77,
213 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x66, 0x6f, 0x77, 0x6e, 0x12, 0x26, 0x0a,
214 0x03, 0x74, 0x66, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x76, 0x65,
215 0x6e, 0x74, 0x70, 0x6f, 0x6c, 0x6c, 0x5f, 0x74, 0x66, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79,
216 0x52, 0x03, 0x74, 0x66, 0x64,
217 }
218
219 var (
220 file_eventpoll_proto_rawDescOnce sync.Once
221 file_eventpoll_proto_rawDescData = file_eventpoll_proto_rawDesc
222 )
223
224 func file_eventpoll_proto_rawDescGZIP() []byte {
225 file_eventpoll_proto_rawDescOnce.Do(func() {
226 file_eventpoll_proto_rawDescData = protoimpl.X.CompressGZIP(file_eventpoll_proto_rawDescData)
227 })
228 return file_eventpoll_proto_rawDescData
229 }
230
231 var file_eventpoll_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
232 var file_eventpoll_proto_goTypes = []interface{}{
233 (*EventpollTfdEntry)(nil), // 0: eventpoll_tfd_entry
234 (*EventpollFileEntry)(nil), // 1: eventpoll_file_entry
235 (*fown.FownEntry)(nil), // 2: fown_entry
236 }
237 var file_eventpoll_proto_depIdxs = []int32{
238 2, // 0: eventpoll_file_entry.fown:type_name -> fown_entry
239 0, // 1: eventpoll_file_entry.tfd:type_name -> eventpoll_tfd_entry
240 2, // [2:2] is the sub-list for method output_type
241 2, // [2:2] is the sub-list for method input_type
242 2, // [2:2] is the sub-list for extension type_name
243 2, // [2:2] is the sub-list for extension extendee
244 0, // [0:2] is the sub-list for field type_name
245 }
246
247 func init() { file_eventpoll_proto_init() }
248 func file_eventpoll_proto_init() {
249 if File_eventpoll_proto != nil {
250 return
251 }
252 if !protoimpl.UnsafeEnabled {
253 file_eventpoll_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
254 switch v := v.(*EventpollTfdEntry); i {
255 case 0:
256 return &v.state
257 case 1:
258 return &v.sizeCache
259 case 2:
260 return &v.unknownFields
261 default:
262 return nil
263 }
264 }
265 file_eventpoll_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
266 switch v := v.(*EventpollFileEntry); i {
267 case 0:
268 return &v.state
269 case 1:
270 return &v.sizeCache
271 case 2:
272 return &v.unknownFields
273 default:
274 return nil
275 }
276 }
277 }
278 type x struct{}
279 out := protoimpl.TypeBuilder{
280 File: protoimpl.DescBuilder{
281 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
282 RawDescriptor: file_eventpoll_proto_rawDesc,
283 NumEnums: 0,
284 NumMessages: 2,
285 NumExtensions: 0,
286 NumServices: 0,
287 },
288 GoTypes: file_eventpoll_proto_goTypes,
289 DependencyIndexes: file_eventpoll_proto_depIdxs,
290 MessageInfos: file_eventpoll_proto_msgTypes,
291 }.Build()
292 File_eventpoll_proto = out.File
293 file_eventpoll_proto_rawDesc = nil
294 file_eventpoll_proto_goTypes = nil
295 file_eventpoll_proto_depIdxs = nil
296 }