Skip to content

Commit 47763d2

Browse files
committed
Use custom package for grpc status.proto
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
1 parent 3c248d5 commit 47763d2

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

proto/status.proto

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@
1414

1515
syntax = "proto3";
1616

17-
package google.rpc;
17+
package connectrpc.grpc.compat;
1818

1919
import "google/protobuf/any.proto";
2020

21-
option go_package = "google.golang.org/genproto/googleapis/rpc/status;status";
22-
option java_multiple_files = true;
23-
option java_outer_classname = "StatusProto";
24-
option java_package = "com.google.rpc";
25-
option objc_class_prefix = "RPC";
26-
2721
// The `Status` type defines a logical error model that is suitable for different
2822
// programming environments, including REST APIs and RPC APIs. It is used by
2923
// [gRPC](https://github.com/grpc). The error model is designed to be:

src/connectrpc/_gen/status_pb2.py

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)