forked from TrueCloudLab/frostfs-api
[#73] Add JSON field names to storagegroup package
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
b48723bd8c
commit
eed8754aaa
1 changed files with 4 additions and 4 deletions
|
@ -13,16 +13,16 @@ import "refs/types.proto";
|
||||||
// contains objects from the same container.
|
// contains objects from the same container.
|
||||||
message StorageGroup {
|
message StorageGroup {
|
||||||
// Total size of the payloads of objects in the storage group
|
// Total size of the payloads of objects in the storage group
|
||||||
uint64 validation_data_size = 1;
|
uint64 validation_data_size = 1 [json_name = "validationDataSize"];
|
||||||
|
|
||||||
// Homomorphic hash from the concatenation of the payloads of the storage
|
// 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
|
// group members. The order of concatenation is the same as the order of the
|
||||||
// members in the `members` field.
|
// members in the `members` field.
|
||||||
neo.fs.v2.refs.Checksum validation_hash = 2;
|
neo.fs.v2.refs.Checksum validation_hash = 2 [json_name = "validationHash"];
|
||||||
|
|
||||||
// Last NeoFS epoch number of the storage group lifetime
|
// Last NeoFS epoch number of the storage group lifetime
|
||||||
uint64 expiration_epoch = 3;
|
uint64 expiration_epoch = 3 [json_name = "expirationEpoch"];
|
||||||
|
|
||||||
// Strictly ordered list of storage group member objects
|
// Strictly ordered list of storage group member objects
|
||||||
repeated neo.fs.v2.refs.ObjectID members = 4;
|
repeated neo.fs.v2.refs.ObjectID members = 4 [json_name = "members"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue