Message in pb
GoFeatures
pb.GoFeatures
Fields
| Field | Type | Number | Description |
|---|---|---|---|
| legacy_unmarshal_json_enum | optionalbool | 1 | Whether or not to generate the deprecated UnmarshalJSON method for enums. Can only be true for proto using the Open Struct api.
|
| api_level | optionalAPILevel | 2 | One of OPEN, HYBRID or OPAQUE.
|
| strip_enum_prefix | optionalStripEnumPrefix | 3 |
|
| optimize_mode | optionalOptimizeMode | 4 |
|
Nested messages
- OptimizeModeFeatureWrap the OptimizeMode enum in a message for scoping: This way, users can type shorter names (SPEED, CODE_SIZE).
Nested enums
Used by
- Extensionpb.go
Defined in google/protobuf/go_features.proto