| /* This file was generated by upbc (the upb compiler) from the input |
| * file: |
| * |
| * envoy/config/trace/v3/opencensus.proto |
| * |
| * Do not edit -- your changes will be discarded when the file is |
| * regenerated. */ |
| |
| #include <stddef.h> |
| #include "upb/collections/array_internal.h" |
| #include "upb/message/internal.h" |
| #include "upb/mini_table/enum_internal.h" |
| #include "envoy/config/trace/v3/opencensus.upb.h" |
| #include "envoy/config/core/v3/grpc_service.upb.h" |
| #include "opencensus/proto/trace/v1/trace_config.upb.h" |
| #include "envoy/annotations/deprecation.upb.h" |
| #include "udpa/annotations/migrate.upb.h" |
| #include "udpa/annotations/status.upb.h" |
| #include "udpa/annotations/versioning.upb.h" |
| |
| // Must be last. |
| #include "upb/port/def.inc" |
| |
| static const upb_MiniTableSub envoy_config_trace_v3_OpenCensusConfig_submsgs[3] = { |
| {.submsg = &opencensus_proto_trace_v1_TraceConfig_msg_init}, |
| {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, |
| {.submsg = &envoy_config_core_v3_GrpcService_msg_init}, |
| }; |
| |
| static const upb_MiniTableField envoy_config_trace_v3_OpenCensusConfig__fields[13] = { |
| {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, |
| {2, UPB_SIZE(8, 1), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| {3, UPB_SIZE(9, 2), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| {4, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| {5, UPB_SIZE(10, 3), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| {6, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| {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)}, |
| {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)}, |
| {10, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| {11, UPB_SIZE(20, 4), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| {12, UPB_SIZE(56, 80), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| {13, UPB_SIZE(24, 96), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, |
| {14, UPB_SIZE(28, 104), 3, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, |
| }; |
| |
| const upb_MiniTable envoy_config_trace_v3_OpenCensusConfig_msg_init = { |
| &envoy_config_trace_v3_OpenCensusConfig_submsgs[0], |
| &envoy_config_trace_v3_OpenCensusConfig__fields[0], |
| UPB_SIZE(64, 112), 13, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(120), 0, |
| UPB_FASTTABLE_INIT({ |
| {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, |
| {0x000800000100000a, &upb_psm_1bt_maxmaxb}, |
| {0x000100003f000010, &upb_psb1_1bt}, |
| {0x000200003f000018, &upb_psb1_1bt}, |
| {0x001000003f000022, &upb_pss_1bt}, |
| {0x000300003f000028, &upb_psb1_1bt}, |
| {0x002000003f000032, &upb_pss_1bt}, |
| {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, |
| {0x003000003f000042, &upb_ppv4_1bt}, |
| {0x003800003f00004a, &upb_ppv4_1bt}, |
| {0x004000003f000052, &upb_pss_1bt}, |
| {0x000400003f000058, &upb_psb1_1bt}, |
| {0x005000003f000062, &upb_pss_1bt}, |
| {0x006000000201006a, &upb_psm_1bt_maxmaxb}, |
| {0x0068000003020072, &upb_psm_1bt_maxmaxb}, |
| {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, |
| }) |
| }; |
| |
| static const upb_MiniTable *messages_layout[1] = { |
| &envoy_config_trace_v3_OpenCensusConfig_msg_init, |
| }; |
| |
| const upb_MiniTableFile envoy_config_trace_v3_opencensus_proto_upb_file_layout = { |
| messages_layout, |
| NULL, |
| NULL, |
| 1, |
| 0, |
| 0, |
| }; |
| |
| #include "upb/port/undef.inc" |
| |