diff --git a/storagegroup/types.proto b/storagegroup/types.proto index 711d72c..98604e6 100644 --- a/storagegroup/types.proto +++ b/storagegroup/types.proto @@ -3,18 +3,13 @@ package storagegroup; option go_package = "github.com/nspcc-dev/neofs-api-go/storagegroup"; option csharp_namespace = "NeoFS.API.StorageGroup"; -import "github.com/gogo/protobuf/gogoproto/gogo.proto"; import "refs/types.proto"; -option (gogoproto.stable_marshaler_all) = true; - message StorageGroup { - option (gogoproto.goproto_stringer) = false; - // ValidationDataSize is size of the all object's payloads included into storage group uint64 ValidationDataSize = 1; // ValidationHash is homomorphic hash of all object's payloads included into storage group - bytes ValidationHash = 2 [(gogoproto.customtype) = "Hash", (gogoproto.nullable) = false]; + bytes ValidationHash = 2; message Lifetime { enum Unit { @@ -27,13 +22,13 @@ message StorageGroup { } // Unit is lifetime type - Unit unit = 1 [(gogoproto.customname) = "Unit"]; + Unit unit = 1; // Value for lifetime int64 Value = 2; } // Lifetime is time until storage group is valid - Lifetime lifetime = 3 [(gogoproto.customname) = "Lifetime"]; + Lifetime lifetime = 3; // Members carries the list of identifiers of the object storage group members. // The list is strictly ordered.