diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2017-03-09 11:51:58 -0800 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2017-03-09 11:51:58 -0800 |
commit | baceff7c9cb1c00fc13fc7ee73dbef234b6c3dd1 (patch) | |
tree | 65e0c0d9fd42f9e49c5df369bcc1e0941c4d8647 /src/google/protobuf/unittest.proto | |
parent | 3f6f73b796988f47bfc157d3a9faee81fad7fa89 (diff) |
Add annotations for deprecated messages in Java
Diffstat (limited to 'src/google/protobuf/unittest.proto')
-rw-r--r-- | src/google/protobuf/unittest.proto | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/google/protobuf/unittest.proto b/src/google/protobuf/unittest.proto index 96289cc5..188a4f47 100644 --- a/src/google/protobuf/unittest.proto +++ b/src/google/protobuf/unittest.proto @@ -191,6 +191,10 @@ message TestDeprecatedFields { optional int32 deprecated_int32 = 1 [deprecated=true]; } +message TestDeprecatedMessage { + option deprecated = true; +} + // Define these after TestAllTypes to make sure the compiler can handle // that. message ForeignMessage { |