forked from TrueCloudLab/frostfs-api
Add CSharp namespace to proto files
This commit is contained in:
parent
9b2cb915ac
commit
d1d9b75f49
18 changed files with 19 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package accounting;
|
package accounting;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/accounting";
|
option go_package = "github.com/nspcc-dev/neofs-api/accounting";
|
||||||
|
option csharp_namespace = "NeoFS.API.Accounting";
|
||||||
|
|
||||||
import "service/meta.proto";
|
import "service/meta.proto";
|
||||||
import "service/verify.proto";
|
import "service/verify.proto";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package accounting;
|
package accounting;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/accounting";
|
option go_package = "github.com/nspcc-dev/neofs-api/accounting";
|
||||||
|
option csharp_namespace = "NeoFS.API.Accounting";
|
||||||
|
|
||||||
import "decimal/decimal.proto";
|
import "decimal/decimal.proto";
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package accounting;
|
package accounting;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/accounting";
|
option go_package = "github.com/nspcc-dev/neofs-api/accounting";
|
||||||
|
option csharp_namespace = "NeoFS.API.Accounting";
|
||||||
|
|
||||||
import "service/meta.proto";
|
import "service/meta.proto";
|
||||||
import "service/verify.proto";
|
import "service/verify.proto";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package bootstrap;
|
package bootstrap;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/bootstrap";
|
option go_package = "github.com/nspcc-dev/neofs-api/bootstrap";
|
||||||
|
option csharp_namespace = "NeoFS.API.Bootstrap";
|
||||||
|
|
||||||
import "service/meta.proto";
|
import "service/meta.proto";
|
||||||
import "service/verify.proto";
|
import "service/verify.proto";
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package bootstrap;
|
package bootstrap;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/bootstrap";
|
option go_package = "github.com/nspcc-dev/neofs-api/bootstrap";
|
||||||
|
option csharp_namespace = "NeoFS.API.Bootstrap";
|
||||||
|
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
||||||
option (gogoproto.stable_marshaler_all) = true;;
|
option (gogoproto.stable_marshaler_all) = true;
|
||||||
|
|
||||||
option (gogoproto.stringer_all) = false;
|
option (gogoproto.stringer_all) = false;
|
||||||
option (gogoproto.goproto_stringer_all) = false;
|
option (gogoproto.goproto_stringer_all) = false;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package container;
|
package container;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/container";
|
option go_package = "github.com/nspcc-dev/neofs-api/container";
|
||||||
|
option csharp_namespace = "NeoFS.API.Container";
|
||||||
|
|
||||||
import "service/meta.proto";
|
import "service/meta.proto";
|
||||||
import "service/verify.proto";
|
import "service/verify.proto";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package container;
|
package container;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/container";
|
option go_package = "github.com/nspcc-dev/neofs-api/container";
|
||||||
|
option csharp_namespace = "NeoFS.API.Container";
|
||||||
|
|
||||||
import "github.com/nspcc-dev/netmap/selector.proto";
|
import "github.com/nspcc-dev/netmap/selector.proto";
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package decimal;
|
package decimal;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/decimal";
|
option go_package = "github.com/nspcc-dev/neofs-api/decimal";
|
||||||
|
option csharp_namespace = "NeoFS.API.Decimal";
|
||||||
|
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package object;
|
package object;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/object";
|
option go_package = "github.com/nspcc-dev/neofs-api/object";
|
||||||
|
option csharp_namespace = "NeoFS.API.Object";
|
||||||
|
|
||||||
import "refs/types.proto";
|
import "refs/types.proto";
|
||||||
import "object/types.proto";
|
import "object/types.proto";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package object;
|
package object;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/object";
|
option go_package = "github.com/nspcc-dev/neofs-api/object";
|
||||||
|
option csharp_namespace = "NeoFS.API.Object";
|
||||||
|
|
||||||
import "refs/types.proto";
|
import "refs/types.proto";
|
||||||
import "session/types.proto";
|
import "session/types.proto";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package query;
|
package query;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/query";
|
option go_package = "github.com/nspcc-dev/neofs-api/query";
|
||||||
|
option csharp_namespace = "NeoFS.API.Query";
|
||||||
|
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package refs;
|
package refs;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/refs";
|
option go_package = "github.com/nspcc-dev/neofs-api/refs";
|
||||||
|
option csharp_namespace = "NeoFS.API.Refs";
|
||||||
|
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package service;
|
package service;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/service";
|
option go_package = "github.com/nspcc-dev/neofs-api/service";
|
||||||
|
option csharp_namespace = "NeoFS.API.Service";
|
||||||
|
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package service;
|
package service;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/service";
|
option go_package = "github.com/nspcc-dev/neofs-api/service";
|
||||||
|
option csharp_namespace = "NeoFS.API.Service";
|
||||||
|
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package session;
|
package session;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/session";
|
option go_package = "github.com/nspcc-dev/neofs-api/session";
|
||||||
|
option csharp_namespace = "NeoFS.API.Session";
|
||||||
|
|
||||||
import "session/types.proto";
|
import "session/types.proto";
|
||||||
import "service/meta.proto";
|
import "service/meta.proto";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package session;
|
package session;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/session";
|
option go_package = "github.com/nspcc-dev/neofs-api/session";
|
||||||
|
option csharp_namespace = "NeoFS.API.Session";
|
||||||
|
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package state;
|
package state;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/state";
|
option go_package = "github.com/nspcc-dev/neofs-api/state";
|
||||||
|
option csharp_namespace = "NeoFS.API.State";
|
||||||
|
|
||||||
import "service/meta.proto";
|
import "service/meta.proto";
|
||||||
import "service/verify.proto";
|
import "service/verify.proto";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package storagegroup;
|
package storagegroup;
|
||||||
option go_package = "github.com/nspcc-dev/neofs-api/storagegroup";
|
option go_package = "github.com/nspcc-dev/neofs-api/storagegroup";
|
||||||
|
option csharp_namespace = "NeoFS.API.StorageGroup";
|
||||||
|
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue