GitHub

FeatureSet

API reference for FeatureSet.

TODO Enums in C++ gencode (and potentially other languages) are not well scoped. This means that each of the feature enums below can clash with each other. The short names we've chosen maximize call-site readability, but leave us very open to this scenario. A future feature will be designed and implemented to handle this, hopefully before we ever hit a conflict here.

Attributes

AttributeTypeDescription
field_presenceint

A FeatureSet_FieldPresence.

enum_typeint

A FeatureSet_EnumType.

repeated_field_encodingint

A FeatureSet_RepeatedFieldEncoding.

utf8_validationint

A FeatureSet_Utf8Validation.

message_encodingint

A FeatureSet_MessageEncoding.

json_formatint

A FeatureSet_JsonFormat.

enforce_naming_styleint

A FeatureSet_EnforceNamingStyle.

default_symbol_visibilityint

A FeatureSet_VisibilityFeature_DefaultSymbolVisibility.

enforce_proto_limitsint

A FeatureSet_ProtoLimitsFeature_EnforceProtoLimits.