Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add csharp namespace option #229

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/collection.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Common";
option go_package = "github.com/hyperledger/fabric-protos-go/common";
option java_package = "org.hyperledger.fabric.protos.common";

Expand Down
1 change: 1 addition & 0 deletions common/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Common";
option go_package = "github.com/hyperledger/fabric-protos-go/common";
option java_package = "org.hyperledger.fabric.protos.common";

Expand Down
1 change: 1 addition & 0 deletions common/configtx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Common";
option go_package = "github.com/hyperledger/fabric-protos-go/common";
option java_package = "org.hyperledger.fabric.protos.common";

Expand Down
1 change: 1 addition & 0 deletions common/configuration.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Common";
option go_package = "github.com/hyperledger/fabric-protos-go/common";
option java_package = "org.hyperledger.fabric.protos.common";

Expand Down
1 change: 1 addition & 0 deletions common/ledger.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Common";
option go_package = "github.com/hyperledger/fabric-protos-go/common";
option java_package = "org.hyperledger.fabric.protos.common";

Expand Down
1 change: 1 addition & 0 deletions common/policies.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Common";
option go_package = "github.com/hyperledger/fabric-protos-go/common";
option java_package = "org.hyperledger.fabric.protos.common";

Expand Down
1 change: 1 addition & 0 deletions discovery/protocol.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Discovery";
option go_package = "github.com/hyperledger/fabric-protos-go/discovery";
option java_package = "org.hyperledger.fabric.protos.discovery";

Expand Down
1 change: 1 addition & 0 deletions gateway/gateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Gateway";
option go_package = "github.com/hyperledger/fabric-protos-go/gateway";
option java_multiple_files = true;
option java_package = "org.hyperledger.fabric.protos.gateway";
Expand Down
1 change: 1 addition & 0 deletions gossip/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Gossip";
option go_package = "github.com/hyperledger/fabric-protos-go/gossip";
option java_package = "org.hyperledger.fabric.protos.gossip";

Expand Down
1 change: 1 addition & 0 deletions ledger/queryresult/kv_query_result.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ syntax = "proto3";

package queryresult;

option csharp_namespace = "Hyperledger.Fabric.Protos.Ledger.QueryResult";
option go_package = "github.com/hyperledger/fabric-protos-go/ledger/queryresult";
option java_package = "org.hyperledger.fabric.protos.ledger.queryresult";

Expand Down
1 change: 1 addition & 0 deletions ledger/rwset/kvrwset/kv_rwset.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Ledger.RWSet.KVRWSet";
option go_package = "github.com/hyperledger/fabric-protos-go/ledger/rwset/kvrwset";
option java_package = "org.hyperledger.fabric.protos.ledger.rwset.kvrwset";

Expand Down
1 change: 1 addition & 0 deletions ledger/rwset/rwset.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Ledger.RWSet";
option go_package = "github.com/hyperledger/fabric-protos-go/ledger/rwset";
option java_package = "org.hyperledger.fabric.protos.ledger.rwset";

Expand Down
1 change: 1 addition & 0 deletions msp/identities.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.MSP";
option go_package = "github.com/hyperledger/fabric-protos-go/msp";
option java_package = "org.hyperledger.fabric.protos.msp";

Expand Down
1 change: 1 addition & 0 deletions msp/msp_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.MSP";
option go_package = "github.com/hyperledger/fabric-protos-go/msp";
option java_package = "org.hyperledger.fabric.protos.msp";
option java_outer_classname = "MspConfigPackage";
Expand Down
1 change: 1 addition & 0 deletions msp/msp_principal.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Common";
option go_package = "github.com/hyperledger/fabric-protos-go/msp";
option java_package = "org.hyperledger.fabric.protos.common";

Expand Down
1 change: 1 addition & 0 deletions orderer/ab.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Orderer";
option go_package = "github.com/hyperledger/fabric-protos-go/orderer";
option java_package = "org.hyperledger.fabric.protos.orderer";

Expand Down
1 change: 1 addition & 0 deletions orderer/blockattestation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Orderer";
option go_package = "github.com/hyperledger/fabric-protos-go/orderer";
option java_package = "org.hyperledger.fabric.protos.orderer";

Expand Down
1 change: 1 addition & 0 deletions orderer/cluster.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Orderer";
option go_package = "github.com/hyperledger/fabric-protos-go/orderer";
option java_package = "org.hyperledger.fabric.protos.orderer";

Expand Down
1 change: 1 addition & 0 deletions orderer/clusterserver.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Orderer";
option go_package = "github.com/hyperledger/fabric-protos-go/orderer";
option java_package = "org.hyperledger.fabric.protos.orderer";

Expand Down
1 change: 1 addition & 0 deletions orderer/configuration.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Orderer";
option go_package = "github.com/hyperledger/fabric-protos-go/orderer";
option java_package = "org.hyperledger.fabric.protos.orderer";

Expand Down
1 change: 1 addition & 0 deletions orderer/etcdraft/configuration.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Orderer.EtcdRaft";
option go_package = "github.com/hyperledger/fabric-protos-go/orderer/etcdraft";
option java_package = "org.hyperledger.fabric.protos.orderer.etcdraft";

Expand Down
1 change: 1 addition & 0 deletions orderer/etcdraft/metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Orderer.EtcdRaft";
option go_package = "github.com/hyperledger/fabric-protos-go/orderer/etcdraft";
option java_package = "org.hyperledger.fabric.protos.orderer.etcdraft";

Expand Down
1 change: 1 addition & 0 deletions orderer/smartbft/configuration.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Orderer.SmartBFT";
option go_package = "github.com/hyperledger/fabric-protos-go/orderer/smartbft";
option java_package = "org.hyperledger.fabric.protos.orderer.smartbft";

Expand Down
1 change: 1 addition & 0 deletions peer/chaincode.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";

Expand Down
1 change: 1 addition & 0 deletions peer/chaincode_event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option java_outer_classname = "ChaincodeEventPackage";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";
Expand Down
1 change: 1 addition & 0 deletions peer/chaincode_shim.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";

Expand Down
1 change: 1 addition & 0 deletions peer/collection.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";
option java_package = "org.hyperledger.fabric.protos.peer";

Expand Down
1 change: 1 addition & 0 deletions peer/configuration.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";

Expand Down
1 change: 1 addition & 0 deletions peer/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option java_outer_classname = "EventsPackage";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";
Expand Down
1 change: 1 addition & 0 deletions peer/lifecycle/chaincode_definition.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer.Lifecycle";
option java_package = "org.hyperledger.fabric.protos.peer.lifecycle";
option go_package = "github.com/hyperledger/fabric-protos-go/peer/lifecycle";

Expand Down
1 change: 1 addition & 0 deletions peer/lifecycle/db.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer.Lifecycle";
option java_package = "org.hyperledger.fabric.protos.peer.lifecycle";
option go_package = "github.com/hyperledger/fabric-protos-go/peer/lifecycle";

Expand Down
1 change: 1 addition & 0 deletions peer/lifecycle/lifecycle.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer.Lifecycle";
option java_package = "org.hyperledger.fabric.protos.peer.lifecycle";
option go_package = "github.com/hyperledger/fabric-protos-go/peer/lifecycle";

Expand Down
1 change: 1 addition & 0 deletions peer/peer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";

Expand Down
1 change: 1 addition & 0 deletions peer/policy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";
option java_package = "org.hyperledger.fabric.protos.peer";

Expand Down
1 change: 1 addition & 0 deletions peer/proposal.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option java_outer_classname = "ProposalPackage";
Expand Down
1 change: 1 addition & 0 deletions peer/proposal_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option java_outer_classname = "ProposalResponsePackage";
Expand Down
1 change: 1 addition & 0 deletions peer/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";

Expand Down
1 change: 1 addition & 0 deletions peer/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";

Expand Down
1 change: 1 addition & 0 deletions peer/signed_cc_dep_spec.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";

Expand Down
1 change: 1 addition & 0 deletions peer/snapshot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";
option java_package = "org.hyperledger.fabric.protos.peer";

Expand Down
1 change: 1 addition & 0 deletions peer/transaction.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

syntax = "proto3";

option csharp_namespace = "Hyperledger.Fabric.Protos.Peer";
option go_package = "github.com/hyperledger/fabric-protos-go/peer";
option java_package = "org.hyperledger.fabric.protos.peer";
option java_outer_classname = "TransactionPackage";
Expand Down
1 change: 1 addition & 0 deletions transientstore/transientstore.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ syntax = "proto3";

package transientstore;

option csharp_namespace = "Hyperledger.Fabric.Protos.TransientStore";
option go_package = "github.com/hyperledger/fabric-protos-go/transientstore";
option java_package = "org.hyperledger.fabric.protos.transientstore";

Expand Down
Loading