2019-11-18 13:34:06 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package refs;
|
2020-01-30 13:32:50 +00:00
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api/refs";
|
2020-02-05 13:58:06 +00:00
|
|
|
option csharp_namespace = "NeoFS.API.Refs";
|
2019-11-18 13:34:06 +00:00
|
|
|
|
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
option (gogoproto.stable_marshaler_all) = true;
|
|
|
|
|
|
|
|
option (gogoproto.stringer_all) = false;
|
|
|
|
option (gogoproto.goproto_stringer_all) = false;
|
|
|
|
|
2019-11-20 16:11:46 +00:00
|
|
|
// Address of object (container id + object id)
|
2019-11-18 13:34:06 +00:00
|
|
|
message Address {
|
2019-11-21 07:26:01 +00:00
|
|
|
// ObjectID is an object identifier, valid UUIDv4 represented in bytes
|
2019-11-20 16:11:46 +00:00
|
|
|
bytes ObjectID = 1[(gogoproto.customtype) = "ObjectID", (gogoproto.nullable) = false];
|
|
|
|
// CID is container identifier
|
|
|
|
bytes CID = 2[(gogoproto.customtype) = "CID", (gogoproto.nullable) = false];
|
2019-11-18 13:34:06 +00:00
|
|
|
}
|