[#32] accounting: Remove gogoproto from typedef

There is a need to remove gogoproto usage from NeoFS API since this plugin
is not cross-language. This commit removes usage from BalanceRequest
message.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-08-05 20:10:04 +03:00 committed by Stanislav Bogatyrev
parent 54319feb4a
commit 5cca1fd469

View file

@ -7,9 +7,6 @@ import "service/meta.proto";
import "service/verify.proto";
import "decimal/decimal.proto";
import "refs/types.proto";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
option (gogoproto.stable_marshaler_all) = true;
// Accounting is a service that provides access for accounting balance
// information
@ -22,9 +19,9 @@ message BalanceRequest {
// OwnerID carries user identifier in NeoFS system.
refs.OwnerID OwnerID = 1;
// RequestMetaHeader contains information about request meta headers (should be embedded into message)
service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
service.RequestMetaHeader Meta = 98;
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message)
service.RequestVerificationHeader Verify = 99 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
service.RequestVerificationHeader Verify = 99;
}
message BalanceResponse {