1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/service/load_stats/v3/lrs.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 "envoy/service/load_stats/v3/lrs.upb.h"
14 #include "envoy/config/core/v3/base.upb.h"
15 #include "envoy/config/endpoint/v3/load_report.upb.h"
16 #include "google/protobuf/duration.upb.h"
17 #include "udpa/annotations/status.upb.h"
18 #include "udpa/annotations/versioning.upb.h"
19 
20 // Must be last.
21 #include "upb/port/def.inc"
22 
23 static const upb_MiniTableSub envoy_service_load_stats_v3_LoadStatsRequest_submsgs[2] = {
24   {.submsg = &envoy_config_core_v3_Node_msg_init},
25   {.submsg = &envoy_config_endpoint_v3_ClusterStats_msg_init},
26 };
27 
28 static const upb_MiniTableField envoy_service_load_stats_v3_LoadStatsRequest__fields[2] = {
29   {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
30   {2, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
31 };
32 
33 const upb_MiniTable envoy_service_load_stats_v3_LoadStatsRequest_msg_init = {
34   &envoy_service_load_stats_v3_LoadStatsRequest_submsgs[0],
35   &envoy_service_load_stats_v3_LoadStatsRequest__fields[0],
36   UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
37   UPB_FASTTABLE_INIT({
38     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
39     {0x000800000100000a, &upb_psm_1bt_maxmaxb},
40     {0x001000003f010012, &upb_prm_1bt_maxmaxb},
41     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
42   })
43 };
44 
45 static const upb_MiniTableSub envoy_service_load_stats_v3_LoadStatsResponse_submsgs[1] = {
46   {.submsg = &google_protobuf_Duration_msg_init},
47 };
48 
49 static const upb_MiniTableField envoy_service_load_stats_v3_LoadStatsResponse__fields[4] = {
50   {1, UPB_SIZE(4, 8), 0, kUpb_NoSub, 9, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
51   {2, UPB_SIZE(8, 16), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
52   {3, UPB_SIZE(12, 1), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
53   {4, UPB_SIZE(13, 2), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
54 };
55 
56 const upb_MiniTable envoy_service_load_stats_v3_LoadStatsResponse_msg_init = {
57   &envoy_service_load_stats_v3_LoadStatsResponse_submsgs[0],
58   &envoy_service_load_stats_v3_LoadStatsResponse__fields[0],
59   UPB_SIZE(16, 24), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(56), 0,
60   UPB_FASTTABLE_INIT({
61     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
62     {0x000800003f00000a, &upb_prs_1bt},
63     {0x0010000001000012, &upb_psm_1bt_maxmaxb},
64     {0x000100003f000018, &upb_psb1_1bt},
65     {0x000200003f000020, &upb_psb1_1bt},
66     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
67     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
68     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
69   })
70 };
71 
72 static const upb_MiniTable *messages_layout[2] = {
73   &envoy_service_load_stats_v3_LoadStatsRequest_msg_init,
74   &envoy_service_load_stats_v3_LoadStatsResponse_msg_init,
75 };
76 
77 const upb_MiniTableFile envoy_service_load_stats_v3_lrs_proto_upb_file_layout = {
78   messages_layout,
79   NULL,
80   NULL,
81   2,
82   0,
83   0,
84 };
85 
86 #include "upb/port/undef.inc"
87 
88