diff --git a/proto-docs/refs.md b/proto-docs/refs.md index bf57211..99d2151 100644 --- a/proto-docs/refs.md +++ b/proto-docs/refs.md @@ -33,8 +33,8 @@ Address of object (container id + object id) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| ObjectID | [ObjectID](#refs.ObjectID) | | ObjectID carries object identifier. | | ContainerID | [ContainerID](#refs.ContainerID) | | ContainerID carries container identifier. | +| ObjectID | [ObjectID](#refs.ObjectID) | | ObjectID carries object identifier. | diff --git a/refs/types.proto b/refs/types.proto index 2fdaef4..0dda985 100644 --- a/refs/types.proto +++ b/refs/types.proto @@ -1,14 +1,17 @@ syntax = "proto3"; + package refs; + option go_package = "github.com/nspcc-dev/neofs-api-go/refs"; option csharp_namespace = "NeoFS.API.Refs"; // Address of object (container id + object id) message Address { - // ObjectID carries object identifier. - ObjectID ObjectID = 1; // ContainerID carries container identifier. - ContainerID ContainerID = 2; + ContainerID ContainerID = 1; + + // ObjectID carries object identifier. + ObjectID ObjectID = 2; } // ObjectID groups information about the NeoFS object identifier.