1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.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/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h" 14 #include "envoy/config/core/v3/base.upb.h" 15 #include "udpa/annotations/status.upb.h" 16 #include "validate/validate.upb.h" 17 18 // Must be last. 19 #include "upb/port/def.inc" 20 21 static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_submsgs[1] = { 22 {.submsg = &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init}, 23 }; 24 25 static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig__fields[1] = { 26 {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 27 }; 28 29 const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init = { 30 &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_submsgs[0], 31 &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig__fields[0], 32 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 33 UPB_FASTTABLE_INIT({ 34 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 35 {0x000000003f00000a, &upb_prm_1bt_max64b}, 36 }) 37 }; 38 39 static const upb_MiniTableSub envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_submsgs[1] = { 40 {.submsg = &envoy_config_core_v3_DataSource_msg_init}, 41 }; 42 43 static const upb_MiniTableField envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain__fields[2] = { 44 {1, 8, 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 45 {2, UPB_SIZE(4, 24), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 46 }; 47 48 const upb_MiniTable envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init = { 49 &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_submsgs[0], 50 &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain__fields[0], 51 UPB_SIZE(16, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 52 UPB_FASTTABLE_INIT({ 53 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 54 {0x000800003f00000a, &upb_pss_1bt}, 55 {0x0018000001000012, &upb_psm_1bt_maxmaxb}, 56 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 57 }) 58 }; 59 60 static const upb_MiniTable *messages_layout[2] = { 61 &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_msg_init, 62 &envoy_extensions_transport_sockets_tls_v3_SPIFFECertValidatorConfig_TrustDomain_msg_init, 63 }; 64 65 const upb_MiniTableFile envoy_extensions_transport_sockets_tls_v3_tls_spiffe_validator_config_proto_upb_file_layout = { 66 messages_layout, 67 NULL, 68 NULL, 69 2, 70 0, 71 0, 72 }; 73 74 #include "upb/port/undef.inc" 75 76