| /* This file was generated by upbc (the upb compiler) from the input |
| * file: |
| * |
| * xds/core/v3/resource_locator.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 "xds/core/v3/resource_locator.upb.h" |
| #include "xds/annotations/v3/status.upb.h" |
| #include "xds/core/v3/context_params.upb.h" |
| #include "validate/validate.upb.h" |
| |
| // Must be last. |
| #include "upb/port/def.inc" |
| |
| static const upb_MiniTableSub xds_core_v3_ResourceLocator_submsgs[2] = { |
| {.submsg = &xds_core_v3_ContextParams_msg_init}, |
| {.submsg = &xds_core_v3_ResourceLocator_Directive_msg_init}, |
| }; |
| |
| static const upb_MiniTableField xds_core_v3_ResourceLocator__fields[6] = { |
| {1, 0, 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| {2, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| {3, 24, 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| {4, UPB_SIZE(32, 40), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| {5, UPB_SIZE(12, 64), -5, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, |
| {6, UPB_SIZE(8, 56), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, |
| }; |
| |
| const upb_MiniTable xds_core_v3_ResourceLocator_msg_init = { |
| &xds_core_v3_ResourceLocator_submsgs[0], |
| &xds_core_v3_ResourceLocator__fields[0], |
| UPB_SIZE(40, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, |
| UPB_FASTTABLE_INIT({ |
| {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, |
| {0x000000003f000008, &upb_psv4_1bt}, |
| {0x000800003f000012, &upb_pss_1bt}, |
| {0x001800003f00001a, &upb_pss_1bt}, |
| {0x002800003f000022, &upb_pss_1bt}, |
| {0x004000040500002a, &upb_pom_1bt_maxmaxb}, |
| {0x003800003f010032, &upb_prm_1bt_max64b}, |
| {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, |
| }) |
| }; |
| |
| static const upb_MiniTableSub xds_core_v3_ResourceLocator_Directive_submsgs[1] = { |
| {.submsg = &xds_core_v3_ResourceLocator_msg_init}, |
| }; |
| |
| static const upb_MiniTableField xds_core_v3_ResourceLocator_Directive__fields[2] = { |
| {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(4, 8), -1, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| }; |
| |
| const upb_MiniTable xds_core_v3_ResourceLocator_Directive_msg_init = { |
| &xds_core_v3_ResourceLocator_Directive_submsgs[0], |
| &xds_core_v3_ResourceLocator_Directive__fields[0], |
| UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, |
| UPB_FASTTABLE_INIT({ |
| {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, |
| {0x000800000100000a, &upb_pom_1bt_max128b}, |
| {0x0008000002000012, &upb_pos_1bt}, |
| {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, |
| }) |
| }; |
| |
| static const upb_MiniTable *messages_layout[2] = { |
| &xds_core_v3_ResourceLocator_msg_init, |
| &xds_core_v3_ResourceLocator_Directive_msg_init, |
| }; |
| |
| const upb_MiniTableFile xds_core_v3_resource_locator_proto_upb_file_layout = { |
| messages_layout, |
| NULL, |
| NULL, |
| 2, |
| 0, |
| 0, |
| }; |
| |
| #include "upb/port/undef.inc" |
| |