Hi,
I'm using the Java output feature of protobuf for my app.
I found that protobuf doesn't handle null values as well as i would
expect it.
for example:
message MyMessage {
required int32 id = 1;
optional string code = 2;
}
in java:
MyMessage message = MyMessage.newBuilder().setId(3).se
I have in mind some missing feature for built-in support for creating
collection of a defined message.
When defining a message will it be possible to add newCollectionBuilder
() method for that created object?
The simple solution for defining a collection of defined message is in
the proto file:
use case (written in Java):
public class MyService {
private final ServiceDAO serviceDAO;
// constructor, getters, setters
public void handleRequest(InputStream in, OutputStream out) {
List results = serviceDAO.findAllCodes();
// create t