2021-10-04 11:29:21 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package neo.fs.v2.status;
|
|
|
|
|
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api-go/v2/status/grpc;status";
|
|
|
|
option csharp_namespace = "Neo.FileStorage.API.Status";
|
|
|
|
|
|
|
|
message Status {
|
|
|
|
uint32 code = 1;
|
|
|
|
|
|
|
|
string message = 2;
|
|
|
|
|
|
|
|
message Detail {
|
|
|
|
uint32 id = 1;
|
|
|
|
|
|
|
|
bytes value = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
repeated Detail details = 3;
|
|
|
|
}
|
2021-10-04 11:40:56 +00:00
|
|
|
|
|
|
|
enum Success {
|
|
|
|
OK = 0;
|
|
|
|
}
|
2021-10-04 11:41:31 +00:00
|
|
|
|
|
|
|
enum CommonFail {
|
|
|
|
INTERNAL = 0;
|
|
|
|
}
|
2021-10-04 11:55:23 +00:00
|
|
|
|
|
|
|
enum Section {
|
|
|
|
SECTION_SUCCESS = 0;
|
|
|
|
|
|
|
|
SECTION_FAILURE_COMMON = 1;
|
|
|
|
}
|