3 Star 2 Fork 0

jmash / jmash

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
file_basic.pb.go 49.23 KB
一键复制 编辑 原始数据 按行查看 历史
百圆汽车保养 提交于 2024-01-10 18:47 . 文件上传,增加认证.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v4.25.1
// source: jmash/protobuf/file_basic.proto
package basic
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
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)
)
// 文件类型
type FileType int32
const (
// 文档
FileType_text FileType = 0
// 视频
FileType_video FileType = 1
// 图片
FileType_image FileType = 2
// 音频
FileType_audio FileType = 3
// 压缩文件
FileType_zip FileType = 4
// 其他文件
FileType_file FileType = 5
)
// Enum value maps for FileType.
var (
FileType_name = map[int32]string{
0: "text",
1: "video",
2: "image",
3: "audio",
4: "zip",
5: "file",
}
FileType_value = map[string]int32{
"text": 0,
"video": 1,
"image": 2,
"audio": 3,
"zip": 4,
"file": 5,
}
)
func (x FileType) Enum() *FileType {
p := new(FileType)
*p = x
return p
}
func (x FileType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (FileType) Descriptor() protoreflect.EnumDescriptor {
return file_jmash_protobuf_file_basic_proto_enumTypes[0].Descriptor()
}
func (FileType) Type() protoreflect.EnumType {
return &file_jmash_protobuf_file_basic_proto_enumTypes[0]
}
func (x FileType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use FileType.Descriptor instead.
func (FileType) EnumDescriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{0}
}
// 图片缩放类型
type ThumbType int32
const (
// 等比例缩放
ThumbType_resize ThumbType = 0
// 补白
ThumbType_white ThumbType = 1
// 补透明
ThumbType_trans ThumbType = 2
// 裁剪
ThumbType_clip ThumbType = 3
)
// Enum value maps for ThumbType.
var (
ThumbType_name = map[int32]string{
0: "resize",
1: "white",
2: "trans",
3: "clip",
}
ThumbType_value = map[string]int32{
"resize": 0,
"white": 1,
"trans": 2,
"clip": 3,
}
)
func (x ThumbType) Enum() *ThumbType {
p := new(ThumbType)
*p = x
return p
}
func (x ThumbType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ThumbType) Descriptor() protoreflect.EnumDescriptor {
return file_jmash_protobuf_file_basic_proto_enumTypes[1].Descriptor()
}
func (ThumbType) Type() protoreflect.EnumType {
return &file_jmash_protobuf_file_basic_proto_enumTypes[1]
}
func (x ThumbType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ThumbType.Descriptor instead.
func (ThumbType) EnumDescriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{1}
}
// 文件上传
type FileUploadReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 文件内容
Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
// 文件名称
FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// 内容类型
ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
// 文件大小
FileSize int64 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
// 相对路径
FileDir string `protobuf:"bytes,6,opt,name=file_dir,json=fileDir,proto3" json:"file_dir,omitempty"`
}
func (x *FileUploadReq) Reset() {
*x = FileUploadReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileUploadReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileUploadReq) ProtoMessage() {}
func (x *FileUploadReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_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 FileUploadReq.ProtoReflect.Descriptor instead.
func (*FileUploadReq) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{0}
}
func (x *FileUploadReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *FileUploadReq) GetBody() []byte {
if x != nil {
return x.Body
}
return nil
}
func (x *FileUploadReq) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *FileUploadReq) GetContentType() string {
if x != nil {
return x.ContentType
}
return ""
}
func (x *FileUploadReq) GetFileSize() int64 {
if x != nil {
return x.FileSize
}
return 0
}
func (x *FileUploadReq) GetFileDir() string {
if x != nil {
return x.FileDir
}
return ""
}
type FileWebUploadReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 文件内容
Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
// 文件名称
FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// 内容类型
ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
// 文件大小
FileSize int64 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
// 保存路径
FileDir string `protobuf:"bytes,6,opt,name=file_dir,json=fileDir,proto3" json:"file_dir,omitempty"`
// 文件唯一ID
RequestId string `protobuf:"bytes,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// 文件部分
FilePart int32 `protobuf:"varint,8,opt,name=file_part,json=filePart,proto3" json:"file_part,omitempty"`
}
func (x *FileWebUploadReq) Reset() {
*x = FileWebUploadReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileWebUploadReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileWebUploadReq) ProtoMessage() {}
func (x *FileWebUploadReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_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 FileWebUploadReq.ProtoReflect.Descriptor instead.
func (*FileWebUploadReq) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{1}
}
func (x *FileWebUploadReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *FileWebUploadReq) GetBody() []byte {
if x != nil {
return x.Body
}
return nil
}
func (x *FileWebUploadReq) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *FileWebUploadReq) GetContentType() string {
if x != nil {
return x.ContentType
}
return ""
}
func (x *FileWebUploadReq) GetFileSize() int64 {
if x != nil {
return x.FileSize
}
return 0
}
func (x *FileWebUploadReq) GetFileDir() string {
if x != nil {
return x.FileDir
}
return ""
}
func (x *FileWebUploadReq) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *FileWebUploadReq) GetFilePart() int32 {
if x != nil {
return x.FilePart
}
return 0
}
type FileBase64Req struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// Base64文件内容
Base64 string `protobuf:"bytes,2,opt,name=base64,proto3" json:"base64,omitempty"`
// 文件名称
FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// 内容类型
ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
// 保存路径
FileDir string `protobuf:"bytes,5,opt,name=file_dir,json=fileDir,proto3" json:"file_dir,omitempty"`
}
func (x *FileBase64Req) Reset() {
*x = FileBase64Req{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileBase64Req) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileBase64Req) ProtoMessage() {}
func (x *FileBase64Req) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_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 FileBase64Req.ProtoReflect.Descriptor instead.
func (*FileBase64Req) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{2}
}
func (x *FileBase64Req) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *FileBase64Req) GetBase64() string {
if x != nil {
return x.Base64
}
return ""
}
func (x *FileBase64Req) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *FileBase64Req) GetContentType() string {
if x != nil {
return x.ContentType
}
return ""
}
func (x *FileBase64Req) GetFileDir() string {
if x != nil {
return x.FileDir
}
return ""
}
type FileInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 文件ID
FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
// 文件存放路径
FileSrc string `protobuf:"bytes,2,opt,name=file_src,json=fileSrc,proto3" json:"file_src,omitempty"`
// 文件名称
FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// 内容类型
ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
// 文件后缀
FileExt string `protobuf:"bytes,5,opt,name=file_ext,json=fileExt,proto3" json:"file_ext,omitempty"`
// 文件格式类型
FileType FileType `protobuf:"varint,6,opt,name=file_type,json=fileType,proto3,enum=jmash.protobuf.FileType" json:"file_type,omitempty"`
// 文件大小
FileSize int64 `protobuf:"varint,7,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
// File SM3信息摘要
HashSm3 []byte `protobuf:"bytes,8,opt,name=hash_sm3,json=hashSm3,proto3" json:"hash_sm3,omitempty"`
// File sha256
HashSha256 []byte `protobuf:"bytes,9,opt,name=hash_sha256,json=hashSha256,proto3" json:"hash_sha256,omitempty"`
// 图片/视频宽度
FileWidth int32 `protobuf:"varint,10,opt,name=file_width,json=fileWidth,proto3" json:"file_width,omitempty"`
// 图片/视频高度
FileHeight int32 `protobuf:"varint,11,opt,name=file_height,json=fileHeight,proto3" json:"file_height,omitempty"`
// 视频/音频时长
FileTime int64 `protobuf:"varint,12,opt,name=file_time,json=fileTime,proto3" json:"file_time,omitempty"`
// 地理位置
FileLocation string `protobuf:"bytes,13,opt,name=file_location,json=fileLocation,proto3" json:"file_location,omitempty"`
// 文件拍摄位置
Position *Geolocation `protobuf:"bytes,14,opt,name=position,proto3" json:"position,omitempty"`
// 创建时间
CreateDate *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=create_date,json=createDate,proto3" json:"create_date,omitempty"`
}
func (x *FileInfo) Reset() {
*x = FileInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileInfo) ProtoMessage() {}
func (x *FileInfo) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_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 FileInfo.ProtoReflect.Descriptor instead.
func (*FileInfo) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{3}
}
func (x *FileInfo) GetFileId() string {
if x != nil {
return x.FileId
}
return ""
}
func (x *FileInfo) GetFileSrc() string {
if x != nil {
return x.FileSrc
}
return ""
}
func (x *FileInfo) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *FileInfo) GetContentType() string {
if x != nil {
return x.ContentType
}
return ""
}
func (x *FileInfo) GetFileExt() string {
if x != nil {
return x.FileExt
}
return ""
}
func (x *FileInfo) GetFileType() FileType {
if x != nil {
return x.FileType
}
return FileType_text
}
func (x *FileInfo) GetFileSize() int64 {
if x != nil {
return x.FileSize
}
return 0
}
func (x *FileInfo) GetHashSm3() []byte {
if x != nil {
return x.HashSm3
}
return nil
}
func (x *FileInfo) GetHashSha256() []byte {
if x != nil {
return x.HashSha256
}
return nil
}
func (x *FileInfo) GetFileWidth() int32 {
if x != nil {
return x.FileWidth
}
return 0
}
func (x *FileInfo) GetFileHeight() int32 {
if x != nil {
return x.FileHeight
}
return 0
}
func (x *FileInfo) GetFileTime() int64 {
if x != nil {
return x.FileTime
}
return 0
}
func (x *FileInfo) GetFileLocation() string {
if x != nil {
return x.FileLocation
}
return ""
}
func (x *FileInfo) GetPosition() *Geolocation {
if x != nil {
return x.Position
}
return nil
}
func (x *FileInfo) GetCreateDate() *timestamppb.Timestamp {
if x != nil {
return x.CreateDate
}
return nil
}
type FileDownloadResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 文件内容
Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
// 文件名称
FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// 内容类型
ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
// 文件后缀
FileExt string `protobuf:"bytes,4,opt,name=file_ext,json=fileExt,proto3" json:"file_ext,omitempty"`
// 文件格式类型
FileType FileType `protobuf:"varint,5,opt,name=file_type,json=fileType,proto3,enum=jmash.protobuf.FileType" json:"file_type,omitempty"`
// 文件大小
FileSize int64 `protobuf:"varint,6,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
// 文件部分
FilePart int32 `protobuf:"varint,7,opt,name=file_part,json=filePart,proto3" json:"file_part,omitempty"`
// 图片/视频宽度
FileWidth int32 `protobuf:"varint,8,opt,name=file_width,json=fileWidth,proto3" json:"file_width,omitempty"`
// 图片/视频高度
FileHeight int32 `protobuf:"varint,9,opt,name=file_height,json=fileHeight,proto3" json:"file_height,omitempty"`
}
func (x *FileDownloadResp) Reset() {
*x = FileDownloadResp{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileDownloadResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileDownloadResp) ProtoMessage() {}
func (x *FileDownloadResp) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_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 FileDownloadResp.ProtoReflect.Descriptor instead.
func (*FileDownloadResp) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{4}
}
func (x *FileDownloadResp) GetBody() []byte {
if x != nil {
return x.Body
}
return nil
}
func (x *FileDownloadResp) GetFileName() string {
if x != nil {
return x.FileName
}
return ""
}
func (x *FileDownloadResp) GetContentType() string {
if x != nil {
return x.ContentType
}
return ""
}
func (x *FileDownloadResp) GetFileExt() string {
if x != nil {
return x.FileExt
}
return ""
}
func (x *FileDownloadResp) GetFileType() FileType {
if x != nil {
return x.FileType
}
return FileType_text
}
func (x *FileDownloadResp) GetFileSize() int64 {
if x != nil {
return x.FileSize
}
return 0
}
func (x *FileDownloadResp) GetFilePart() int32 {
if x != nil {
return x.FilePart
}
return 0
}
func (x *FileDownloadResp) GetFileWidth() int32 {
if x != nil {
return x.FileWidth
}
return 0
}
func (x *FileDownloadResp) GetFileHeight() int32 {
if x != nil {
return x.FileHeight
}
return 0
}
type FileHash struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// File SM3信息摘要
HashSm3 []byte `protobuf:"bytes,2,opt,name=hash_sm3,json=hashSm3,proto3" json:"hash_sm3,omitempty"`
// File sha256
HashSha256 []byte `protobuf:"bytes,3,opt,name=hash_sha256,json=hashSha256,proto3" json:"hash_sha256,omitempty"`
// 文件大小
FileSize int64 `protobuf:"varint,4,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
}
func (x *FileHash) Reset() {
*x = FileHash{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileHash) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileHash) ProtoMessage() {}
func (x *FileHash) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[5]
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 FileHash.ProtoReflect.Descriptor instead.
func (*FileHash) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{5}
}
func (x *FileHash) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *FileHash) GetHashSm3() []byte {
if x != nil {
return x.HashSm3
}
return nil
}
func (x *FileHash) GetHashSha256() []byte {
if x != nil {
return x.HashSha256
}
return nil
}
func (x *FileHash) GetFileSize() int64 {
if x != nil {
return x.FileSize
}
return 0
}
type FileHashHex struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// File SM3信息摘要
HashSm3 string `protobuf:"bytes,2,opt,name=hash_sm3,json=hashSm3,proto3" json:"hash_sm3,omitempty"`
// File sha256
HashSha256 string `protobuf:"bytes,3,opt,name=hash_sha256,json=hashSha256,proto3" json:"hash_sha256,omitempty"`
// 文件大小
FileSize int64 `protobuf:"varint,4,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
}
func (x *FileHashHex) Reset() {
*x = FileHashHex{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FileHashHex) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FileHashHex) ProtoMessage() {}
func (x *FileHashHex) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[6]
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 FileHashHex.ProtoReflect.Descriptor instead.
func (*FileHashHex) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{6}
}
func (x *FileHashHex) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *FileHashHex) GetHashSm3() string {
if x != nil {
return x.HashSm3
}
return ""
}
func (x *FileHashHex) GetHashSha256() string {
if x != nil {
return x.HashSha256
}
return ""
}
func (x *FileHashHex) GetFileSize() int64 {
if x != nil {
return x.FileSize
}
return 0
}
// 下载请求
type DownloadReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 文件下载
FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
}
func (x *DownloadReq) Reset() {
*x = DownloadReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DownloadReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DownloadReq) ProtoMessage() {}
func (x *DownloadReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[7]
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 DownloadReq.ProtoReflect.Descriptor instead.
func (*DownloadReq) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{7}
}
func (x *DownloadReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *DownloadReq) GetFileId() string {
if x != nil {
return x.FileId
}
return ""
}
// 下载请求Src
type DownloadSrcReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 文件下载
FileSrc string `protobuf:"bytes,1,opt,name=file_src,json=fileSrc,proto3" json:"file_src,omitempty"`
}
func (x *DownloadSrcReq) Reset() {
*x = DownloadSrcReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DownloadSrcReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DownloadSrcReq) ProtoMessage() {}
func (x *DownloadSrcReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[8]
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 DownloadSrcReq.ProtoReflect.Descriptor instead.
func (*DownloadSrcReq) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{8}
}
func (x *DownloadSrcReq) GetFileSrc() string {
if x != nil {
return x.FileSrc
}
return ""
}
// 缩略图下载请求
type ThumbDownloadReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 租户.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// 文件下载
FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
// 缩略图类型
ThumbType ThumbType `protobuf:"varint,3,opt,name=thumb_type,json=thumbType,proto3,enum=jmash.protobuf.ThumbType" json:"thumb_type,omitempty"`
// 图片宽度
Width int32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"`
// 图片高度
Height int32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
}
func (x *ThumbDownloadReq) Reset() {
*x = ThumbDownloadReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ThumbDownloadReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ThumbDownloadReq) ProtoMessage() {}
func (x *ThumbDownloadReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[9]
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 ThumbDownloadReq.ProtoReflect.Descriptor instead.
func (*ThumbDownloadReq) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{9}
}
func (x *ThumbDownloadReq) GetTenant() string {
if x != nil {
return x.Tenant
}
return ""
}
func (x *ThumbDownloadReq) GetFileId() string {
if x != nil {
return x.FileId
}
return ""
}
func (x *ThumbDownloadReq) GetThumbType() ThumbType {
if x != nil {
return x.ThumbType
}
return ThumbType_resize
}
func (x *ThumbDownloadReq) GetWidth() int32 {
if x != nil {
return x.Width
}
return 0
}
func (x *ThumbDownloadReq) GetHeight() int32 {
if x != nil {
return x.Height
}
return 0
}
// 缩略图下载请求
type ThumbSrcDownloadReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 文件Src
FileSrc string `protobuf:"bytes,1,opt,name=file_src,json=fileSrc,proto3" json:"file_src,omitempty"`
// 缩略图类型
ThumbType ThumbType `protobuf:"varint,2,opt,name=thumb_type,json=thumbType,proto3,enum=jmash.protobuf.ThumbType" json:"thumb_type,omitempty"`
// 图片宽度
Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
// 图片高度
Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
}
func (x *ThumbSrcDownloadReq) Reset() {
*x = ThumbSrcDownloadReq{}
if protoimpl.UnsafeEnabled {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ThumbSrcDownloadReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ThumbSrcDownloadReq) ProtoMessage() {}
func (x *ThumbSrcDownloadReq) ProtoReflect() protoreflect.Message {
mi := &file_jmash_protobuf_file_basic_proto_msgTypes[10]
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 ThumbSrcDownloadReq.ProtoReflect.Descriptor instead.
func (*ThumbSrcDownloadReq) Descriptor() ([]byte, []int) {
return file_jmash_protobuf_file_basic_proto_rawDescGZIP(), []int{10}
}
func (x *ThumbSrcDownloadReq) GetFileSrc() string {
if x != nil {
return x.FileSrc
}
return ""
}
func (x *ThumbSrcDownloadReq) GetThumbType() ThumbType {
if x != nil {
return x.ThumbType
}
return ThumbType_resize
}
func (x *ThumbSrcDownloadReq) GetWidth() int32 {
if x != nil {
return x.Width
}
return 0
}
func (x *ThumbSrcDownloadReq) GetHeight() int32 {
if x != nil {
return x.Height
}
return 0
}
var File_jmash_protobuf_file_basic_proto protoreflect.FileDescriptor
var file_jmash_protobuf_file_basic_proto_rawDesc = []byte{
0x0a, 0x1f, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x0e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x1a, 0x1a, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3,
0x01, 0x0a, 0x0d, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71,
0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x1b, 0x0a, 0x09,
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e,
0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09,
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x6c,
0x65, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c,
0x65, 0x44, 0x69, 0x72, 0x22, 0xf2, 0x01, 0x0a, 0x10, 0x46, 0x69, 0x6c, 0x65, 0x57, 0x65, 0x62,
0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e,
0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79,
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69,
0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69,
0x7a, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x06,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x12, 0x1d, 0x0a,
0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52,
0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x0d, 0x46, 0x69,
0x6c, 0x65, 0x42, 0x61, 0x73, 0x65, 0x36, 0x34, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x66,
0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74,
0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66,
0x69, 0x6c, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66,
0x69, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x22, 0xa1, 0x04, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49,
0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08,
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x66, 0x69, 0x6c, 0x65, 0x53, 0x72, 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74,
0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f,
0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x45,
0x78, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c,
0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69,
0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73,
0x6d, 0x33, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x68, 0x61, 0x73, 0x68, 0x53, 0x6d,
0x33, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36,
0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x53, 0x68, 0x61, 0x32,
0x35, 0x36, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x77, 0x69, 0x64, 0x74, 0x68,
0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x69, 0x64, 0x74,
0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x69, 0x67,
0x68, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a,
0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a,
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x65, 0x22, 0xb2, 0x02, 0x0a, 0x10, 0x46,
0x69, 0x6c, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12,
0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62,
0x6f, 0x64, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65,
0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54,
0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x18,
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x74, 0x12, 0x35,
0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x0e, 0x32, 0x18, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x66, 0x69, 0x6c,
0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69,
0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69,
0x7a, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18,
0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12,
0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x08, 0x20,
0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x69, 0x64, 0x74, 0x68, 0x12, 0x1f,
0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22,
0x7b, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x6d, 0x33, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x68, 0x61, 0x73, 0x68, 0x53, 0x6d, 0x33, 0x12, 0x1f,
0x0a, 0x0b, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0c, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x53, 0x68, 0x61, 0x32, 0x35, 0x36, 0x12,
0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x7e, 0x0a, 0x0b,
0x46, 0x69, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x48, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x6d, 0x33, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x61, 0x73, 0x68, 0x53, 0x6d, 0x33, 0x12, 0x1f,
0x0a, 0x0b, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x68, 0x53, 0x68, 0x61, 0x32, 0x35, 0x36, 0x12,
0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x3e, 0x0a, 0x0b,
0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74,
0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6e,
0x61, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x2b, 0x0a, 0x0e,
0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x72, 0x63, 0x52, 0x65, 0x71, 0x12, 0x19,
0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x72, 0x63, 0x22, 0xab, 0x01, 0x0a, 0x10, 0x54, 0x68,
0x75, 0x6d, 0x62, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x16,
0x0a, 0x06, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12,
0x38, 0x0a, 0x0a, 0x74, 0x68, 0x75, 0x6d, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09,
0x74, 0x68, 0x75, 0x6d, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64,
0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12,
0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x98, 0x01, 0x0a, 0x13, 0x54, 0x68, 0x75, 0x6d,
0x62, 0x53, 0x72, 0x63, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12,
0x19, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x72, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x72, 0x63, 0x12, 0x38, 0x0a, 0x0a, 0x74, 0x68,
0x75, 0x6d, 0x62, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19,
0x2e, 0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x54, 0x68, 0x75, 0x6d, 0x62, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x74, 0x68, 0x75, 0x6d, 0x62,
0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20,
0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65,
0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67,
0x68, 0x74, 0x2a, 0x9c, 0x01, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
0x14, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x10, 0x00, 0x1a, 0x0a, 0x8a, 0xb5, 0x18, 0x06, 0xe6,
0x96, 0x87, 0xe6, 0xa1, 0xa3, 0x12, 0x15, 0x0a, 0x05, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x10, 0x01,
0x1a, 0x0a, 0x8a, 0xb5, 0x18, 0x06, 0xe8, 0xa7, 0x86, 0xe9, 0xa2, 0x91, 0x12, 0x15, 0x0a, 0x05,
0x69, 0x6d, 0x61, 0x67, 0x65, 0x10, 0x02, 0x1a, 0x0a, 0x8a, 0xb5, 0x18, 0x06, 0xe5, 0x9b, 0xbe,
0xe7, 0x89, 0x87, 0x12, 0x15, 0x0a, 0x05, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x10, 0x03, 0x1a, 0x0a,
0x8a, 0xb5, 0x18, 0x06, 0xe9, 0x9f, 0xb3, 0xe9, 0xa2, 0x91, 0x12, 0x19, 0x0a, 0x03, 0x7a, 0x69,
0x70, 0x10, 0x04, 0x1a, 0x10, 0x8a, 0xb5, 0x18, 0x0c, 0xe5, 0x8e, 0x8b, 0xe7, 0xbc, 0xa9, 0xe6,
0x96, 0x87, 0xe4, 0xbb, 0xb6, 0x12, 0x1a, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x10, 0x05, 0x1a,
0x10, 0x8a, 0xb5, 0x18, 0x0c, 0xe5, 0x85, 0xb6, 0xe4, 0xbb, 0x96, 0xe6, 0x96, 0x87, 0xe4, 0xbb,
0xb6, 0x2a, 0x37, 0x0a, 0x09, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a,
0x0a, 0x06, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x77, 0x68,
0x69, 0x74, 0x65, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x10, 0x02,
0x12, 0x08, 0x0a, 0x04, 0x63, 0x6c, 0x69, 0x70, 0x10, 0x03, 0x42, 0x35, 0x0a, 0x0e, 0x6a, 0x6d,
0x61, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x0e, 0x46, 0x69,
0x6c, 0x65, 0x42, 0x61, 0x73, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x11,
0x6a, 0x6d, 0x61, 0x73, 0x68, 0x2f, 0x62, 0x61, 0x73, 0x69, 0x63, 0x3b, 0x62, 0x61, 0x73, 0x69,
0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_jmash_protobuf_file_basic_proto_rawDescOnce sync.Once
file_jmash_protobuf_file_basic_proto_rawDescData = file_jmash_protobuf_file_basic_proto_rawDesc
)
func file_jmash_protobuf_file_basic_proto_rawDescGZIP() []byte {
file_jmash_protobuf_file_basic_proto_rawDescOnce.Do(func() {
file_jmash_protobuf_file_basic_proto_rawDescData = protoimpl.X.CompressGZIP(file_jmash_protobuf_file_basic_proto_rawDescData)
})
return file_jmash_protobuf_file_basic_proto_rawDescData
}
var file_jmash_protobuf_file_basic_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_jmash_protobuf_file_basic_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_jmash_protobuf_file_basic_proto_goTypes = []interface{}{
(FileType)(0), // 0: jmash.protobuf.FileType
(ThumbType)(0), // 1: jmash.protobuf.ThumbType
(*FileUploadReq)(nil), // 2: jmash.protobuf.FileUploadReq
(*FileWebUploadReq)(nil), // 3: jmash.protobuf.FileWebUploadReq
(*FileBase64Req)(nil), // 4: jmash.protobuf.FileBase64Req
(*FileInfo)(nil), // 5: jmash.protobuf.FileInfo
(*FileDownloadResp)(nil), // 6: jmash.protobuf.FileDownloadResp
(*FileHash)(nil), // 7: jmash.protobuf.FileHash
(*FileHashHex)(nil), // 8: jmash.protobuf.FileHashHex
(*DownloadReq)(nil), // 9: jmash.protobuf.DownloadReq
(*DownloadSrcReq)(nil), // 10: jmash.protobuf.DownloadSrcReq
(*ThumbDownloadReq)(nil), // 11: jmash.protobuf.ThumbDownloadReq
(*ThumbSrcDownloadReq)(nil), // 12: jmash.protobuf.ThumbSrcDownloadReq
(*Geolocation)(nil), // 13: jmash.protobuf.Geolocation
(*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp
}
var file_jmash_protobuf_file_basic_proto_depIdxs = []int32{
0, // 0: jmash.protobuf.FileInfo.file_type:type_name -> jmash.protobuf.FileType
13, // 1: jmash.protobuf.FileInfo.position:type_name -> jmash.protobuf.Geolocation
14, // 2: jmash.protobuf.FileInfo.create_date:type_name -> google.protobuf.Timestamp
0, // 3: jmash.protobuf.FileDownloadResp.file_type:type_name -> jmash.protobuf.FileType
1, // 4: jmash.protobuf.ThumbDownloadReq.thumb_type:type_name -> jmash.protobuf.ThumbType
1, // 5: jmash.protobuf.ThumbSrcDownloadReq.thumb_type:type_name -> jmash.protobuf.ThumbType
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
}
func init() { file_jmash_protobuf_file_basic_proto_init() }
func file_jmash_protobuf_file_basic_proto_init() {
if File_jmash_protobuf_file_basic_proto != nil {
return
}
file_jmash_protobuf_basic_proto_init()
if !protoimpl.UnsafeEnabled {
file_jmash_protobuf_file_basic_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FileUploadReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FileWebUploadReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FileBase64Req); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FileInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FileDownloadResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FileHash); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FileHashHex); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DownloadReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DownloadSrcReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ThumbDownloadReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_jmash_protobuf_file_basic_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ThumbSrcDownloadReq); 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_jmash_protobuf_file_basic_proto_rawDesc,
NumEnums: 2,
NumMessages: 11,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_jmash_protobuf_file_basic_proto_goTypes,
DependencyIndexes: file_jmash_protobuf_file_basic_proto_depIdxs,
EnumInfos: file_jmash_protobuf_file_basic_proto_enumTypes,
MessageInfos: file_jmash_protobuf_file_basic_proto_msgTypes,
}.Build()
File_jmash_protobuf_file_basic_proto = out.File
file_jmash_protobuf_file_basic_proto_rawDesc = nil
file_jmash_protobuf_file_basic_proto_goTypes = nil
file_jmash_protobuf_file_basic_proto_depIdxs = nil
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/jmash/jmash.git
git@gitee.com:jmash/jmash.git
jmash
jmash
jmash
b2b271df2d78

搜索帮助

344bd9b3 5694891 D2dac590 5694891