1 /* This file was generated by upb_generator from the input file: 2 * 3 * envoy/config/core/v3/address.proto 4 * 5 * Do not edit -- your changes will be discarded when the file is 6 * regenerated. */ 7 8 #include <stddef.h> 9 #include "upb/generated_code_support.h" 10 #include "envoy/config/core/v3/address.upb_minitable.h" 11 #include "envoy/config/core/v3/extension.upb_minitable.h" 12 #include "envoy/config/core/v3/socket_option.upb_minitable.h" 13 #include "google/protobuf/wrappers.upb_minitable.h" 14 #include "envoy/annotations/deprecation.upb_minitable.h" 15 #include "udpa/annotations/status.upb_minitable.h" 16 #include "udpa/annotations/versioning.upb_minitable.h" 17 #include "validate/validate.upb_minitable.h" 18 19 // Must be last. 20 #include "upb/port/def.inc" 21 22 static const upb_MiniTableField envoy_config_core_v3_Pipe__fields[2] = { 23 {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 24 {2, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 25 }; 26 27 const upb_MiniTable envoy__config__core__v3__Pipe_msg_init = { 28 NULL, 29 &envoy_config_core_v3_Pipe__fields[0], 30 UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 31 UPB_FASTTABLE_INIT({ 32 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 33 {0x001000003f00000a, &upb_pss_1bt}, 34 {0x000800003f000010, &upb_psv4_1bt}, 35 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 36 }) 37 }; 38 39 static const upb_MiniTableField envoy_config_core_v3_EnvoyInternalAddress__fields[2] = { 40 {1, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 41 {2, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 42 }; 43 44 const upb_MiniTable envoy__config__core__v3__EnvoyInternalAddress_msg_init = { 45 NULL, 46 &envoy_config_core_v3_EnvoyInternalAddress__fields[0], 47 UPB_SIZE(32, 48), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 48 UPB_FASTTABLE_INIT({ 49 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 50 {0x001000080100000a, &upb_pos_1bt}, 51 {0x002000003f000012, &upb_pss_1bt}, 52 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 53 }) 54 }; 55 56 static const upb_MiniTableField envoy_config_core_v3_SocketAddress__fields[6] = { 57 {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 58 {2, UPB_SIZE(28, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 59 {3, UPB_SIZE(20, 24), -13, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 60 {4, UPB_SIZE(20, 24), -13, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 61 {5, UPB_SIZE(36, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 62 {6, 16, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 63 }; 64 65 const upb_MiniTable envoy__config__core__v3__SocketAddress_msg_init = { 66 NULL, 67 &envoy_config_core_v3_SocketAddress__fields[0], 68 UPB_SIZE(48, 72), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, 69 UPB_FASTTABLE_INIT({ 70 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 71 {0x000800003f000008, &upb_psv4_1bt}, 72 {0x002800003f000012, &upb_pss_1bt}, 73 {0x0018000c03000018, &upb_pov4_1bt}, 74 {0x0018000c04000022, &upb_pos_1bt}, 75 {0x003800003f00002a, &upb_pss_1bt}, 76 {0x001000003f000030, &upb_psb1_1bt}, 77 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 78 }) 79 }; 80 81 static const upb_MiniTableSub envoy_config_core_v3_TcpKeepalive_submsgs[3] = { 82 {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init}, 83 {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init}, 84 {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init}, 85 }; 86 87 static const upb_MiniTableField envoy_config_core_v3_TcpKeepalive__fields[3] = { 88 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 89 {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 90 {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 91 }; 92 93 const upb_MiniTable envoy__config__core__v3__TcpKeepalive_msg_init = { 94 &envoy_config_core_v3_TcpKeepalive_submsgs[0], 95 &envoy_config_core_v3_TcpKeepalive__fields[0], 96 UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(255), 0, 97 }; 98 99 static const upb_MiniTableSub envoy_config_core_v3_ExtraSourceAddress_submsgs[2] = { 100 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__SocketAddress_msg_init}, 101 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__SocketOptionsOverride_msg_init}, 102 }; 103 104 static const upb_MiniTableField envoy_config_core_v3_ExtraSourceAddress__fields[2] = { 105 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 106 {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 107 }; 108 109 const upb_MiniTable envoy__config__core__v3__ExtraSourceAddress_msg_init = { 110 &envoy_config_core_v3_ExtraSourceAddress_submsgs[0], 111 &envoy_config_core_v3_ExtraSourceAddress__fields[0], 112 UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(255), 0, 113 }; 114 115 static const upb_MiniTableSub envoy_config_core_v3_BindConfig_submsgs[6] = { 116 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__SocketAddress_msg_init}, 117 {.UPB_PRIVATE(submsg) = &google__protobuf__BoolValue_msg_init}, 118 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__SocketOption_msg_init}, 119 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__SocketAddress_msg_init}, 120 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__ExtraSourceAddress_msg_init}, 121 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__TypedExtensionConfig_msg_init}, 122 }; 123 124 static const upb_MiniTableField envoy_config_core_v3_BindConfig__fields[6] = { 125 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 126 {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 127 {3, UPB_SIZE(20, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 128 {4, UPB_SIZE(24, 40), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 129 {5, UPB_SIZE(28, 48), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 130 {6, UPB_SIZE(32, 56), 66, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 131 }; 132 133 const upb_MiniTable envoy__config__core__v3__BindConfig_msg_init = { 134 &envoy_config_core_v3_BindConfig_submsgs[0], 135 &envoy_config_core_v3_BindConfig__fields[0], 136 UPB_SIZE(40, 64), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, 137 UPB_FASTTABLE_INIT({ 138 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 139 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 140 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 141 {0x002000003f02001a, &upb_prm_1bt_maxmaxb}, 142 {0x002800003f030022, &upb_prm_1bt_max128b}, 143 {0x003000003f04002a, &upb_prm_1bt_max64b}, 144 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 145 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 146 }) 147 }; 148 149 static const upb_MiniTableSub envoy_config_core_v3_Address_submsgs[3] = { 150 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__SocketAddress_msg_init}, 151 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__Pipe_msg_init}, 152 {.UPB_PRIVATE(submsg) = &envoy__config__core__v3__EnvoyInternalAddress_msg_init}, 153 }; 154 155 static const upb_MiniTableField envoy_config_core_v3_Address__fields[3] = { 156 {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 157 {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 158 {3, UPB_SIZE(12, 16), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 159 }; 160 161 const upb_MiniTable envoy__config__core__v3__Address_msg_init = { 162 &envoy_config_core_v3_Address_submsgs[0], 163 &envoy_config_core_v3_Address__fields[0], 164 UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, 165 UPB_FASTTABLE_INIT({ 166 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 167 {0x001000080100000a, &upb_pom_1bt_max128b}, 168 {0x0010000802010012, &upb_pom_1bt_max64b}, 169 {0x001000080302001a, &upb_pom_1bt_max64b}, 170 }) 171 }; 172 173 static const upb_MiniTableSub envoy_config_core_v3_CidrRange_submsgs[1] = { 174 {.UPB_PRIVATE(submsg) = &google__protobuf__UInt32Value_msg_init}, 175 }; 176 177 static const upb_MiniTableField envoy_config_core_v3_CidrRange__fields[2] = { 178 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 179 {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 180 }; 181 182 const upb_MiniTable envoy__config__core__v3__CidrRange_msg_init = { 183 &envoy_config_core_v3_CidrRange_submsgs[0], 184 &envoy_config_core_v3_CidrRange__fields[0], 185 UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0, 186 UPB_FASTTABLE_INIT({ 187 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 188 {0x001000003f00000a, &upb_pss_1bt}, 189 }) 190 }; 191 192 static const upb_MiniTable *messages_layout[8] = { 193 &envoy__config__core__v3__Pipe_msg_init, 194 &envoy__config__core__v3__EnvoyInternalAddress_msg_init, 195 &envoy__config__core__v3__SocketAddress_msg_init, 196 &envoy__config__core__v3__TcpKeepalive_msg_init, 197 &envoy__config__core__v3__ExtraSourceAddress_msg_init, 198 &envoy__config__core__v3__BindConfig_msg_init, 199 &envoy__config__core__v3__Address_msg_init, 200 &envoy__config__core__v3__CidrRange_msg_init, 201 }; 202 203 const upb_MiniTableFile envoy_config_core_v3_address_proto_upb_file_layout = { 204 messages_layout, 205 NULL, 206 NULL, 207 8, 208 0, 209 0, 210 }; 211 212 #include "upb/port/undef.inc" 213 214