aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/unittest.proto
diff options
context:
space:
mode:
authorGravatar Jisi Liu <jisi.liu@gmail.com>2017-12-13 14:09:50 -0800
committerGravatar Jisi Liu <jisi.liu@gmail.com>2017-12-13 14:09:50 -0800
commit22e1cfd84ac2e7a6e0ee1101d75673c13a801c03 (patch)
treee84659634b5a3952a89436d9fd7d1df525dfa9a2 /src/google/protobuf/unittest.proto
parent5ce724bcebebb56914da6efc40b85c4c801e6fe1 (diff)
Add deprecation annotation for oneof case.
Diffstat (limited to 'src/google/protobuf/unittest.proto')
-rw-r--r--src/google/protobuf/unittest.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/google/protobuf/unittest.proto b/src/google/protobuf/unittest.proto
index 45a0edad..2a288daa 100644
--- a/src/google/protobuf/unittest.proto
+++ b/src/google/protobuf/unittest.proto
@@ -189,6 +189,9 @@ message NestedTestAllTypes {
message TestDeprecatedFields {
optional int32 deprecated_int32 = 1 [deprecated=true];
+ oneof oneof_fields {
+ int32 deprecated_int32_in_oneof = 2 [deprecated=true];
+ }
}
message TestDeprecatedMessage {