Currently the generated code for setting default values is in the constructor (mixed with construction of class instances for lists and submessages).
However, when loading a message from input, all fields should be set to their default value as well. This is normally not an issue if a fresh message class instance has been created, but that might not be the case under all circumstances.
Currently the generated code for setting default values is in the constructor (mixed with construction of class instances for lists and submessages).
However, when loading a message from input, all fields should be set to their default value as well. This is normally not an issue if a fresh message class instance has been created, but that might not be the case under all circumstances.