I am new to protobuf usage.
i am planning to write protobuf def with enum(s) in it.
is there any way to provide id, value and as well description in it.
after compilation i want generated enum should be equivalent as below example
enum Sample{
W(0, "W"), P(0, "P"), C(0, "C"), B(0, "B")
private final int id;
private final String value;
private Status(int id, String value) {
this.id= id;
this.value = value;
}
}
Any help is very appreciated.