Debian Codegraph @

crit/images/file-lock/file-lock.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: file-lock.proto
8
9 package file_lock
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 FileLockEntry struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 Flag *uint32 `protobuf:"varint,1,req,name=flag" json:"flag,omitempty"`
31 Type *uint32 `protobuf:"varint,2,req,name=type" json:"type,omitempty"`
32 Pid *int32 `protobuf:"varint,3,req,name=pid" json:"pid,omitempty"`
33 Fd *int32 `protobuf:"varint,4,req,name=fd" json:"fd,omitempty"`
34 Start *int64 `protobuf:"varint,5,req,name=start" json:"start,omitempty"`
35 Len *int64 `protobuf:"varint,6,req,name=len" json:"len,omitempty"`
36 }
37
38 func (x *FileLockEntry) Reset() {
39 *x = FileLockEntry{}
40 if protoimpl.UnsafeEnabled {
41 mi := &file_file_lock_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44 }
45 }
46
47 func (x *FileLockEntry) String() string {
48 return protoimpl.X.MessageStringOf(x)
49 }
50
51 func (*FileLockEntry) ProtoMessage() {}
52
53 func (x *FileLockEntry) ProtoReflect() protoreflect.Message {
54 mi := &file_file_lock_proto_msgTypes[0]
55 if protoimpl.UnsafeEnabled && x != nil {
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 if ms.LoadMessageInfo() == nil {
58 ms.StoreMessageInfo(mi)
59 }
60 return ms
61 }
62 return mi.MessageOf(x)
63 }
64
65 // Deprecated: Use FileLockEntry.ProtoReflect.Descriptor instead.
66 func (*FileLockEntry) Descriptor() ([]byte, []int) {
67 return file_file_lock_proto_rawDescGZIP(), []int{0}
68 }
69
70 func (x *FileLockEntry) GetFlag() uint32 {
71 if x != nil && x.Flag != nil {
72 return *x.Flag
73 }
74 return 0
75 }
76
77 func (x *FileLockEntry) GetType() uint32 {
78 if x != nil && x.Type != nil {
79 return *x.Type
80 }
81 return 0
82 }
83
84 func (x *FileLockEntry) GetPid() int32 {
85 if x != nil && x.Pid != nil {
86 return *x.Pid
87 }
88 return 0
89 }
90
91 func (x *FileLockEntry) GetFd() int32 {
92 if x != nil && x.Fd != nil {
93 return *x.Fd
94 }
95 return 0
96 }
97
98 func (x *FileLockEntry) GetStart() int64 {
99 if x != nil && x.Start != nil {
100 return *x.Start
101 }
102 return 0
103 }
104
105 func (x *FileLockEntry) GetLen() int64 {
106 if x != nil && x.Len != nil {
107 return *x.Len
108 }
109 return 0
110 }
111
112 var File_file_lock_proto protoreflect.FileDescriptor
113
114 var file_file_lock_proto_rawDesc = []byte{
115 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x2d, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
116 0x6f, 0x22, 0x83, 0x01, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f,
117 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x18, 0x01, 0x20,
118 0x02, 0x28, 0x0d, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
119 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a,
120 0x03, 0x70, 0x69, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12,
121 0x0e, 0x0a, 0x02, 0x66, 0x64, 0x18, 0x04, 0x20, 0x02, 0x28, 0x05, 0x52, 0x02, 0x66, 0x64, 0x12,
122 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x05, 0x20, 0x02, 0x28, 0x03, 0x52, 0x05,
123 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x02,
124 0x28, 0x03, 0x52, 0x03, 0x6c, 0x65, 0x6e,
125 }
126
127 var (
128 file_file_lock_proto_rawDescOnce sync.Once
129 file_file_lock_proto_rawDescData = file_file_lock_proto_rawDesc
130 )
131
132 func file_file_lock_proto_rawDescGZIP() []byte {
133 file_file_lock_proto_rawDescOnce.Do(func() {
134 file_file_lock_proto_rawDescData = protoimpl.X.CompressGZIP(file_file_lock_proto_rawDescData)
135 })
136 return file_file_lock_proto_rawDescData
137 }
138
139 var file_file_lock_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
140 var file_file_lock_proto_goTypes = []interface{}{
141 (*FileLockEntry)(nil), // 0: file_lock_entry
142 }
143 var file_file_lock_proto_depIdxs = []int32{
144 0, // [0:0] is the sub-list for method output_type
145 0, // [0:0] is the sub-list for method input_type
146 0, // [0:0] is the sub-list for extension type_name
147 0, // [0:0] is the sub-list for extension extendee
148 0, // [0:0] is the sub-list for field type_name
149 }
150
151 func init() { file_file_lock_proto_init() }
152 func file_file_lock_proto_init() {
153 if File_file_lock_proto != nil {
154 return
155 }
156 if !protoimpl.UnsafeEnabled {
157 file_file_lock_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
158 switch v := v.(*FileLockEntry); i {
159 case 0:
160 return &v.state
161 case 1:
162 return &v.sizeCache
163 case 2:
164 return &v.unknownFields
165 default:
166 return nil
167 }
168 }
169 }
170 type x struct{}
171 out := protoimpl.TypeBuilder{
172 File: protoimpl.DescBuilder{
173 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
174 RawDescriptor: file_file_lock_proto_rawDesc,
175 NumEnums: 0,
176 NumMessages: 1,
177 NumExtensions: 0,
178 NumServices: 0,
179 },
180 GoTypes: file_file_lock_proto_goTypes,
181 DependencyIndexes: file_file_lock_proto_depIdxs,
182 MessageInfos: file_file_lock_proto_msgTypes,
183 }.Build()
184 File_file_lock_proto = out.File
185 file_file_lock_proto_rawDesc = nil
186 file_file_lock_proto_goTypes = nil
187 file_file_lock_proto_depIdxs = nil
188 }