• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/extensions/transport_sockets/tls/v3/tls.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/tls.upb.h"
12 #include "envoy/config/core/v3/extension.upb.h"
13 #include "envoy/extensions/transport_sockets/tls/v3/common.upb.h"
14 #include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h"
15 #include "google/protobuf/any.upb.h"
16 #include "google/protobuf/duration.upb.h"
17 #include "google/protobuf/wrappers.upb.h"
18 #include "udpa/annotations/migrate.upb.h"
19 #include "udpa/annotations/status.upb.h"
20 #include "udpa/annotations/versioning.upb.h"
21 #include "validate/validate.upb.h"
22 
23 #include "upb/port_def.inc"
24 
25 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_submsgs[2] = {
26   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msginit,
27   &google_protobuf_UInt32Value_msginit,
28 };
29 
30 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext__fields[4] = {
31   {1, UPB_SIZE(12, 24), 1, 0, 11, 1},
32   {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
33   {3, UPB_SIZE(1, 1), 0, 0, 8, 1},
34   {4, UPB_SIZE(16, 32), 2, 1, 11, 1},
35 };
36 
37 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_msginit = {
38   &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext_submsgs[0],
39   &envoy_extensions_transport_sockets_tls_v3_UpstreamTlsContext__fields[0],
40   UPB_SIZE(24, 48), 4, false, 255,
41 };
42 
43 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_submsgs[5] = {
44   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msginit,
45   &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msginit,
46   &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msginit,
47   &google_protobuf_BoolValue_msginit,
48   &google_protobuf_Duration_msginit,
49 };
50 
51 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext__fields[8] = {
52   {1, UPB_SIZE(8, 8), 1, 0, 11, 1},
53   {2, UPB_SIZE(12, 16), 2, 3, 11, 1},
54   {3, UPB_SIZE(16, 24), 3, 3, 11, 1},
55   {4, UPB_SIZE(24, 40), UPB_SIZE(-29, -49), 2, 11, 1},
56   {5, UPB_SIZE(24, 40), UPB_SIZE(-29, -49), 1, 11, 1},
57   {6, UPB_SIZE(20, 32), 4, 4, 11, 1},
58   {7, UPB_SIZE(24, 40), UPB_SIZE(-29, -49), 0, 8, 1},
59   {8, UPB_SIZE(4, 4), 0, 0, 14, 1},
60 };
61 
62 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_msginit = {
63   &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext_submsgs[0],
64   &envoy_extensions_transport_sockets_tls_v3_DownstreamTlsContext__fields[0],
65   UPB_SIZE(32, 56), 8, false, 255,
66 };
67 
68 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_submsgs[8] = {
69   &envoy_config_core_v3_TypedExtensionConfig_msginit,
70   &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msginit,
71   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msginit,
72   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msginit,
73   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msginit,
74   &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msginit,
75   &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msginit,
76   &envoy_extensions_transport_sockets_tls_v3_TlsParameters_msginit,
77 };
78 
79 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_CommonTlsContext__fields[12] = {
80   {1, UPB_SIZE(4, 8), 1, 7, 11, 1},
81   {2, UPB_SIZE(20, 40), 0, 6, 11, 3},
82   {3, UPB_SIZE(32, 64), UPB_SIZE(-37, -73), 1, 11, 1},
83   {4, UPB_SIZE(24, 48), 0, 0, 9, 3},
84   {6, UPB_SIZE(28, 56), 0, 5, 11, 3},
85   {7, UPB_SIZE(32, 64), UPB_SIZE(-37, -73), 5, 11, 1},
86   {8, UPB_SIZE(32, 64), UPB_SIZE(-37, -73), 4, 11, 1},
87   {9, UPB_SIZE(8, 16), 2, 2, 11, 1},
88   {10, UPB_SIZE(32, 64), UPB_SIZE(-37, -73), 2, 11, 1},
89   {11, UPB_SIZE(12, 24), 3, 3, 11, 1},
90   {12, UPB_SIZE(32, 64), UPB_SIZE(-37, -73), 3, 11, 1},
91   {13, UPB_SIZE(16, 32), 4, 0, 11, 1},
92 };
93 
94 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_msginit = {
95   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_submsgs[0],
96   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext__fields[0],
97   UPB_SIZE(40, 80), 12, false, 255,
98 };
99 
100 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_submsgs[1] = {
101   &envoy_config_core_v3_TypedExtensionConfig_msginit,
102 };
103 
104 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider__fields[2] = {
105   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
106   {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1},
107 };
108 
109 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msginit = {
110   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_submsgs[0],
111   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider__fields[0],
112   UPB_SIZE(16, 32), 2, false, 255,
113 };
114 
115 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance__fields[2] = {
116   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
117   {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
118 };
119 
120 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msginit = {
121   NULL,
122   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance__fields[0],
123   UPB_SIZE(16, 32), 2, false, 255,
124 };
125 
126 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_submsgs[4] = {
127   &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msginit,
128   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProvider_msginit,
129   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CertificateProviderInstance_msginit,
130   &envoy_extensions_transport_sockets_tls_v3_SdsSecretConfig_msginit,
131 };
132 
133 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext__fields[4] = {
134   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
135   {2, UPB_SIZE(8, 16), 2, 3, 11, 1},
136   {3, UPB_SIZE(12, 24), 3, 1, 11, 1},
137   {4, UPB_SIZE(16, 32), 4, 2, 11, 1},
138 };
139 
140 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_msginit = {
141   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext_submsgs[0],
142   &envoy_extensions_transport_sockets_tls_v3_CommonTlsContext_CombinedCertificateValidationContext__fields[0],
143   UPB_SIZE(24, 40), 4, false, 255,
144 };
145 
146 #include "upb/port_undef.inc"
147 
148