Debian Codegraph @

crit/images/binfmt-misc/binfmt-misc.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: binfmt-misc.proto
8
9 package binfmt_misc
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 BinfmtMiscEntry struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
31 Enabled *bool `protobuf:"varint,2,req,name=enabled" json:"enabled,omitempty"`
32 Interpreter *string `protobuf:"bytes,3,req,name=interpreter" json:"interpreter,omitempty"`
33 Flags *string `protobuf:"bytes,4,opt,name=flags" json:"flags,omitempty"`
34 Extension *string `protobuf:"bytes,5,opt,name=extension" json:"extension,omitempty"`
35 Magic *string `protobuf:"bytes,6,opt,name=magic" json:"magic,omitempty"`
36 Mask *string `protobuf:"bytes,7,opt,name=mask" json:"mask,omitempty"`
37 Offset *int32 `protobuf:"varint,8,opt,name=offset" json:"offset,omitempty"`
38 }
39
40 func (x *BinfmtMiscEntry) Reset() {
41 *x = BinfmtMiscEntry{}
42 if protoimpl.UnsafeEnabled {
43 mi := &file_binfmt_misc_proto_msgTypes[0]
44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
45 ms.StoreMessageInfo(mi)
46 }
47 }
48
49 func (x *BinfmtMiscEntry) String() string {
50 return protoimpl.X.MessageStringOf(x)
51 }
52
53 func (*BinfmtMiscEntry) ProtoMessage() {}
54
55 func (x *BinfmtMiscEntry) ProtoReflect() protoreflect.Message {
56 mi := &file_binfmt_misc_proto_msgTypes[0]
57 if protoimpl.UnsafeEnabled && x != nil {
58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
59 if ms.LoadMessageInfo() == nil {
60 ms.StoreMessageInfo(mi)
61 }
62 return ms
63 }
64 return mi.MessageOf(x)
65 }
66
67 // Deprecated: Use BinfmtMiscEntry.ProtoReflect.Descriptor instead.
68 func (*BinfmtMiscEntry) Descriptor() ([]byte, []int) {
69 return file_binfmt_misc_proto_rawDescGZIP(), []int{0}
70 }
71
72 func (x *BinfmtMiscEntry) GetName() string {
73 if x != nil && x.Name != nil {
74 return *x.Name
75 }
76 return ""
77 }
78
79 func (x *BinfmtMiscEntry) GetEnabled() bool {
80 if x != nil && x.Enabled != nil {
81 return *x.Enabled
82 }
83 return false
84 }
85
86 func (x *BinfmtMiscEntry) GetInterpreter() string {
87 if x != nil && x.Interpreter != nil {
88 return *x.Interpreter
89 }
90 return ""
91 }
92
93 func (x *BinfmtMiscEntry) GetFlags() string {
94 if x != nil && x.Flags != nil {
95 return *x.Flags
96 }
97 return ""
98 }
99
100 func (x *BinfmtMiscEntry) GetExtension() string {
101 if x != nil && x.Extension != nil {
102 return *x.Extension
103 }
104 return ""
105 }
106
107 func (x *BinfmtMiscEntry) GetMagic() string {
108 if x != nil && x.Magic != nil {
109 return *x.Magic
110 }
111 return ""
112 }
113
114 func (x *BinfmtMiscEntry) GetMask() string {
115 if x != nil && x.Mask != nil {
116 return *x.Mask
117 }
118 return ""
119 }
120
121 func (x *BinfmtMiscEntry) GetOffset() int32 {
122 if x != nil && x.Offset != nil {
123 return *x.Offset
124 }
125 return 0
126 }
127
128 var File_binfmt_misc_proto protoreflect.FileDescriptor
129
130 var file_binfmt_misc_proto_rawDesc = []byte{
131 0x0a, 0x11, 0x62, 0x69, 0x6e, 0x66, 0x6d, 0x74, 0x2d, 0x6d, 0x69, 0x73, 0x63, 0x2e, 0x70, 0x72,
132 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x01, 0x0a, 0x11, 0x62, 0x69, 0x6e, 0x66, 0x6d, 0x74, 0x5f, 0x6d,
133 0x69, 0x73, 0x63, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
134 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a,
135 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07,
136 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72,
137 0x70, 0x72, 0x65, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e,
138 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61,
139 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12,
140 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01,
141 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a,
142 0x05, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x61,
143 0x67, 0x69, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28,
144 0x09, 0x52, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
145 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
146 }
147
148 var (
149 file_binfmt_misc_proto_rawDescOnce sync.Once
150 file_binfmt_misc_proto_rawDescData = file_binfmt_misc_proto_rawDesc
151 )
152
153 func file_binfmt_misc_proto_rawDescGZIP() []byte {
154 file_binfmt_misc_proto_rawDescOnce.Do(func() {
155 file_binfmt_misc_proto_rawDescData = protoimpl.X.CompressGZIP(file_binfmt_misc_proto_rawDescData)
156 })
157 return file_binfmt_misc_proto_rawDescData
158 }
159
160 var file_binfmt_misc_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
161 var file_binfmt_misc_proto_goTypes = []interface{}{
162 (*BinfmtMiscEntry)(nil), // 0: binfmt_misc_entry
163 }
164 var file_binfmt_misc_proto_depIdxs = []int32{
165 0, // [0:0] is the sub-list for method output_type
166 0, // [0:0] is the sub-list for method input_type
167 0, // [0:0] is the sub-list for extension type_name
168 0, // [0:0] is the sub-list for extension extendee
169 0, // [0:0] is the sub-list for field type_name
170 }
171
172 func init() { file_binfmt_misc_proto_init() }
173 func file_binfmt_misc_proto_init() {
174 if File_binfmt_misc_proto != nil {
175 return
176 }
177 if !protoimpl.UnsafeEnabled {
178 file_binfmt_misc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
179 switch v := v.(*BinfmtMiscEntry); i {
180 case 0:
181 return &v.state
182 case 1:
183 return &v.sizeCache
184 case 2:
185 return &v.unknownFields
186 default:
187 return nil
188 }
189 }
190 }
191 type x struct{}
192 out := protoimpl.TypeBuilder{
193 File: protoimpl.DescBuilder{
194 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
195 RawDescriptor: file_binfmt_misc_proto_rawDesc,
196 NumEnums: 0,
197 NumMessages: 1,
198 NumExtensions: 0,
199 NumServices: 0,
200 },
201 GoTypes: file_binfmt_misc_proto_goTypes,
202 DependencyIndexes: file_binfmt_misc_proto_depIdxs,
203 MessageInfos: file_binfmt_misc_proto_msgTypes,
204 }.Build()
205 File_binfmt_misc_proto = out.File
206 file_binfmt_misc_proto_rawDesc = nil
207 file_binfmt_misc_proto_goTypes = nil
208 file_binfmt_misc_proto_depIdxs = nil
209 }