According to documentation:
deprecated (field option): If set to true, indicates that the field is deprecated and should not be used by new code.
Example of use:
message Foo {
string old_field = 1 [deprecated=true];
}
- How we can deprecate the whole message?