diff --git a/accounting/service.proto b/accounting/service.proto index c320106..12fca58 100644 --- a/accounting/service.proto +++ b/accounting/service.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package accounting; option go_package = "github.com/nspcc-dev/neofs-api/accounting"; +option csharp_namespace = "NeoFS.API.Accounting"; import "service/meta.proto"; import "service/verify.proto"; diff --git a/accounting/types.proto b/accounting/types.proto index 1af83c1..1c0cd57 100644 --- a/accounting/types.proto +++ b/accounting/types.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package accounting; option go_package = "github.com/nspcc-dev/neofs-api/accounting"; +option csharp_namespace = "NeoFS.API.Accounting"; import "decimal/decimal.proto"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; diff --git a/accounting/withdraw.proto b/accounting/withdraw.proto index 85000b9..ee23b5d 100644 --- a/accounting/withdraw.proto +++ b/accounting/withdraw.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package accounting; option go_package = "github.com/nspcc-dev/neofs-api/accounting"; +option csharp_namespace = "NeoFS.API.Accounting"; import "service/meta.proto"; import "service/verify.proto"; diff --git a/bootstrap/service.proto b/bootstrap/service.proto index fa0248c..db43bf6 100644 --- a/bootstrap/service.proto +++ b/bootstrap/service.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package bootstrap; option go_package = "github.com/nspcc-dev/neofs-api/bootstrap"; +option csharp_namespace = "NeoFS.API.Bootstrap"; import "service/meta.proto"; import "service/verify.proto"; diff --git a/bootstrap/types.proto b/bootstrap/types.proto index 02da9ad..cbce379 100644 --- a/bootstrap/types.proto +++ b/bootstrap/types.proto @@ -1,10 +1,11 @@ syntax = "proto3"; package 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"; -option (gogoproto.stable_marshaler_all) = true;; +option (gogoproto.stable_marshaler_all) = true; option (gogoproto.stringer_all) = false; option (gogoproto.goproto_stringer_all) = false; diff --git a/container/service.proto b/container/service.proto index 4576197..b287a22 100644 --- a/container/service.proto +++ b/container/service.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package container; option go_package = "github.com/nspcc-dev/neofs-api/container"; +option csharp_namespace = "NeoFS.API.Container"; import "service/meta.proto"; import "service/verify.proto"; diff --git a/container/types.proto b/container/types.proto index e53587e..775d84c 100644 --- a/container/types.proto +++ b/container/types.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package 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/gogo/protobuf/gogoproto/gogo.proto"; diff --git a/decimal/decimal.proto b/decimal/decimal.proto index e0e16d5..d21ce1b 100644 --- a/decimal/decimal.proto +++ b/decimal/decimal.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package 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"; diff --git a/object/service.proto b/object/service.proto index 662bf8a..f208472 100644 --- a/object/service.proto +++ b/object/service.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package object; option go_package = "github.com/nspcc-dev/neofs-api/object"; +option csharp_namespace = "NeoFS.API.Object"; import "refs/types.proto"; import "object/types.proto"; diff --git a/object/types.proto b/object/types.proto index 5a0b98e..3abe725 100644 --- a/object/types.proto +++ b/object/types.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package object; option go_package = "github.com/nspcc-dev/neofs-api/object"; +option csharp_namespace = "NeoFS.API.Object"; import "refs/types.proto"; import "session/types.proto"; diff --git a/query/types.proto b/query/types.proto index 90f4bbf..0d35154 100644 --- a/query/types.proto +++ b/query/types.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package 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"; diff --git a/refs/types.proto b/refs/types.proto index c526d56..d552d6c 100644 --- a/refs/types.proto +++ b/refs/types.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package 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"; diff --git a/service/meta.proto b/service/meta.proto index f2cfe8f..5ca3633 100644 --- a/service/meta.proto +++ b/service/meta.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package 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"; diff --git a/service/verify.proto b/service/verify.proto index 6a4a0e0..d241d88 100644 --- a/service/verify.proto +++ b/service/verify.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package 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"; diff --git a/session/service.proto b/session/service.proto index 95ea9c5..2c96a3e 100644 --- a/session/service.proto +++ b/session/service.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package session; option go_package = "github.com/nspcc-dev/neofs-api/session"; +option csharp_namespace = "NeoFS.API.Session"; import "session/types.proto"; import "service/meta.proto"; diff --git a/session/types.proto b/session/types.proto index 79b24ff..0cf1583 100644 --- a/session/types.proto +++ b/session/types.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package 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"; diff --git a/state/service.proto b/state/service.proto index 7966d43..312d465 100644 --- a/state/service.proto +++ b/state/service.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package state; option go_package = "github.com/nspcc-dev/neofs-api/state"; +option csharp_namespace = "NeoFS.API.State"; import "service/meta.proto"; import "service/verify.proto"; diff --git a/storagegroup/types.proto b/storagegroup/types.proto index 238b454..41a211f 100644 --- a/storagegroup/types.proto +++ b/storagegroup/types.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package 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";