test-v3dev1
withchao 1 year ago
parent a7a2bd3e4f
commit 732afeab3c

@ -415,7 +415,7 @@ type InitiateMultipartUploadReq struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash"`
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"`
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name"`
ContentType string `protobuf:"bytes,6,opt,name=contentType,proto3" json:"contentType"`
@ -467,7 +467,7 @@ func (x *InitiateMultipartUploadReq) GetSize() int64 {
return 0
}
func (x *InitiateMultipartUploadReq) GetMaxParts() int64 {
func (x *InitiateMultipartUploadReq) GetMaxParts() int32 {
if x != nil {
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,
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,
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,
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,

@ -40,7 +40,7 @@ message PartSizeResp {
message InitiateMultipartUploadReq {
string hash = 1;
int64 size = 2;
int64 maxParts = 3;
int32 maxParts = 3;
string cause = 4;
string name = 5;
string contentType = 6;

Loading…
Cancel
Save