From 5928fa9bea547b1d3de7d27ac191cab64d3c02a7 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 31 Jul 2020 17:46:28 +0300 Subject: [PATCH] [#23] Use rich field names instead of abbreviations Signed-off-by: Alex Vanin --- container/service.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/container/service.proto b/container/service.proto index 757de29..5d689e5 100644 --- a/container/service.proto +++ b/container/service.proto @@ -45,7 +45,7 @@ message PutRequest { message PutResponse { // CID (container id) is a SHA256 hash of the container structure - bytes CID = 1 [(gogoproto.customtype) = "CID", (gogoproto.nullable) = false]; + bytes ContainerID = 1; } message DeleteRequest { @@ -62,7 +62,7 @@ message DeleteResponse { } message GetRequest { // CID (container id) is a SHA256 hash of the container structure - bytes CID = 1 [(gogoproto.customtype) = "CID", (gogoproto.nullable) = false]; + bytes ContainerID = 1; } message GetResponse { @@ -72,12 +72,12 @@ message GetResponse { message ListRequest { // OwnerID is a wallet address - bytes OwnerID = 1 [(gogoproto.customtype) = "OwnerID", (gogoproto.nullable) = false]; + bytes OwnerID = 1; } message ListResponse { // CID (container id) is list of SHA256 hashes of the container structures - repeated bytes CID = 1 [(gogoproto.customtype) = "CID", (gogoproto.nullable) = false]; + repeated bytes ContainerIDs = 1; } message SetExtendedACLRequest {