Generated classes can be optimized for speed or code size.
Protobuf type google.protobuf.FileOptions.OptimizeMode
CloneableInstantiable
| Constants |
| public Google etc. Generated from protobuf enum CODE_SIZE = 2; |
| public Google Generate code using MessageLite and the lite runtime. Generated from protobuf enum LITE_RUNTIME = 3; |
| public Google Generate complete code for parsing, serialization, Generated from protobuf enum SPEED = 1; |
| Methods |
| public static name( $value) |
| public static value( $name) |
| Properties |
| private static $valueToName = [1 => 'SPEED', 2 => 'CODE_SIZE', 3 => 'LITE_RUNTIME'] |
| Properties |
| private static $valueToName = [1 => 'SPEED', 2 => 'CODE_SIZE', 3 => 'LITE_RUNTIME'] |
| Methods |
| public static name( $value) |
| public static value( $name) |