Debian Codegraph @

crit/images/eventfd/eventfd.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: eventfd.proto
8
9 package eventfd
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 EventfdFileEntry 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 Flags *uint32 `protobuf:"varint,2,req,name=flags" json:"flags,omitempty"`
33 Fown *fown.FownEntry `protobuf:"bytes,3,req,name=fown" json:"fown,omitempty"`
34 Counter *uint64 `protobuf:"varint,4,req,name=counter" json:"counter,omitempty"`
35 }
36
37 func (x *EventfdFileEntry) Reset() {
38 *x = EventfdFileEntry{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_eventfd_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *EventfdFileEntry) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*EventfdFileEntry) ProtoMessage() {}
51
52 func (x *EventfdFileEntry) ProtoReflect() protoreflect.Message {
53 mi := &file_eventfd_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use EventfdFileEntry.ProtoReflect.Descriptor instead.
65 func (*EventfdFileEntry) Descriptor() ([]byte, []int) {
66 return file_eventfd_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *EventfdFileEntry) GetId() uint32 {
70 if x != nil && x.Id != nil {
71 return *x.Id
72 }
73 return 0
74 }
75
76 func (x *EventfdFileEntry) GetFlags() uint32 {
77 if x != nil && x.Flags != nil {
78 return *x.Flags
79 }
80 return 0
81 }
82
83 func (x *EventfdFileEntry) GetFown() *fown.FownEntry {
84 if x != nil {
85 return x.Fown
86 }
87 return nil
88 }
89
90 func (x *EventfdFileEntry) GetCounter() uint64 {
91 if x != nil && x.Counter != nil {
92 return *x.Counter
93 }
94 return 0
95 }
96
97 var File_eventfd_proto protoreflect.FileDescriptor
98
99 var file_eventfd_proto_rawDesc = []byte{
100 0x0a, 0x0d, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x66, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
101 0x0a, 0x66, 0x6f, 0x77, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x12, 0x65,
102 0x76, 0x65, 0x6e, 0x74, 0x66, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72,
103 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x69,
104 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d,
105 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x04, 0x66, 0x6f, 0x77, 0x6e, 0x18,
106 0x03, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x66, 0x6f, 0x77, 0x6e, 0x5f, 0x65, 0x6e, 0x74,
107 0x72, 0x79, 0x52, 0x04, 0x66, 0x6f, 0x77, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e,
108 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74,
109 0x65, 0x72,
110 }
111
112 var (
113 file_eventfd_proto_rawDescOnce sync.Once
114 file_eventfd_proto_rawDescData = file_eventfd_proto_rawDesc
115 )
116
117 func file_eventfd_proto_rawDescGZIP() []byte {
118 file_eventfd_proto_rawDescOnce.Do(func() {
119 file_eventfd_proto_rawDescData = protoimpl.X.CompressGZIP(file_eventfd_proto_rawDescData)
120 })
121 return file_eventfd_proto_rawDescData
122 }
123
124 var file_eventfd_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
125 var file_eventfd_proto_goTypes = []interface{}{
126 (*EventfdFileEntry)(nil), // 0: eventfd_file_entry
127 (*fown.FownEntry)(nil), // 1: fown_entry
128 }
129 var file_eventfd_proto_depIdxs = []int32{
130 1, // 0: eventfd_file_entry.fown:type_name -> fown_entry
131 1, // [1:1] is the sub-list for method output_type
132 1, // [1:1] is the sub-list for method input_type
133 1, // [1:1] is the sub-list for extension type_name
134 1, // [1:1] is the sub-list for extension extendee
135 0, // [0:1] is the sub-list for field type_name
136 }
137
138 func init() { file_eventfd_proto_init() }
139 func file_eventfd_proto_init() {
140 if File_eventfd_proto != nil {
141 return
142 }
143 if !protoimpl.UnsafeEnabled {
144 file_eventfd_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
145 switch v := v.(*EventfdFileEntry); i {
146 case 0:
147 return &v.state
148 case 1:
149 return &v.sizeCache
150 case 2:
151 return &v.unknownFields
152 default:
153 return nil
154 }
155 }
156 }
157 type x struct{}
158 out := protoimpl.TypeBuilder{
159 File: protoimpl.DescBuilder{
160 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
161 RawDescriptor: file_eventfd_proto_rawDesc,
162 NumEnums: 0,
163 NumMessages: 1,
164 NumExtensions: 0,
165 NumServices: 0,
166 },
167 GoTypes: file_eventfd_proto_goTypes,
168 DependencyIndexes: file_eventfd_proto_depIdxs,
169 MessageInfos: file_eventfd_proto_msgTypes,
170 }.Build()
171 File_eventfd_proto = out.File
172 file_eventfd_proto_rawDesc = nil
173 file_eventfd_proto_goTypes = nil
174 file_eventfd_proto_depIdxs = nil
175 }