mirror of
				https://github.com/onepanelio/onepanel.git
				synced 2025-10-31 16:56:19 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			581 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			581 lines
		
	
	
		
			19 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Code generated by protoc-gen-go. DO NOT EDIT.
 | |
| // versions:
 | |
| // 	protoc-gen-go v1.25.0
 | |
| // 	protoc        v3.14.0
 | |
| // source: files.proto
 | |
| 
 | |
| package gen
 | |
| 
 | |
| import (
 | |
| 	proto "github.com/golang/protobuf/proto"
 | |
| 	_ "google.golang.org/genproto/googleapis/api/annotations"
 | |
| 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 | |
| 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
 | |
| 	reflect "reflect"
 | |
| 	sync "sync"
 | |
| )
 | |
| 
 | |
| 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)
 | |
| )
 | |
| 
 | |
| // This is a compile-time assertion that a sufficiently up-to-date version
 | |
| // of the legacy proto package is being used.
 | |
| const _ = proto.ProtoPackageIsVersion4
 | |
| 
 | |
| type File struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Path         string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
 | |
| 	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
 | |
| 	Extension    string `protobuf:"bytes,3,opt,name=extension,proto3" json:"extension,omitempty"`
 | |
| 	Size         int64  `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
 | |
| 	ContentType  string `protobuf:"bytes,5,opt,name=contentType,proto3" json:"contentType,omitempty"`
 | |
| 	LastModified string `protobuf:"bytes,6,opt,name=lastModified,proto3" json:"lastModified,omitempty"`
 | |
| 	Directory    bool   `protobuf:"varint,7,opt,name=directory,proto3" json:"directory,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *File) Reset() {
 | |
| 	*x = File{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_files_proto_msgTypes[0]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *File) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*File) ProtoMessage() {}
 | |
| 
 | |
| func (x *File) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_files_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 File.ProtoReflect.Descriptor instead.
 | |
| func (*File) Descriptor() ([]byte, []int) {
 | |
| 	return file_files_proto_rawDescGZIP(), []int{0}
 | |
| }
 | |
| 
 | |
| func (x *File) GetPath() string {
 | |
| 	if x != nil {
 | |
| 		return x.Path
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *File) GetName() string {
 | |
| 	if x != nil {
 | |
| 		return x.Name
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *File) GetExtension() string {
 | |
| 	if x != nil {
 | |
| 		return x.Extension
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *File) GetSize() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Size
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *File) GetContentType() string {
 | |
| 	if x != nil {
 | |
| 		return x.ContentType
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *File) GetLastModified() string {
 | |
| 	if x != nil {
 | |
| 		return x.LastModified
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *File) GetDirectory() bool {
 | |
| 	if x != nil {
 | |
| 		return x.Directory
 | |
| 	}
 | |
| 	return false
 | |
| }
 | |
| 
 | |
| type ListFilesRequest struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	Path      string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
 | |
| 	Page      int32  `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
 | |
| 	PerPage   int32  `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *ListFilesRequest) Reset() {
 | |
| 	*x = ListFilesRequest{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_files_proto_msgTypes[1]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *ListFilesRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*ListFilesRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *ListFilesRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_files_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)
 | |
| }
 | |
| 
 | |
| // Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
 | |
| func (*ListFilesRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_files_proto_rawDescGZIP(), []int{1}
 | |
| }
 | |
| 
 | |
| func (x *ListFilesRequest) GetNamespace() string {
 | |
| 	if x != nil {
 | |
| 		return x.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *ListFilesRequest) GetPath() string {
 | |
| 	if x != nil {
 | |
| 		return x.Path
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *ListFilesRequest) GetPage() int32 {
 | |
| 	if x != nil {
 | |
| 		return x.Page
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *ListFilesRequest) GetPerPage() int32 {
 | |
| 	if x != nil {
 | |
| 		return x.PerPage
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| type ListFilesResponse struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Count      int32   `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
 | |
| 	TotalCount int32   `protobuf:"varint,2,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
 | |
| 	Page       int32   `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
 | |
| 	Pages      int32   `protobuf:"varint,4,opt,name=pages,proto3" json:"pages,omitempty"`
 | |
| 	Files      []*File `protobuf:"bytes,5,rep,name=files,proto3" json:"files,omitempty"`
 | |
| 	ParentPath string  `protobuf:"bytes,6,opt,name=parentPath,proto3" json:"parentPath,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) Reset() {
 | |
| 	*x = ListFilesResponse{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_files_proto_msgTypes[2]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*ListFilesResponse) ProtoMessage() {}
 | |
| 
 | |
| func (x *ListFilesResponse) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_files_proto_msgTypes[2]
 | |
| 	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 ListFilesResponse.ProtoReflect.Descriptor instead.
 | |
| func (*ListFilesResponse) Descriptor() ([]byte, []int) {
 | |
| 	return file_files_proto_rawDescGZIP(), []int{2}
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) GetCount() int32 {
 | |
| 	if x != nil {
 | |
| 		return x.Count
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) GetTotalCount() int32 {
 | |
| 	if x != nil {
 | |
| 		return x.TotalCount
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) GetPage() int32 {
 | |
| 	if x != nil {
 | |
| 		return x.Page
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) GetPages() int32 {
 | |
| 	if x != nil {
 | |
| 		return x.Pages
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) GetFiles() []*File {
 | |
| 	if x != nil {
 | |
| 		return x.Files
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func (x *ListFilesResponse) GetParentPath() string {
 | |
| 	if x != nil {
 | |
| 		return x.ParentPath
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type GetObjectPresignedUrlRequest struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	Key       string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *GetObjectPresignedUrlRequest) Reset() {
 | |
| 	*x = GetObjectPresignedUrlRequest{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_files_proto_msgTypes[3]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *GetObjectPresignedUrlRequest) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*GetObjectPresignedUrlRequest) ProtoMessage() {}
 | |
| 
 | |
| func (x *GetObjectPresignedUrlRequest) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_files_proto_msgTypes[3]
 | |
| 	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 GetObjectPresignedUrlRequest.ProtoReflect.Descriptor instead.
 | |
| func (*GetObjectPresignedUrlRequest) Descriptor() ([]byte, []int) {
 | |
| 	return file_files_proto_rawDescGZIP(), []int{3}
 | |
| }
 | |
| 
 | |
| func (x *GetObjectPresignedUrlRequest) GetNamespace() string {
 | |
| 	if x != nil {
 | |
| 		return x.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *GetObjectPresignedUrlRequest) GetKey() string {
 | |
| 	if x != nil {
 | |
| 		return x.Key
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type GetPresignedUrlResponse struct {
 | |
| 	state         protoimpl.MessageState
 | |
| 	sizeCache     protoimpl.SizeCache
 | |
| 	unknownFields protoimpl.UnknownFields
 | |
| 
 | |
| 	Url  string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
 | |
| 	Size int64  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
 | |
| }
 | |
| 
 | |
| func (x *GetPresignedUrlResponse) Reset() {
 | |
| 	*x = GetPresignedUrlResponse{}
 | |
| 	if protoimpl.UnsafeEnabled {
 | |
| 		mi := &file_files_proto_msgTypes[4]
 | |
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
 | |
| 		ms.StoreMessageInfo(mi)
 | |
| 	}
 | |
| }
 | |
| 
 | |
| func (x *GetPresignedUrlResponse) String() string {
 | |
| 	return protoimpl.X.MessageStringOf(x)
 | |
| }
 | |
| 
 | |
| func (*GetPresignedUrlResponse) ProtoMessage() {}
 | |
| 
 | |
| func (x *GetPresignedUrlResponse) ProtoReflect() protoreflect.Message {
 | |
| 	mi := &file_files_proto_msgTypes[4]
 | |
| 	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 GetPresignedUrlResponse.ProtoReflect.Descriptor instead.
 | |
| func (*GetPresignedUrlResponse) Descriptor() ([]byte, []int) {
 | |
| 	return file_files_proto_rawDescGZIP(), []int{4}
 | |
| }
 | |
| 
 | |
| func (x *GetPresignedUrlResponse) GetUrl() string {
 | |
| 	if x != nil {
 | |
| 		return x.Url
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (x *GetPresignedUrlResponse) GetSize() int64 {
 | |
| 	if x != nil {
 | |
| 		return x.Size
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| var File_files_proto protoreflect.FileDescriptor
 | |
| 
 | |
| var file_files_proto_rawDesc = []byte{
 | |
| 	0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x61,
 | |
| 	0x70, 0x69, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
 | |
| 	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
 | |
| 	0x22, 0xc4, 0x01, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74,
 | |
| 	0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a,
 | |
| 	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
 | |
| 	0x65, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03,
 | |
| 	0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12,
 | |
| 	0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73,
 | |
| 	0x69, 0x7a, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79,
 | |
| 	0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
 | |
| 	0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64,
 | |
| 	0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x73,
 | |
| 	0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72,
 | |
| 	0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x69,
 | |
| 	0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x72, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46,
 | |
| 	0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e,
 | |
| 	0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
 | |
| 	0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74,
 | |
| 	0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a,
 | |
| 	0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67,
 | |
| 	0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x65, 0x72, 0x50, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01,
 | |
| 	0x28, 0x05, 0x52, 0x07, 0x70, 0x65, 0x72, 0x50, 0x61, 0x67, 0x65, 0x22, 0xb4, 0x01, 0x0a, 0x11,
 | |
| 	0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
 | |
| 	0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
 | |
| 	0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c,
 | |
| 	0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74,
 | |
| 	0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18,
 | |
| 	0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70,
 | |
| 	0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65,
 | |
| 	0x73, 0x12, 0x1f, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
 | |
| 	0x32, 0x09, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c,
 | |
| 	0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68,
 | |
| 	0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61,
 | |
| 	0x74, 0x68, 0x22, 0x4e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50,
 | |
| 	0x72, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
 | |
| 	0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18,
 | |
| 	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
 | |
| 	0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
 | |
| 	0x65, 0x79, 0x22, 0x3f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x73, 0x69, 0x67, 0x6e,
 | |
| 	0x65, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a,
 | |
| 	0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12,
 | |
| 	0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73,
 | |
| 	0x69, 0x7a, 0x65, 0x32, 0xa4, 0x02, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76,
 | |
| 	0x69, 0x63, 0x65, 0x12, 0xa0, 0x01, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63,
 | |
| 	0x74, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x65, 0x73, 0x69, 0x67, 0x6e,
 | |
| 	0x65, 0x64, 0x55, 0x52, 0x4c, 0x12, 0x21, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4f,
 | |
| 	0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x72,
 | |
| 	0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x47,
 | |
| 	0x65, 0x74, 0x50, 0x72, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65,
 | |
| 	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x12, 0x36,
 | |
| 	0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e,
 | |
| 	0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f,
 | |
| 	0x70, 0x72, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x2d, 0x75, 0x72, 0x6c, 0x2f, 0x7b, 0x6b,
 | |
| 	0x65, 0x79, 0x3d, 0x2a, 0x2a, 0x7d, 0x12, 0x72, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69,
 | |
| 	0x6c, 0x65, 0x73, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69,
 | |
| 	0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x61, 0x70, 0x69,
 | |
| 	0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
 | |
| 	0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x61, 0x70, 0x69,
 | |
| 	0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x73,
 | |
| 	0x70, 0x61, 0x63, 0x65, 0x7d, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2f, 0x6c, 0x69, 0x73, 0x74,
 | |
| 	0x2f, 0x7b, 0x70, 0x61, 0x74, 0x68, 0x3d, 0x2a, 0x2a, 0x7d, 0x42, 0x24, 0x5a, 0x22, 0x67, 0x69,
 | |
| 	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x6e, 0x65, 0x70, 0x61, 0x6e, 0x65,
 | |
| 	0x6c, 0x69, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e,
 | |
| 	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
 | |
| }
 | |
| 
 | |
| var (
 | |
| 	file_files_proto_rawDescOnce sync.Once
 | |
| 	file_files_proto_rawDescData = file_files_proto_rawDesc
 | |
| )
 | |
| 
 | |
| func file_files_proto_rawDescGZIP() []byte {
 | |
| 	file_files_proto_rawDescOnce.Do(func() {
 | |
| 		file_files_proto_rawDescData = protoimpl.X.CompressGZIP(file_files_proto_rawDescData)
 | |
| 	})
 | |
| 	return file_files_proto_rawDescData
 | |
| }
 | |
| 
 | |
| var file_files_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
 | |
| var file_files_proto_goTypes = []interface{}{
 | |
| 	(*File)(nil),                         // 0: api.File
 | |
| 	(*ListFilesRequest)(nil),             // 1: api.ListFilesRequest
 | |
| 	(*ListFilesResponse)(nil),            // 2: api.ListFilesResponse
 | |
| 	(*GetObjectPresignedUrlRequest)(nil), // 3: api.GetObjectPresignedUrlRequest
 | |
| 	(*GetPresignedUrlResponse)(nil),      // 4: api.GetPresignedUrlResponse
 | |
| }
 | |
| var file_files_proto_depIdxs = []int32{
 | |
| 	0, // 0: api.ListFilesResponse.files:type_name -> api.File
 | |
| 	3, // 1: api.FileService.GetObjectDownloadPresignedURL:input_type -> api.GetObjectPresignedUrlRequest
 | |
| 	1, // 2: api.FileService.ListFiles:input_type -> api.ListFilesRequest
 | |
| 	4, // 3: api.FileService.GetObjectDownloadPresignedURL:output_type -> api.GetPresignedUrlResponse
 | |
| 	2, // 4: api.FileService.ListFiles:output_type -> api.ListFilesResponse
 | |
| 	3, // [3:5] is the sub-list for method output_type
 | |
| 	1, // [1:3] is the sub-list for method input_type
 | |
| 	1, // [1:1] is the sub-list for extension type_name
 | |
| 	1, // [1:1] is the sub-list for extension extendee
 | |
| 	0, // [0:1] is the sub-list for field type_name
 | |
| }
 | |
| 
 | |
| func init() { file_files_proto_init() }
 | |
| func file_files_proto_init() {
 | |
| 	if File_files_proto != nil {
 | |
| 		return
 | |
| 	}
 | |
| 	if !protoimpl.UnsafeEnabled {
 | |
| 		file_files_proto_msgTypes[0].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
 | |
| 			}
 | |
| 		}
 | |
| 		file_files_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*ListFilesRequest); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_files_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*ListFilesResponse); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_files_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*GetObjectPresignedUrlRequest); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 		file_files_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
 | |
| 			switch v := v.(*GetPresignedUrlResponse); i {
 | |
| 			case 0:
 | |
| 				return &v.state
 | |
| 			case 1:
 | |
| 				return &v.sizeCache
 | |
| 			case 2:
 | |
| 				return &v.unknownFields
 | |
| 			default:
 | |
| 				return nil
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| 	type x struct{}
 | |
| 	out := protoimpl.TypeBuilder{
 | |
| 		File: protoimpl.DescBuilder{
 | |
| 			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
 | |
| 			RawDescriptor: file_files_proto_rawDesc,
 | |
| 			NumEnums:      0,
 | |
| 			NumMessages:   5,
 | |
| 			NumExtensions: 0,
 | |
| 			NumServices:   1,
 | |
| 		},
 | |
| 		GoTypes:           file_files_proto_goTypes,
 | |
| 		DependencyIndexes: file_files_proto_depIdxs,
 | |
| 		MessageInfos:      file_files_proto_msgTypes,
 | |
| 	}.Build()
 | |
| 	File_files_proto = out.File
 | |
| 	file_files_proto_rawDesc = nil
 | |
| 	file_files_proto_goTypes = nil
 | |
| 	file_files_proto_depIdxs = nil
 | |
| }
 | 
