Debian Codegraph @

crit/images/pagemap/pagemap.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: pagemap.proto
8
9 package pagemap
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 PagemapHead struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 PagesId *uint32 `protobuf:"varint,1,req,name=pages_id,json=pagesId" json:"pages_id,omitempty"`
32 }
33
34 func (x *PagemapHead) Reset() {
35 *x = PagemapHead{}
36 if protoimpl.UnsafeEnabled {
37 mi := &file_pagemap_proto_msgTypes[0]
38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39 ms.StoreMessageInfo(mi)
40 }
41 }
42
43 func (x *PagemapHead) String() string {
44 return protoimpl.X.MessageStringOf(x)
45 }
46
47 func (*PagemapHead) ProtoMessage() {}
48
49 func (x *PagemapHead) ProtoReflect() protoreflect.Message {
50 mi := &file_pagemap_proto_msgTypes[0]
51 if protoimpl.UnsafeEnabled && x != nil {
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 if ms.LoadMessageInfo() == nil {
54 ms.StoreMessageInfo(mi)
55 }
56 return ms
57 }
58 return mi.MessageOf(x)
59 }
60
61 // Deprecated: Use PagemapHead.ProtoReflect.Descriptor instead.
62 func (*PagemapHead) Descriptor() ([]byte, []int) {
63 return file_pagemap_proto_rawDescGZIP(), []int{0}
64 }
65
66 func (x *PagemapHead) GetPagesId() uint32 {
67 if x != nil && x.PagesId != nil {
68 return *x.PagesId
69 }
70 return 0
71 }
72
73 type PagemapEntry struct {
74 state protoimpl.MessageState
75 sizeCache protoimpl.SizeCache
76 unknownFields protoimpl.UnknownFields
77
78 Vaddr *uint64 `protobuf:"varint,1,req,name=vaddr" json:"vaddr,omitempty"`
79 NrPages *uint32 `protobuf:"varint,2,req,name=nr_pages,json=nrPages" json:"nr_pages,omitempty"`
80 InParent *bool `protobuf:"varint,3,opt,name=in_parent,json=inParent" json:"in_parent,omitempty"`
81 Flags *uint32 `protobuf:"varint,4,opt,name=flags" json:"flags,omitempty"`
82 }
83
84 func (x *PagemapEntry) Reset() {
85 *x = PagemapEntry{}
86 if protoimpl.UnsafeEnabled {
87 mi := &file_pagemap_proto_msgTypes[1]
88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
89 ms.StoreMessageInfo(mi)
90 }
91 }
92
93 func (x *PagemapEntry) String() string {
94 return protoimpl.X.MessageStringOf(x)
95 }
96
97 func (*PagemapEntry) ProtoMessage() {}
98
99 func (x *PagemapEntry) ProtoReflect() protoreflect.Message {
100 mi := &file_pagemap_proto_msgTypes[1]
101 if protoimpl.UnsafeEnabled && x != nil {
102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
103 if ms.LoadMessageInfo() == nil {
104 ms.StoreMessageInfo(mi)
105 }
106 return ms
107 }
108 return mi.MessageOf(x)
109 }
110
111 // Deprecated: Use PagemapEntry.ProtoReflect.Descriptor instead.
112 func (*PagemapEntry) Descriptor() ([]byte, []int) {
113 return file_pagemap_proto_rawDescGZIP(), []int{1}
114 }
115
116 func (x *PagemapEntry) GetVaddr() uint64 {
117 if x != nil && x.Vaddr != nil {
118 return *x.Vaddr
119 }
120 return 0
121 }
122
123 func (x *PagemapEntry) GetNrPages() uint32 {
124 if x != nil && x.NrPages != nil {
125 return *x.NrPages
126 }
127 return 0
128 }
129
130 func (x *PagemapEntry) GetInParent() bool {
131 if x != nil && x.InParent != nil {
132 return *x.InParent
133 }
134 return false
135 }
136
137 func (x *PagemapEntry) GetFlags() uint32 {
138 if x != nil && x.Flags != nil {
139 return *x.Flags
140 }
141 return 0
142 }
143
144 var File_pagemap_proto protoreflect.FileDescriptor
145
146 var file_pagemap_proto_rawDesc = []byte{
147 0x0a, 0x0d, 0x70, 0x61, 0x67, 0x65, 0x6d, 0x61, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
148 0x0a, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x0c, 0x70,
149 0x61, 0x67, 0x65, 0x6d, 0x61, 0x70, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70,
150 0x61, 0x67, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x70,
151 0x61, 0x67, 0x65, 0x73, 0x49, 0x64, 0x22, 0x8b, 0x01, 0x0a, 0x0d, 0x70, 0x61, 0x67, 0x65, 0x6d,
152 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x05, 0x76, 0x61, 0x64, 0x64,
153 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x42, 0x05, 0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x05,
154 0x76, 0x61, 0x64, 0x64, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65,
155 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x6e, 0x72, 0x50, 0x61, 0x67, 0x65, 0x73,
156 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20,
157 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a,
158 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x0f, 0xd2, 0x3f,
159 0x0c, 0x1a, 0x0a, 0x70, 0x6d, 0x61, 0x70, 0x2e, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x05, 0x66,
160 0x6c, 0x61, 0x67, 0x73,
161 }
162
163 var (
164 file_pagemap_proto_rawDescOnce sync.Once
165 file_pagemap_proto_rawDescData = file_pagemap_proto_rawDesc
166 )
167
168 func file_pagemap_proto_rawDescGZIP() []byte {
169 file_pagemap_proto_rawDescOnce.Do(func() {
170 file_pagemap_proto_rawDescData = protoimpl.X.CompressGZIP(file_pagemap_proto_rawDescData)
171 })
172 return file_pagemap_proto_rawDescData
173 }
174
175 var file_pagemap_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
176 var file_pagemap_proto_goTypes = []interface{}{
177 (*PagemapHead)(nil), // 0: pagemap_head
178 (*PagemapEntry)(nil), // 1: pagemap_entry
179 }
180 var file_pagemap_proto_depIdxs = []int32{
181 0, // [0:0] is the sub-list for method output_type
182 0, // [0:0] is the sub-list for method input_type
183 0, // [0:0] is the sub-list for extension type_name
184 0, // [0:0] is the sub-list for extension extendee
185 0, // [0:0] is the sub-list for field type_name
186 }
187
188 func init() { file_pagemap_proto_init() }
189 func file_pagemap_proto_init() {
190 if File_pagemap_proto != nil {
191 return
192 }
193 if !protoimpl.UnsafeEnabled {
194 file_pagemap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
195 switch v := v.(*PagemapHead); 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_pagemap_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
207 switch v := v.(*PagemapEntry); 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_pagemap_proto_rawDesc,
224 NumEnums: 0,
225 NumMessages: 2,
226 NumExtensions: 0,
227 NumServices: 0,
228 },
229 GoTypes: file_pagemap_proto_goTypes,
230 DependencyIndexes: file_pagemap_proto_depIdxs,
231 MessageInfos: file_pagemap_proto_msgTypes,
232 }.Build()
233 File_pagemap_proto = out.File
234 file_pagemap_proto_rawDesc = nil
235 file_pagemap_proto_goTypes = nil
236 file_pagemap_proto_depIdxs = nil
237 }