frostfs-api/refs/types.proto

33 lines
908 B
Protocol Buffer
Raw Normal View History

2020-01-30 11:41:24 +00:00
syntax = "proto3";
2020-01-30 11:41:24 +00:00
package refs;
2020-03-31 06:58:22 +00:00
option go_package = "github.com/nspcc-dev/neofs-api-go/refs";
2020-02-05 12:14:39 +00:00
option csharp_namespace = "NeoFS.API.Refs";
2020-01-30 11:41:24 +00:00
// Address of object (container id + object id)
message Address {
// ContainerID carries container identifier.
ContainerID ContainerID = 1;
// ObjectID carries object identifier.
ObjectID ObjectID = 2;
2020-01-30 11:41:24 +00:00
}
// 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;
}