Protocol Buffers: How to make .proto file for enum?
<p>My enum in java looks like this(mentioned below). What it would be in .proto? Not able to figure out how to take care of constructor and Getter methods for the variables (type and code).</p>

<pre><code>public enum PaxType {
    ADULT("ADT", 'A'),
    CHILD("CNN", 'C'),
    INFANT("IFT", 'I');

    private String type;
    private char   code;

    PaxType(String type, char code) {
        this.type = type;
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public char getCode() {
        return code;
    }
}
</code></pre>