title: How can I deprecate whole message in Protocol Buffers?
body: <p>According to <a href="https://developers.google.com/protocol-buffers/docs/proto" rel="noreferrer">documentation</a>:</p>
  
  <p><strong>deprecated</strong> (field option): If set to true, indicates that the field is deprecated and should not be used by new code.</p>
  
  <p>Example of use:</p>
  
  <pre><code>message Foo {
   string old_field = 1 [deprecated=true];
  }
  </code></pre>
  
  <ul>
  <li>How we can deprecate the whole message?</li>
  </ul>