1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/extensions/transport_sockets/tls/v3/secret.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/msg.h" 11 #include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h" 12 #include "envoy/config/core/v3/base.upb.h" 13 #include "envoy/config/core/v3/config_source.upb.h" 14 #include "envoy/extensions/transport_sockets/tls/v3/common.upb.h" 15 #include "udpa/core/v1/resource_locator.upb.h" 16 #include "udpa/annotations/migrate.upb.h" 17 #include "udpa/annotations/sensitive.upb.h" 18 #include "udpa/annotations/status.upb.h" 19 #include "udpa/annotations/versioning.upb.h" 20 21 #include "upb/port_def.inc" 22 23 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_GenericSecret_submsgs[1] = { 24 &envoy_config_core_v3_DataSource_msginit, 25 }; 26 27 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_GenericSecret__fields[1] = { 28 {1, UPB_SIZE(4, 8), 1, 0, 11, 1}, 29 }; 30 31 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_GenericSecret_msginit = { 32 &envoy_extensions_transport_sockets_tls_v3_GenericSecret_submsgs[0], 33 &envoy_extensions_transport_sockets_tls_v3_GenericSecret__fields[0], 34 UPB_SIZE(8, 16), 1, false, 255, 35 }; 36 37 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_submsgs[2] = { 38 &envoy_config_core_v3_ConfigSource_msginit, 39 &udpa_core_v1_ResourceLocator_msginit, 40 }; 41 42 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig__fields[3] = { 43 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 44 {2, UPB_SIZE(12, 24), 1, 0, 11, 1}, 45 {3, UPB_SIZE(16, 32), 2, 1, 11, 1}, 46 }; 47 48 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msginit = { 49 &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_submsgs[0], 50 &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig__fields[0], 51 UPB_SIZE(24, 48), 3, false, 255, 52 }; 53 54 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_Secret_submsgs[4] = { 55 &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msginit, 56 &envoy_extensions_transport_sockets_tls_v3_GenericSecret_msginit, 57 &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msginit, 58 &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msginit, 59 }; 60 61 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_Secret__fields[5] = { 62 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 63 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 2, 11, 1}, 64 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 3, 11, 1}, 65 {4, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 66 {5, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1}, 67 }; 68 69 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_Secret_msginit = { 70 &envoy_extensions_transport_sockets_tls_v3_Secret_submsgs[0], 71 &envoy_extensions_transport_sockets_tls_v3_Secret__fields[0], 72 UPB_SIZE(16, 32), 5, false, 255, 73 }; 74 75 #include "upb/port_undef.inc" 76 77