Debian Codegraph @

crit/images/vma/vma.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: vma.proto
8
9 package vma
10
11 import (
12 _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts"
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 VmaEntry struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 Start *uint64 `protobuf:"varint,1,req,name=start" json:"start,omitempty"`
32 End *uint64 `protobuf:"varint,2,req,name=end" json:"end,omitempty"`
33 Pgoff *uint64 `protobuf:"varint,3,req,name=pgoff" json:"pgoff,omitempty"`
34 Shmid *uint64 `protobuf:"varint,4,req,name=shmid" json:"shmid,omitempty"`
35 Prot *uint32 `protobuf:"varint,5,req,name=prot" json:"prot,omitempty"`
36 Flags *uint32 `protobuf:"varint,6,req,name=flags" json:"flags,omitempty"`
37 Status *uint32 `protobuf:"varint,7,req,name=status" json:"status,omitempty"`
38 // This fd thing is unused in the image, it was lost
39 // while switching from execve restore model. It is
40 // -1 by default.
41 Fd *int64 `protobuf:"zigzag64,8,req,name=fd" json:"fd,omitempty"`
42 // madvise flags bitmap
43 Madv *uint64 `protobuf:"varint,9,opt,name=madv" json:"madv,omitempty"`
44 // file status flags
45 Fdflags *uint32 `protobuf:"varint,10,opt,name=fdflags" json:"fdflags,omitempty"`
46 }
47
48 func (x *VmaEntry) Reset() {
49 *x = VmaEntry{}
50 if protoimpl.UnsafeEnabled {
51 mi := &file_vma_proto_msgTypes[0]
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 ms.StoreMessageInfo(mi)
54 }
55 }
56
57 func (x *VmaEntry) String() string {
58 return protoimpl.X.MessageStringOf(x)
59 }
60
61 func (*VmaEntry) ProtoMessage() {}
62
63 func (x *VmaEntry) ProtoReflect() protoreflect.Message {
64 mi := &file_vma_proto_msgTypes[0]
65 if protoimpl.UnsafeEnabled && x != nil {
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 if ms.LoadMessageInfo() == nil {
68 ms.StoreMessageInfo(mi)
69 }
70 return ms
71 }
72 return mi.MessageOf(x)
73 }
74
75 // Deprecated: Use VmaEntry.ProtoReflect.Descriptor instead.
76 func (*VmaEntry) Descriptor() ([]byte, []int) {
77 return file_vma_proto_rawDescGZIP(), []int{0}
78 }
79
80 func (x *VmaEntry) GetStart() uint64 {
81 if x != nil && x.Start != nil {
82 return *x.Start
83 }
84 return 0
85 }
86
87 func (x *VmaEntry) GetEnd() uint64 {
88 if x != nil && x.End != nil {
89 return *x.End
90 }
91 return 0
92 }
93
94 func (x *VmaEntry) GetPgoff() uint64 {
95 if x != nil && x.Pgoff != nil {
96 return *x.Pgoff
97 }
98 return 0
99 }
100
101 func (x *VmaEntry) GetShmid() uint64 {
102 if x != nil && x.Shmid != nil {
103 return *x.Shmid
104 }
105 return 0
106 }
107
108 func (x *VmaEntry) GetProt() uint32 {
109 if x != nil && x.Prot != nil {
110 return *x.Prot
111 }
112 return 0
113 }
114
115 func (x *VmaEntry) GetFlags() uint32 {
116 if x != nil && x.Flags != nil {
117 return *x.Flags
118 }
119 return 0
120 }
121
122 func (x *VmaEntry) GetStatus() uint32 {
123 if x != nil && x.Status != nil {
124 return *x.Status
125 }
126 return 0
127 }
128
129 func (x *VmaEntry) GetFd() int64 {
130 if x != nil && x.Fd != nil {
131 return *x.Fd
132 }
133 return 0
134 }
135
136 func (x *VmaEntry) GetMadv() uint64 {
137 if x != nil && x.Madv != nil {
138 return *x.Madv
139 }
140 return 0
141 }
142
143 func (x *VmaEntry) GetFdflags() uint32 {
144 if x != nil && x.Fdflags != nil {
145 return *x.Fdflags
146 }
147 return 0
148 }
149
150 var File_vma_proto protoreflect.FileDescriptor
151
152 var file_vma_proto_rawDesc = []byte{
153 0x0a, 0x09, 0x76, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6f, 0x70, 0x74,
154 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x02, 0x0a, 0x09, 0x76, 0x6d, 0x61, 0x5f,
155 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01,
156 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x05, 0x73, 0x74, 0x61,
157 0x72, 0x74, 0x12, 0x17, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x42,
158 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70,
159 0x67, 0x6f, 0x66, 0x66, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x05, 0x70, 0x67, 0x6f, 0x66,
160 0x66, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x6d, 0x69, 0x64, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04,
161 0x52, 0x05, 0x73, 0x68, 0x6d, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x04, 0x70, 0x72, 0x6f, 0x74, 0x18,
162 0x05, 0x20, 0x02, 0x28, 0x0d, 0x42, 0x0e, 0xd2, 0x3f, 0x0b, 0x1a, 0x09, 0x6d, 0x6d, 0x61, 0x70,
163 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x66,
164 0x6c, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0d, 0x42, 0x0f, 0xd2, 0x3f, 0x0c, 0x1a,
165 0x0a, 0x6d, 0x6d, 0x61, 0x70, 0x2e, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, 0x61,
166 0x67, 0x73, 0x12, 0x28, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x02,
167 0x28, 0x0d, 0x42, 0x10, 0xd2, 0x3f, 0x0d, 0x1a, 0x0b, 0x6d, 0x6d, 0x61, 0x70, 0x2e, 0x73, 0x74,
168 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0e, 0x0a, 0x02,
169 0x66, 0x64, 0x18, 0x08, 0x20, 0x02, 0x28, 0x12, 0x52, 0x02, 0x66, 0x64, 0x12, 0x19, 0x0a, 0x04,
170 0x6d, 0x61, 0x64, 0x76, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08,
171 0x01, 0x52, 0x04, 0x6d, 0x61, 0x64, 0x76, 0x12, 0x1f, 0x0a, 0x07, 0x66, 0x64, 0x66, 0x6c, 0x61,
172 0x67, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52,
173 0x07, 0x66, 0x64, 0x66, 0x6c, 0x61, 0x67, 0x73,
174 }
175
176 var (
177 file_vma_proto_rawDescOnce sync.Once
178 file_vma_proto_rawDescData = file_vma_proto_rawDesc
179 )
180
181 func file_vma_proto_rawDescGZIP() []byte {
182 file_vma_proto_rawDescOnce.Do(func() {
183 file_vma_proto_rawDescData = protoimpl.X.CompressGZIP(file_vma_proto_rawDescData)
184 })
185 return file_vma_proto_rawDescData
186 }
187
188 var file_vma_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
189 var file_vma_proto_goTypes = []interface{}{
190 (*VmaEntry)(nil), // 0: vma_entry
191 }
192 var file_vma_proto_depIdxs = []int32{
193 0, // [0:0] is the sub-list for method output_type
194 0, // [0:0] is the sub-list for method input_type
195 0, // [0:0] is the sub-list for extension type_name
196 0, // [0:0] is the sub-list for extension extendee
197 0, // [0:0] is the sub-list for field type_name
198 }
199
200 func init() { file_vma_proto_init() }
201 func file_vma_proto_init() {
202 if File_vma_proto != nil {
203 return
204 }
205 if !protoimpl.UnsafeEnabled {
206 file_vma_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
207 switch v := v.(*VmaEntry); 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_vma_proto_rawDesc,
224 NumEnums: 0,
225 NumMessages: 1,
226 NumExtensions: 0,
227 NumServices: 0,
228 },
229 GoTypes: file_vma_proto_goTypes,
230 DependencyIndexes: file_vma_proto_depIdxs,
231 MessageInfos: file_vma_proto_msgTypes,
232 }.Build()
233 File_vma_proto = out.File
234 file_vma_proto_rawDesc = nil
235 file_vma_proto_goTypes = nil
236 file_vma_proto_depIdxs = nil
237 }