-
Notifications
You must be signed in to change notification settings - Fork 73
/
buf.gen.yaml
135 lines (135 loc) · 4.61 KB
/
buf.gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
version: v2
managed:
enabled: true
override:
- file_option: java_multiple_files
value: true
- file_option: java_package_prefix
value: org.hyperledger.fabric.protos
- file_option: go_package_prefix
value: github.com/hyperledger/fabric-protos-go-apiv2
- file_option: java_outer_classname
path: common/configtx.proto
value: ConfigTxProto
- file_option: java_outer_classname
path: ledger/queryresult/kv_query_result.proto
value: KVQueryResultProto
- file_option: java_outer_classname
path: ledger/rwset/kvrwset/kv_rwset.proto
value: KVRWSetProto
- file_option: java_outer_classname
path: ledger/rwset/rwset.proto
value: RWSetProto
- file_option: java_outer_classname
path: msp/msp_config.proto
value: MSPConfigProto
- file_option: java_outer_classname
path: msp/msp_principal.proto
value: MSPPrincipalProto
- file_option: java_package
path: google/rpc/status.proto
value: com.google.rpc
- file_option: java_package
path: ledger/queryresult/kv_query_result.proto
value: org.hyperledger.fabric.protos.ledger.queryresult
- file_option: java_package
path: ledger/rwset/kvrwset/kv_rwset.proto
value: org.hyperledger.fabric.protos.ledger.rwset.kvrwset
- file_option: java_package
path: ledger/rwset/rwset.proto
value: org.hyperledger.fabric.protos.ledger.rwset
- file_option: java_package
path: msp/msp_principal.proto
value: org.hyperledger.fabric.protos.common
- file_option: java_package
path: orderer/etcdraft/configuration.proto
value: org.hyperledger.fabric.protos.orderer.etcdraft
- file_option: java_package
path: orderer/etcdraft/metadata.proto
value: org.hyperledger.fabric.protos.orderer.etcdraft
- file_option: java_package
path: peer/chaincode.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/chaincode_event.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/chaincode_shim.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/collection.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/configuration.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/events.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/lifecycle/chaincode_definition.proto
value: org.hyperledger.fabric.protos.peer.lifecycle
- file_option: java_package
path: peer/lifecycle/db.proto
value: org.hyperledger.fabric.protos.peer.lifecycle
- file_option: java_package
path: peer/lifecycle/lifecycle.proto
value: org.hyperledger.fabric.protos.peer.lifecycle
- file_option: java_package
path: peer/peer.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/policy.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/proposal.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/proposal_response.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/query.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/resources.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/signed_cc_dep_spec.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/snapshot.proto
value: org.hyperledger.fabric.protos.peer
- file_option: java_package
path: peer/transaction.proto
value: org.hyperledger.fabric.protos.peer
plugins:
- local: protoc-gen-doc
out: docs
opt:
- markdown
- protos.md
strategy: all
- local: protoc-gen-go
out: bindings/go-apiv2
opt: paths=source_relative
- local: protoc-gen-go-grpc
out: bindings/go-apiv2
opt:
- paths=source_relative
- require_unimplemented_servers=false
- protoc_builtin: java
out: bindings/java/src/main/java
- local: protoc-gen-grpc-java
out: bindings/java/src/main/java
- protoc_builtin: js
out: bindings/node/src
opt:
- import_style=commonjs
- binary
- local: grpc_tools_node_protoc_plugin
out: bindings/node/src
opt: grpc_js
- local: protoc-gen-ts
out: bindings/node/src
opt:
- service=grpc-node
- mode=grpc-js