Debian Codegraph @

crit/images/ipc-shm/ipc-shm.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-shm.proto
8
9 package ipc_shm
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 IpcShmEntry struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 Desc *ipc_desc.IpcDescEntry `protobuf:"bytes,1,req,name=desc" json:"desc,omitempty"`
32 Size *uint64 `protobuf:"varint,2,req,name=size" json:"size,omitempty"`
33 InPagemaps *bool `protobuf:"varint,3,opt,name=in_pagemaps,json=inPagemaps" json:"in_pagemaps,omitempty"`
34 HugetlbFlag *uint32 `protobuf:"varint,4,opt,name=hugetlb_flag,json=hugetlbFlag" json:"hugetlb_flag,omitempty"`
35 }
36
37 func (x *IpcShmEntry) Reset() {
38 *x = IpcShmEntry{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_ipc_shm_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *IpcShmEntry) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*IpcShmEntry) ProtoMessage() {}
51
52 func (x *IpcShmEntry) ProtoReflect() protoreflect.Message {
53 mi := &file_ipc_shm_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 IpcShmEntry.ProtoReflect.Descriptor instead.
65 func (*IpcShmEntry) Descriptor() ([]byte, []int) {
66 return file_ipc_shm_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *IpcShmEntry) GetDesc() *ipc_desc.IpcDescEntry {
70 if x != nil {
71 return x.Desc
72 }
73 return nil
74 }
75
76 func (x *IpcShmEntry) GetSize() uint64 {
77 if x != nil && x.Size != nil {
78 return *x.Size
79 }
80 return 0
81 }
82
83 func (x *IpcShmEntry) GetInPagemaps() bool {
84 if x != nil && x.InPagemaps != nil {
85 return *x.InPagemaps
86 }
87 return false
88 }
89
90 func (x *IpcShmEntry) GetHugetlbFlag() uint32 {
91 if x != nil && x.HugetlbFlag != nil {
92 return *x.HugetlbFlag
93 }
94 return 0
95 }
96
97 var File_ipc_shm_proto protoreflect.FileDescriptor
98
99 var file_ipc_shm_proto_rawDesc = []byte{
100 0x0a, 0x0d, 0x69, 0x70, 0x63, 0x2d, 0x73, 0x68, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
101 0x0e, 0x69, 0x70, 0x63, 0x2d, 0x64, 0x65, 0x73, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
102 0x8c, 0x01, 0x0a, 0x0d, 0x69, 0x70, 0x63, 0x5f, 0x73, 0x68, 0x6d, 0x5f, 0x65, 0x6e, 0x74, 0x72,
103 0x79, 0x12, 0x23, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32,
104 0x0f, 0x2e, 0x69, 0x70, 0x63, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79,
105 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02,
106 0x20, 0x02, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e,
107 0x5f, 0x70, 0x61, 0x67, 0x65, 0x6d, 0x61, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
108 0x0a, 0x69, 0x6e, 0x50, 0x61, 0x67, 0x65, 0x6d, 0x61, 0x70, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x68,
109 0x75, 0x67, 0x65, 0x74, 0x6c, 0x62, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28,
110 0x0d, 0x52, 0x0b, 0x68, 0x75, 0x67, 0x65, 0x74, 0x6c, 0x62, 0x46, 0x6c, 0x61, 0x67,
111 }
112
113 var (
114 file_ipc_shm_proto_rawDescOnce sync.Once
115 file_ipc_shm_proto_rawDescData = file_ipc_shm_proto_rawDesc
116 )
117
118 func file_ipc_shm_proto_rawDescGZIP() []byte {
119 file_ipc_shm_proto_rawDescOnce.Do(func() {
120 file_ipc_shm_proto_rawDescData = protoimpl.X.CompressGZIP(file_ipc_shm_proto_rawDescData)
121 })
122 return file_ipc_shm_proto_rawDescData
123 }
124
125 var file_ipc_shm_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
126 var file_ipc_shm_proto_goTypes = []interface{}{
127 (*IpcShmEntry)(nil), // 0: ipc_shm_entry
128 (*ipc_desc.IpcDescEntry)(nil), // 1: ipc_desc_entry
129 }
130 var file_ipc_shm_proto_depIdxs = []int32{
131 1, // 0: ipc_shm_entry.desc:type_name -> ipc_desc_entry
132 1, // [1:1] is the sub-list for method output_type
133 1, // [1:1] is the sub-list for method input_type
134 1, // [1:1] is the sub-list for extension type_name
135 1, // [1:1] is the sub-list for extension extendee
136 0, // [0:1] is the sub-list for field type_name
137 }
138
139 func init() { file_ipc_shm_proto_init() }
140 func file_ipc_shm_proto_init() {
141 if File_ipc_shm_proto != nil {
142 return
143 }
144 if !protoimpl.UnsafeEnabled {
145 file_ipc_shm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
146 switch v := v.(*IpcShmEntry); i {
147 case 0:
148 return &v.state
149 case 1:
150 return &v.sizeCache
151 case 2:
152 return &v.unknownFields
153 default:
154 return nil
155 }
156 }
157 }
158 type x struct{}
159 out := protoimpl.TypeBuilder{
160 File: protoimpl.DescBuilder{
161 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
162 RawDescriptor: file_ipc_shm_proto_rawDesc,
163 NumEnums: 0,
164 NumMessages: 1,
165 NumExtensions: 0,
166 NumServices: 0,
167 },
168 GoTypes: file_ipc_shm_proto_goTypes,
169 DependencyIndexes: file_ipc_shm_proto_depIdxs,
170 MessageInfos: file_ipc_shm_proto_msgTypes,
171 }.Build()
172 File_ipc_shm_proto = out.File
173 file_ipc_shm_proto_rawDesc = nil
174 file_ipc_shm_proto_goTypes = nil
175 file_ipc_shm_proto_depIdxs = nil
176 }