1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     xds/core/v3/collection_entry.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 "xds/core/v3/collection_entry.upb.h"
14 #include "google/protobuf/any.upb.h"
15 #include "xds/annotations/v3/status.upb.h"
16 #include "xds/core/v3/resource_locator.upb.h"
17 #include "validate/validate.upb.h"
18 
19 // Must be last.
20 #include "upb/port/def.inc"
21 
22 static const upb_MiniTableSub xds_core_v3_CollectionEntry_submsgs[2] = {
23   {.submsg = &xds_core_v3_ResourceLocator_msg_init},
24   {.submsg = &xds_core_v3_CollectionEntry_InlineEntry_msg_init},
25 };
26 
27 static const upb_MiniTableField xds_core_v3_CollectionEntry__fields[2] = {
28   {1, UPB_SIZE(4, 8), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
29   {2, UPB_SIZE(4, 8), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
30 };
31 
32 const upb_MiniTable xds_core_v3_CollectionEntry_msg_init = {
33   &xds_core_v3_CollectionEntry_submsgs[0],
34   &xds_core_v3_CollectionEntry__fields[0],
35   UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
36   UPB_FASTTABLE_INIT({
37     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
38     {0x000800000100000a, &upb_pom_1bt_maxmaxb},
39     {0x0008000002010012, &upb_pom_1bt_max64b},
40     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
41   })
42 };
43 
44 static const upb_MiniTableSub xds_core_v3_CollectionEntry_InlineEntry_submsgs[1] = {
45   {.submsg = &google_protobuf_Any_msg_init},
46 };
47 
48 static const upb_MiniTableField xds_core_v3_CollectionEntry_InlineEntry__fields[3] = {
49   {1, 8, 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
50   {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
51   {3, UPB_SIZE(4, 40), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
52 };
53 
54 const upb_MiniTable xds_core_v3_CollectionEntry_InlineEntry_msg_init = {
55   &xds_core_v3_CollectionEntry_InlineEntry_submsgs[0],
56   &xds_core_v3_CollectionEntry_InlineEntry__fields[0],
57   UPB_SIZE(24, 48), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0,
58   UPB_FASTTABLE_INIT({
59     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
60     {0x000800003f00000a, &upb_pss_1bt},
61     {0x001800003f000012, &upb_pss_1bt},
62     {0x002800000100001a, &upb_psm_1bt_maxmaxb},
63   })
64 };
65 
66 static const upb_MiniTable *messages_layout[2] = {
67   &xds_core_v3_CollectionEntry_msg_init,
68   &xds_core_v3_CollectionEntry_InlineEntry_msg_init,
69 };
70 
71 const upb_MiniTableFile xds_core_v3_collection_entry_proto_upb_file_layout = {
72   messages_layout,
73   NULL,
74   NULL,
75   2,
76   0,
77   0,
78 };
79 
80 #include "upb/port/undef.inc"
81 
82