| 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // versions: |
| 3 | // protoc-gen-go v1.31.0 |
| 4 | // protoc v3.11.4 |
| 5 | // source: github.com/tonistiigi/fsutil/types/stat.proto |
| 6 | |
| 7 | package types |
| 8 | |
| 9 | import ( |
| 10 | _ "github.com/planetscale/vtprotobuf/vtproto" |
| 11 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 12 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 13 | reflect "reflect" |
| 14 | sync "sync" |
| 15 | ) |
| 16 | |
| 17 | const ( |
| 18 | // Verify that this generated code is sufficiently up-to-date. |
| 19 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 20 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 21 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 22 | ) |
| 23 | |
| 24 | type Stat struct { |
| 25 | state protoimpl.MessageState |
| 26 | sizeCache protoimpl.SizeCache |
| 27 | unknownFields protoimpl.UnknownFields |
| 28 | |
| 29 | Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` |
| 30 | Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` |
| 31 | Uid uint32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` |
| 32 | Gid uint32 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` |
| 33 | Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` |
| 34 | ModTime int64 `protobuf:"varint,6,opt,name=modTime,proto3" json:"modTime,omitempty"` |
| 35 | // int32 typeflag = 7; |
| 36 | Linkname string `protobuf:"bytes,7,opt,name=linkname,proto3" json:"linkname,omitempty"` |
| 37 | Devmajor int64 `protobuf:"varint,8,opt,name=devmajor,proto3" json:"devmajor,omitempty"` |
| 38 | Devminor int64 `protobuf:"varint,9,opt,name=devminor,proto3" json:"devminor,omitempty"` |
| 39 | Xattrs map[string][]byte `protobuf:"bytes,10,rep,name=xattrs,proto3" json:"xattrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 40 | } |
| 41 | |
| 42 | func (x *Stat) Reset() { |
| 43 | *x = Stat{} |
| 44 | if protoimpl.UnsafeEnabled { |
| 45 | mi := &file_github_com_tonistiigi_fsutil_types_stat_proto_msgTypes[0] |
| 46 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 47 | ms.StoreMessageInfo(mi) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | func (x *Stat) String() string { |
| 52 | return protoimpl.X.MessageStringOf(x) |
| 53 | } |
| 54 | |
| 55 | func (*Stat) ProtoMessage() {} |
| 56 | |
| 57 | func (x *Stat) ProtoReflect() protoreflect.Message { |
| 58 | mi := &file_github_com_tonistiigi_fsutil_types_stat_proto_msgTypes[0] |
| 59 | if protoimpl.UnsafeEnabled && x != nil { |
| 60 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 61 | if ms.LoadMessageInfo() == nil { |
| 62 | ms.StoreMessageInfo(mi) |
| 63 | } |
| 64 | return ms |
| 65 | } |
| 66 | return mi.MessageOf(x) |
| 67 | } |
| 68 | |
| 69 | // Deprecated: Use Stat.ProtoReflect.Descriptor instead. |
| 70 | func (*Stat) Descriptor() ([]byte, []int) { |
| 71 | return file_github_com_tonistiigi_fsutil_types_stat_proto_rawDescGZIP(), []int{0} |
| 72 | } |
| 73 | |
| 74 | func (x *Stat) GetPath() string { |
| 75 | if x != nil { |
| 76 | return x.Path |
| 77 | } |
| 78 | return "" |
| 79 | } |
| 80 | |
| 81 | func (x *Stat) GetMode() uint32 { |
| 82 | if x != nil { |
| 83 | return x.Mode |
| 84 | } |
| 85 | return 0 |
| 86 | } |
| 87 | |
| 88 | func (x *Stat) GetUid() uint32 { |
| 89 | if x != nil { |
| 90 | return x.Uid |
| 91 | } |
| 92 | return 0 |
| 93 | } |
| 94 | |
| 95 | func (x *Stat) GetGid() uint32 { |
| 96 | if x != nil { |
| 97 | return x.Gid |
| 98 | } |
| 99 | return 0 |
| 100 | } |
| 101 | |
| 102 | func (x *Stat) GetSize() int64 { |
| 103 | if x != nil { |
| 104 | return x.Size |
| 105 | } |
| 106 | return 0 |
| 107 | } |
| 108 | |
| 109 | func (x *Stat) GetModTime() int64 { |
| 110 | if x != nil { |
| 111 | return x.ModTime |
| 112 | } |
| 113 | return 0 |
| 114 | } |
| 115 | |
| 116 | func (x *Stat) GetLinkname() string { |
| 117 | if x != nil { |
| 118 | return x.Linkname |
| 119 | } |
| 120 | return "" |
| 121 | } |
| 122 | |
| 123 | func (x *Stat) GetDevmajor() int64 { |
| 124 | if x != nil { |
| 125 | return x.Devmajor |
| 126 | } |
| 127 | return 0 |
| 128 | } |
| 129 | |
| 130 | func (x *Stat) GetDevminor() int64 { |
| 131 | if x != nil { |
| 132 | return x.Devminor |
| 133 | } |
| 134 | return 0 |
| 135 | } |
| 136 | |
| 137 | func (x *Stat) GetXattrs() map[string][]byte { |
| 138 | if x != nil { |
| 139 | return x.Xattrs |
| 140 | } |
| 141 | return nil |
| 142 | } |
| 143 | |
| 144 | var File_github_com_tonistiigi_fsutil_types_stat_proto protoreflect.FileDescriptor |
| 145 | |
| 146 | var file_github_com_tonistiigi_fsutil_types_stat_proto_rawDesc = []byte{ |
| 147 | 0x0a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x6f, 0x6e, |
| 148 | 0x69, 0x73, 0x74, 0x69, 0x69, 0x67, 0x69, 0x2f, 0x66, 0x73, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x74, |
| 149 | 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 150 | 0x0c, 0x66, 0x73, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x33, 0x67, |
| 151 | 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, |
| 152 | 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x76, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 153 | 0x2f, 0x76, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, |
| 154 | 0x74, 0x6f, 0x22, 0xc7, 0x02, 0x0a, 0x04, 0x53, 0x74, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, |
| 155 | 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, |
| 156 | 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, |
| 157 | 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, |
| 158 | 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, |
| 159 | 0x28, 0x0d, 0x52, 0x03, 0x67, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, |
| 160 | 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, |
| 161 | 0x6f, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x6f, |
| 162 | 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6e, 0x6b, 0x6e, 0x61, 0x6d, |
| 163 | 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x69, 0x6e, 0x6b, 0x6e, 0x61, 0x6d, |
| 164 | 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x76, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x08, 0x20, |
| 165 | 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x65, 0x76, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x1a, 0x0a, |
| 166 | 0x08, 0x64, 0x65, 0x76, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, |
| 167 | 0x08, 0x64, 0x65, 0x76, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x36, 0x0a, 0x06, 0x78, 0x61, 0x74, |
| 168 | 0x74, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x66, 0x73, 0x75, 0x74, |
| 169 | 0x69, 0x6c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x2e, 0x58, 0x61, |
| 170 | 0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x78, 0x61, 0x74, 0x74, 0x72, |
| 171 | 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x58, 0x61, 0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, |
| 172 | 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, |
| 173 | 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 174 | 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x24, 0x5a, 0x22, |
| 175 | 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x6f, 0x6e, 0x69, 0x73, |
| 176 | 0x74, 0x69, 0x69, 0x67, 0x69, 0x2f, 0x66, 0x73, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x74, 0x79, 0x70, |
| 177 | 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 178 | } |
| 179 | |
| 180 | var ( |
| 181 | file_github_com_tonistiigi_fsutil_types_stat_proto_rawDescOnce sync.Once |
| 182 | file_github_com_tonistiigi_fsutil_types_stat_proto_rawDescData = file_github_com_tonistiigi_fsutil_types_stat_proto_rawDesc |
| 183 | ) |
| 184 | |
| 185 | func file_github_com_tonistiigi_fsutil_types_stat_proto_rawDescGZIP() []byte { |
| 186 | file_github_com_tonistiigi_fsutil_types_stat_proto_rawDescOnce.Do(func() { |
| 187 | file_github_com_tonistiigi_fsutil_types_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_tonistiigi_fsutil_types_stat_proto_rawDescData) |
| 188 | }) |
| 189 | return file_github_com_tonistiigi_fsutil_types_stat_proto_rawDescData |
| 190 | } |
| 191 | |
| 192 | var file_github_com_tonistiigi_fsutil_types_stat_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 193 | var file_github_com_tonistiigi_fsutil_types_stat_proto_goTypes = []interface{}{ |
| 194 | (*Stat)(nil), // 0: fsutil.types.Stat |
| 195 | nil, // 1: fsutil.types.Stat.XattrsEntry |
| 196 | } |
| 197 | var file_github_com_tonistiigi_fsutil_types_stat_proto_depIdxs = []int32{ |
| 198 | 1, // 0: fsutil.types.Stat.xattrs:type_name -> fsutil.types.Stat.XattrsEntry |
| 199 | 1, // [1:1] is the sub-list for method output_type |
| 200 | 1, // [1:1] is the sub-list for method input_type |
| 201 | 1, // [1:1] is the sub-list for extension type_name |
| 202 | 1, // [1:1] is the sub-list for extension extendee |
| 203 | 0, // [0:1] is the sub-list for field type_name |
| 204 | } |
| 205 | |
| 206 | func init() { file_github_com_tonistiigi_fsutil_types_stat_proto_init() } |
| 207 | func file_github_com_tonistiigi_fsutil_types_stat_proto_init() { |
| 208 | if File_github_com_tonistiigi_fsutil_types_stat_proto != nil { |
| 209 | return |
| 210 | } |
| 211 | if !protoimpl.UnsafeEnabled { |
| 212 | file_github_com_tonistiigi_fsutil_types_stat_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 213 | switch v := v.(*Stat); i { |
| 214 | case 0: |
| 215 | return &v.state |
| 216 | case 1: |
| 217 | return &v.sizeCache |
| 218 | case 2: |
| 219 | return &v.unknownFields |
| 220 | default: |
| 221 | return nil |
| 222 | } |
| 223 | } |
| 224 | } |
| 225 | type x struct{} |
| 226 | out := protoimpl.TypeBuilder{ |
| 227 | File: protoimpl.DescBuilder{ |
| 228 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 229 | RawDescriptor: file_github_com_tonistiigi_fsutil_types_stat_proto_rawDesc, |
| 230 | NumEnums: 0, |
| 231 | NumMessages: 2, |
| 232 | NumExtensions: 0, |
| 233 | NumServices: 0, |
| 234 | }, |
| 235 | GoTypes: file_github_com_tonistiigi_fsutil_types_stat_proto_goTypes, |
| 236 | DependencyIndexes: file_github_com_tonistiigi_fsutil_types_stat_proto_depIdxs, |
| 237 | MessageInfos: file_github_com_tonistiigi_fsutil_types_stat_proto_msgTypes, |
| 238 | }.Build() |
| 239 | File_github_com_tonistiigi_fsutil_types_stat_proto = out.File |
| 240 | file_github_com_tonistiigi_fsutil_types_stat_proto_rawDesc = nil |
| 241 | file_github_com_tonistiigi_fsutil_types_stat_proto_goTypes = nil |
| 242 | file_github_com_tonistiigi_fsutil_types_stat_proto_depIdxs = nil |
| 243 | } |