Auto-generate files after cl/900831193

This commit is contained in:
Protobuf Team Bot 2026-04-16 18:52:14 +00:00
parent a2bab33c52
commit 83102e45ee
6 changed files with 764 additions and 152 deletions

View file

@ -755,10 +755,14 @@ static const google__protobuf__FileDescriptorSet_msg_init_Fields google_protobuf
const upb_MiniTable google__protobuf__FileDescriptorSet_msg_init = {
&google_protobuf_FileDescriptorSet__fields.fields[0],
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(255), 0,
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.FileDescriptorSet",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -803,12 +807,12 @@ const upb_MiniTable google__protobuf__FileDescriptorProto_msg_init = {
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0020000001000012, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x004000003f00001a, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x004800003f030022, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x005000003f04002a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x005800003f050032, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x006000003f06003a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x0068000002070042, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x007000000308004a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x007800003f000050, &upb_DecodeFast_Varint32_Repeated_Tag1Byte},
{0x008000003f000058, &upb_DecodeFast_Varint32_Repeated_Tag1Byte},
{0x0030000004000062, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
@ -857,14 +861,14 @@ const upb_MiniTable google__protobuf__DescriptorProto_msg_init = {
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f010012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x002800003f02001a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x003000003f030022, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x003800003f04002a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x004000003f050032, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x004800000106003a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x005000003f070042, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x005800003f08004a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x006000003f000052, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -898,7 +902,7 @@ const upb_MiniTable google__protobuf__DescriptorProto__ExtensionRange_msg_init =
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000c000000000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0010000001000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800000202001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
})
};
@ -945,10 +949,44 @@ static const google__protobuf__ExtensionRangeOptions_msg_init_Fields google_prot
const upb_MiniTable google__protobuf__ExtensionRangeOptions_msg_init = {
&google_protobuf_ExtensionRangeOptions__fields.fields[0],
UPB_SIZE(32, 40), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(32, 40), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.ExtensionRangeOptions",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000003f000012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0018000001020392, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f033eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
typedef struct {
@ -1020,7 +1058,7 @@ const upb_MiniTable google__protobuf__FieldDescriptorProto_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0040000005000032, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x005000000600003a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0070000007070042, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0018000008000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0060000009000052, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1062,13 +1100,15 @@ static const google__protobuf__OneofDescriptorProto_msg_init_Fields google_proto
const upb_MiniTable google__protobuf__OneofDescriptorProto_msg_init = {
&google_protobuf_OneofDescriptorProto__fields.fields[0],
UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0,
UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.OneofDescriptorProto",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0020000001010012, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -1101,9 +1141,9 @@ const upb_MiniTable google__protobuf__EnumDescriptorProto_msg_init = {
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f010012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x002800000102001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x003000003f030022, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x003800003f00002a, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1157,7 +1197,7 @@ const upb_MiniTable google__protobuf__EnumValueDescriptorProto_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x000c000001000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000000202001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
})
};
@ -1178,13 +1218,15 @@ static const google__protobuf__ServiceDescriptorProto_msg_init_Fields google_pro
const upb_MiniTable google__protobuf__ServiceDescriptorProto_msg_init = {
&google_protobuf_ServiceDescriptorProto__fields.fields[0],
UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(8), 0,
UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.ServiceDescriptorProto",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x002000003f010012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x002800000102001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
})
};
@ -1216,7 +1258,7 @@ const upb_MiniTable google__protobuf__MethodDescriptorProto_msg_init = {
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0020000001000012, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x003000000200001a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0040000003030022, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0009000004000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x000a000005000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1320,7 +1362,7 @@ static const google__protobuf__MessageOptions_msg_init_Fields google_protobuf_Me
const upb_MiniTable google__protobuf__MessageOptions_msg_init = {
&google_protobuf_MessageOptions__fields.fields[0],
UPB_SIZE(24, 32), 7, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(120), 0,
UPB_SIZE(24, 32), 7, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.MessageOptions",
#endif
@ -1337,6 +1379,22 @@ const upb_MiniTable google__protobuf__MessageOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000d000004000058, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0010000005050062, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f063eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1403,10 +1461,10 @@ const upb_MiniTable google__protobuf__FieldOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002800003f0a01a2, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x00300000090b01aa, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x003800000a0c01b2, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x004000003f0d3eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1497,10 +1555,44 @@ static const google__protobuf__OneofOptions_msg_init_Fields google_protobuf_Oneo
const upb_MiniTable google__protobuf__OneofOptions_msg_init = {
&google_protobuf_OneofOptions__fields.fields[0],
UPB_SIZE(24, 32), 2, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(24, 32), 2, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.OneofOptions",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f013eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
typedef struct {
@ -1522,7 +1614,7 @@ static const google__protobuf__EnumOptions_msg_init_Fields google_protobuf_EnumO
const upb_MiniTable google__protobuf__EnumOptions_msg_init = {
&google_protobuf_EnumOptions__fields.fields[0],
UPB_SIZE(24, 32), 5, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(56), 0,
UPB_SIZE(24, 32), 5, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.EnumOptions",
#endif
@ -1534,6 +1626,30 @@ const upb_MiniTable google__protobuf__EnumOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000b000002000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x001000000303003a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f043eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -1558,15 +1674,43 @@ static const google__protobuf__EnumValueOptions_msg_init_Fields google_protobuf_
const upb_MiniTable google__protobuf__EnumValueOptions_msg_init = {
&google_protobuf_EnumValueOptions__fields.fields[0],
UPB_SIZE(24, 40), 5, kUpb_ExtMode_Extendable, 4, UPB_FASTTABLE_MASK(24), 0,
UPB_SIZE(24, 40), 5, kUpb_ExtMode_Extendable, 4, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.EnumValueOptions",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0009000000000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0010000001010012, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x000a000002000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0018000003030022, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f043eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -1610,12 +1754,12 @@ const upb_MiniTable google__protobuf__ServiceOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0009000000000288, &upb_DecodeFast_Bool_Scalar_Tag2Byte},
{0x0010000001010292, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f023eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1670,11 +1814,11 @@ const upb_MiniTable google__protobuf__MethodOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0009000000000288, &upb_DecodeFast_Bool_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000202029a, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f033eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1713,7 +1857,7 @@ const upb_MiniTable google__protobuf__UninterpretedOption_msg_init = {
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x004000003f000012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x001000000000001a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0048000001000020, &upb_DecodeFast_Varint64_Scalar_Tag1Byte},
{0x0050000002000028, &upb_DecodeFast_Varint64_Scalar_Tag1Byte},
@ -1813,10 +1957,14 @@ static const google__protobuf__FeatureSetDefaults_msg_init_Fields google_protobu
const upb_MiniTable google__protobuf__FeatureSetDefaults_msg_init = {
&google_protobuf_FeatureSetDefaults__fields.fields[0],
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.FeatureSetDefaults",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -1837,10 +1985,20 @@ static const google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_
const upb_MiniTable google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init = {
&google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault__fields.fields[0],
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0010000001010022, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x001800000202002a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
typedef struct {
@ -1857,10 +2015,14 @@ static const google__protobuf__SourceCodeInfo_msg_init_Fields google_protobuf_So
const upb_MiniTable google__protobuf__SourceCodeInfo_msg_init = {
&google_protobuf_SourceCodeInfo__fields.fields[0],
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(255), 0,
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.SourceCodeInfo",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -1907,10 +2069,14 @@ static const google__protobuf__GeneratedCodeInfo_msg_init_Fields google_protobuf
const upb_MiniTable google__protobuf__GeneratedCodeInfo_msg_init = {
&google_protobuf_GeneratedCodeInfo__fields.fields[0],
16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0,
16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.GeneratedCodeInfo",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -10977,6 +11143,9 @@ upb_MiniTable* _upb_MiniTable_Build(const char* data, size_t len,
#include <string.h>
#ifdef UPB_ENABLE_FASTTABLE
#endif
// Must be last.
bool upb_MiniTable_SetSubMessage(upb_MiniTable* table,
@ -10999,6 +11168,25 @@ bool upb_MiniTable_SetSubMessage(upb_MiniTable* table,
field->UPB_PRIVATE(mode) =
(field->UPB_PRIVATE(mode) & ~kUpb_FieldMode_Mask) |
kUpb_FieldMode_Map;
#ifdef UPB_ENABLE_FASTTABLE
// The fasttable decoder cannot decode maps. Unfortunately we do not
// know until this moment that the field is a map, so we have to
// overwrite the fasttable entry (if any) that we built for this field
// previously.
int size = table->UPB_PRIVATE(table_mask) == 0xff
? 0
: ((table->UPB_PRIVATE(table_mask) >> 3) + 1);
for (int i = 0; i < size; i++) {
_upb_FastTable_Entry* entry = &table->UPB_PRIVATE(fasttable)[i];
uint32_t field_number = (((int)entry->field_data >> 3) & 0xf) |
(((int)entry->field_data >> 4) & 0x7f0);
if (field_number == upb_MiniTableField_Number(field)) {
entry->field_parser = &_upb_FastDecoder_DecodeGeneric;
entry->field_data = 0;
}
}
#endif
}
break;
@ -17320,7 +17508,8 @@ bool _upb_Decoder_TryDecodeMessageFast(upb_Decoder* d, const char** ptr,
}
intptr_t table = decode_totable(mt);
const char* start = *ptr;
const char* start =
UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(&d->input, *ptr);
char* trace_next = _upb_Decoder_TraceNext(d);
*ptr = upb_DecodeFast_Dispatch(d, *ptr, msg, table, 0, 0);
@ -17338,7 +17527,10 @@ bool _upb_Decoder_TryDecodeMessageFast(upb_Decoder* d, const char** ptr,
// If the fast decoder consumed any data, it must have emitted at least
// one 'F' event into the trace buffer (in addition to the 'D' event
// that is always emitted).
UPB_ASSERT(_upb_Decoder_TracePtr(d) != trace_next || *ptr == start);
const char* end =
UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(&d->input, *ptr);
char* trace_end = _upb_Decoder_TracePtr(d);
UPB_ASSERT(trace_end == NULL || trace_end != trace_next || end == start);
_upb_Decoder_Trace(d, '<');
#endif
return false;

View file

@ -17910,18 +17910,16 @@ UPB_INLINE upb_DecodeStatus upb_Decoder_Destroy(upb_Decoder* d,
}
#ifndef NDEBUG
UPB_INLINE bool _upb_Decoder_TraceBufferFull(upb_Decoder* d) {
return d->trace_ptr == d->trace_end - 1;
}
UPB_INLINE bool _upb_Decoder_TraceBufferAlmostFull(upb_Decoder* d) {
return d->trace_ptr == d->trace_end - 2;
UPB_INLINE bool _upb_Decoder_TraceBufferHasBytesAvailable(upb_Decoder* d,
int n) {
return d->trace_ptr && d->trace_end && d->trace_end - d->trace_ptr > n;
}
#endif
UPB_INLINE char* _upb_Decoder_TraceNext(upb_Decoder* d) {
#ifndef NDEBUG
return _upb_Decoder_TraceBufferAlmostFull(d) ? NULL : d->trace_ptr + 1;
return _upb_Decoder_TraceBufferHasBytesAvailable(d, 2) ? d->trace_ptr + 1
: NULL;
#else
return NULL;
#endif
@ -17942,10 +17940,17 @@ UPB_INLINE char* _upb_Decoder_TracePtr(upb_Decoder* d) {
// '<' Fallback to MiniTable parser.
// 'M' Field successfully parsed with MiniTable.
// 'X' Truncated -- trace buffer is full, further events were discarded.
//
// Lower-case letters indicate events that are more subtle and therefore
// difficult to assert on, but may be useful information for debugging:
// 'r' Refresh buffer.
UPB_INLINE void _upb_Decoder_Trace(upb_Decoder* d, char event) {
#ifndef NDEBUG
#ifdef UPB_TRACE_FASTDECODER
fprintf(stderr, "Fasttable trace event: %c\n", event);
#endif
if (d->trace_ptr == NULL) return;
if (_upb_Decoder_TraceBufferFull(d)) {
if (!_upb_Decoder_TraceBufferHasBytesAvailable(d, 1)) {
d->trace_ptr[-1] = 'X'; // Truncated.
return;
}

View file

@ -755,10 +755,14 @@ static const google__protobuf__FileDescriptorSet_msg_init_Fields google_protobuf
const upb_MiniTable google__protobuf__FileDescriptorSet_msg_init = {
&google_protobuf_FileDescriptorSet__fields.fields[0],
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(255), 0,
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.FileDescriptorSet",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -803,12 +807,12 @@ const upb_MiniTable google__protobuf__FileDescriptorProto_msg_init = {
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0020000001000012, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x004000003f00001a, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x004800003f030022, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x005000003f04002a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x005800003f050032, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x006000003f06003a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x0068000002070042, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x007000000308004a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x007800003f000050, &upb_DecodeFast_Varint32_Repeated_Tag1Byte},
{0x008000003f000058, &upb_DecodeFast_Varint32_Repeated_Tag1Byte},
{0x0030000004000062, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
@ -857,14 +861,14 @@ const upb_MiniTable google__protobuf__DescriptorProto_msg_init = {
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f010012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x002800003f02001a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x003000003f030022, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x003800003f04002a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x004000003f050032, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x004800000106003a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x005000003f070042, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x005800003f08004a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x006000003f000052, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -898,7 +902,7 @@ const upb_MiniTable google__protobuf__DescriptorProto__ExtensionRange_msg_init =
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000c000000000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0010000001000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800000202001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
})
};
@ -945,10 +949,44 @@ static const google__protobuf__ExtensionRangeOptions_msg_init_Fields google_prot
const upb_MiniTable google__protobuf__ExtensionRangeOptions_msg_init = {
&google_protobuf_ExtensionRangeOptions__fields.fields[0],
UPB_SIZE(32, 40), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(32, 40), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.ExtensionRangeOptions",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000003f000012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0018000001020392, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f033eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
typedef struct {
@ -1020,7 +1058,7 @@ const upb_MiniTable google__protobuf__FieldDescriptorProto_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0040000005000032, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x005000000600003a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0070000007070042, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0018000008000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0060000009000052, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1062,13 +1100,15 @@ static const google__protobuf__OneofDescriptorProto_msg_init_Fields google_proto
const upb_MiniTable google__protobuf__OneofDescriptorProto_msg_init = {
&google_protobuf_OneofDescriptorProto__fields.fields[0],
UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0,
UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.OneofDescriptorProto",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0020000001010012, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -1101,9 +1141,9 @@ const upb_MiniTable google__protobuf__EnumDescriptorProto_msg_init = {
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f010012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x002800000102001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x003000003f030022, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x003800003f00002a, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1157,7 +1197,7 @@ const upb_MiniTable google__protobuf__EnumValueDescriptorProto_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x000c000001000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000000202001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
})
};
@ -1178,13 +1218,15 @@ static const google__protobuf__ServiceDescriptorProto_msg_init_Fields google_pro
const upb_MiniTable google__protobuf__ServiceDescriptorProto_msg_init = {
&google_protobuf_ServiceDescriptorProto__fields.fields[0],
UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(8), 0,
UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.ServiceDescriptorProto",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x002000003f010012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x002800000102001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
})
};
@ -1216,7 +1258,7 @@ const upb_MiniTable google__protobuf__MethodDescriptorProto_msg_init = {
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0020000001000012, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x003000000200001a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0040000003030022, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0009000004000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x000a000005000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1320,7 +1362,7 @@ static const google__protobuf__MessageOptions_msg_init_Fields google_protobuf_Me
const upb_MiniTable google__protobuf__MessageOptions_msg_init = {
&google_protobuf_MessageOptions__fields.fields[0],
UPB_SIZE(24, 32), 7, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(120), 0,
UPB_SIZE(24, 32), 7, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.MessageOptions",
#endif
@ -1337,6 +1379,22 @@ const upb_MiniTable google__protobuf__MessageOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000d000004000058, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0010000005050062, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f063eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1403,10 +1461,10 @@ const upb_MiniTable google__protobuf__FieldOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002800003f0a01a2, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x00300000090b01aa, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x003800000a0c01b2, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x004000003f0d3eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1497,10 +1555,44 @@ static const google__protobuf__OneofOptions_msg_init_Fields google_protobuf_Oneo
const upb_MiniTable google__protobuf__OneofOptions_msg_init = {
&google_protobuf_OneofOptions__fields.fields[0],
UPB_SIZE(24, 32), 2, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(24, 32), 2, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.OneofOptions",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f013eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
typedef struct {
@ -1522,7 +1614,7 @@ static const google__protobuf__EnumOptions_msg_init_Fields google_protobuf_EnumO
const upb_MiniTable google__protobuf__EnumOptions_msg_init = {
&google_protobuf_EnumOptions__fields.fields[0],
UPB_SIZE(24, 32), 5, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(56), 0,
UPB_SIZE(24, 32), 5, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.EnumOptions",
#endif
@ -1534,6 +1626,30 @@ const upb_MiniTable google__protobuf__EnumOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000b000002000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x001000000303003a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f043eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -1558,15 +1674,43 @@ static const google__protobuf__EnumValueOptions_msg_init_Fields google_protobuf_
const upb_MiniTable google__protobuf__EnumValueOptions_msg_init = {
&google_protobuf_EnumValueOptions__fields.fields[0],
UPB_SIZE(24, 40), 5, kUpb_ExtMode_Extendable, 4, UPB_FASTTABLE_MASK(24), 0,
UPB_SIZE(24, 40), 5, kUpb_ExtMode_Extendable, 4, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.EnumValueOptions",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0009000000000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0010000001010012, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x000a000002000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0018000003030022, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f043eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -1610,12 +1754,12 @@ const upb_MiniTable google__protobuf__ServiceOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0009000000000288, &upb_DecodeFast_Bool_Scalar_Tag2Byte},
{0x0010000001010292, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f023eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1670,11 +1814,11 @@ const upb_MiniTable google__protobuf__MethodOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0009000000000288, &upb_DecodeFast_Bool_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000202029a, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f033eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -1713,7 +1857,7 @@ const upb_MiniTable google__protobuf__UninterpretedOption_msg_init = {
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x004000003f000012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x001000000000001a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0048000001000020, &upb_DecodeFast_Varint64_Scalar_Tag1Byte},
{0x0050000002000028, &upb_DecodeFast_Varint64_Scalar_Tag1Byte},
@ -1813,10 +1957,14 @@ static const google__protobuf__FeatureSetDefaults_msg_init_Fields google_protobu
const upb_MiniTable google__protobuf__FeatureSetDefaults_msg_init = {
&google_protobuf_FeatureSetDefaults__fields.fields[0],
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.FeatureSetDefaults",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -1837,10 +1985,20 @@ static const google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_
const upb_MiniTable google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init = {
&google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault__fields.fields[0],
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0010000001010022, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x001800000202002a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
typedef struct {
@ -1857,10 +2015,14 @@ static const google__protobuf__SourceCodeInfo_msg_init_Fields google_protobuf_So
const upb_MiniTable google__protobuf__SourceCodeInfo_msg_init = {
&google_protobuf_SourceCodeInfo__fields.fields[0],
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(255), 0,
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.SourceCodeInfo",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -1907,10 +2069,14 @@ static const google__protobuf__GeneratedCodeInfo_msg_init_Fields google_protobuf
const upb_MiniTable google__protobuf__GeneratedCodeInfo_msg_init = {
&google_protobuf_GeneratedCodeInfo__fields.fields[0],
16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0,
16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.GeneratedCodeInfo",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -9822,6 +9988,9 @@ upb_MiniTable* _upb_MiniTable_Build(const char* data, size_t len,
#include <string.h>
#ifdef UPB_ENABLE_FASTTABLE
#endif
// Must be last.
bool upb_MiniTable_SetSubMessage(upb_MiniTable* table,
@ -9844,6 +10013,25 @@ bool upb_MiniTable_SetSubMessage(upb_MiniTable* table,
field->UPB_PRIVATE(mode) =
(field->UPB_PRIVATE(mode) & ~kUpb_FieldMode_Mask) |
kUpb_FieldMode_Map;
#ifdef UPB_ENABLE_FASTTABLE
// The fasttable decoder cannot decode maps. Unfortunately we do not
// know until this moment that the field is a map, so we have to
// overwrite the fasttable entry (if any) that we built for this field
// previously.
int size = table->UPB_PRIVATE(table_mask) == 0xff
? 0
: ((table->UPB_PRIVATE(table_mask) >> 3) + 1);
for (int i = 0; i < size; i++) {
_upb_FastTable_Entry* entry = &table->UPB_PRIVATE(fasttable)[i];
uint32_t field_number = (((int)entry->field_data >> 3) & 0xf) |
(((int)entry->field_data >> 4) & 0x7f0);
if (field_number == upb_MiniTableField_Number(field)) {
entry->field_parser = &_upb_FastDecoder_DecodeGeneric;
entry->field_data = 0;
}
}
#endif
}
break;
@ -16868,7 +17056,8 @@ bool _upb_Decoder_TryDecodeMessageFast(upb_Decoder* d, const char** ptr,
}
intptr_t table = decode_totable(mt);
const char* start = *ptr;
const char* start =
UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(&d->input, *ptr);
char* trace_next = _upb_Decoder_TraceNext(d);
*ptr = upb_DecodeFast_Dispatch(d, *ptr, msg, table, 0, 0);
@ -16886,7 +17075,10 @@ bool _upb_Decoder_TryDecodeMessageFast(upb_Decoder* d, const char** ptr,
// If the fast decoder consumed any data, it must have emitted at least
// one 'F' event into the trace buffer (in addition to the 'D' event
// that is always emitted).
UPB_ASSERT(_upb_Decoder_TracePtr(d) != trace_next || *ptr == start);
const char* end =
UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(&d->input, *ptr);
char* trace_end = _upb_Decoder_TracePtr(d);
UPB_ASSERT(trace_end == NULL || trace_end != trace_next || end == start);
_upb_Decoder_Trace(d, '<');
#endif
return false;

View file

@ -17769,18 +17769,16 @@ UPB_INLINE upb_DecodeStatus upb_Decoder_Destroy(upb_Decoder* d,
}
#ifndef NDEBUG
UPB_INLINE bool _upb_Decoder_TraceBufferFull(upb_Decoder* d) {
return d->trace_ptr == d->trace_end - 1;
}
UPB_INLINE bool _upb_Decoder_TraceBufferAlmostFull(upb_Decoder* d) {
return d->trace_ptr == d->trace_end - 2;
UPB_INLINE bool _upb_Decoder_TraceBufferHasBytesAvailable(upb_Decoder* d,
int n) {
return d->trace_ptr && d->trace_end && d->trace_end - d->trace_ptr > n;
}
#endif
UPB_INLINE char* _upb_Decoder_TraceNext(upb_Decoder* d) {
#ifndef NDEBUG
return _upb_Decoder_TraceBufferAlmostFull(d) ? NULL : d->trace_ptr + 1;
return _upb_Decoder_TraceBufferHasBytesAvailable(d, 2) ? d->trace_ptr + 1
: NULL;
#else
return NULL;
#endif
@ -17801,10 +17799,17 @@ UPB_INLINE char* _upb_Decoder_TracePtr(upb_Decoder* d) {
// '<' Fallback to MiniTable parser.
// 'M' Field successfully parsed with MiniTable.
// 'X' Truncated -- trace buffer is full, further events were discarded.
//
// Lower-case letters indicate events that are more subtle and therefore
// difficult to assert on, but may be useful information for debugging:
// 'r' Refresh buffer.
UPB_INLINE void _upb_Decoder_Trace(upb_Decoder* d, char event) {
#ifndef NDEBUG
#ifdef UPB_TRACE_FASTDECODER
fprintf(stderr, "Fasttable trace event: %c\n", event);
#endif
if (d->trace_ptr == NULL) return;
if (_upb_Decoder_TraceBufferFull(d)) {
if (!_upb_Decoder_TraceBufferHasBytesAvailable(d, 1)) {
d->trace_ptr[-1] = 'X'; // Truncated.
return;
}

View file

@ -28,10 +28,14 @@ static const google__protobuf__FileDescriptorSet_msg_init_Fields google_protobuf
const upb_MiniTable google__protobuf__FileDescriptorSet_msg_init = {
&google_protobuf_FileDescriptorSet__fields.fields[0],
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(255), 0,
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.FileDescriptorSet",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -76,12 +80,12 @@ const upb_MiniTable google__protobuf__FileDescriptorProto_msg_init = {
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0020000001000012, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x004000003f00001a, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x004800003f030022, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x005000003f04002a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x005800003f050032, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x006000003f06003a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x0068000002070042, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x007000000308004a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x007800003f000050, &upb_DecodeFast_Varint32_Repeated_Tag1Byte},
{0x008000003f000058, &upb_DecodeFast_Varint32_Repeated_Tag1Byte},
{0x0030000004000062, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
@ -130,14 +134,14 @@ const upb_MiniTable google__protobuf__DescriptorProto_msg_init = {
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f010012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x002800003f02001a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x003000003f030022, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x003800003f04002a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x004000003f050032, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x004800000106003a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x005000003f070042, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x005800003f08004a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x006000003f000052, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -171,7 +175,7 @@ const upb_MiniTable google__protobuf__DescriptorProto__ExtensionRange_msg_init =
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000c000000000008, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0010000001000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800000202001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
})
};
@ -218,10 +222,44 @@ static const google__protobuf__ExtensionRangeOptions_msg_init_Fields google_prot
const upb_MiniTable google__protobuf__ExtensionRangeOptions_msg_init = {
&google_protobuf_ExtensionRangeOptions__fields.fields[0],
UPB_SIZE(32, 40), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(32, 40), 4, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.ExtensionRangeOptions",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000003f000012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0018000001020392, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f033eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
typedef struct {
@ -293,7 +331,7 @@ const upb_MiniTable google__protobuf__FieldDescriptorProto_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0040000005000032, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x005000000600003a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0070000007070042, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0018000008000048, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0060000009000052, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -335,13 +373,15 @@ static const google__protobuf__OneofDescriptorProto_msg_init_Fields google_proto
const upb_MiniTable google__protobuf__OneofDescriptorProto_msg_init = {
&google_protobuf_OneofDescriptorProto__fields.fields[0],
UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0,
UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.OneofDescriptorProto",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0020000001010012, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -374,9 +414,9 @@ const upb_MiniTable google__protobuf__EnumDescriptorProto_msg_init = {
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f010012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x002800000102001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x003000003f030022, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x003800003f00002a, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -430,7 +470,7 @@ const upb_MiniTable google__protobuf__EnumValueDescriptorProto_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x000c000001000010, &upb_DecodeFast_Varint32_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000000202001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
})
};
@ -451,13 +491,15 @@ static const google__protobuf__ServiceDescriptorProto_msg_init_Fields google_pro
const upb_MiniTable google__protobuf__ServiceDescriptorProto_msg_init = {
&google_protobuf_ServiceDescriptorProto__fields.fields[0],
UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(8), 0,
UPB_SIZE(32, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.ServiceDescriptorProto",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x002000003f010012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x002800000102001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
})
};
@ -489,7 +531,7 @@ const upb_MiniTable google__protobuf__MethodDescriptorProto_msg_init = {
{0x001000000000000a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0020000001000012, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x003000000200001a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0040000003030022, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0009000004000028, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x000a000005000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -593,7 +635,7 @@ static const google__protobuf__MessageOptions_msg_init_Fields google_protobuf_Me
const upb_MiniTable google__protobuf__MessageOptions_msg_init = {
&google_protobuf_MessageOptions__fields.fields[0],
UPB_SIZE(24, 32), 7, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(120), 0,
UPB_SIZE(24, 32), 7, kUpb_ExtMode_Extendable, 3, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.MessageOptions",
#endif
@ -610,6 +652,22 @@ const upb_MiniTable google__protobuf__MessageOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000d000004000058, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0010000005050062, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f063eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -676,10 +734,10 @@ const upb_MiniTable google__protobuf__FieldOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002800003f0a01a2, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x00300000090b01aa, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x003800000a0c01b2, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x004000003f0d3eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -770,10 +828,44 @@ static const google__protobuf__OneofOptions_msg_init_Fields google_protobuf_Oneo
const upb_MiniTable google__protobuf__OneofOptions_msg_init = {
&google_protobuf_OneofOptions__fields.fields[0],
UPB_SIZE(24, 32), 2, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(24, 32), 2, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.OneofOptions",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000000000a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f013eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
typedef struct {
@ -795,7 +887,7 @@ static const google__protobuf__EnumOptions_msg_init_Fields google_protobuf_EnumO
const upb_MiniTable google__protobuf__EnumOptions_msg_init = {
&google_protobuf_EnumOptions__fields.fields[0],
UPB_SIZE(24, 32), 5, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(56), 0,
UPB_SIZE(24, 32), 5, kUpb_ExtMode_Extendable, 0, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.EnumOptions",
#endif
@ -807,6 +899,30 @@ const upb_MiniTable google__protobuf__EnumOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000b000002000030, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x001000000303003a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f043eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -831,15 +947,43 @@ static const google__protobuf__EnumValueOptions_msg_init_Fields google_protobuf_
const upb_MiniTable google__protobuf__EnumValueOptions_msg_init = {
&google_protobuf_EnumValueOptions__fields.fields[0],
UPB_SIZE(24, 40), 5, kUpb_ExtMode_Extendable, 4, UPB_FASTTABLE_MASK(24), 0,
UPB_SIZE(24, 40), 5, kUpb_ExtMode_Extendable, 4, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.EnumValueOptions",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0009000000000008, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0010000001010012, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x000a000002000018, &upb_DecodeFast_Bool_Scalar_Tag1Byte},
{0x0018000003030022, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f043eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -883,12 +1027,12 @@ const upb_MiniTable google__protobuf__ServiceOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0009000000000288, &upb_DecodeFast_Bool_Scalar_Tag2Byte},
{0x0010000001010292, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f023eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -943,11 +1087,11 @@ const upb_MiniTable google__protobuf__MethodOptions_msg_init = {
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0009000000000288, &upb_DecodeFast_Bool_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001000000202029a, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f033eba, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
@ -986,7 +1130,7 @@ const upb_MiniTable google__protobuf__UninterpretedOption_msg_init = {
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x004000003f000012, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x001000000000001a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0048000001000020, &upb_DecodeFast_Varint64_Scalar_Tag1Byte},
{0x0050000002000028, &upb_DecodeFast_Varint64_Scalar_Tag1Byte},
@ -1086,10 +1230,14 @@ static const google__protobuf__FeatureSetDefaults_msg_init_Fields google_protobu
const upb_MiniTable google__protobuf__FeatureSetDefaults_msg_init = {
&google_protobuf_FeatureSetDefaults__fields.fields[0],
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.FeatureSetDefaults",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x001800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -1110,10 +1258,20 @@ static const google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_
const upb_MiniTable google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init = {
&google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault__fields.fields[0],
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0,
UPB_SIZE(24, 32), 3, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0010000001010022, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x001800000202002a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
typedef struct {
@ -1130,10 +1288,14 @@ static const google__protobuf__SourceCodeInfo_msg_init_Fields google_protobuf_So
const upb_MiniTable google__protobuf__SourceCodeInfo_msg_init = {
&google_protobuf_SourceCodeInfo__fields.fields[0],
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(255), 0,
16, 1, kUpb_ExtMode_Extendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.SourceCodeInfo",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {
@ -1180,10 +1342,14 @@ static const google__protobuf__GeneratedCodeInfo_msg_init_Fields google_protobuf
const upb_MiniTable google__protobuf__GeneratedCodeInfo_msg_init = {
&google_protobuf_GeneratedCodeInfo__fields.fields[0],
16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0,
16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.GeneratedCodeInfo",
#endif
UPB_FASTTABLE_INIT({
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x000800003f00000a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
typedef struct {

View file

@ -64,7 +64,7 @@ static const google__protobuf__compiler__CodeGeneratorRequest_msg_init_Fields go
const upb_MiniTable google__protobuf__compiler__CodeGeneratorRequest_msg_init = {
&google_protobuf_compiler_CodeGeneratorRequest__fields.fields[0],
UPB_SIZE(40, 64), 5, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0,
UPB_SIZE(40, 64), 5, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.compiler.CodeGeneratorRequest",
#endif
@ -72,6 +72,34 @@ const upb_MiniTable google__protobuf__compiler__CodeGeneratorRequest_msg_init =
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x002000003f00000a, &upb_DecodeFast_Bytes_Repeated_Tag1Byte},
{0x0010000000000012, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x002800000102001a, &upb_DecodeFast_Message_Scalar_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x003000003f03007a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x003800003f04018a, &upb_DecodeFast_Message_Repeated_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};
@ -94,7 +122,7 @@ static const google__protobuf__compiler__CodeGeneratorResponse_msg_init_Fields g
const upb_MiniTable google__protobuf__compiler__CodeGeneratorResponse_msg_init = {
&google_protobuf_compiler_CodeGeneratorResponse__fields.fields[0],
UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0,
UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.compiler.CodeGeneratorResponse",
#endif
@ -107,6 +135,14 @@ const upb_MiniTable google__protobuf__compiler__CodeGeneratorResponse_msg_init =
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x003000003f04007a, &upb_DecodeFast_Message_Repeated_Tag1Byte},
})
};
@ -127,7 +163,7 @@ static const google__protobuf__compiler__CodeGeneratorResponse__File_msg_init_Fi
const upb_MiniTable google__protobuf__compiler__CodeGeneratorResponse__File_msg_init = {
&google_protobuf_compiler_CodeGeneratorResponse_File__fields.fields[0],
UPB_SIZE(40, 72), 4, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(120), 0,
UPB_SIZE(40, 72), 4, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(248), 0,
#ifdef UPB_TRACING_ENABLED
"google.protobuf.compiler.CodeGeneratorResponse.File",
#endif
@ -148,6 +184,22 @@ const upb_MiniTable google__protobuf__compiler__CodeGeneratorResponse__File_msg_
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x003000000200007a, &upb_DecodeFast_Bytes_Scalar_Tag1Byte},
{0x0040000003030182, &upb_DecodeFast_Message_Scalar_Tag2Byte},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
{0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
})
};