1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/config/trace/v3/opencensus.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/config/trace/v3/opencensus.upb.h"
14 #include "envoy/config/core/v3/grpc_service.upb.h"
15 #include "opencensus/proto/trace/v1/trace_config.upb.h"
16 #include "envoy/annotations/deprecation.upb.h"
17 #include "udpa/annotations/migrate.upb.h"
18 #include "udpa/annotations/status.upb.h"
19 #include "udpa/annotations/versioning.upb.h"
20 
21 // Must be last.
22 #include "upb/port/def.inc"
23 
24 static const upb_MiniTableSub envoy_config_trace_v3_OpenCensusConfig_submsgs[3] = {
25   {.submsg = &opencensus_proto_trace_v1_TraceConfig_msg_init},
26   {.submsg = &envoy_config_core_v3_GrpcService_msg_init},
27   {.submsg = &envoy_config_core_v3_GrpcService_msg_init},
28 };
29 
30 static const upb_MiniTableField envoy_config_trace_v3_OpenCensusConfig__fields[13] = {
31   {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
32   {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
33   {3, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
34   {4, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
35   {5, UPB_SIZE(10, 3), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
36   {6, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
37   {8, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, kUpb_FieldMode_Array | kUpb_LabelFlags_IsPacked | kUpb_LabelFlags_IsAlternate | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
38   {9, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, kUpb_FieldMode_Array | kUpb_LabelFlags_IsPacked | kUpb_LabelFlags_IsAlternate | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
39   {10, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
40   {11, UPB_SIZE(20, 4), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)},
41   {12, UPB_SIZE(56, 80), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
42   {13, UPB_SIZE(24, 96), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
43   {14, UPB_SIZE(28, 104), 3, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
44 };
45 
46 const upb_MiniTable envoy_config_trace_v3_OpenCensusConfig_msg_init = {
47   &envoy_config_trace_v3_OpenCensusConfig_submsgs[0],
48   &envoy_config_trace_v3_OpenCensusConfig__fields[0],
49   UPB_SIZE(64, 112), 13, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(120), 0,
50   UPB_FASTTABLE_INIT({
51     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
52     {0x000800000100000a, &upb_psm_1bt_maxmaxb},
53     {0x000100003f000010, &upb_psb1_1bt},
54     {0x000200003f000018, &upb_psb1_1bt},
55     {0x001000003f000022, &upb_pss_1bt},
56     {0x000300003f000028, &upb_psb1_1bt},
57     {0x002000003f000032, &upb_pss_1bt},
58     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
59     {0x003000003f000042, &upb_ppv4_1bt},
60     {0x003800003f00004a, &upb_ppv4_1bt},
61     {0x004000003f000052, &upb_pss_1bt},
62     {0x000400003f000058, &upb_psb1_1bt},
63     {0x005000003f000062, &upb_pss_1bt},
64     {0x006000000201006a, &upb_psm_1bt_maxmaxb},
65     {0x0068000003020072, &upb_psm_1bt_maxmaxb},
66     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
67   })
68 };
69 
70 static const upb_MiniTable *messages_layout[1] = {
71   &envoy_config_trace_v3_OpenCensusConfig_msg_init,
72 };
73 
74 const upb_MiniTableFile envoy_config_trace_v3_opencensus_proto_upb_file_layout = {
75   messages_layout,
76   NULL,
77   NULL,
78   1,
79   0,
80   0,
81 };
82 
83 #include "upb/port/undef.inc"
84 
85