public enum DescriptorProtos.FileOptions.OptimizeMode extends Enum<DescriptorProtos.FileOptions.OptimizeMode> implements ProtocolMessageEnum
Generated classes can be optimized for speed or code size.
Protobuf enum google.protobuf.FileOptions.OptimizeMode
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
CODE_SIZE | etc. |
CODE_SIZE_VALUE | etc. |
LITE_RUNTIME | Generate code using MessageLite and the lite runtime. |
LITE_RUNTIME_VALUE | Generate code using MessageLite and the lite runtime. |
SPEED | Generate complete code for parsing, serialization, |
SPEED_VALUE | Generate complete code for parsing, serialization, |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | Return the enum type's descriptor, which contains information about each defined value, etc. |
getNumber() | Return the value's numeric value as defined in the .proto file. |
getValueDescriptor() | Return the value's descriptor, which contains information such as value name, number, and type. |