1 /* This file was generated by upbc (the upb compiler) from the input
4 * envoy/api/v2/auth/cert.proto
6 * Do not edit -- your changes will be discarded when the file is
11 #include "envoy/api/v2/auth/cert.upb.h"
12 #include "envoy/api/v2/core/base.upb.h"
13 #include "envoy/api/v2/core/config_source.upb.h"
14 #include "google/protobuf/any.upb.h"
15 #include "google/protobuf/struct.upb.h"
16 #include "google/protobuf/wrappers.upb.h"
17 #include "validate/validate.upb.h"
18 #include "gogoproto/gogo.upb.h"
20 #include "upb/port_def.inc"
22 static const upb_msglayout_field envoy_api_v2_auth_TlsParameters__fields[4] = {
23 {1, UPB_SIZE(0, 0), 0, 0, 14, 1},
24 {2, UPB_SIZE(8, 8), 0, 0, 14, 1},
25 {3, UPB_SIZE(16, 16), 0, 0, 9, 3},
26 {4, UPB_SIZE(20, 24), 0, 0, 9, 3},
29 const upb_msglayout envoy_api_v2_auth_TlsParameters_msginit = {
31 &envoy_api_v2_auth_TlsParameters__fields[0],
32 UPB_SIZE(24, 32), 4, false,
35 static const upb_msglayout *const envoy_api_v2_auth_PrivateKeyProvider_submsgs[2] = {
36 &google_protobuf_Any_msginit,
37 &google_protobuf_Struct_msginit,
40 static const upb_msglayout_field envoy_api_v2_auth_PrivateKeyProvider__fields[3] = {
41 {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
42 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1},
43 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1},
46 const upb_msglayout envoy_api_v2_auth_PrivateKeyProvider_msginit = {
47 &envoy_api_v2_auth_PrivateKeyProvider_submsgs[0],
48 &envoy_api_v2_auth_PrivateKeyProvider__fields[0],
49 UPB_SIZE(16, 32), 3, false,
52 static const upb_msglayout *const envoy_api_v2_auth_TlsCertificate_submsgs[6] = {
53 &envoy_api_v2_auth_PrivateKeyProvider_msginit,
54 &envoy_api_v2_core_DataSource_msginit,
57 static const upb_msglayout_field envoy_api_v2_auth_TlsCertificate__fields[6] = {
58 {1, UPB_SIZE(0, 0), 0, 1, 11, 1},
59 {2, UPB_SIZE(4, 8), 0, 1, 11, 1},
60 {3, UPB_SIZE(8, 16), 0, 1, 11, 1},
61 {4, UPB_SIZE(12, 24), 0, 1, 11, 1},
62 {5, UPB_SIZE(20, 40), 0, 1, 11, 3},
63 {6, UPB_SIZE(16, 32), 0, 0, 11, 1},
66 const upb_msglayout envoy_api_v2_auth_TlsCertificate_msginit = {
67 &envoy_api_v2_auth_TlsCertificate_submsgs[0],
68 &envoy_api_v2_auth_TlsCertificate__fields[0],
69 UPB_SIZE(24, 48), 6, false,
72 static const upb_msglayout *const envoy_api_v2_auth_TlsSessionTicketKeys_submsgs[1] = {
73 &envoy_api_v2_core_DataSource_msginit,
76 static const upb_msglayout_field envoy_api_v2_auth_TlsSessionTicketKeys__fields[1] = {
77 {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
80 const upb_msglayout envoy_api_v2_auth_TlsSessionTicketKeys_msginit = {
81 &envoy_api_v2_auth_TlsSessionTicketKeys_submsgs[0],
82 &envoy_api_v2_auth_TlsSessionTicketKeys__fields[0],
83 UPB_SIZE(4, 8), 1, false,
86 static const upb_msglayout *const envoy_api_v2_auth_CertificateValidationContext_submsgs[4] = {
87 &envoy_api_v2_core_DataSource_msginit,
88 &google_protobuf_BoolValue_msginit,
91 static const upb_msglayout_field envoy_api_v2_auth_CertificateValidationContext__fields[8] = {
92 {1, UPB_SIZE(4, 8), 0, 0, 11, 1},
93 {2, UPB_SIZE(20, 40), 0, 0, 9, 3},
94 {3, UPB_SIZE(24, 48), 0, 0, 9, 3},
95 {4, UPB_SIZE(28, 56), 0, 0, 9, 3},
96 {5, UPB_SIZE(8, 16), 0, 1, 11, 1},
97 {6, UPB_SIZE(12, 24), 0, 1, 11, 1},
98 {7, UPB_SIZE(16, 32), 0, 0, 11, 1},
99 {8, UPB_SIZE(0, 0), 0, 0, 8, 1},
102 const upb_msglayout envoy_api_v2_auth_CertificateValidationContext_msginit = {
103 &envoy_api_v2_auth_CertificateValidationContext_submsgs[0],
104 &envoy_api_v2_auth_CertificateValidationContext__fields[0],
105 UPB_SIZE(32, 64), 8, false,
108 static const upb_msglayout *const envoy_api_v2_auth_CommonTlsContext_submsgs[6] = {
109 &envoy_api_v2_auth_CertificateValidationContext_msginit,
110 &envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_msginit,
111 &envoy_api_v2_auth_SdsSecretConfig_msginit,
112 &envoy_api_v2_auth_TlsCertificate_msginit,
113 &envoy_api_v2_auth_TlsParameters_msginit,
116 static const upb_msglayout_field envoy_api_v2_auth_CommonTlsContext__fields[7] = {
117 {1, UPB_SIZE(0, 0), 0, 4, 11, 1},
118 {2, UPB_SIZE(4, 8), 0, 3, 11, 3},
119 {3, UPB_SIZE(16, 32), UPB_SIZE(-21, -41), 0, 11, 1},
120 {4, UPB_SIZE(8, 16), 0, 0, 9, 3},
121 {6, UPB_SIZE(12, 24), 0, 2, 11, 3},
122 {7, UPB_SIZE(16, 32), UPB_SIZE(-21, -41), 2, 11, 1},
123 {8, UPB_SIZE(16, 32), UPB_SIZE(-21, -41), 1, 11, 1},
126 const upb_msglayout envoy_api_v2_auth_CommonTlsContext_msginit = {
127 &envoy_api_v2_auth_CommonTlsContext_submsgs[0],
128 &envoy_api_v2_auth_CommonTlsContext__fields[0],
129 UPB_SIZE(24, 48), 7, false,
132 static const upb_msglayout *const envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_submsgs[2] = {
133 &envoy_api_v2_auth_CertificateValidationContext_msginit,
134 &envoy_api_v2_auth_SdsSecretConfig_msginit,
137 static const upb_msglayout_field envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext__fields[2] = {
138 {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
139 {2, UPB_SIZE(4, 8), 0, 1, 11, 1},
142 const upb_msglayout envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_msginit = {
143 &envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_submsgs[0],
144 &envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext__fields[0],
145 UPB_SIZE(8, 16), 2, false,
148 static const upb_msglayout *const envoy_api_v2_auth_UpstreamTlsContext_submsgs[2] = {
149 &envoy_api_v2_auth_CommonTlsContext_msginit,
150 &google_protobuf_UInt32Value_msginit,
153 static const upb_msglayout_field envoy_api_v2_auth_UpstreamTlsContext__fields[4] = {
154 {1, UPB_SIZE(12, 24), 0, 0, 11, 1},
155 {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
156 {3, UPB_SIZE(0, 0), 0, 0, 8, 1},
157 {4, UPB_SIZE(16, 32), 0, 1, 11, 1},
160 const upb_msglayout envoy_api_v2_auth_UpstreamTlsContext_msginit = {
161 &envoy_api_v2_auth_UpstreamTlsContext_submsgs[0],
162 &envoy_api_v2_auth_UpstreamTlsContext__fields[0],
163 UPB_SIZE(24, 48), 4, false,
166 static const upb_msglayout *const envoy_api_v2_auth_DownstreamTlsContext_submsgs[5] = {
167 &envoy_api_v2_auth_CommonTlsContext_msginit,
168 &envoy_api_v2_auth_SdsSecretConfig_msginit,
169 &envoy_api_v2_auth_TlsSessionTicketKeys_msginit,
170 &google_protobuf_BoolValue_msginit,
173 static const upb_msglayout_field envoy_api_v2_auth_DownstreamTlsContext__fields[5] = {
174 {1, UPB_SIZE(0, 0), 0, 0, 11, 1},
175 {2, UPB_SIZE(4, 8), 0, 3, 11, 1},
176 {3, UPB_SIZE(8, 16), 0, 3, 11, 1},
177 {4, UPB_SIZE(12, 24), UPB_SIZE(-17, -33), 2, 11, 1},
178 {5, UPB_SIZE(12, 24), UPB_SIZE(-17, -33), 1, 11, 1},
181 const upb_msglayout envoy_api_v2_auth_DownstreamTlsContext_msginit = {
182 &envoy_api_v2_auth_DownstreamTlsContext_submsgs[0],
183 &envoy_api_v2_auth_DownstreamTlsContext__fields[0],
184 UPB_SIZE(20, 40), 5, false,
187 static const upb_msglayout *const envoy_api_v2_auth_SdsSecretConfig_submsgs[1] = {
188 &envoy_api_v2_core_ConfigSource_msginit,
191 static const upb_msglayout_field envoy_api_v2_auth_SdsSecretConfig__fields[2] = {
192 {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
193 {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
196 const upb_msglayout envoy_api_v2_auth_SdsSecretConfig_msginit = {
197 &envoy_api_v2_auth_SdsSecretConfig_submsgs[0],
198 &envoy_api_v2_auth_SdsSecretConfig__fields[0],
199 UPB_SIZE(16, 32), 2, false,
202 static const upb_msglayout *const envoy_api_v2_auth_Secret_submsgs[3] = {
203 &envoy_api_v2_auth_CertificateValidationContext_msginit,
204 &envoy_api_v2_auth_TlsCertificate_msginit,
205 &envoy_api_v2_auth_TlsSessionTicketKeys_msginit,
208 static const upb_msglayout_field envoy_api_v2_auth_Secret__fields[4] = {
209 {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
210 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1},
211 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 2, 11, 1},
212 {4, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1},
215 const upb_msglayout envoy_api_v2_auth_Secret_msginit = {
216 &envoy_api_v2_auth_Secret_submsgs[0],
217 &envoy_api_v2_auth_Secret__fields[0],
218 UPB_SIZE(16, 32), 4, false,
221 #include "upb/port_undef.inc"