diff --git a/pkg/proto/third/third.pb.go b/pkg/proto/third/third.pb.go index 9314196b5..ed8f349aa 100644 --- a/pkg/proto/third/third.pb.go +++ b/pkg/proto/third/third.pb.go @@ -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, diff --git a/pkg/proto/third/third.proto b/pkg/proto/third/third.proto index 46b794336..1c99c6728 100644 --- a/pkg/proto/third/third.proto +++ b/pkg/proto/third/third.proto @@ -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;