Debian Codegraph @

crit/images/fs/fs.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: fs.proto
8
9 package fs
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 FsEntry struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 CwdId *uint32 `protobuf:"varint,1,req,name=cwd_id,json=cwdId" json:"cwd_id,omitempty"`
31 RootId *uint32 `protobuf:"varint,2,req,name=root_id,json=rootId" json:"root_id,omitempty"`
32 Umask *uint32 `protobuf:"varint,3,opt,name=umask" json:"umask,omitempty"`
33 }
34
35 func (x *FsEntry) Reset() {
36 *x = FsEntry{}
37 if protoimpl.UnsafeEnabled {
38 mi := &file_fs_proto_msgTypes[0]
39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40 ms.StoreMessageInfo(mi)
41 }
42 }
43
44 func (x *FsEntry) String() string {
45 return protoimpl.X.MessageStringOf(x)
46 }
47
48 func (*FsEntry) ProtoMessage() {}
49
50 func (x *FsEntry) ProtoReflect() protoreflect.Message {
51 mi := &file_fs_proto_msgTypes[0]
52 if protoimpl.UnsafeEnabled && x != nil {
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 if ms.LoadMessageInfo() == nil {
55 ms.StoreMessageInfo(mi)
56 }
57 return ms
58 }
59 return mi.MessageOf(x)
60 }
61
62 // Deprecated: Use FsEntry.ProtoReflect.Descriptor instead.
63 func (*FsEntry) Descriptor() ([]byte, []int) {
64 return file_fs_proto_rawDescGZIP(), []int{0}
65 }
66
67 func (x *FsEntry) GetCwdId() uint32 {
68 if x != nil && x.CwdId != nil {
69 return *x.CwdId
70 }
71 return 0
72 }
73
74 func (x *FsEntry) GetRootId() uint32 {
75 if x != nil && x.RootId != nil {
76 return *x.RootId
77 }
78 return 0
79 }
80
81 func (x *FsEntry) GetUmask() uint32 {
82 if x != nil && x.Umask != nil {
83 return *x.Umask
84 }
85 return 0
86 }
87
88 var File_fs_proto protoreflect.FileDescriptor
89
90 var file_fs_proto_rawDesc = []byte{
91 0x0a, 0x08, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x50, 0x0a, 0x08, 0x66, 0x73,
92 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x15, 0x0a, 0x06, 0x63, 0x77, 0x64, 0x5f, 0x69, 0x64,
93 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x77, 0x64, 0x49, 0x64, 0x12, 0x17, 0x0a,
94 0x07, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06,
95 0x72, 0x6f, 0x6f, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x6d, 0x61, 0x73, 0x6b, 0x18,
96 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x75, 0x6d, 0x61, 0x73, 0x6b,
97 }
98
99 var (
100 file_fs_proto_rawDescOnce sync.Once
101 file_fs_proto_rawDescData = file_fs_proto_rawDesc
102 )
103
104 func file_fs_proto_rawDescGZIP() []byte {
105 file_fs_proto_rawDescOnce.Do(func() {
106 file_fs_proto_rawDescData = protoimpl.X.CompressGZIP(file_fs_proto_rawDescData)
107 })
108 return file_fs_proto_rawDescData
109 }
110
111 var file_fs_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
112 var file_fs_proto_goTypes = []interface{}{
113 (*FsEntry)(nil), // 0: fs_entry
114 }
115 var file_fs_proto_depIdxs = []int32{
116 0, // [0:0] is the sub-list for method output_type
117 0, // [0:0] is the sub-list for method input_type
118 0, // [0:0] is the sub-list for extension type_name
119 0, // [0:0] is the sub-list for extension extendee
120 0, // [0:0] is the sub-list for field type_name
121 }
122
123 func init() { file_fs_proto_init() }
124 func file_fs_proto_init() {
125 if File_fs_proto != nil {
126 return
127 }
128 if !protoimpl.UnsafeEnabled {
129 file_fs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
130 switch v := v.(*FsEntry); i {
131 case 0:
132 return &v.state
133 case 1:
134 return &v.sizeCache
135 case 2:
136 return &v.unknownFields
137 default:
138 return nil
139 }
140 }
141 }
142 type x struct{}
143 out := protoimpl.TypeBuilder{
144 File: protoimpl.DescBuilder{
145 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
146 RawDescriptor: file_fs_proto_rawDesc,
147 NumEnums: 0,
148 NumMessages: 1,
149 NumExtensions: 0,
150 NumServices: 0,
151 },
152 GoTypes: file_fs_proto_goTypes,
153 DependencyIndexes: file_fs_proto_depIdxs,
154 MessageInfos: file_fs_proto_msgTypes,
155 }.Build()
156 File_fs_proto = out.File
157 file_fs_proto_rawDesc = nil
158 file_fs_proto_goTypes = nil
159 file_fs_proto_depIdxs = nil
160 }