xref: /aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/google/api/http.upb_minitable.c (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     google/api/http.proto
4  *
5  * Do not edit -- your changes will be discarded when the file is
6  * regenerated. */
7 
8 #include <stddef.h>
9 #include "upb/generated_code_support.h"
10 #include "google/api/http.upb_minitable.h"
11 
12 // Must be last.
13 #include "upb/port/def.inc"
14 
15 static const upb_MiniTableSub google_api_Http_submsgs[1] = {
16   {.UPB_PRIVATE(submsg) = &google__api__HttpRule_msg_init},
17 };
18 
19 static const upb_MiniTableField google_api_Http__fields[2] = {
20   {1, UPB_SIZE(8, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
21   {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
22 };
23 
24 const upb_MiniTable google__api__Http_msg_init = {
25   &google_api_Http_submsgs[0],
26   &google_api_Http__fields[0],
27   UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
28   UPB_FASTTABLE_INIT({
29     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
30     {0x001000003f00000a, &upb_prm_1bt_max128b},
31     {0x000800003f000010, &upb_psb1_1bt},
32     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
33   })
34 };
35 
36 static const upb_MiniTableSub google_api_HttpRule_submsgs[2] = {
37   {.UPB_PRIVATE(submsg) = &google__api__CustomHttpPattern_msg_init},
38   {.UPB_PRIVATE(submsg) = &google__api__HttpRule_msg_init},
39 };
40 
41 static const upb_MiniTableField google_api_HttpRule__fields[10] = {
42   {1, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
43   {2, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
44   {3, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
45   {4, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
46   {5, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
47   {6, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
48   {7, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
49   {8, 16, -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
50   {11, UPB_SIZE(12, 64), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
51   {12, UPB_SIZE(40, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
52 };
53 
54 const upb_MiniTable google__api__HttpRule_msg_init = {
55   &google_api_HttpRule_submsgs[0],
56   &google_api_HttpRule__fields[0],
57   UPB_SIZE(48, 88), 10, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0,
58   UPB_FASTTABLE_INIT({
59     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
60     {0x002000003f00000a, &upb_pss_1bt},
61     {0x0010000802000012, &upb_pos_1bt},
62     {0x001000080300001a, &upb_pos_1bt},
63     {0x0010000804000022, &upb_pos_1bt},
64     {0x001000080500002a, &upb_pos_1bt},
65     {0x0010000806000032, &upb_pos_1bt},
66     {0x003000003f00003a, &upb_pss_1bt},
67     {0x0010000808000042, &upb_pom_1bt_max64b},
68     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
69     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
70     {0x004000003f01005a, &upb_prm_1bt_max128b},
71     {0x004800003f000062, &upb_pss_1bt},
72     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
73     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
74     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
75   })
76 };
77 
78 static const upb_MiniTableField google_api_CustomHttpPattern__fields[2] = {
79   {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
80   {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
81 };
82 
83 const upb_MiniTable google__api__CustomHttpPattern_msg_init = {
84   NULL,
85   &google_api_CustomHttpPattern__fields[0],
86   UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
87   UPB_FASTTABLE_INIT({
88     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
89     {0x000800003f00000a, &upb_pss_1bt},
90     {0x001800003f000012, &upb_pss_1bt},
91     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
92   })
93 };
94 
95 static const upb_MiniTable *messages_layout[3] = {
96   &google__api__Http_msg_init,
97   &google__api__HttpRule_msg_init,
98   &google__api__CustomHttpPattern_msg_init,
99 };
100 
101 const upb_MiniTableFile google_api_http_proto_upb_file_layout = {
102   messages_layout,
103   NULL,
104   NULL,
105   3,
106   0,
107   0,
108 };
109 
110 #include "upb/port/undef.inc"
111 
112