title: Can I define a constant string in protobuf?
body: <p>I use protobuf's enums to share values between a C++ app and a Java app. This way, the same (<code>int</code>) values are shared between languages and the values are available at compile time. Can I do something similar with a string by somehow defining it in the common <code>.proto</code> file?</p>