2020-08-12 09:57:28 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2020-08-13 12:43:47 +00:00
|
|
|
package neo.fs.v2.refs;
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-08-13 12:43:47 +00:00
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api-go/v2/refs";
|
2020-08-12 09:57:28 +00:00
|
|
|
option csharp_namespace = "NeoFS.API.Refs";
|
|
|
|
|
|
|
|
// Address of object (container id + object id)
|
|
|
|
message Address {
|
|
|
|
// container_id carries container identifier.
|
|
|
|
ContainerID container_id = 1;
|
|
|
|
// object_id carries object identifier.
|
|
|
|
ObjectID object_id = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
// NeoFS object identifier.
|
|
|
|
message ObjectID {
|
|
|
|
// value carries the object identifier in a binary format.
|
|
|
|
bytes value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
// NeoFS container identifier.
|
|
|
|
message ContainerID {
|
|
|
|
// value carries the container identifier in a binary format.
|
|
|
|
bytes value = 1;
|
|
|
|
}
|
|
|
|
|
2020-08-13 12:43:47 +00:00
|
|
|
// OwnerID group information about the owner of the NeoFS container.
|
2020-08-12 09:57:28 +00:00
|
|
|
message OwnerID {
|
|
|
|
// value carries the identifier of the container owner in a binary format.
|
|
|
|
bytes value = 1;
|
|
|
|
}
|