Generated classes can be optimized for speed or code size.

Protobuf type google.protobuf.FileOptions.OptimizeMode

CloneableInstantiable
Constants
public Google\Protobuf\Internal\FileOptions\OptimizeMode::CODE_SIZE = 2
 

etc.

Generated from protobuf enum CODE_SIZE = 2;

public Google\Protobuf\Internal\FileOptions\OptimizeMode::LITE_RUNTIME = 3
 

Generate code using MessageLite and the lite runtime.

Generated from protobuf enum LITE_RUNTIME = 3;

public Google\Protobuf\Internal\FileOptions\OptimizeMode::SPEED = 1
 

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)
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only