• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  * NO CHECKED-IN PROTOBUF GENCODE */
8 
9 #include <stddef.h>
10 #include "upb/generated_code_support.h"
11 #include "google/api/http.upb_minitable.h"
12 
13 // Must be last.
14 #include "upb/port/def.inc"
15 
16 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken);
17 static const upb_MiniTableSubInternal google_api_Http__submsgs[1] = {
18   {.UPB_PRIVATE(submsg) = &google__api__HttpRule_msg_init_ptr},
19 };
20 
21 static const upb_MiniTableField google_api_Http__fields[2] = {
22   {1, UPB_SIZE(8, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
23   {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
24 };
25 
26 const upb_MiniTable google__api__Http_msg_init = {
27   &google_api_Http__submsgs[0],
28   &google_api_Http__fields[0],
29   UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
30 #ifdef UPB_TRACING_ENABLED
31   "google.api.Http",
32 #endif
33   UPB_FASTTABLE_INIT({
34     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
35     {0x001000003f00000a, &upb_prm_1bt_max128b},
36     {0x000800003f000010, &upb_psb1_1bt},
37     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
38   })
39 };
40 
41 const upb_MiniTable* google__api__Http_msg_init_ptr = &google__api__Http_msg_init;
42 static const upb_MiniTableSubInternal google_api_HttpRule__submsgs[2] = {
43   {.UPB_PRIVATE(submsg) = &google__api__CustomHttpPattern_msg_init_ptr},
44   {.UPB_PRIVATE(submsg) = &google__api__HttpRule_msg_init_ptr},
45 };
46 
47 static const upb_MiniTableField google_api_HttpRule__fields[10] = {
48   {1, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
49   {2, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
50   {3, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
51   {4, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
52   {5, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
53   {6, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
54   {7, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
55   {8, 16, -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
56   {11, UPB_SIZE(12, 64), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
57   {12, UPB_SIZE(40, 72), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
58 };
59 
60 const upb_MiniTable google__api__HttpRule_msg_init = {
61   &google_api_HttpRule__submsgs[0],
62   &google_api_HttpRule__fields[0],
63   UPB_SIZE(48, 88), 10, kUpb_ExtMode_NonExtendable, 8, UPB_FASTTABLE_MASK(120), 0,
64 #ifdef UPB_TRACING_ENABLED
65   "google.api.HttpRule",
66 #endif
67   UPB_FASTTABLE_INIT({
68     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
69     {0x002000003f00000a, &upb_pss_1bt},
70     {0x0010000802000012, &upb_pos_1bt},
71     {0x001000080300001a, &upb_pos_1bt},
72     {0x0010000804000022, &upb_pos_1bt},
73     {0x001000080500002a, &upb_pos_1bt},
74     {0x0010000806000032, &upb_pos_1bt},
75     {0x003000003f00003a, &upb_pss_1bt},
76     {0x0010000808000042, &upb_pom_1bt_max64b},
77     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
78     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
79     {0x004000003f01005a, &upb_prm_1bt_max128b},
80     {0x004800003f000062, &upb_pss_1bt},
81     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
82     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
83     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
84   })
85 };
86 
87 const upb_MiniTable* google__api__HttpRule_msg_init_ptr = &google__api__HttpRule_msg_init;
88 static const upb_MiniTableField google_api_CustomHttpPattern__fields[2] = {
89   {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
90   {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
91 };
92 
93 const upb_MiniTable google__api__CustomHttpPattern_msg_init = {
94   NULL,
95   &google_api_CustomHttpPattern__fields[0],
96   UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
97 #ifdef UPB_TRACING_ENABLED
98   "google.api.CustomHttpPattern",
99 #endif
100   UPB_FASTTABLE_INIT({
101     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
102     {0x000800003f00000a, &upb_pss_1bt},
103     {0x001800003f000012, &upb_pss_1bt},
104     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
105   })
106 };
107 
108 const upb_MiniTable* google__api__CustomHttpPattern_msg_init_ptr = &google__api__CustomHttpPattern_msg_init;
109 static const upb_MiniTable *messages_layout[3] = {
110   &google__api__Http_msg_init,
111   &google__api__HttpRule_msg_init,
112   &google__api__CustomHttpPattern_msg_init,
113 };
114 
115 const upb_MiniTableFile google_api_http_proto_upb_file_layout = {
116   messages_layout,
117   NULL,
118   NULL,
119   3,
120   0,
121   0,
122 };
123 
124 #include "upb/port/undef.inc"
125 
126