1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * google/api/http.proto 5 * 6 * Do not edit -- your changes will be discarded when the file is 7 * regenerated. */ 8 9 #include <stddef.h> 10 #include "upb/collections/array_internal.h" 11 #include "upb/message/internal.h" 12 #include "upb/mini_table/enum_internal.h" 13 #include "google/api/http.upb.h" 14 15 // Must be last. 16 #include "upb/port/def.inc" 17 18 static const upb_MiniTableSub google_api_Http_submsgs[1] = { 19 {.submsg = &google_api_HttpRule_msg_init}, 20 }; 21 22 static const upb_MiniTableField google_api_Http__fields[2] = { 23 {1, UPB_SIZE(0, 8), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 24 {2, UPB_SIZE(4, 0), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 25 }; 26 27 const upb_MiniTable google_api_Http_msg_init = { 28 &google_api_Http_submsgs[0], 29 &google_api_Http__fields[0], 30 UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 31 UPB_FASTTABLE_INIT({ 32 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 33 {0x000800003f00000a, &upb_prm_1bt_max128b}, 34 {0x000000003f000010, &upb_psb1_1bt}, 35 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 36 }) 37 }; 38 39 static const upb_MiniTableSub google_api_HttpRule_submsgs[2] = { 40 {.submsg = &google_api_CustomHttpPattern_msg_init}, 41 {.submsg = &google_api_HttpRule_msg_init}, 42 }; 43 44 static const upb_MiniTableField google_api_HttpRule__fields[10] = { 45 {1, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 46 {2, 8, -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 47 {3, 8, -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 48 {4, 8, -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 49 {5, 8, -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 50 {6, 8, -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 51 {7, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 52 {8, 8, -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 53 {11, UPB_SIZE(4, 56), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 54 {12, UPB_SIZE(32, 64), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 55 }; 56 57 const upb_MiniTable google_api_HttpRule_msg_init = { 58 &google_api_HttpRule_submsgs[0], 59 &google_api_HttpRule__fields[0], 60 UPB_SIZE(40, 80), 10, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0, 61 UPB_FASTTABLE_INIT({ 62 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 63 {0x001800003f00000a, &upb_pss_1bt}, 64 {0x0008000002000012, &upb_pos_1bt}, 65 {0x000800000300001a, &upb_pos_1bt}, 66 {0x0008000004000022, &upb_pos_1bt}, 67 {0x000800000500002a, &upb_pos_1bt}, 68 {0x0008000006000032, &upb_pos_1bt}, 69 {0x002800003f00003a, &upb_pss_1bt}, 70 {0x0008000008000042, &upb_pom_1bt_max64b}, 71 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 72 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 73 {0x003800003f01005a, &upb_prm_1bt_max128b}, 74 {0x004000003f000062, &upb_pss_1bt}, 75 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 76 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 77 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 78 }) 79 }; 80 81 static const upb_MiniTableField google_api_CustomHttpPattern__fields[2] = { 82 {1, 0, 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 83 {2, UPB_SIZE(8, 16), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 84 }; 85 86 const upb_MiniTable google_api_CustomHttpPattern_msg_init = { 87 NULL, 88 &google_api_CustomHttpPattern__fields[0], 89 UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 90 UPB_FASTTABLE_INIT({ 91 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 92 {0x000000003f00000a, &upb_pss_1bt}, 93 {0x001000003f000012, &upb_pss_1bt}, 94 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 95 }) 96 }; 97 98 static const upb_MiniTable *messages_layout[3] = { 99 &google_api_Http_msg_init, 100 &google_api_HttpRule_msg_init, 101 &google_api_CustomHttpPattern_msg_init, 102 }; 103 104 const upb_MiniTableFile google_api_http_proto_upb_file_layout = { 105 messages_layout, 106 NULL, 107 NULL, 108 3, 109 0, 110 0, 111 }; 112 113 #include "upb/port/undef.inc" 114 115