Debian Codegraph @

crit/images/signalfd/signalfd.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: signalfd.proto
8
9 package signalfd
10
11 import (
12 fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown"
13 _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts"
14 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 reflect "reflect"
17 sync "sync"
18 )
19
20 const (
21 // Verify that this generated code is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23 // Verify that runtime/protoimpl is sufficiently up-to-date.
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25 )
26
27 type SignalfdEntry struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
33 Flags *uint32 `protobuf:"varint,2,req,name=flags" json:"flags,omitempty"`
34 Fown *fown.FownEntry `protobuf:"bytes,3,req,name=fown" json:"fown,omitempty"`
35 Sigmask *uint64 `protobuf:"varint,4,req,name=sigmask" json:"sigmask,omitempty"`
36 }
37
38 func (x *SignalfdEntry) Reset() {
39 *x = SignalfdEntry{}
40 if protoimpl.UnsafeEnabled {
41 mi := &file_signalfd_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44 }
45 }
46
47 func (x *SignalfdEntry) String() string {
48 return protoimpl.X.MessageStringOf(x)
49 }
50
51 func (*SignalfdEntry) ProtoMessage() {}
52
53 func (x *SignalfdEntry) ProtoReflect() protoreflect.Message {
54 mi := &file_signalfd_proto_msgTypes[0]
55 if protoimpl.UnsafeEnabled && x != nil {
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 if ms.LoadMessageInfo() == nil {
58 ms.StoreMessageInfo(mi)
59 }
60 return ms
61 }
62 return mi.MessageOf(x)
63 }
64
65 // Deprecated: Use SignalfdEntry.ProtoReflect.Descriptor instead.
66 func (*SignalfdEntry) Descriptor() ([]byte, []int) {
67 return file_signalfd_proto_rawDescGZIP(), []int{0}
68 }
69
70 func (x *SignalfdEntry) GetId() uint32 {
71 if x != nil && x.Id != nil {
72 return *x.Id
73 }
74 return 0
75 }
76
77 func (x *SignalfdEntry) GetFlags() uint32 {
78 if x != nil && x.Flags != nil {
79 return *x.Flags
80 }
81 return 0
82 }
83
84 func (x *SignalfdEntry) GetFown() *fown.FownEntry {
85 if x != nil {
86 return x.Fown
87 }
88 return nil
89 }
90
91 func (x *SignalfdEntry) GetSigmask() uint64 {
92 if x != nil && x.Sigmask != nil {
93 return *x.Sigmask
94 }
95 return 0
96 }
97
98 var File_signalfd_proto protoreflect.FileDescriptor
99
100 var file_signalfd_proto_rawDesc = []byte{
101 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x66, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
102 0x1a, 0x0a, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x66, 0x6f,
103 0x77, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e,
104 0x61, 0x6c, 0x66, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
105 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x05, 0x66, 0x6c,
106 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01,
107 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x04, 0x66, 0x6f, 0x77, 0x6e, 0x18,
108 0x03, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x66, 0x6f, 0x77, 0x6e, 0x5f, 0x65, 0x6e, 0x74,
109 0x72, 0x79, 0x52, 0x04, 0x66, 0x6f, 0x77, 0x6e, 0x12, 0x1f, 0x0a, 0x07, 0x73, 0x69, 0x67, 0x6d,
110 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01,
111 0x52, 0x07, 0x73, 0x69, 0x67, 0x6d, 0x61, 0x73, 0x6b,
112 }
113
114 var (
115 file_signalfd_proto_rawDescOnce sync.Once
116 file_signalfd_proto_rawDescData = file_signalfd_proto_rawDesc
117 )
118
119 func file_signalfd_proto_rawDescGZIP() []byte {
120 file_signalfd_proto_rawDescOnce.Do(func() {
121 file_signalfd_proto_rawDescData = protoimpl.X.CompressGZIP(file_signalfd_proto_rawDescData)
122 })
123 return file_signalfd_proto_rawDescData
124 }
125
126 var file_signalfd_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
127 var file_signalfd_proto_goTypes = []interface{}{
128 (*SignalfdEntry)(nil), // 0: signalfd_entry
129 (*fown.FownEntry)(nil), // 1: fown_entry
130 }
131 var file_signalfd_proto_depIdxs = []int32{
132 1, // 0: signalfd_entry.fown:type_name -> fown_entry
133 1, // [1:1] is the sub-list for method output_type
134 1, // [1:1] is the sub-list for method input_type
135 1, // [1:1] is the sub-list for extension type_name
136 1, // [1:1] is the sub-list for extension extendee
137 0, // [0:1] is the sub-list for field type_name
138 }
139
140 func init() { file_signalfd_proto_init() }
141 func file_signalfd_proto_init() {
142 if File_signalfd_proto != nil {
143 return
144 }
145 if !protoimpl.UnsafeEnabled {
146 file_signalfd_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
147 switch v := v.(*SignalfdEntry); i {
148 case 0:
149 return &v.state
150 case 1:
151 return &v.sizeCache
152 case 2:
153 return &v.unknownFields
154 default:
155 return nil
156 }
157 }
158 }
159 type x struct{}
160 out := protoimpl.TypeBuilder{
161 File: protoimpl.DescBuilder{
162 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
163 RawDescriptor: file_signalfd_proto_rawDesc,
164 NumEnums: 0,
165 NumMessages: 1,
166 NumExtensions: 0,
167 NumServices: 0,
168 },
169 GoTypes: file_signalfd_proto_goTypes,
170 DependencyIndexes: file_signalfd_proto_depIdxs,
171 MessageInfos: file_signalfd_proto_msgTypes,
172 }.Build()
173 File_signalfd_proto = out.File
174 file_signalfd_proto_rawDesc = nil
175 file_signalfd_proto_goTypes = nil
176 file_signalfd_proto_depIdxs = nil
177 }