2020-01-30 11:41:24 +00:00
|
|
|
syntax = "proto3";
|
2020-08-05 22:23:57 +00:00
|
|
|
|
2020-08-12 21:43:51 +00:00
|
|
|
package neo.fs.v2.refs;
|
2020-08-05 22:23:57 +00:00
|
|
|
|
2020-08-12 21:43:51 +00:00
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api-go/v2/refs;refs";
|
|
|
|
option csharp_namespace = "NeoFS.API.v2.Refs";
|
2020-01-30 11:41:24 +00:00
|
|
|
|
|
|
|
// Address of object (container id + object id)
|
|
|
|
message Address {
|
2020-08-11 09:03:50 +00:00
|
|
|
// container_id carries container identifier.
|
|
|
|
ContainerID container_id = 1;
|
|
|
|
// object_id carries object identifier.
|
|
|
|
ObjectID object_id = 2;
|
2020-01-30 11:41:24 +00:00
|
|
|
}
|
2020-08-04 12:52:14 +00:00
|
|
|
|
2020-08-11 10:54:58 +00:00
|
|
|
// NeoFS object identifier.
|
2020-08-04 12:52:14 +00:00
|
|
|
message ObjectID {
|
2020-08-11 09:03:50 +00:00
|
|
|
// value carries the object identifier in a binary format.
|
|
|
|
bytes value = 1;
|
2020-08-05 14:39:57 +00:00
|
|
|
}
|
|
|
|
|
2020-08-11 10:54:58 +00:00
|
|
|
// NeoFS container identifier.
|
2020-08-05 14:39:57 +00:00
|
|
|
message ContainerID {
|
2020-08-11 09:03:50 +00:00
|
|
|
// value carries the container identifier in a binary format.
|
|
|
|
bytes value = 1;
|
2020-08-05 14:39:57 +00:00
|
|
|
}
|
2020-08-05 15:11:00 +00:00
|
|
|
|
|
|
|
// OwnerID group information about the owner of the NeoFS container.
|
|
|
|
message OwnerID {
|
2020-08-11 09:03:50 +00:00
|
|
|
// value carries the identifier of the container owner in a binary format.
|
|
|
|
bytes value = 1;
|
2020-08-05 15:11:00 +00:00
|
|
|
}
|