[#32] Rename fields according to Protobuf Style Guide

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
Stanislav Bogatyrev 2020-08-07 00:59:50 +03:00 committed by Stanislav Bogatyrev
parent 5fe4c2734e
commit e75ef53793
12 changed files with 236 additions and 239 deletions

View file

@ -10,17 +10,17 @@ import "refs/types.proto";
// StorageGroup groups the information about the NeoFS storage group.
// The storage group consists of objects from single container.
message StorageGroup {
// ValidationDataSize carries the total size of the payloads of the storage group members.
uint64 ValidationDataSize = 1;
// validation_data_size carries the total size of the payloads of the storage group members.
uint64 validation_data_size = 1;
// ValidationHash carries homomorphic hash from the concatenation of the payloads of the storage group members.
// validation_hash carries homomorphic hash from the concatenation of the payloads of the storage group members.
// The order of concatenation is the same as the order of the members in the Members field.
bytes ValidationHash = 2;
bytes validation_hash = 2;
// ExpirationEpoch carries last NeoFS epoch number of the storage group lifetime.
uint64 ExpirationEpoch = 3;
// expiration_epoch carries last NeoFS epoch number of the storage group lifetime.
uint64 expiration_epoch = 3;
// Members carries the list of identifiers of the object storage group members.
// The list is strictly ordered.
repeated refs.ObjectID Members = 4;
repeated refs.ObjectID members = 4;
}