diff --git a/grpc/pb/bdware/bdledger/api/common.proto b/grpc/pb/bdware/bdledger/api/common.proto index dbb43a5..f43acc1 100644 --- a/grpc/pb/bdware/bdledger/api/common.proto +++ b/grpc/pb/bdware/bdledger/api/common.proto @@ -4,6 +4,7 @@ package bdware.bdledger.api; option go_package = "bdware.org/bdledger/pkg/api/grpc/pb;apipb"; option java_package = "org.bdware.bdledger.api.grpc.pb"; +option java_outer_classname = "CommonProto"; /* 事务类型 */ enum TransactionType { diff --git a/grpc/pb/bdware/bdledger/api/error_details.proto b/grpc/pb/bdware/bdledger/api/error_details.proto index 3cdae60..3e10060 100644 --- a/grpc/pb/bdware/bdledger/api/error_details.proto +++ b/grpc/pb/bdware/bdledger/api/error_details.proto @@ -4,6 +4,7 @@ package bdware.bdledger.api; option go_package = "bdware.org/bdledger/pkg/api/grpc/pb;apipb"; option java_package = "org.bdware.bdledger.api.grpc.pb"; +option java_outer_classname = "ErrorDetailsProto"; // InvalidArgument indicates client specified an invalid argument. // Note that this differs from FailedPrecondition. It indicates arguments diff --git a/grpc/pb/bdware/bdledger/api/ledger.proto b/grpc/pb/bdware/bdledger/api/ledger.proto index 331719c..d2b1d5d 100644 --- a/grpc/pb/bdware/bdledger/api/ledger.proto +++ b/grpc/pb/bdware/bdledger/api/ledger.proto @@ -7,6 +7,7 @@ import "bdware/bdledger/api/common.proto"; option go_package = "bdware.org/bdledger/pkg/api/grpc/pb;apipb"; option java_package = "org.bdware.bdledger.api.grpc.pb"; +option java_outer_classname = "LedgerProto"; service Ledger { /** diff --git a/grpc/pb/bdware/bdledger/api/node.proto b/grpc/pb/bdware/bdledger/api/node.proto index 9030abf..6d49bce 100644 --- a/grpc/pb/bdware/bdledger/api/node.proto +++ b/grpc/pb/bdware/bdledger/api/node.proto @@ -6,6 +6,7 @@ import "google/protobuf/empty.proto"; option go_package = "bdware.org/bdledger/pkg/api/grpc/pb;apipb"; option java_package = "org.bdware.bdledger.api.grpc.pb"; +option java_outer_classname = "NodeProto"; service Node { /** diff --git a/grpc/pb/bdware/bdledger/api/query.proto b/grpc/pb/bdware/bdledger/api/query.proto index fdc4677..938de09 100644 --- a/grpc/pb/bdware/bdledger/api/query.proto +++ b/grpc/pb/bdware/bdledger/api/query.proto @@ -6,6 +6,7 @@ import "bdware/bdledger/api/common.proto"; option go_package = "bdware.org/bdledger/pkg/api/grpc/pb;apipb"; option java_package = "org.bdware.bdledger.api.grpc.pb"; +option java_outer_classname = "QueryProto"; service Query { /**