Skip to content

Commit

Permalink
add csharp namespace option
Browse files Browse the repository at this point in the history
  • Loading branch information
Varorbc committed Jun 4, 2024
1 parent 5013f99 commit 2d4d2fe
Show file tree
Hide file tree
Showing 40 changed files with 40 additions and 0 deletions.
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.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.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.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/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/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.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.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/kafka.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 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

0 comments on commit 2d4d2fe

Please sign in to comment.