From bc3c31a611718e18b906db607355bd63082d6f6a Mon Sep 17 00:00:00 2001 From: Joscha Schmiedt <joscha@schmiedt.dev> Date: Wed, 5 Mar 2025 17:17:40 +0100 Subject: [PATCH] fix: missing integer sizes --- proto/caosdb/file_transmission/v1/main.proto | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proto/caosdb/file_transmission/v1/main.proto b/proto/caosdb/file_transmission/v1/main.proto index c46b685..4ed21a8 100644 --- a/proto/caosdb/file_transmission/v1/main.proto +++ b/proto/caosdb/file_transmission/v1/main.proto @@ -107,7 +107,7 @@ message FileInformation { // The target filename is the filename which will be used on the server. string target_filename = 2; // Size of the file in bytes. - int size_bytes = 3; + int64 size_bytes = 3; // Checksum of the file according to the checksum algorithm. Checksum checksum = 4; } @@ -115,7 +115,7 @@ message FileInformation { // Register a file upload for a list of files. The server will respond with a // registration id and URLs to which the files can be uploaded. message RegisterFileUploadRequest { - repeated FileInformation = 1; + repeated FileInformation file_information = 1; } // The URL to which a file should be uploaded using the given LinkAhead @@ -127,9 +127,9 @@ message UploadLocation { // The version of the LinkAhead upload protocol. This is currently identical to // the TUS protocol version. message UploadProtocolVersion { - int major = 1; - int minor = 2; - int patch = 3; + int32 major = 1; + int32 minor = 2; + int32 patch = 3; } // Response of the file server upon an upload registration request. -- GitLab