v1.5.1 增强程序稳定性
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: service_file_chunk.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -297,63 +298,35 @@ func (x *DownloadFileChunkResponse) GetFileChunk() *FileChunk {
|
||||
|
||||
var File_service_file_chunk_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_service_file_chunk_proto_rawDesc = []byte{
|
||||
0x0a, 0x18, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63,
|
||||
0x68, 0x75, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1d,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a,
|
||||
0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64,
|
||||
0x61, 0x74, 0x61, 0x22, 0x3b, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c,
|
||||
0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20,
|
||||
0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64,
|
||||
0x22, 0x34, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x43,
|
||||
0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x41, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c,
|
||||
0x6c, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x73, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75,
|
||||
0x6e, 0x6b, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x73, 0x22, 0x3c, 0x0a, 0x18, 0x44, 0x6f, 0x77,
|
||||
0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75,
|
||||
0x6e, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x19, 0x44, 0x6f, 0x77, 0x6e, 0x6c,
|
||||
0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e,
|
||||
0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c,
|
||||
0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e,
|
||||
0x6b, 0x32, 0x88, 0x02, 0x0a, 0x10, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x53,
|
||||
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x46, 0x69, 0x6c,
|
||||
0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x73, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49,
|
||||
0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||
0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x49,
|
||||
0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x64, 0x6f,
|
||||
0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x12,
|
||||
0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c,
|
||||
0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x43,
|
||||
0x68, 0x75, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_service_file_chunk_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x18service_file_chunk.proto\x12\x02pb\x1a\x1dmodels/model_file_chunk.proto\"D\n" +
|
||||
"\x16CreateFileChunkRequest\x12\x16\n" +
|
||||
"\x06fileId\x18\x01 \x01(\x03R\x06fileId\x12\x12\n" +
|
||||
"\x04data\x18\x02 \x01(\fR\x04data\";\n" +
|
||||
"\x17CreateFileChunkResponse\x12 \n" +
|
||||
"\vfileChunkId\x18\x01 \x01(\x03R\vfileChunkId\"4\n" +
|
||||
"\x1aFindAllFileChunkIdsRequest\x12\x16\n" +
|
||||
"\x06fileId\x18\x01 \x01(\x03R\x06fileId\"A\n" +
|
||||
"\x1bFindAllFileChunkIdsResponse\x12\"\n" +
|
||||
"\ffileChunkIds\x18\x01 \x03(\x03R\ffileChunkIds\"<\n" +
|
||||
"\x18DownloadFileChunkRequest\x12 \n" +
|
||||
"\vfileChunkId\x18\x01 \x01(\x03R\vfileChunkId\"H\n" +
|
||||
"\x19DownloadFileChunkResponse\x12+\n" +
|
||||
"\tfileChunk\x18\x01 \x01(\v2\r.pb.FileChunkR\tfileChunk2\x88\x02\n" +
|
||||
"\x10FileChunkService\x12J\n" +
|
||||
"\x0fcreateFileChunk\x12\x1a.pb.CreateFileChunkRequest\x1a\x1b.pb.CreateFileChunkResponse\x12V\n" +
|
||||
"\x13findAllFileChunkIds\x12\x1e.pb.FindAllFileChunkIdsRequest\x1a\x1f.pb.FindAllFileChunkIdsResponse\x12P\n" +
|
||||
"\x11downloadFileChunk\x12\x1c.pb.DownloadFileChunkRequest\x1a\x1d.pb.DownloadFileChunkResponseB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_service_file_chunk_proto_rawDescOnce sync.Once
|
||||
file_service_file_chunk_proto_rawDescData = file_service_file_chunk_proto_rawDesc
|
||||
file_service_file_chunk_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_service_file_chunk_proto_rawDescGZIP() []byte {
|
||||
file_service_file_chunk_proto_rawDescOnce.Do(func() {
|
||||
file_service_file_chunk_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_file_chunk_proto_rawDescData)
|
||||
file_service_file_chunk_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_file_chunk_proto_rawDesc), len(file_service_file_chunk_proto_rawDesc)))
|
||||
})
|
||||
return file_service_file_chunk_proto_rawDescData
|
||||
}
|
||||
@@ -393,7 +366,7 @@ func file_service_file_chunk_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_service_file_chunk_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_file_chunk_proto_rawDesc), len(file_service_file_chunk_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
@@ -404,7 +377,6 @@ func file_service_file_chunk_proto_init() {
|
||||
MessageInfos: file_service_file_chunk_proto_msgTypes,
|
||||
}.Build()
|
||||
File_service_file_chunk_proto = out.File
|
||||
file_service_file_chunk_proto_rawDesc = nil
|
||||
file_service_file_chunk_proto_goTypes = nil
|
||||
file_service_file_chunk_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user