Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.

Commit c577fff

Browse files
authored
Add Undefined as default enum. (#113)
1 parent 4f9660a commit c577fff

File tree

5 files changed

+219
-186
lines changed

5 files changed

+219
-186
lines changed

interoptest/proto/interoperability_test.proto

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,25 @@ message Service {
3434

3535
message Spec {
3636
enum Transport {
37-
GRPC = 0;
38-
HTTP = 1;
37+
UNDEFINED_TRANSPORT = 0;
38+
GRPC = 1;
39+
HTTP = 2;
3940
}
4041
enum Propagation {
41-
BINARY_FORMAT_PROPAGATION = 0;
42-
B3_FORMAT_PROPAGATION = 1;
43-
TRACE_CONTEXT_FORMAT_PROPAGATION = 2;
42+
UNDEFINED_PROPAGATION = 0;
43+
BINARY_FORMAT_PROPAGATION = 1;
44+
B3_FORMAT_PROPAGATION = 2;
45+
TRACE_CONTEXT_FORMAT_PROPAGATION = 3;
4446
}
4547
Transport transport = 1;
4648
Propagation propagation = 2;
4749
}
4850

4951
enum Status {
50-
SUCCESS = 0;
51-
FAILURE = 1;
52-
RUNNING = 2; // Used for asynchronous request status.
52+
UNDEFINED = 0;
53+
SUCCESS = 1;
54+
FAILURE = 2;
55+
RUNNING = 3; // Used for asynchronous request status.
5356
}
5457

5558
message CommonResponseStatus {

0 commit comments

Comments
 (0)