frostfs-api/refs/types.proto
Leonard Lyubich 46fe7b93cd refs: Tidy up the format
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-08-06 23:45:50 +03:00

33 lines
No EOL
908 B
Protocol Buffer

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 {
// ContainerID carries container identifier.
ContainerID ContainerID = 1;
// ObjectID carries object identifier.
ObjectID ObjectID = 2;
}
// ObjectID groups information about the NeoFS object identifier.
message ObjectID {
// Value carries the object identifier in a binary format.
bytes Value = 1;
}
// ContainerID groups information about the NeoFS container identifier.
message ContainerID {
// Value carries the container identifier in a binary format.
bytes Value = 1;
}
// OwnerID group information about the owner of the NeoFS container.
message OwnerID {
// Value carries the identifier of the container owner in a binary format.
bytes Value = 1;
}