1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     xds/core/v3/resource.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/resource.upb.h"
14 #include "google/protobuf/any.upb.h"
15 #include "xds/annotations/v3/status.upb.h"
16 #include "xds/core/v3/resource_name.upb.h"
17 
18 // Must be last.
19 #include "upb/port/def.inc"
20 
21 static const upb_MiniTableSub xds_core_v3_Resource_submsgs[2] = {
22   {.submsg = &xds_core_v3_ResourceName_msg_init},
23   {.submsg = &google_protobuf_Any_msg_init},
24 };
25 
26 static const upb_MiniTableField xds_core_v3_Resource__fields[3] = {
27   {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
28   {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
29   {3, UPB_SIZE(8, 32), 2, 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_Resource_msg_init = {
33   &xds_core_v3_Resource_submsgs[0],
34   &xds_core_v3_Resource__fields[0],
35   UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0,
36   UPB_FASTTABLE_INIT({
37     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
38     {0x000800000100000a, &upb_psm_1bt_maxmaxb},
39     {0x001000003f000012, &upb_pss_1bt},
40     {0x002000000201001a, &upb_psm_1bt_maxmaxb},
41   })
42 };
43 
44 static const upb_MiniTable *messages_layout[1] = {
45   &xds_core_v3_Resource_msg_init,
46 };
47 
48 const upb_MiniTableFile xds_core_v3_resource_proto_upb_file_layout = {
49   messages_layout,
50   NULL,
51   NULL,
52   1,
53   0,
54   0,
55 };
56 
57 #include "upb/port/undef.inc"
58 
59