1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/config/core/v3/proxy_protocol.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/core/v3/proxy_protocol.upb.h" 14 #include "udpa/annotations/status.upb.h" 15 #include "validate/validate.upb.h" 16 17 // Must be last. 18 #include "upb/port/def.inc" 19 20 static const upb_MiniTableField envoy_config_core_v3_ProxyProtocolPassThroughTLVs__fields[2] = { 21 {1, 0, 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 22 {2, UPB_SIZE(4, 8), 0, kUpb_NoSub, 13, kUpb_FieldMode_Array | kUpb_LabelFlags_IsPacked | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 23 }; 24 25 const upb_MiniTable envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init = { 26 NULL, 27 &envoy_config_core_v3_ProxyProtocolPassThroughTLVs__fields[0], 28 UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 29 UPB_FASTTABLE_INIT({ 30 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 31 {0x000000003f000008, &upb_psv4_1bt}, 32 {0x000800003f000012, &upb_ppv4_1bt}, 33 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 34 }) 35 }; 36 37 static const upb_MiniTableSub envoy_config_core_v3_ProxyProtocolConfig_submsgs[1] = { 38 {.submsg = &envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init}, 39 }; 40 41 static const upb_MiniTableField envoy_config_core_v3_ProxyProtocolConfig__fields[2] = { 42 {1, 4, 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 43 {2, 8, 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 44 }; 45 46 const upb_MiniTable envoy_config_core_v3_ProxyProtocolConfig_msg_init = { 47 &envoy_config_core_v3_ProxyProtocolConfig_submsgs[0], 48 &envoy_config_core_v3_ProxyProtocolConfig__fields[0], 49 16, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 50 UPB_FASTTABLE_INIT({ 51 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 52 {0x000400003f000008, &upb_psv4_1bt}, 53 {0x0008000001000012, &upb_psm_1bt_max64b}, 54 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 55 }) 56 }; 57 58 static const upb_MiniTable *messages_layout[2] = { 59 &envoy_config_core_v3_ProxyProtocolPassThroughTLVs_msg_init, 60 &envoy_config_core_v3_ProxyProtocolConfig_msg_init, 61 }; 62 63 const upb_MiniTableFile envoy_config_core_v3_proxy_protocol_proto_upb_file_layout = { 64 messages_layout, 65 NULL, 66 NULL, 67 2, 68 0, 69 0, 70 }; 71 72 #include "upb/port/undef.inc" 73 74