Generated classes can be optimized for speed or code size.

from enum google.protobuf.FileOptions.OptimizeMode

Enumeration Members

Enumeration Members

CODE_SIZE: 2

etc.

Use ReflectionOps to implement these methods.

from enum value: CODE_SIZE = 2;

LITE_RUNTIME: 3

Generate code using MessageLite and the lite runtime.

from enum value: LITE_RUNTIME = 3;

SPEED: 1

Generate complete code for parsing, serialization,

from enum value: SPEED = 1;