2026-06-06 11:00:04 +01:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.28.1
|
|
|
|
|
// protoc v3.21.6
|
2019-02-24 12:17:57 +00:00
|
|
|
// source: packed.proto
|
|
|
|
|
|
|
|
|
|
package packed
|
|
|
|
|
|
2022-11-26 09:55:01 +00:00
|
|
|
import (
|
2026-06-06 11:00:04 +01:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
sync "sync"
|
2022-11-26 09:55:01 +00:00
|
|
|
)
|
2019-02-24 12:17:57 +00:00
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
const (
|
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
|
)
|
2019-02-24 12:17:57 +00:00
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
// Header at start of file. This must be a fixed, known size. Fields cannot
|
|
|
|
|
// be zero.
|
2019-02-24 12:17:57 +00:00
|
|
|
type Header struct {
|
2026-06-06 11:00:04 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2019-02-24 12:17:57 +00:00
|
|
|
// Magic number, used to quickly detect misconfigured systems or
|
|
|
|
|
// corrupted files.
|
|
|
|
|
Magic uint64 `protobuf:"fixed64,1,opt,name=magic,proto3" json:"magic,omitempty"`
|
|
|
|
|
// Version of file.
|
|
|
|
|
Version uint64 `protobuf:"fixed64,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
|
// DirectoryOffset is the byte offset from the start of the file at
|
|
|
|
|
// which the Directory object may be found.
|
|
|
|
|
DirectoryOffset uint64 `protobuf:"fixed64,3,opt,name=directory_offset,json=directoryOffset,proto3" json:"directory_offset,omitempty"`
|
|
|
|
|
// DirectoryLength is the byte length of the serialised Directory
|
|
|
|
|
// object.
|
|
|
|
|
DirectoryLength uint64 `protobuf:"fixed64,4,opt,name=directory_length,json=directoryLength,proto3" json:"directory_length,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *Header) Reset() {
|
|
|
|
|
*x = Header{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_packed_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-02-24 12:17:57 +00:00
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *Header) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*Header) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *Header) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_packed_proto_msgTypes[0]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Header.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Header) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_packed_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Header) GetMagic() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Magic
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *Header) GetVersion() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *Header) GetDirectoryOffset() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DirectoryOffset
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *Header) GetDirectoryLength() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DirectoryLength
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Directory of available files.
|
|
|
|
|
type Directory struct {
|
2026-06-06 11:00:04 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2019-02-24 12:17:57 +00:00
|
|
|
// Files available within this pack. The key is the path of the URL to
|
|
|
|
|
// serve, and the value describes the file associated with that path.
|
2026-06-06 11:00:04 +01:00
|
|
|
Files map[string]*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Directory) Reset() {
|
|
|
|
|
*x = Directory{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_packed_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Directory) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*Directory) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *Directory) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_packed_proto_msgTypes[1]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
// Deprecated: Use Directory.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Directory) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_packed_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
2019-02-24 12:17:57 +00:00
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *Directory) GetFiles() map[string]*File {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Files
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// File that can be served.
|
|
|
|
|
type File struct {
|
2026-06-06 11:00:04 +01:00
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2019-02-24 12:17:57 +00:00
|
|
|
// ContentType of the file, copied directly into the "Content-Type" header.
|
|
|
|
|
ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
|
|
|
|
|
// Etag of the file (includes double quotes). Remembered by the browser
|
|
|
|
|
// and used to preempt responses if it is unmodified between resource get
|
|
|
|
|
// requests.
|
|
|
|
|
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
|
|
|
|
|
// Uncompressed version of the file.
|
2026-06-06 11:00:04 +01:00
|
|
|
Uncompressed *FileData `protobuf:"bytes,3,opt,name=uncompressed,proto3" json:"uncompressed,omitempty"`
|
2019-02-24 12:17:57 +00:00
|
|
|
// Gzip compressed version of the file.
|
2026-06-06 11:00:04 +01:00
|
|
|
Gzip *FileData `protobuf:"bytes,4,opt,name=gzip,proto3" json:"gzip,omitempty"`
|
2019-02-24 12:17:57 +00:00
|
|
|
// Brotli compressed version of the file.
|
2026-06-06 11:00:04 +01:00
|
|
|
Brotli *FileData `protobuf:"bytes,5,opt,name=brotli,proto3" json:"brotli,omitempty"`
|
2026-06-06 11:02:02 +01:00
|
|
|
// Zstd compressed version of the file.
|
|
|
|
|
Zstd *FileData `protobuf:"bytes,6,opt,name=zstd,proto3" json:"zstd,omitempty"`
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *File) Reset() {
|
|
|
|
|
*x = File{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_packed_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *File) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (*File) ProtoMessage() {}
|
2019-02-24 12:17:57 +00:00
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *File) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_packed_proto_msgTypes[2]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return mi.MessageOf(x)
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
// Deprecated: Use File.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*File) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_packed_proto_rawDescGZIP(), []int{2}
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *File) GetContentType() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ContentType
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return ""
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *File) GetEtag() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Etag
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return ""
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *File) GetUncompressed() *FileData {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Uncompressed
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return nil
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *File) GetGzip() *FileData {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Gzip
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return nil
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *File) GetBrotli() *FileData {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Brotli
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return nil
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:02:02 +01:00
|
|
|
func (x *File) GetZstd() *FileData {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Zstd
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
// FileData records the position of the file data within the pack.
|
|
|
|
|
type FileData struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2019-02-24 12:17:57 +00:00
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
// Offset is the start of the file, in bytes relative to the start of
|
|
|
|
|
// the pack.
|
|
|
|
|
Offset uint64 `protobuf:"fixed64,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
|
// Length of the (possibly compressed) file data, in bytes.
|
|
|
|
|
Length uint64 `protobuf:"fixed64,2,opt,name=length,proto3" json:"length,omitempty"`
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *FileData) Reset() {
|
|
|
|
|
*x = FileData{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_packed_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *FileData) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (*FileData) ProtoMessage() {}
|
2019-02-24 12:17:57 +00:00
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *FileData) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_packed_proto_msgTypes[3]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return ms
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return mi.MessageOf(x)
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
// Deprecated: Use FileData.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*FileData) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_packed_proto_rawDescGZIP(), []int{3}
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *FileData) GetOffset() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Offset
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return 0
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func (x *FileData) GetLength() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Length
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
return 0
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
var File_packed_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_packed_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x0c, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16,
|
|
|
|
|
0x6c, 0x77, 0x69, 0x74, 0x68, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x70, 0x61, 0x63, 0x6b, 0x2e,
|
|
|
|
|
0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x22, 0x8e, 0x01, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65,
|
|
|
|
|
0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x06,
|
|
|
|
|
0x52, 0x05, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x06, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
|
|
|
0x6e, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6f,
|
|
|
|
|
0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0f, 0x64, 0x69, 0x72,
|
|
|
|
|
0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x29, 0x0a, 0x10,
|
|
|
|
|
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68,
|
|
|
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72,
|
|
|
|
|
0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0xa7, 0x01, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65,
|
|
|
|
|
0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x42, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01,
|
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6c, 0x77, 0x69, 0x74, 0x68, 0x65, 0x72, 0x73, 0x2e,
|
|
|
|
|
0x68, 0x74, 0x70, 0x61, 0x63, 0x6b, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x2e, 0x44, 0x69,
|
|
|
|
|
0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74,
|
|
|
|
|
0x72, 0x79, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x56, 0x0a, 0x0a, 0x46, 0x69, 0x6c,
|
|
|
|
|
0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
|
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x77, 0x69, 0x74, 0x68,
|
|
|
|
|
0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x70, 0x61, 0x63, 0x6b, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65,
|
|
|
|
|
0x64, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
2026-06-06 11:02:02 +01:00
|
|
|
0x01, 0x22, 0xa9, 0x02, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f,
|
2026-06-06 11:00:04 +01:00
|
|
|
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61,
|
|
|
|
|
0x67, 0x12, 0x44, 0x0a, 0x0c, 0x75, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x65,
|
|
|
|
|
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6c, 0x77, 0x69, 0x74, 0x68, 0x65,
|
|
|
|
|
0x72, 0x73, 0x2e, 0x68, 0x74, 0x70, 0x61, 0x63, 0x6b, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
|
|
|
|
|
0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0c, 0x75, 0x6e, 0x63, 0x6f, 0x6d,
|
|
|
|
|
0x70, 0x72, 0x65, 0x73, 0x73, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x04, 0x67, 0x7a, 0x69, 0x70, 0x18,
|
|
|
|
|
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6c, 0x77, 0x69, 0x74, 0x68, 0x65, 0x72, 0x73,
|
|
|
|
|
0x2e, 0x68, 0x74, 0x70, 0x61, 0x63, 0x6b, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x2e, 0x46,
|
|
|
|
|
0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x67, 0x7a, 0x69, 0x70, 0x12, 0x38, 0x0a,
|
|
|
|
|
0x06, 0x62, 0x72, 0x6f, 0x74, 0x6c, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
|
|
|
|
|
0x6c, 0x77, 0x69, 0x74, 0x68, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x70, 0x61, 0x63, 0x6b, 0x2e,
|
|
|
|
|
0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52,
|
2026-06-06 11:02:02 +01:00
|
|
|
0x06, 0x62, 0x72, 0x6f, 0x74, 0x6c, 0x69, 0x12, 0x34, 0x0a, 0x04, 0x7a, 0x73, 0x74, 0x64, 0x18,
|
|
|
|
|
0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6c, 0x77, 0x69, 0x74, 0x68, 0x65, 0x72, 0x73,
|
|
|
|
|
0x2e, 0x68, 0x74, 0x70, 0x61, 0x63, 0x6b, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x2e, 0x46,
|
|
|
|
|
0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x7a, 0x73, 0x74, 0x64, 0x22, 0x3a, 0x0a,
|
|
|
|
|
0x08, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
|
|
|
|
|
0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x06, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
|
|
|
|
|
0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
|
0x06, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x42, 0x22, 0x5a, 0x20, 0x73, 0x72, 0x63,
|
|
|
|
|
0x2e, 0x6c, 0x77, 0x69, 0x74, 0x68, 0x65, 0x72, 0x73, 0x2e, 0x6d, 0x65, 0x2e, 0x75, 0x6b, 0x2f,
|
|
|
|
|
0x68, 0x74, 0x70, 0x61, 0x63, 0x6b, 0x2f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x62, 0x06, 0x70,
|
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
var (
|
|
|
|
|
file_packed_proto_rawDescOnce sync.Once
|
|
|
|
|
file_packed_proto_rawDescData = file_packed_proto_rawDesc
|
|
|
|
|
)
|
2019-02-24 12:17:57 +00:00
|
|
|
|
2026-06-06 11:00:04 +01:00
|
|
|
func file_packed_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_packed_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_packed_proto_rawDescData = protoimpl.X.CompressGZIP(file_packed_proto_rawDescData)
|
|
|
|
|
})
|
|
|
|
|
return file_packed_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_packed_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
|
|
|
var file_packed_proto_goTypes = []interface{}{
|
|
|
|
|
(*Header)(nil), // 0: lwithers.htpack.packed.Header
|
|
|
|
|
(*Directory)(nil), // 1: lwithers.htpack.packed.Directory
|
|
|
|
|
(*File)(nil), // 2: lwithers.htpack.packed.File
|
|
|
|
|
(*FileData)(nil), // 3: lwithers.htpack.packed.FileData
|
|
|
|
|
nil, // 4: lwithers.htpack.packed.Directory.FilesEntry
|
|
|
|
|
}
|
|
|
|
|
var file_packed_proto_depIdxs = []int32{
|
|
|
|
|
4, // 0: lwithers.htpack.packed.Directory.files:type_name -> lwithers.htpack.packed.Directory.FilesEntry
|
|
|
|
|
3, // 1: lwithers.htpack.packed.File.uncompressed:type_name -> lwithers.htpack.packed.FileData
|
|
|
|
|
3, // 2: lwithers.htpack.packed.File.gzip:type_name -> lwithers.htpack.packed.FileData
|
|
|
|
|
3, // 3: lwithers.htpack.packed.File.brotli:type_name -> lwithers.htpack.packed.FileData
|
2026-06-06 11:02:02 +01:00
|
|
|
3, // 4: lwithers.htpack.packed.File.zstd:type_name -> lwithers.htpack.packed.FileData
|
|
|
|
|
2, // 5: lwithers.htpack.packed.Directory.FilesEntry.value:type_name -> lwithers.htpack.packed.File
|
|
|
|
|
6, // [6:6] is the sub-list for method output_type
|
|
|
|
|
6, // [6:6] is the sub-list for method input_type
|
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
2026-06-06 11:00:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_packed_proto_init() }
|
|
|
|
|
func file_packed_proto_init() {
|
|
|
|
|
if File_packed_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
file_packed_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*Header); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
file_packed_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*Directory); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
file_packed_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*File); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
file_packed_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*FileData); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-06-06 11:00:04 +01:00
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_packed_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 5,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 0,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_packed_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_packed_proto_depIdxs,
|
|
|
|
|
MessageInfos: file_packed_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_packed_proto = out.File
|
|
|
|
|
file_packed_proto_rawDesc = nil
|
|
|
|
|
file_packed_proto_goTypes = nil
|
|
|
|
|
file_packed_proto_depIdxs = nil
|
2019-02-24 12:17:57 +00:00
|
|
|
}
|