mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
s3 pb
This commit is contained in:
parent
a7a2bd3e4f
commit
732afeab3c
@ -415,7 +415,7 @@ type InitiateMultipartUploadReq struct {
|
|||||||
|
|
||||||
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash"`
|
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash"`
|
||||||
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size"`
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size"`
|
||||||
MaxParts int64 `protobuf:"varint,3,opt,name=maxParts,proto3" json:"maxParts"`
|
MaxParts int32 `protobuf:"varint,3,opt,name=maxParts,proto3" json:"maxParts"`
|
||||||
Cause string `protobuf:"bytes,4,opt,name=cause,proto3" json:"cause"`
|
Cause string `protobuf:"bytes,4,opt,name=cause,proto3" json:"cause"`
|
||||||
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"`
|
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"`
|
||||||
ContentType string `protobuf:"bytes,6,opt,name=contentType,proto3" json:"contentType"`
|
ContentType string `protobuf:"bytes,6,opt,name=contentType,proto3" json:"contentType"`
|
||||||
@ -467,7 +467,7 @@ func (x *InitiateMultipartUploadReq) GetSize() int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitiateMultipartUploadReq) GetMaxParts() int64 {
|
func (x *InitiateMultipartUploadReq) GetMaxParts() int32 {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.MaxParts
|
return x.MaxParts
|
||||||
}
|
}
|
||||||
@ -1243,7 +1243,7 @@ var file_third_third_proto_rawDesc = []byte{
|
|||||||
0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||||
0x68, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
|
0x68, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||||
0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x50,
|
0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x50,
|
||||||
0x61, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x50,
|
0x61, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x50,
|
||||||
0x61, 0x72, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x04, 0x20,
|
0x61, 0x72, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x04, 0x20,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||||
0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20,
|
0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20,
|
||||||
|
@ -40,7 +40,7 @@ message PartSizeResp {
|
|||||||
message InitiateMultipartUploadReq {
|
message InitiateMultipartUploadReq {
|
||||||
string hash = 1;
|
string hash = 1;
|
||||||
int64 size = 2;
|
int64 size = 2;
|
||||||
int64 maxParts = 3;
|
int32 maxParts = 3;
|
||||||
string cause = 4;
|
string cause = 4;
|
||||||
string name = 5;
|
string name = 5;
|
||||||
string contentType = 6;
|
string contentType = 6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user