Debian Codegraph @

crit/images/ipc-msg/ipc-msg.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: ipc-msg.proto
8
9 package ipc_msg
10
11 import (
12 ipc_desc "github.com/checkpoint-restore/go-criu/v7/crit/images/ipc-desc"
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 IpcMsg struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 Mtype *uint64 `protobuf:"varint,1,req,name=mtype" json:"mtype,omitempty"`
32 Msize *uint32 `protobuf:"varint,2,req,name=msize" json:"msize,omitempty"`
33 }
34
35 func (x *IpcMsg) Reset() {
36 *x = IpcMsg{}
37 if protoimpl.UnsafeEnabled {
38 mi := &file_ipc_msg_proto_msgTypes[0]
39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40 ms.StoreMessageInfo(mi)
41 }
42 }
43
44 func (x *IpcMsg) String() string {
45 return protoimpl.X.MessageStringOf(x)
46 }
47
48 func (*IpcMsg) ProtoMessage() {}
49
50 func (x *IpcMsg) ProtoReflect() protoreflect.Message {
51 mi := &file_ipc_msg_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 IpcMsg.ProtoReflect.Descriptor instead.
63 func (*IpcMsg) Descriptor() ([]byte, []int) {
64 return file_ipc_msg_proto_rawDescGZIP(), []int{0}
65 }
66
67 func (x *IpcMsg) GetMtype() uint64 {
68 if x != nil && x.Mtype != nil {
69 return *x.Mtype
70 }
71 return 0
72 }
73
74 func (x *IpcMsg) GetMsize() uint32 {
75 if x != nil && x.Msize != nil {
76 return *x.Msize
77 }
78 return 0
79 }
80
81 type IpcMsgEntry struct {
82 state protoimpl.MessageState
83 sizeCache protoimpl.SizeCache
84 unknownFields protoimpl.UnknownFields
85
86 Desc *ipc_desc.IpcDescEntry `protobuf:"bytes,1,req,name=desc" json:"desc,omitempty"`
87 Qbytes *uint32 `protobuf:"varint,2,req,name=qbytes" json:"qbytes,omitempty"`
88 Qnum *uint32 `protobuf:"varint,3,req,name=qnum" json:"qnum,omitempty"`
89 }
90
91 func (x *IpcMsgEntry) Reset() {
92 *x = IpcMsgEntry{}
93 if protoimpl.UnsafeEnabled {
94 mi := &file_ipc_msg_proto_msgTypes[1]
95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
96 ms.StoreMessageInfo(mi)
97 }
98 }
99
100 func (x *IpcMsgEntry) String() string {
101 return protoimpl.X.MessageStringOf(x)
102 }
103
104 func (*IpcMsgEntry) ProtoMessage() {}
105
106 func (x *IpcMsgEntry) ProtoReflect() protoreflect.Message {
107 mi := &file_ipc_msg_proto_msgTypes[1]
108 if protoimpl.UnsafeEnabled && x != nil {
109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
110 if ms.LoadMessageInfo() == nil {
111 ms.StoreMessageInfo(mi)
112 }
113 return ms
114 }
115 return mi.MessageOf(x)
116 }
117
118 // Deprecated: Use IpcMsgEntry.ProtoReflect.Descriptor instead.
119 func (*IpcMsgEntry) Descriptor() ([]byte, []int) {
120 return file_ipc_msg_proto_rawDescGZIP(), []int{1}
121 }
122
123 func (x *IpcMsgEntry) GetDesc() *ipc_desc.IpcDescEntry {
124 if x != nil {
125 return x.Desc
126 }
127 return nil
128 }
129
130 func (x *IpcMsgEntry) GetQbytes() uint32 {
131 if x != nil && x.Qbytes != nil {
132 return *x.Qbytes
133 }
134 return 0
135 }
136
137 func (x *IpcMsgEntry) GetQnum() uint32 {
138 if x != nil && x.Qnum != nil {
139 return *x.Qnum
140 }
141 return 0
142 }
143
144 var File_ipc_msg_proto protoreflect.FileDescriptor
145
146 var file_ipc_msg_proto_rawDesc = []byte{
147 0x0a, 0x0d, 0x69, 0x70, 0x63, 0x2d, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
148 0x0e, 0x69, 0x70, 0x63, 0x2d, 0x64, 0x65, 0x73, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
149 0x35, 0x0a, 0x07, 0x69, 0x70, 0x63, 0x5f, 0x6d, 0x73, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x74,
150 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x74, 0x79, 0x70, 0x65,
151 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52,
152 0x05, 0x6d, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x60, 0x0a, 0x0d, 0x69, 0x70, 0x63, 0x5f, 0x6d, 0x73,
153 0x67, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18,
154 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x69, 0x70, 0x63, 0x5f, 0x64, 0x65, 0x73, 0x63,
155 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x16, 0x0a, 0x06,
156 0x71, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06, 0x71, 0x62,
157 0x79, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x71, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x02,
158 0x28, 0x0d, 0x52, 0x04, 0x71, 0x6e, 0x75, 0x6d,
159 }
160
161 var (
162 file_ipc_msg_proto_rawDescOnce sync.Once
163 file_ipc_msg_proto_rawDescData = file_ipc_msg_proto_rawDesc
164 )
165
166 func file_ipc_msg_proto_rawDescGZIP() []byte {
167 file_ipc_msg_proto_rawDescOnce.Do(func() {
168 file_ipc_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_ipc_msg_proto_rawDescData)
169 })
170 return file_ipc_msg_proto_rawDescData
171 }
172
173 var file_ipc_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
174 var file_ipc_msg_proto_goTypes = []interface{}{
175 (*IpcMsg)(nil), // 0: ipc_msg
176 (*IpcMsgEntry)(nil), // 1: ipc_msg_entry
177 (*ipc_desc.IpcDescEntry)(nil), // 2: ipc_desc_entry
178 }
179 var file_ipc_msg_proto_depIdxs = []int32{
180 2, // 0: ipc_msg_entry.desc:type_name -> ipc_desc_entry
181 1, // [1:1] is the sub-list for method output_type
182 1, // [1:1] is the sub-list for method input_type
183 1, // [1:1] is the sub-list for extension type_name
184 1, // [1:1] is the sub-list for extension extendee
185 0, // [0:1] is the sub-list for field type_name
186 }
187
188 func init() { file_ipc_msg_proto_init() }
189 func file_ipc_msg_proto_init() {
190 if File_ipc_msg_proto != nil {
191 return
192 }
193 if !protoimpl.UnsafeEnabled {
194 file_ipc_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
195 switch v := v.(*IpcMsg); i {
196 case 0:
197 return &v.state
198 case 1:
199 return &v.sizeCache
200 case 2:
201 return &v.unknownFields
202 default:
203 return nil
204 }
205 }
206 file_ipc_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
207 switch v := v.(*IpcMsgEntry); i {
208 case 0:
209 return &v.state
210 case 1:
211 return &v.sizeCache
212 case 2:
213 return &v.unknownFields
214 default:
215 return nil
216 }
217 }
218 }
219 type x struct{}
220 out := protoimpl.TypeBuilder{
221 File: protoimpl.DescBuilder{
222 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
223 RawDescriptor: file_ipc_msg_proto_rawDesc,
224 NumEnums: 0,
225 NumMessages: 2,
226 NumExtensions: 0,
227 NumServices: 0,
228 },
229 GoTypes: file_ipc_msg_proto_goTypes,
230 DependencyIndexes: file_ipc_msg_proto_depIdxs,
231 MessageInfos: file_ipc_msg_proto_msgTypes,
232 }.Build()
233 File_ipc_msg_proto = out.File
234 file_ipc_msg_proto_rawDesc = nil
235 file_ipc_msg_proto_goTypes = nil
236 file_ipc_msg_proto_depIdxs = nil
237 }