File indexing completed on 2025-01-18 10:13:17
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef UPB_MINI_DESCRIPTOR_INTERNAL_MODIFIERS_H_
0009 #define UPB_MINI_DESCRIPTOR_INTERNAL_MODIFIERS_H_
0010
0011
0012 #include "upb/port/def.inc"
0013
0014 typedef enum {
0015 kUpb_FieldModifier_IsRepeated = 1 << 0,
0016 kUpb_FieldModifier_IsPacked = 1 << 1,
0017 kUpb_FieldModifier_IsClosedEnum = 1 << 2,
0018 kUpb_FieldModifier_IsProto3Singular = 1 << 3,
0019 kUpb_FieldModifier_IsRequired = 1 << 4,
0020 kUpb_FieldModifier_ValidateUtf8 = 1 << 5,
0021 } kUpb_FieldModifier;
0022
0023
0024 typedef enum {
0025 kUpb_MessageModifier_ValidateUtf8 = 1 << 0,
0026 kUpb_MessageModifier_DefaultIsPacked = 1 << 1,
0027 kUpb_MessageModifier_IsExtendable = 1 << 2,
0028 } kUpb_MessageModifier;
0029
0030 #include "upb/port/undef.inc"
0031
0032 #endif