2020-01-30 14:41:24 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
package refs;
|
2020-03-31 09:58:22 +03:00
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api-go/refs";
|
2020-02-05 15:14:39 +03:00
|
|
|
option csharp_namespace = "NeoFS.API.Refs";
|
2020-01-30 14:41:24 +03: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;
|
|
|
|
|
|
|
|
// Address of object (container id + object id)
|
|
|
|
message Address {
|
2020-08-04 15:58:38 +03:00
|
|
|
// ObjectID carries object identifier.
|
|
|
|
ObjectID ObjectID = 1;
|
2020-08-05 18:07:56 +03:00
|
|
|
// ContainerID carries container identifier.
|
|
|
|
ContainerID ContainerID = 2;
|
2020-01-30 14:41:24 +03:00
|
|
|
}
|
2020-08-04 15:52:14 +03:00
|
|
|
|
|
|
|
// ObjectID groups information about the NeoFS object identifier.
|
|
|
|
message ObjectID {
|
|
|
|
// Value carries the object identifier in a binary format.
|
|
|
|
bytes Value = 1;
|
2020-08-05 17:39:57 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// ContainerID groups information about the NeoFS container identifier.
|
|
|
|
message ContainerID {
|
|
|
|
// Value carries the container identifier in a binary format.
|
|
|
|
bytes Value = 1;
|
|
|
|
}
|
2020-08-05 18:11:00 +03:00
|
|
|
|
|
|
|
// 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;
|
|
|
|
}
|