• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     src/proto/grpc/lookup/v1/rls.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 "src/proto/grpc/lookup/v1/rls.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 grpc_lookup_v1_RouteLookupRequest__submsgs[1] = {
18   {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init_ptr},
19 };
20 
21 static const upb_MiniTableField grpc_lookup_v1_RouteLookupRequest__fields[4] = {
22   {3, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
23   {4, UPB_SIZE(8, 32), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
24   {5, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
25   {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
26 };
27 
28 const upb_MiniTable grpc__lookup__v1__RouteLookupRequest_msg_init = {
29   &grpc_lookup_v1_RouteLookupRequest__submsgs[0],
30   &grpc_lookup_v1_RouteLookupRequest__fields[0],
31   UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0,
32 #ifdef UPB_TRACING_ENABLED
33   "grpc.lookup.v1.RouteLookupRequest",
34 #endif
35   UPB_FASTTABLE_INIT({
36     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
37     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
38     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
39     {0x001000003f00001a, &upb_pss_1bt},
40     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
41     {0x000800003f000028, &upb_psv4_1bt},
42     {0x002800003f000032, &upb_pss_1bt},
43     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
44   })
45 };
46 
47 const upb_MiniTable* grpc__lookup__v1__RouteLookupRequest_msg_init_ptr = &grpc__lookup__v1__RouteLookupRequest_msg_init;
48 static const upb_MiniTableField grpc_lookup_v1_RouteLookupRequest_KeyMapEntry__fields[2] = {
49   {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
50   {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
51 };
52 
53 const upb_MiniTable grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init = {
54   NULL,
55   &grpc_lookup_v1_RouteLookupRequest_KeyMapEntry__fields[0],
56   48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
57 #ifdef UPB_TRACING_ENABLED
58   "grpc.lookup.v1.RouteLookupRequest.KeyMapEntry",
59 #endif
60   UPB_FASTTABLE_INIT({
61     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
62     {0x001000003f00000a, &upb_pss_1bt},
63     {0x002000003f000012, &upb_pss_1bt},
64     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
65   })
66 };
67 
68 const upb_MiniTable* grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init_ptr = &grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init;
69 static const upb_MiniTableField grpc_lookup_v1_RouteLookupResponse__fields[2] = {
70   {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
71   {3, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
72 };
73 
74 const upb_MiniTable grpc__lookup__v1__RouteLookupResponse_msg_init = {
75   NULL,
76   &grpc_lookup_v1_RouteLookupResponse__fields[0],
77   UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0,
78 #ifdef UPB_TRACING_ENABLED
79   "grpc.lookup.v1.RouteLookupResponse",
80 #endif
81   UPB_FASTTABLE_INIT({
82     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
83     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
84     {0x000800003f000012, &upb_pss_1bt},
85     {0x001800003f00001a, &upb_prs_1bt},
86   })
87 };
88 
89 const upb_MiniTable* grpc__lookup__v1__RouteLookupResponse_msg_init_ptr = &grpc__lookup__v1__RouteLookupResponse_msg_init;
90 static const upb_MiniTable *messages_layout[3] = {
91   &grpc__lookup__v1__RouteLookupRequest_msg_init,
92   &grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init,
93   &grpc__lookup__v1__RouteLookupResponse_msg_init,
94 };
95 
96 const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_proto_upb_file_layout = {
97   messages_layout,
98   NULL,
99   NULL,
100   3,
101   0,
102   0,
103 };
104 
105 #include "upb/port/undef.inc"
106 
107