Debian Codegraph @

crit/images/remap-file-path/remap-file-path.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: remap-file-path.proto
8
9 package remap_file_path
10
11 import (
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type RemapType int32
26
27 const (
28 RemapType_LINKED RemapType = 0
29 RemapType_GHOST RemapType = 1
30 RemapType_PROCFS RemapType = 2
31 )
32
33 // Enum value maps for RemapType.
34 var (
35 RemapType_name = map[int32]string{
36 0: "LINKED",
37 1: "GHOST",
38 2: "PROCFS",
39 }
40 RemapType_value = map[string]int32{
41 "LINKED": 0,
42 "GHOST": 1,
43 "PROCFS": 2,
44 }
45 )
46
47 func (x RemapType) Enum() *RemapType {
48 p := new(RemapType)
49 *p = x
50 return p
51 }
52
53 func (x RemapType) String() string {
54 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
55 }
56
57 func (RemapType) Descriptor() protoreflect.EnumDescriptor {
58 return file_remap_file_path_proto_enumTypes[0].Descriptor()
59 }
60
61 func (RemapType) Type() protoreflect.EnumType {
62 return &file_remap_file_path_proto_enumTypes[0]
63 }
64
65 func (x RemapType) Number() protoreflect.EnumNumber {
66 return protoreflect.EnumNumber(x)
67 }
68
69 // Deprecated: Do not use.
70 func (x *RemapType) UnmarshalJSON(b []byte) error {
71 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
72 if err != nil {
73 return err
74 }
75 *x = RemapType(num)
76 return nil
77 }
78
79 // Deprecated: Use RemapType.Descriptor instead.
80 func (RemapType) EnumDescriptor() ([]byte, []int) {
81 return file_remap_file_path_proto_rawDescGZIP(), []int{0}
82 }
83
84 type RemapFilePathEntry struct {
85 state protoimpl.MessageState
86 sizeCache protoimpl.SizeCache
87 unknownFields protoimpl.UnknownFields
88
89 OrigId *uint32 `protobuf:"varint,1,req,name=orig_id,json=origId" json:"orig_id,omitempty"`
90 RemapId *uint32 `protobuf:"varint,2,req,name=remap_id,json=remapId" json:"remap_id,omitempty"`
91 RemapType *RemapType `protobuf:"varint,3,opt,name=remap_type,json=remapType,enum=RemapType" json:"remap_type,omitempty"`
92 }
93
94 func (x *RemapFilePathEntry) Reset() {
95 *x = RemapFilePathEntry{}
96 if protoimpl.UnsafeEnabled {
97 mi := &file_remap_file_path_proto_msgTypes[0]
98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
99 ms.StoreMessageInfo(mi)
100 }
101 }
102
103 func (x *RemapFilePathEntry) String() string {
104 return protoimpl.X.MessageStringOf(x)
105 }
106
107 func (*RemapFilePathEntry) ProtoMessage() {}
108
109 func (x *RemapFilePathEntry) ProtoReflect() protoreflect.Message {
110 mi := &file_remap_file_path_proto_msgTypes[0]
111 if protoimpl.UnsafeEnabled && x != nil {
112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113 if ms.LoadMessageInfo() == nil {
114 ms.StoreMessageInfo(mi)
115 }
116 return ms
117 }
118 return mi.MessageOf(x)
119 }
120
121 // Deprecated: Use RemapFilePathEntry.ProtoReflect.Descriptor instead.
122 func (*RemapFilePathEntry) Descriptor() ([]byte, []int) {
123 return file_remap_file_path_proto_rawDescGZIP(), []int{0}
124 }
125
126 func (x *RemapFilePathEntry) GetOrigId() uint32 {
127 if x != nil && x.OrigId != nil {
128 return *x.OrigId
129 }
130 return 0
131 }
132
133 func (x *RemapFilePathEntry) GetRemapId() uint32 {
134 if x != nil && x.RemapId != nil {
135 return *x.RemapId
136 }
137 return 0
138 }
139
140 func (x *RemapFilePathEntry) GetRemapType() RemapType {
141 if x != nil && x.RemapType != nil {
142 return *x.RemapType
143 }
144 return RemapType_LINKED
145 }
146
147 var File_remap_file_path_proto protoreflect.FileDescriptor
148
149 var file_remap_file_path_proto_rawDesc = []byte{
150 0x0a, 0x15, 0x72, 0x65, 0x6d, 0x61, 0x70, 0x2d, 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x70, 0x61, 0x74,
151 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x77, 0x0a, 0x15, 0x72, 0x65, 0x6d, 0x61, 0x70,
152 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79,
153 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x72, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28,
154 0x0d, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x6d,
155 0x61, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x72, 0x65, 0x6d,
156 0x61, 0x70, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x61, 0x70, 0x5f, 0x74, 0x79,
157 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x72, 0x65, 0x6d, 0x61, 0x70,
158 0x5f, 0x74, 0x79, 0x70, 0x65, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65,
159 0x2a, 0x2f, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x61, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0a,
160 0x0a, 0x06, 0x4c, 0x49, 0x4e, 0x4b, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x48,
161 0x4f, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x52, 0x4f, 0x43, 0x46, 0x53, 0x10,
162 0x02,
163 }
164
165 var (
166 file_remap_file_path_proto_rawDescOnce sync.Once
167 file_remap_file_path_proto_rawDescData = file_remap_file_path_proto_rawDesc
168 )
169
170 func file_remap_file_path_proto_rawDescGZIP() []byte {
171 file_remap_file_path_proto_rawDescOnce.Do(func() {
172 file_remap_file_path_proto_rawDescData = protoimpl.X.CompressGZIP(file_remap_file_path_proto_rawDescData)
173 })
174 return file_remap_file_path_proto_rawDescData
175 }
176
177 var file_remap_file_path_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
178 var file_remap_file_path_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
179 var file_remap_file_path_proto_goTypes = []interface{}{
180 (RemapType)(0), // 0: remap_type
181 (*RemapFilePathEntry)(nil), // 1: remap_file_path_entry
182 }
183 var file_remap_file_path_proto_depIdxs = []int32{
184 0, // 0: remap_file_path_entry.remap_type:type_name -> remap_type
185 1, // [1:1] is the sub-list for method output_type
186 1, // [1:1] is the sub-list for method input_type
187 1, // [1:1] is the sub-list for extension type_name
188 1, // [1:1] is the sub-list for extension extendee
189 0, // [0:1] is the sub-list for field type_name
190 }
191
192 func init() { file_remap_file_path_proto_init() }
193 func file_remap_file_path_proto_init() {
194 if File_remap_file_path_proto != nil {
195 return
196 }
197 if !protoimpl.UnsafeEnabled {
198 file_remap_file_path_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
199 switch v := v.(*RemapFilePathEntry); i {
200 case 0:
201 return &v.state
202 case 1:
203 return &v.sizeCache
204 case 2:
205 return &v.unknownFields
206 default:
207 return nil
208 }
209 }
210 }
211 type x struct{}
212 out := protoimpl.TypeBuilder{
213 File: protoimpl.DescBuilder{
214 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
215 RawDescriptor: file_remap_file_path_proto_rawDesc,
216 NumEnums: 1,
217 NumMessages: 1,
218 NumExtensions: 0,
219 NumServices: 0,
220 },
221 GoTypes: file_remap_file_path_proto_goTypes,
222 DependencyIndexes: file_remap_file_path_proto_depIdxs,
223 EnumInfos: file_remap_file_path_proto_enumTypes,
224 MessageInfos: file_remap_file_path_proto_msgTypes,
225 }.Build()
226 File_remap_file_path_proto = out.File
227 file_remap_file_path_proto_rawDesc = nil
228 file_remap_file_path_proto_goTypes = nil
229 file_remap_file_path_proto_depIdxs = nil
230 }