class OptimizeMode (View source)

Generated classes can be optimized for speed or code size.

Protobuf type google.protobuf.FileOptions.OptimizeMode

Constants

SPEED

Generate complete code for parsing, serialization,

Generated from protobuf enum SPEED = 1;

CODE_SIZE

etc.

Generated from protobuf enum CODE_SIZE = 2;

LITE_RUNTIME

Generate code using MessageLite and the lite runtime.

Generated from protobuf enum LITE_RUNTIME = 3;

Methods

static 
name($value)

No description

static 
value($name)

No description

Details

static name($value)

No description

Parameters

$value

static value($name)

No description

Parameters

$name