GRPC Core  9.0.0
cert.upb.h
Go to the documentation of this file.
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  * envoy/api/v2/auth/cert.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_API_V2_AUTH_CERT_PROTO_UPB_H_
10 #define ENVOY_API_V2_AUTH_CERT_PROTO_UPB_H_
11 
12 #include "upb/generated_util.h"
13 #include "upb/msg.h"
14 #include "upb/decode.h"
15 #include "upb/encode.h"
16 
17 #include "upb/port_def.inc"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
45 extern const upb_msglayout envoy_api_v2_auth_TlsParameters_msginit;
46 extern const upb_msglayout envoy_api_v2_auth_PrivateKeyProvider_msginit;
47 extern const upb_msglayout envoy_api_v2_auth_TlsCertificate_msginit;
48 extern const upb_msglayout envoy_api_v2_auth_TlsSessionTicketKeys_msginit;
50 extern const upb_msglayout envoy_api_v2_auth_CommonTlsContext_msginit;
52 extern const upb_msglayout envoy_api_v2_auth_UpstreamTlsContext_msginit;
53 extern const upb_msglayout envoy_api_v2_auth_DownstreamTlsContext_msginit;
54 extern const upb_msglayout envoy_api_v2_auth_SdsSecretConfig_msginit;
55 extern const upb_msglayout envoy_api_v2_auth_Secret_msginit;
58 struct google_protobuf_Any;
62 extern const upb_msglayout envoy_api_v2_core_ConfigSource_msginit;
63 extern const upb_msglayout envoy_api_v2_core_DataSource_msginit;
64 extern const upb_msglayout google_protobuf_Any_msginit;
65 extern const upb_msglayout google_protobuf_BoolValue_msginit;
66 extern const upb_msglayout google_protobuf_Struct_msginit;
67 extern const upb_msglayout google_protobuf_UInt32Value_msginit;
68 
69 typedef enum {
76 
77 
78 /* envoy.api.v2.auth.TlsParameters */
79 
82 }
84  upb_arena *arena) {
86  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_TlsParameters_msginit, arena)) ? ret : NULL;
87 }
88 UPB_INLINE char *envoy_api_v2_auth_TlsParameters_serialize(const envoy_api_v2_auth_TlsParameters *msg, upb_arena *arena, size_t *len) {
89  return upb_encode(msg, &envoy_api_v2_auth_TlsParameters_msginit, arena, len);
90 }
91 
92 UPB_INLINE int32_t envoy_api_v2_auth_TlsParameters_tls_minimum_protocol_version(const envoy_api_v2_auth_TlsParameters *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
93 UPB_INLINE int32_t envoy_api_v2_auth_TlsParameters_tls_maximum_protocol_version(const envoy_api_v2_auth_TlsParameters *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(8, 8)); }
94 UPB_INLINE upb_strview const* envoy_api_v2_auth_TlsParameters_cipher_suites(const envoy_api_v2_auth_TlsParameters *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(16, 16), len); }
95 UPB_INLINE upb_strview const* envoy_api_v2_auth_TlsParameters_ecdh_curves(const envoy_api_v2_auth_TlsParameters *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(20, 24), len); }
96 
98  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
99 }
101  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(8, 8)) = value;
102 }
104  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 16), len);
105 }
106 UPB_INLINE upb_strview* envoy_api_v2_auth_TlsParameters_resize_cipher_suites(envoy_api_v2_auth_TlsParameters *msg, size_t len, upb_arena *arena) {
107  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(16, 16), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
108 }
109 UPB_INLINE bool envoy_api_v2_auth_TlsParameters_add_cipher_suites(envoy_api_v2_auth_TlsParameters *msg, upb_strview val, upb_arena *arena) {
110  return _upb_array_append_accessor(
111  msg, UPB_SIZE(16, 16), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
112 }
114  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 24), len);
115 }
116 UPB_INLINE upb_strview* envoy_api_v2_auth_TlsParameters_resize_ecdh_curves(envoy_api_v2_auth_TlsParameters *msg, size_t len, upb_arena *arena) {
117  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(20, 24), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
118 }
119 UPB_INLINE bool envoy_api_v2_auth_TlsParameters_add_ecdh_curves(envoy_api_v2_auth_TlsParameters *msg, upb_strview val, upb_arena *arena) {
120  return _upb_array_append_accessor(
121  msg, UPB_SIZE(20, 24), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
122 }
123 
124 /* envoy.api.v2.auth.PrivateKeyProvider */
125 
128 }
130  upb_arena *arena) {
132  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_PrivateKeyProvider_msginit, arena)) ? ret : NULL;
133 }
134 UPB_INLINE char *envoy_api_v2_auth_PrivateKeyProvider_serialize(const envoy_api_v2_auth_PrivateKeyProvider *msg, upb_arena *arena, size_t *len) {
135  return upb_encode(msg, &envoy_api_v2_auth_PrivateKeyProvider_msginit, arena, len);
136 }
137 
138 typedef enum {
144 
145 UPB_INLINE upb_strview envoy_api_v2_auth_PrivateKeyProvider_provider_name(const envoy_api_v2_auth_PrivateKeyProvider *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
146 UPB_INLINE bool envoy_api_v2_auth_PrivateKeyProvider_has_config(const envoy_api_v2_auth_PrivateKeyProvider *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 2); }
147 UPB_INLINE const struct google_protobuf_Struct* envoy_api_v2_auth_PrivateKeyProvider_config(const envoy_api_v2_auth_PrivateKeyProvider *msg) { return UPB_READ_ONEOF(msg, const struct google_protobuf_Struct*, UPB_SIZE(8, 16), UPB_SIZE(12, 24), 2, NULL); }
148 UPB_INLINE bool envoy_api_v2_auth_PrivateKeyProvider_has_typed_config(const envoy_api_v2_auth_PrivateKeyProvider *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 3); }
149 UPB_INLINE const struct google_protobuf_Any* envoy_api_v2_auth_PrivateKeyProvider_typed_config(const envoy_api_v2_auth_PrivateKeyProvider *msg) { return UPB_READ_ONEOF(msg, const struct google_protobuf_Any*, UPB_SIZE(8, 16), UPB_SIZE(12, 24), 3, NULL); }
150 
152  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
153 }
155  UPB_WRITE_ONEOF(msg, struct google_protobuf_Struct*, UPB_SIZE(8, 16), value, UPB_SIZE(12, 24), 2);
156 }
159  if (sub == NULL) {
160  sub = (struct google_protobuf_Struct*)upb_msg_new(&google_protobuf_Struct_msginit, arena);
161  if (!sub) return NULL;
163  }
164  return sub;
165 }
167  UPB_WRITE_ONEOF(msg, struct google_protobuf_Any*, UPB_SIZE(8, 16), value, UPB_SIZE(12, 24), 3);
168 }
171  if (sub == NULL) {
172  sub = (struct google_protobuf_Any*)upb_msg_new(&google_protobuf_Any_msginit, arena);
173  if (!sub) return NULL;
175  }
176  return sub;
177 }
178 
179 /* envoy.api.v2.auth.TlsCertificate */
180 
183 }
185  upb_arena *arena) {
187  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_TlsCertificate_msginit, arena)) ? ret : NULL;
188 }
189 UPB_INLINE char *envoy_api_v2_auth_TlsCertificate_serialize(const envoy_api_v2_auth_TlsCertificate *msg, upb_arena *arena, size_t *len) {
190  return upb_encode(msg, &envoy_api_v2_auth_TlsCertificate_msginit, arena, len);
191 }
192 
193 UPB_INLINE const struct envoy_api_v2_core_DataSource* envoy_api_v2_auth_TlsCertificate_certificate_chain(const envoy_api_v2_auth_TlsCertificate *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_DataSource*, UPB_SIZE(0, 0)); }
194 UPB_INLINE const struct envoy_api_v2_core_DataSource* envoy_api_v2_auth_TlsCertificate_private_key(const envoy_api_v2_auth_TlsCertificate *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_DataSource*, UPB_SIZE(4, 8)); }
195 UPB_INLINE const struct envoy_api_v2_core_DataSource* envoy_api_v2_auth_TlsCertificate_password(const envoy_api_v2_auth_TlsCertificate *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_DataSource*, UPB_SIZE(8, 16)); }
196 UPB_INLINE const struct envoy_api_v2_core_DataSource* envoy_api_v2_auth_TlsCertificate_ocsp_staple(const envoy_api_v2_auth_TlsCertificate *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_DataSource*, UPB_SIZE(12, 24)); }
197 UPB_INLINE const struct envoy_api_v2_core_DataSource* const* envoy_api_v2_auth_TlsCertificate_signed_certificate_timestamp(const envoy_api_v2_auth_TlsCertificate *msg, size_t *len) { return (const struct envoy_api_v2_core_DataSource* const*)_upb_array_accessor(msg, UPB_SIZE(20, 40), len); }
199 
201  UPB_FIELD_AT(msg, struct envoy_api_v2_core_DataSource*, UPB_SIZE(0, 0)) = value;
202 }
205  if (sub == NULL) {
206  sub = (struct envoy_api_v2_core_DataSource*)upb_msg_new(&envoy_api_v2_core_DataSource_msginit, arena);
207  if (!sub) return NULL;
209  }
210  return sub;
211 }
213  UPB_FIELD_AT(msg, struct envoy_api_v2_core_DataSource*, UPB_SIZE(4, 8)) = value;
214 }
217  if (sub == NULL) {
218  sub = (struct envoy_api_v2_core_DataSource*)upb_msg_new(&envoy_api_v2_core_DataSource_msginit, arena);
219  if (!sub) return NULL;
221  }
222  return sub;
223 }
225  UPB_FIELD_AT(msg, struct envoy_api_v2_core_DataSource*, UPB_SIZE(8, 16)) = value;
226 }
229  if (sub == NULL) {
230  sub = (struct envoy_api_v2_core_DataSource*)upb_msg_new(&envoy_api_v2_core_DataSource_msginit, arena);
231  if (!sub) return NULL;
233  }
234  return sub;
235 }
237  UPB_FIELD_AT(msg, struct envoy_api_v2_core_DataSource*, UPB_SIZE(12, 24)) = value;
238 }
241  if (sub == NULL) {
242  sub = (struct envoy_api_v2_core_DataSource*)upb_msg_new(&envoy_api_v2_core_DataSource_msginit, arena);
243  if (!sub) return NULL;
245  }
246  return sub;
247 }
249  return (struct envoy_api_v2_core_DataSource**)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 40), len);
250 }
252  return (struct envoy_api_v2_core_DataSource**)_upb_array_resize_accessor(msg, UPB_SIZE(20, 40), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
253 }
256  bool ok = _upb_array_append_accessor(
257  msg, UPB_SIZE(20, 40), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
258  if (!ok) return NULL;
259  return sub;
260 }
262  UPB_FIELD_AT(msg, envoy_api_v2_auth_PrivateKeyProvider*, UPB_SIZE(16, 32)) = value;
263 }
266  if (sub == NULL) {
268  if (!sub) return NULL;
270  }
271  return sub;
272 }
273 
274 /* envoy.api.v2.auth.TlsSessionTicketKeys */
275 
278 }
280  upb_arena *arena) {
282  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_TlsSessionTicketKeys_msginit, arena)) ? ret : NULL;
283 }
284 UPB_INLINE char *envoy_api_v2_auth_TlsSessionTicketKeys_serialize(const envoy_api_v2_auth_TlsSessionTicketKeys *msg, upb_arena *arena, size_t *len) {
285  return upb_encode(msg, &envoy_api_v2_auth_TlsSessionTicketKeys_msginit, arena, len);
286 }
287 
288 UPB_INLINE const struct envoy_api_v2_core_DataSource* const* envoy_api_v2_auth_TlsSessionTicketKeys_keys(const envoy_api_v2_auth_TlsSessionTicketKeys *msg, size_t *len) { return (const struct envoy_api_v2_core_DataSource* const*)_upb_array_accessor(msg, UPB_SIZE(0, 0), len); }
289 
291  return (struct envoy_api_v2_core_DataSource**)_upb_array_mutable_accessor(msg, UPB_SIZE(0, 0), len);
292 }
294  return (struct envoy_api_v2_core_DataSource**)_upb_array_resize_accessor(msg, UPB_SIZE(0, 0), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
295 }
298  bool ok = _upb_array_append_accessor(
299  msg, UPB_SIZE(0, 0), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
300  if (!ok) return NULL;
301  return sub;
302 }
303 
304 /* envoy.api.v2.auth.CertificateValidationContext */
305 
308 }
310  upb_arena *arena) {
312  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_CertificateValidationContext_msginit, arena)) ? ret : NULL;
313 }
315  return upb_encode(msg, &envoy_api_v2_auth_CertificateValidationContext_msginit, arena, len);
316 }
317 
319 UPB_INLINE upb_strview const* envoy_api_v2_auth_CertificateValidationContext_verify_certificate_hash(const envoy_api_v2_auth_CertificateValidationContext *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(20, 40), len); }
320 UPB_INLINE upb_strview const* envoy_api_v2_auth_CertificateValidationContext_verify_certificate_spki(const envoy_api_v2_auth_CertificateValidationContext *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(24, 48), len); }
321 UPB_INLINE upb_strview const* envoy_api_v2_auth_CertificateValidationContext_verify_subject_alt_name(const envoy_api_v2_auth_CertificateValidationContext *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(28, 56), len); }
324 UPB_INLINE const struct envoy_api_v2_core_DataSource* envoy_api_v2_auth_CertificateValidationContext_crl(const envoy_api_v2_auth_CertificateValidationContext *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_DataSource*, UPB_SIZE(16, 32)); }
325 UPB_INLINE bool envoy_api_v2_auth_CertificateValidationContext_allow_expired_certificate(const envoy_api_v2_auth_CertificateValidationContext *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)); }
326 
328  UPB_FIELD_AT(msg, struct envoy_api_v2_core_DataSource*, UPB_SIZE(4, 8)) = value;
329 }
332  if (sub == NULL) {
333  sub = (struct envoy_api_v2_core_DataSource*)upb_msg_new(&envoy_api_v2_core_DataSource_msginit, arena);
334  if (!sub) return NULL;
336  }
337  return sub;
338 }
340  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 40), len);
341 }
343  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(20, 40), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
344 }
346  return _upb_array_append_accessor(
347  msg, UPB_SIZE(20, 40), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
348 }
350  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len);
351 }
353  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(24, 48), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
354 }
356  return _upb_array_append_accessor(
357  msg, UPB_SIZE(24, 48), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
358 }
360  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(28, 56), len);
361 }
363  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(28, 56), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
364 }
366  return _upb_array_append_accessor(
367  msg, UPB_SIZE(28, 56), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
368 }
370  UPB_FIELD_AT(msg, struct google_protobuf_BoolValue*, UPB_SIZE(8, 16)) = value;
371 }
374  if (sub == NULL) {
375  sub = (struct google_protobuf_BoolValue*)upb_msg_new(&google_protobuf_BoolValue_msginit, arena);
376  if (!sub) return NULL;
378  }
379  return sub;
380 }
382  UPB_FIELD_AT(msg, struct google_protobuf_BoolValue*, UPB_SIZE(12, 24)) = value;
383 }
386  if (sub == NULL) {
387  sub = (struct google_protobuf_BoolValue*)upb_msg_new(&google_protobuf_BoolValue_msginit, arena);
388  if (!sub) return NULL;
390  }
391  return sub;
392 }
394  UPB_FIELD_AT(msg, struct envoy_api_v2_core_DataSource*, UPB_SIZE(16, 32)) = value;
395 }
398  if (sub == NULL) {
399  sub = (struct envoy_api_v2_core_DataSource*)upb_msg_new(&envoy_api_v2_core_DataSource_msginit, arena);
400  if (!sub) return NULL;
402  }
403  return sub;
404 }
406  UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)) = value;
407 }
408 
409 /* envoy.api.v2.auth.CommonTlsContext */
410 
413 }
415  upb_arena *arena) {
417  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_CommonTlsContext_msginit, arena)) ? ret : NULL;
418 }
419 UPB_INLINE char *envoy_api_v2_auth_CommonTlsContext_serialize(const envoy_api_v2_auth_CommonTlsContext *msg, upb_arena *arena, size_t *len) {
420  return upb_encode(msg, &envoy_api_v2_auth_CommonTlsContext_msginit, arena, len);
421 }
422 
423 typedef enum {
430 
432 UPB_INLINE const envoy_api_v2_auth_TlsCertificate* const* envoy_api_v2_auth_CommonTlsContext_tls_certificates(const envoy_api_v2_auth_CommonTlsContext *msg, size_t *len) { return (const envoy_api_v2_auth_TlsCertificate* const*)_upb_array_accessor(msg, UPB_SIZE(4, 8), len); }
433 UPB_INLINE bool envoy_api_v2_auth_CommonTlsContext_has_validation_context(const envoy_api_v2_auth_CommonTlsContext *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(20, 40), 3); }
435 UPB_INLINE upb_strview const* envoy_api_v2_auth_CommonTlsContext_alpn_protocols(const envoy_api_v2_auth_CommonTlsContext *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(8, 16), len); }
436 UPB_INLINE const envoy_api_v2_auth_SdsSecretConfig* const* envoy_api_v2_auth_CommonTlsContext_tls_certificate_sds_secret_configs(const envoy_api_v2_auth_CommonTlsContext *msg, size_t *len) { return (const envoy_api_v2_auth_SdsSecretConfig* const*)_upb_array_accessor(msg, UPB_SIZE(12, 24), len); }
437 UPB_INLINE bool envoy_api_v2_auth_CommonTlsContext_has_validation_context_sds_secret_config(const envoy_api_v2_auth_CommonTlsContext *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(20, 40), 7); }
438 UPB_INLINE const envoy_api_v2_auth_SdsSecretConfig* envoy_api_v2_auth_CommonTlsContext_validation_context_sds_secret_config(const envoy_api_v2_auth_CommonTlsContext *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_auth_SdsSecretConfig*, UPB_SIZE(16, 32), UPB_SIZE(20, 40), 7, NULL); }
439 UPB_INLINE bool envoy_api_v2_auth_CommonTlsContext_has_combined_validation_context(const envoy_api_v2_auth_CommonTlsContext *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(20, 40), 8); }
441 
443  UPB_FIELD_AT(msg, envoy_api_v2_auth_TlsParameters*, UPB_SIZE(0, 0)) = value;
444 }
447  if (sub == NULL) {
449  if (!sub) return NULL;
451  }
452  return sub;
453 }
455  return (envoy_api_v2_auth_TlsCertificate**)_upb_array_mutable_accessor(msg, UPB_SIZE(4, 8), len);
456 }
458  return (envoy_api_v2_auth_TlsCertificate**)_upb_array_resize_accessor(msg, UPB_SIZE(4, 8), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
459 }
462  bool ok = _upb_array_append_accessor(
463  msg, UPB_SIZE(4, 8), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
464  if (!ok) return NULL;
465  return sub;
466 }
468  UPB_WRITE_ONEOF(msg, envoy_api_v2_auth_CertificateValidationContext*, UPB_SIZE(16, 32), value, UPB_SIZE(20, 40), 3);
469 }
472  if (sub == NULL) {
474  if (!sub) return NULL;
476  }
477  return sub;
478 }
480  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(8, 16), len);
481 }
482 UPB_INLINE upb_strview* envoy_api_v2_auth_CommonTlsContext_resize_alpn_protocols(envoy_api_v2_auth_CommonTlsContext *msg, size_t len, upb_arena *arena) {
483  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(8, 16), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
484 }
485 UPB_INLINE bool envoy_api_v2_auth_CommonTlsContext_add_alpn_protocols(envoy_api_v2_auth_CommonTlsContext *msg, upb_strview val, upb_arena *arena) {
486  return _upb_array_append_accessor(
487  msg, UPB_SIZE(8, 16), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
488 }
490  return (envoy_api_v2_auth_SdsSecretConfig**)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 24), len);
491 }
493  return (envoy_api_v2_auth_SdsSecretConfig**)_upb_array_resize_accessor(msg, UPB_SIZE(12, 24), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
494 }
497  bool ok = _upb_array_append_accessor(
498  msg, UPB_SIZE(12, 24), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
499  if (!ok) return NULL;
500  return sub;
501 }
503  UPB_WRITE_ONEOF(msg, envoy_api_v2_auth_SdsSecretConfig*, UPB_SIZE(16, 32), value, UPB_SIZE(20, 40), 7);
504 }
507  if (sub == NULL) {
509  if (!sub) return NULL;
511  }
512  return sub;
513 }
515  UPB_WRITE_ONEOF(msg, envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext*, UPB_SIZE(16, 32), value, UPB_SIZE(20, 40), 8);
516 }
519  if (sub == NULL) {
521  if (!sub) return NULL;
523  }
524  return sub;
525 }
526 
527 /* envoy.api.v2.auth.CommonTlsContext.CombinedCertificateValidationContext */
528 
531 }
533  upb_arena *arena) {
535  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_msginit, arena)) ? ret : NULL;
536 }
539 }
540 
543 
545  UPB_FIELD_AT(msg, envoy_api_v2_auth_CertificateValidationContext*, UPB_SIZE(0, 0)) = value;
546 }
549  if (sub == NULL) {
551  if (!sub) return NULL;
553  }
554  return sub;
555 }
557  UPB_FIELD_AT(msg, envoy_api_v2_auth_SdsSecretConfig*, UPB_SIZE(4, 8)) = value;
558 }
561  if (sub == NULL) {
563  if (!sub) return NULL;
565  }
566  return sub;
567 }
568 
569 /* envoy.api.v2.auth.UpstreamTlsContext */
570 
573 }
575  upb_arena *arena) {
577  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_UpstreamTlsContext_msginit, arena)) ? ret : NULL;
578 }
579 UPB_INLINE char *envoy_api_v2_auth_UpstreamTlsContext_serialize(const envoy_api_v2_auth_UpstreamTlsContext *msg, upb_arena *arena, size_t *len) {
580  return upb_encode(msg, &envoy_api_v2_auth_UpstreamTlsContext_msginit, arena, len);
581 }
582 
584 UPB_INLINE upb_strview envoy_api_v2_auth_UpstreamTlsContext_sni(const envoy_api_v2_auth_UpstreamTlsContext *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(4, 8)); }
585 UPB_INLINE bool envoy_api_v2_auth_UpstreamTlsContext_allow_renegotiation(const envoy_api_v2_auth_UpstreamTlsContext *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)); }
586 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_api_v2_auth_UpstreamTlsContext_max_session_keys(const envoy_api_v2_auth_UpstreamTlsContext *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt32Value*, UPB_SIZE(16, 32)); }
587 
589  UPB_FIELD_AT(msg, envoy_api_v2_auth_CommonTlsContext*, UPB_SIZE(12, 24)) = value;
590 }
593  if (sub == NULL) {
595  if (!sub) return NULL;
597  }
598  return sub;
599 }
601  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(4, 8)) = value;
602 }
604  UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)) = value;
605 }
607  UPB_FIELD_AT(msg, struct google_protobuf_UInt32Value*, UPB_SIZE(16, 32)) = value;
608 }
611  if (sub == NULL) {
612  sub = (struct google_protobuf_UInt32Value*)upb_msg_new(&google_protobuf_UInt32Value_msginit, arena);
613  if (!sub) return NULL;
615  }
616  return sub;
617 }
618 
619 /* envoy.api.v2.auth.DownstreamTlsContext */
620 
623 }
625  upb_arena *arena) {
627  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_DownstreamTlsContext_msginit, arena)) ? ret : NULL;
628 }
629 UPB_INLINE char *envoy_api_v2_auth_DownstreamTlsContext_serialize(const envoy_api_v2_auth_DownstreamTlsContext *msg, upb_arena *arena, size_t *len) {
630  return upb_encode(msg, &envoy_api_v2_auth_DownstreamTlsContext_msginit, arena, len);
631 }
632 
633 typedef enum {
639 
642 UPB_INLINE const struct google_protobuf_BoolValue* envoy_api_v2_auth_DownstreamTlsContext_require_sni(const envoy_api_v2_auth_DownstreamTlsContext *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_BoolValue*, UPB_SIZE(8, 16)); }
643 UPB_INLINE bool envoy_api_v2_auth_DownstreamTlsContext_has_session_ticket_keys(const envoy_api_v2_auth_DownstreamTlsContext *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(16, 32), 4); }
644 UPB_INLINE const envoy_api_v2_auth_TlsSessionTicketKeys* envoy_api_v2_auth_DownstreamTlsContext_session_ticket_keys(const envoy_api_v2_auth_DownstreamTlsContext *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_auth_TlsSessionTicketKeys*, UPB_SIZE(12, 24), UPB_SIZE(16, 32), 4, NULL); }
645 UPB_INLINE bool envoy_api_v2_auth_DownstreamTlsContext_has_session_ticket_keys_sds_secret_config(const envoy_api_v2_auth_DownstreamTlsContext *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(16, 32), 5); }
647 
649  UPB_FIELD_AT(msg, envoy_api_v2_auth_CommonTlsContext*, UPB_SIZE(0, 0)) = value;
650 }
653  if (sub == NULL) {
655  if (!sub) return NULL;
657  }
658  return sub;
659 }
661  UPB_FIELD_AT(msg, struct google_protobuf_BoolValue*, UPB_SIZE(4, 8)) = value;
662 }
665  if (sub == NULL) {
666  sub = (struct google_protobuf_BoolValue*)upb_msg_new(&google_protobuf_BoolValue_msginit, arena);
667  if (!sub) return NULL;
669  }
670  return sub;
671 }
673  UPB_FIELD_AT(msg, struct google_protobuf_BoolValue*, UPB_SIZE(8, 16)) = value;
674 }
677  if (sub == NULL) {
678  sub = (struct google_protobuf_BoolValue*)upb_msg_new(&google_protobuf_BoolValue_msginit, arena);
679  if (!sub) return NULL;
681  }
682  return sub;
683 }
685  UPB_WRITE_ONEOF(msg, envoy_api_v2_auth_TlsSessionTicketKeys*, UPB_SIZE(12, 24), value, UPB_SIZE(16, 32), 4);
686 }
689  if (sub == NULL) {
691  if (!sub) return NULL;
693  }
694  return sub;
695 }
697  UPB_WRITE_ONEOF(msg, envoy_api_v2_auth_SdsSecretConfig*, UPB_SIZE(12, 24), value, UPB_SIZE(16, 32), 5);
698 }
701  if (sub == NULL) {
703  if (!sub) return NULL;
705  }
706  return sub;
707 }
708 
709 /* envoy.api.v2.auth.SdsSecretConfig */
710 
713 }
715  upb_arena *arena) {
717  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_SdsSecretConfig_msginit, arena)) ? ret : NULL;
718 }
719 UPB_INLINE char *envoy_api_v2_auth_SdsSecretConfig_serialize(const envoy_api_v2_auth_SdsSecretConfig *msg, upb_arena *arena, size_t *len) {
720  return upb_encode(msg, &envoy_api_v2_auth_SdsSecretConfig_msginit, arena, len);
721 }
722 
723 UPB_INLINE upb_strview envoy_api_v2_auth_SdsSecretConfig_name(const envoy_api_v2_auth_SdsSecretConfig *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
724 UPB_INLINE const struct envoy_api_v2_core_ConfigSource* envoy_api_v2_auth_SdsSecretConfig_sds_config(const envoy_api_v2_auth_SdsSecretConfig *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_ConfigSource*, UPB_SIZE(8, 16)); }
725 
727  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
728 }
730  UPB_FIELD_AT(msg, struct envoy_api_v2_core_ConfigSource*, UPB_SIZE(8, 16)) = value;
731 }
734  if (sub == NULL) {
736  if (!sub) return NULL;
738  }
739  return sub;
740 }
741 
742 /* envoy.api.v2.auth.Secret */
743 
745  return (envoy_api_v2_auth_Secret *)upb_msg_new(&envoy_api_v2_auth_Secret_msginit, arena);
746 }
747 UPB_INLINE envoy_api_v2_auth_Secret *envoy_api_v2_auth_Secret_parse(const char *buf, size_t size,
748  upb_arena *arena) {
750  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_auth_Secret_msginit, arena)) ? ret : NULL;
751 }
752 UPB_INLINE char *envoy_api_v2_auth_Secret_serialize(const envoy_api_v2_auth_Secret *msg, upb_arena *arena, size_t *len) {
753  return upb_encode(msg, &envoy_api_v2_auth_Secret_msginit, arena, len);
754 }
755 
756 typedef enum {
763 
764 UPB_INLINE upb_strview envoy_api_v2_auth_Secret_name(const envoy_api_v2_auth_Secret *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
765 UPB_INLINE bool envoy_api_v2_auth_Secret_has_tls_certificate(const envoy_api_v2_auth_Secret *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 2); }
766 UPB_INLINE const envoy_api_v2_auth_TlsCertificate* envoy_api_v2_auth_Secret_tls_certificate(const envoy_api_v2_auth_Secret *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_auth_TlsCertificate*, UPB_SIZE(8, 16), UPB_SIZE(12, 24), 2, NULL); }
767 UPB_INLINE bool envoy_api_v2_auth_Secret_has_session_ticket_keys(const envoy_api_v2_auth_Secret *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 3); }
768 UPB_INLINE const envoy_api_v2_auth_TlsSessionTicketKeys* envoy_api_v2_auth_Secret_session_ticket_keys(const envoy_api_v2_auth_Secret *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_auth_TlsSessionTicketKeys*, UPB_SIZE(8, 16), UPB_SIZE(12, 24), 3, NULL); }
769 UPB_INLINE bool envoy_api_v2_auth_Secret_has_validation_context(const envoy_api_v2_auth_Secret *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 4); }
770 UPB_INLINE const envoy_api_v2_auth_CertificateValidationContext* envoy_api_v2_auth_Secret_validation_context(const envoy_api_v2_auth_Secret *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_auth_CertificateValidationContext*, UPB_SIZE(8, 16), UPB_SIZE(12, 24), 4, NULL); }
771 
772 UPB_INLINE void envoy_api_v2_auth_Secret_set_name(envoy_api_v2_auth_Secret *msg, upb_strview value) {
773  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
774 }
776  UPB_WRITE_ONEOF(msg, envoy_api_v2_auth_TlsCertificate*, UPB_SIZE(8, 16), value, UPB_SIZE(12, 24), 2);
777 }
780  if (sub == NULL) {
782  if (!sub) return NULL;
784  }
785  return sub;
786 }
788  UPB_WRITE_ONEOF(msg, envoy_api_v2_auth_TlsSessionTicketKeys*, UPB_SIZE(8, 16), value, UPB_SIZE(12, 24), 3);
789 }
792  if (sub == NULL) {
794  if (!sub) return NULL;
796  }
797  return sub;
798 }
800  UPB_WRITE_ONEOF(msg, envoy_api_v2_auth_CertificateValidationContext*, UPB_SIZE(8, 16), value, UPB_SIZE(12, 24), 4);
801 }
804  if (sub == NULL) {
806  if (!sub) return NULL;
808  }
809  return sub;
810 }
811 
812 #ifdef __cplusplus
813 } /* extern "C" */
814 #endif
815 
816 #include "upb/port_undef.inc"
817 
818 #endif /* ENVOY_API_V2_AUTH_CERT_PROTO_UPB_H_ */
UPB_INLINE envoy_api_v2_auth_UpstreamTlsContext * envoy_api_v2_auth_UpstreamTlsContext_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:574
UPB_INLINE struct envoy_api_v2_auth_TlsSessionTicketKeys * envoy_api_v2_auth_Secret_mutable_session_ticket_keys(envoy_api_v2_auth_Secret *msg, upb_arena *arena)
Definition: cert.upb.h:790
UPB_INLINE envoy_api_v2_auth_TlsSessionTicketKeys * envoy_api_v2_auth_TlsSessionTicketKeys_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:279
UPB_INLINE bool envoy_api_v2_auth_CommonTlsContext_has_combined_validation_context(const envoy_api_v2_auth_CommonTlsContext *msg)
Definition: cert.upb.h:439
UPB_INLINE void envoy_api_v2_auth_CommonTlsContext_set_combined_validation_context(envoy_api_v2_auth_CommonTlsContext *msg, envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext *value)
Definition: cert.upb.h:514
struct google_protobuf_UInt32Value google_protobuf_UInt32Value
Definition: wrappers.upb.h:37
UPB_INLINE void envoy_api_v2_auth_TlsCertificate_set_private_key(envoy_api_v2_auth_TlsCertificate *msg, struct envoy_api_v2_core_DataSource *value)
Definition: cert.upb.h:212
UPB_INLINE upb_strview * envoy_api_v2_auth_CertificateValidationContext_resize_verify_certificate_hash(envoy_api_v2_auth_CertificateValidationContext *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:342
UPB_INLINE struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_CertificateValidationContext_mutable_crl(envoy_api_v2_auth_CertificateValidationContext *msg, upb_arena *arena)
Definition: cert.upb.h:396
UPB_INLINE int32_t envoy_api_v2_auth_TlsParameters_tls_maximum_protocol_version(const envoy_api_v2_auth_TlsParameters *msg)
Definition: cert.upb.h:93
UPB_INLINE void envoy_api_v2_auth_PrivateKeyProvider_set_typed_config(envoy_api_v2_auth_PrivateKeyProvider *msg, struct google_protobuf_Any *value)
Definition: cert.upb.h:166
UPB_INLINE struct google_protobuf_Any * envoy_api_v2_auth_PrivateKeyProvider_mutable_typed_config(envoy_api_v2_auth_PrivateKeyProvider *msg, upb_arena *arena)
Definition: cert.upb.h:169
UPB_INLINE envoy_api_v2_auth_TlsSessionTicketKeys * envoy_api_v2_auth_TlsSessionTicketKeys_new(upb_arena *arena)
Definition: cert.upb.h:276
UPB_INLINE envoy_api_v2_auth_SdsSecretConfig ** envoy_api_v2_auth_CommonTlsContext_resize_tls_certificate_sds_secret_configs(envoy_api_v2_auth_CommonTlsContext *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:492
UPB_INLINE bool envoy_api_v2_auth_CertificateValidationContext_add_verify_subject_alt_name(envoy_api_v2_auth_CertificateValidationContext *msg, upb_strview val, upb_arena *arena)
Definition: cert.upb.h:365
envoy_api_v2_auth_Secret_type_oneofcases
Definition: cert.upb.h:756
UPB_INLINE void envoy_api_v2_auth_CertificateValidationContext_set_crl(envoy_api_v2_auth_CertificateValidationContext *msg, struct envoy_api_v2_core_DataSource *value)
Definition: cert.upb.h:393
UPB_INLINE envoy_api_v2_auth_TlsCertificate * envoy_api_v2_auth_TlsCertificate_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:184
UPB_INLINE const struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsCertificate_certificate_chain(const envoy_api_v2_auth_TlsCertificate *msg)
Definition: cert.upb.h:193
UPB_INLINE struct google_protobuf_BoolValue * envoy_api_v2_auth_DownstreamTlsContext_mutable_require_client_certificate(envoy_api_v2_auth_DownstreamTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:663
const upb_msglayout envoy_api_v2_auth_CommonTlsContext_msginit
Definition: cert.upb.c:125
UPB_INLINE void envoy_api_v2_auth_CertificateValidationContext_set_allow_expired_certificate(envoy_api_v2_auth_CertificateValidationContext *msg, bool value)
Definition: cert.upb.h:405
struct google_protobuf_Struct google_protobuf_Struct
Definition: struct.upb.h:27
UPB_INLINE const envoy_api_v2_auth_TlsCertificate * envoy_api_v2_auth_Secret_tls_certificate(const envoy_api_v2_auth_Secret *msg)
Definition: cert.upb.h:766
UPB_INLINE const envoy_api_v2_auth_TlsSessionTicketKeys * envoy_api_v2_auth_Secret_session_ticket_keys(const envoy_api_v2_auth_Secret *msg)
Definition: cert.upb.h:768
UPB_INLINE struct envoy_api_v2_auth_TlsCertificate * envoy_api_v2_auth_CommonTlsContext_add_tls_certificates(envoy_api_v2_auth_CommonTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:460
UPB_INLINE upb_strview const * envoy_api_v2_auth_TlsParameters_cipher_suites(const envoy_api_v2_auth_TlsParameters *msg, size_t *len)
Definition: cert.upb.h:94
UPB_INLINE upb_strview envoy_api_v2_auth_PrivateKeyProvider_provider_name(const envoy_api_v2_auth_PrivateKeyProvider *msg)
Definition: cert.upb.h:145
UPB_INLINE char * envoy_api_v2_auth_DownstreamTlsContext_serialize(const envoy_api_v2_auth_DownstreamTlsContext *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:629
UPB_INLINE envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext * envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_new(upb_arena *arena)
Definition: cert.upb.h:529
UPB_INLINE struct google_protobuf_BoolValue * envoy_api_v2_auth_CertificateValidationContext_mutable_require_ocsp_staple(envoy_api_v2_auth_CertificateValidationContext *msg, upb_arena *arena)
Definition: cert.upb.h:372
UPB_INLINE bool envoy_api_v2_auth_Secret_has_tls_certificate(const envoy_api_v2_auth_Secret *msg)
Definition: cert.upb.h:765
UPB_INLINE upb_strview * envoy_api_v2_auth_CertificateValidationContext_mutable_verify_subject_alt_name(envoy_api_v2_auth_CertificateValidationContext *msg, size_t *len)
Definition: cert.upb.h:359
UPB_INLINE const envoy_api_v2_auth_CertificateValidationContext * envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_default_validation_context(const envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext *msg)
Definition: cert.upb.h:541
UPB_INLINE void envoy_api_v2_auth_UpstreamTlsContext_set_common_tls_context(envoy_api_v2_auth_UpstreamTlsContext *msg, envoy_api_v2_auth_CommonTlsContext *value)
Definition: cert.upb.h:588
const upb_msglayout google_protobuf_Any_msginit
Definition: any.upb.c:20
UPB_INLINE void envoy_api_v2_auth_TlsCertificate_set_ocsp_staple(envoy_api_v2_auth_TlsCertificate *msg, struct envoy_api_v2_core_DataSource *value)
Definition: cert.upb.h:236
const upb_msglayout envoy_api_v2_auth_SdsSecretConfig_msginit
Definition: cert.upb.c:195
UPB_INLINE envoy_api_v2_auth_CommonTlsContext_validation_context_type_oneofcases envoy_api_v2_auth_CommonTlsContext_validation_context_type_case(const envoy_api_v2_auth_CommonTlsContext *msg)
Definition: cert.upb.h:429
UPB_INLINE envoy_api_v2_auth_TlsCertificate ** envoy_api_v2_auth_CommonTlsContext_resize_tls_certificates(envoy_api_v2_auth_CommonTlsContext *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:457
UPB_INLINE const envoy_api_v2_auth_SdsSecretConfig * envoy_api_v2_auth_DownstreamTlsContext_session_ticket_keys_sds_secret_config(const envoy_api_v2_auth_DownstreamTlsContext *msg)
Definition: cert.upb.h:646
struct envoy_api_v2_auth_CertificateValidationContext envoy_api_v2_auth_CertificateValidationContext
Definition: cert.upb.h:38
UPB_INLINE void envoy_api_v2_auth_Secret_set_tls_certificate(envoy_api_v2_auth_Secret *msg, envoy_api_v2_auth_TlsCertificate *value)
Definition: cert.upb.h:775
UPB_INLINE void envoy_api_v2_auth_CommonTlsContext_set_tls_params(envoy_api_v2_auth_CommonTlsContext *msg, envoy_api_v2_auth_TlsParameters *value)
Definition: cert.upb.h:442
UPB_INLINE const envoy_api_v2_auth_TlsParameters * envoy_api_v2_auth_CommonTlsContext_tls_params(const envoy_api_v2_auth_CommonTlsContext *msg)
Definition: cert.upb.h:431
UPB_INLINE void envoy_api_v2_auth_CertificateValidationContext_set_require_signed_certificate_timestamp(envoy_api_v2_auth_CertificateValidationContext *msg, struct google_protobuf_BoolValue *value)
Definition: cert.upb.h:381
const upb_msglayout envoy_api_v2_auth_Secret_msginit
Definition: cert.upb.c:214
UPB_INLINE upb_strview envoy_api_v2_auth_Secret_name(const envoy_api_v2_auth_Secret *msg)
Definition: cert.upb.h:764
UPB_INLINE envoy_api_v2_auth_DownstreamTlsContext_session_ticket_keys_type_oneofcases envoy_api_v2_auth_DownstreamTlsContext_session_ticket_keys_type_case(const envoy_api_v2_auth_DownstreamTlsContext *msg)
Definition: cert.upb.h:638
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_auth_UpstreamTlsContext_max_session_keys(const envoy_api_v2_auth_UpstreamTlsContext *msg)
Definition: cert.upb.h:586
UPB_INLINE bool envoy_api_v2_auth_UpstreamTlsContext_allow_renegotiation(const envoy_api_v2_auth_UpstreamTlsContext *msg)
Definition: cert.upb.h:585
UPB_INLINE void envoy_api_v2_auth_TlsCertificate_set_private_key_provider(envoy_api_v2_auth_TlsCertificate *msg, envoy_api_v2_auth_PrivateKeyProvider *value)
Definition: cert.upb.h:261
const upb_msglayout envoy_api_v2_auth_TlsSessionTicketKeys_msginit
Definition: cert.upb.c:79
UPB_INLINE void envoy_api_v2_auth_DownstreamTlsContext_set_common_tls_context(envoy_api_v2_auth_DownstreamTlsContext *msg, envoy_api_v2_auth_CommonTlsContext *value)
Definition: cert.upb.h:648
UPB_INLINE bool envoy_api_v2_auth_PrivateKeyProvider_has_config(const envoy_api_v2_auth_PrivateKeyProvider *msg)
Definition: cert.upb.h:146
UPB_INLINE void envoy_api_v2_auth_Secret_set_name(envoy_api_v2_auth_Secret *msg, upb_strview value)
Definition: cert.upb.h:772
struct envoy_api_v2_auth_Secret envoy_api_v2_auth_Secret
Definition: cert.upb.h:44
UPB_INLINE const struct google_protobuf_BoolValue * envoy_api_v2_auth_DownstreamTlsContext_require_sni(const envoy_api_v2_auth_DownstreamTlsContext *msg)
Definition: cert.upb.h:642
UPB_INLINE upb_strview envoy_api_v2_auth_SdsSecretConfig_name(const envoy_api_v2_auth_SdsSecretConfig *msg)
Definition: cert.upb.h:723
UPB_INLINE upb_strview * envoy_api_v2_auth_CertificateValidationContext_resize_verify_certificate_spki(envoy_api_v2_auth_CertificateValidationContext *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:352
UPB_INLINE envoy_api_v2_auth_DownstreamTlsContext * envoy_api_v2_auth_DownstreamTlsContext_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:624
UPB_INLINE void envoy_api_v2_auth_CertificateValidationContext_set_trusted_ca(envoy_api_v2_auth_CertificateValidationContext *msg, struct envoy_api_v2_core_DataSource *value)
Definition: cert.upb.h:327
struct envoy_api_v2_core_ConfigSource envoy_api_v2_core_ConfigSource
Definition: config_source.upb.h:32
UPB_INLINE upb_strview * envoy_api_v2_auth_CertificateValidationContext_mutable_verify_certificate_spki(envoy_api_v2_auth_CertificateValidationContext *msg, size_t *len)
Definition: cert.upb.h:349
UPB_INLINE envoy_api_v2_auth_CertificateValidationContext * envoy_api_v2_auth_CertificateValidationContext_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:309
UPB_INLINE struct envoy_api_v2_auth_PrivateKeyProvider * envoy_api_v2_auth_TlsCertificate_mutable_private_key_provider(envoy_api_v2_auth_TlsCertificate *msg, upb_arena *arena)
Definition: cert.upb.h:264
UPB_INLINE const struct envoy_api_v2_core_ConfigSource * envoy_api_v2_auth_SdsSecretConfig_sds_config(const envoy_api_v2_auth_SdsSecretConfig *msg)
Definition: cert.upb.h:724
UPB_INLINE bool envoy_api_v2_auth_DownstreamTlsContext_has_session_ticket_keys(const envoy_api_v2_auth_DownstreamTlsContext *msg)
Definition: cert.upb.h:643
UPB_INLINE upb_strview const * envoy_api_v2_auth_CommonTlsContext_alpn_protocols(const envoy_api_v2_auth_CommonTlsContext *msg, size_t *len)
Definition: cert.upb.h:435
UPB_INLINE envoy_api_v2_auth_PrivateKeyProvider_config_type_oneofcases envoy_api_v2_auth_PrivateKeyProvider_config_type_case(const envoy_api_v2_auth_PrivateKeyProvider *msg)
Definition: cert.upb.h:143
UPB_INLINE bool envoy_api_v2_auth_Secret_has_session_ticket_keys(const envoy_api_v2_auth_Secret *msg)
Definition: cert.upb.h:767
UPB_INLINE char * envoy_api_v2_auth_TlsSessionTicketKeys_serialize(const envoy_api_v2_auth_TlsSessionTicketKeys *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:284
UPB_INLINE envoy_api_v2_auth_TlsCertificate ** envoy_api_v2_auth_CommonTlsContext_mutable_tls_certificates(envoy_api_v2_auth_CommonTlsContext *msg, size_t *len)
Definition: cert.upb.h:454
UPB_INLINE char * envoy_api_v2_auth_TlsCertificate_serialize(const envoy_api_v2_auth_TlsCertificate *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:189
UPB_INLINE void envoy_api_v2_auth_SdsSecretConfig_set_sds_config(envoy_api_v2_auth_SdsSecretConfig *msg, struct envoy_api_v2_core_ConfigSource *value)
Definition: cert.upb.h:729
UPB_INLINE struct google_protobuf_Struct * envoy_api_v2_auth_PrivateKeyProvider_mutable_config(envoy_api_v2_auth_PrivateKeyProvider *msg, upb_arena *arena)
Definition: cert.upb.h:157
UPB_INLINE void envoy_api_v2_auth_TlsCertificate_set_password(envoy_api_v2_auth_TlsCertificate *msg, struct envoy_api_v2_core_DataSource *value)
Definition: cert.upb.h:224
UPB_INLINE void envoy_api_v2_auth_UpstreamTlsContext_set_allow_renegotiation(envoy_api_v2_auth_UpstreamTlsContext *msg, bool value)
Definition: cert.upb.h:603
UPB_INLINE upb_strview * envoy_api_v2_auth_TlsParameters_resize_ecdh_curves(envoy_api_v2_auth_TlsParameters *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:116
const upb_msglayout google_protobuf_BoolValue_msginit
Definition: wrappers.upb.c:79
UPB_INLINE bool envoy_api_v2_auth_DownstreamTlsContext_has_session_ticket_keys_sds_secret_config(const envoy_api_v2_auth_DownstreamTlsContext *msg)
Definition: cert.upb.h:645
UPB_INLINE envoy_api_v2_auth_PrivateKeyProvider * envoy_api_v2_auth_PrivateKeyProvider_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:129
UPB_INLINE envoy_api_v2_auth_DownstreamTlsContext * envoy_api_v2_auth_DownstreamTlsContext_new(upb_arena *arena)
Definition: cert.upb.h:621
UPB_INLINE char * envoy_api_v2_auth_TlsParameters_serialize(const envoy_api_v2_auth_TlsParameters *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:88
UPB_INLINE void envoy_api_v2_auth_Secret_set_validation_context(envoy_api_v2_auth_Secret *msg, envoy_api_v2_auth_CertificateValidationContext *value)
Definition: cert.upb.h:799
UPB_INLINE void envoy_api_v2_auth_Secret_set_session_ticket_keys(envoy_api_v2_auth_Secret *msg, envoy_api_v2_auth_TlsSessionTicketKeys *value)
Definition: cert.upb.h:787
const upb_msglayout envoy_api_v2_auth_CertificateValidationContext_msginit
Definition: cert.upb.c:101
UPB_INLINE int32_t envoy_api_v2_auth_TlsParameters_tls_minimum_protocol_version(const envoy_api_v2_auth_TlsParameters *msg)
Definition: cert.upb.h:92
UPB_INLINE const struct google_protobuf_Struct * envoy_api_v2_auth_PrivateKeyProvider_config(const envoy_api_v2_auth_PrivateKeyProvider *msg)
Definition: cert.upb.h:147
envoy_api_v2_auth_CommonTlsContext_validation_context_type_oneofcases
Definition: cert.upb.h:423
struct envoy_api_v2_auth_TlsSessionTicketKeys envoy_api_v2_auth_TlsSessionTicketKeys
Definition: cert.upb.h:37
UPB_INLINE const envoy_api_v2_auth_SdsSecretConfig * envoy_api_v2_auth_CommonTlsContext_validation_context_sds_secret_config(const envoy_api_v2_auth_CommonTlsContext *msg)
Definition: cert.upb.h:438
const upb_msglayout envoy_api_v2_core_DataSource_msginit
Definition: base.upb.c:154
UPB_INLINE struct envoy_api_v2_auth_CertificateValidationContext * envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_mutable_default_validation_context(envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext *msg, upb_arena *arena)
Definition: cert.upb.h:547
const upb_msglayout envoy_api_v2_auth_UpstreamTlsContext_msginit
Definition: cert.upb.c:159
UPB_INLINE bool envoy_api_v2_auth_CommonTlsContext_add_alpn_protocols(envoy_api_v2_auth_CommonTlsContext *msg, upb_strview val, upb_arena *arena)
Definition: cert.upb.h:485
UPB_INLINE struct envoy_api_v2_auth_TlsCertificate * envoy_api_v2_auth_Secret_mutable_tls_certificate(envoy_api_v2_auth_Secret *msg, upb_arena *arena)
Definition: cert.upb.h:778
UPB_INLINE struct envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext * envoy_api_v2_auth_CommonTlsContext_mutable_combined_validation_context(envoy_api_v2_auth_CommonTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:517
UPB_INLINE bool envoy_api_v2_auth_CertificateValidationContext_allow_expired_certificate(const envoy_api_v2_auth_CertificateValidationContext *msg)
Definition: cert.upb.h:325
UPB_INLINE bool envoy_api_v2_auth_TlsParameters_add_cipher_suites(envoy_api_v2_auth_TlsParameters *msg, upb_strview val, upb_arena *arena)
Definition: cert.upb.h:109
UPB_INLINE const struct google_protobuf_BoolValue * envoy_api_v2_auth_DownstreamTlsContext_require_client_certificate(const envoy_api_v2_auth_DownstreamTlsContext *msg)
Definition: cert.upb.h:641
UPB_INLINE const struct envoy_api_v2_core_DataSource *const * envoy_api_v2_auth_TlsCertificate_signed_certificate_timestamp(const envoy_api_v2_auth_TlsCertificate *msg, size_t *len)
Definition: cert.upb.h:197
UPB_INLINE envoy_api_v2_auth_SdsSecretConfig * envoy_api_v2_auth_SdsSecretConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:714
UPB_INLINE struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsSessionTicketKeys_add_keys(envoy_api_v2_auth_TlsSessionTicketKeys *msg, upb_arena *arena)
Definition: cert.upb.h:296
struct envoy_api_v2_auth_SdsSecretConfig envoy_api_v2_auth_SdsSecretConfig
Definition: cert.upb.h:43
UPB_INLINE struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsCertificate_mutable_password(envoy_api_v2_auth_TlsCertificate *msg, upb_arena *arena)
Definition: cert.upb.h:227
UPB_INLINE struct envoy_api_v2_core_DataSource ** envoy_api_v2_auth_TlsCertificate_resize_signed_certificate_timestamp(envoy_api_v2_auth_TlsCertificate *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:251
UPB_INLINE const envoy_api_v2_auth_TlsSessionTicketKeys * envoy_api_v2_auth_DownstreamTlsContext_session_ticket_keys(const envoy_api_v2_auth_DownstreamTlsContext *msg)
Definition: cert.upb.h:644
struct envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext
Definition: cert.upb.h:40
UPB_INLINE struct envoy_api_v2_auth_CertificateValidationContext * envoy_api_v2_auth_CommonTlsContext_mutable_validation_context(envoy_api_v2_auth_CommonTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:470
UPB_INLINE char * envoy_api_v2_auth_SdsSecretConfig_serialize(const envoy_api_v2_auth_SdsSecretConfig *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:719
UPB_INLINE upb_strview * envoy_api_v2_auth_CommonTlsContext_mutable_alpn_protocols(envoy_api_v2_auth_CommonTlsContext *msg, size_t *len)
Definition: cert.upb.h:479
UPB_INLINE bool envoy_api_v2_auth_PrivateKeyProvider_has_typed_config(const envoy_api_v2_auth_PrivateKeyProvider *msg)
Definition: cert.upb.h:148
UPB_INLINE char * envoy_api_v2_auth_PrivateKeyProvider_serialize(const envoy_api_v2_auth_PrivateKeyProvider *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:134
UPB_INLINE envoy_api_v2_auth_TlsParameters * envoy_api_v2_auth_TlsParameters_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:83
UPB_INLINE char * envoy_api_v2_auth_CommonTlsContext_serialize(const envoy_api_v2_auth_CommonTlsContext *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:419
UPB_INLINE upb_strview * envoy_api_v2_auth_CommonTlsContext_resize_alpn_protocols(envoy_api_v2_auth_CommonTlsContext *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:482
UPB_INLINE struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_CertificateValidationContext_mutable_trusted_ca(envoy_api_v2_auth_CertificateValidationContext *msg, upb_arena *arena)
Definition: cert.upb.h:330
UPB_INLINE void envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_set_default_validation_context(envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext *msg, envoy_api_v2_auth_CertificateValidationContext *value)
Definition: cert.upb.h:544
UPB_INLINE struct envoy_api_v2_auth_SdsSecretConfig * envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_mutable_validation_context_sds_secret_config(envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext *msg, upb_arena *arena)
Definition: cert.upb.h:559
UPB_INLINE struct envoy_api_v2_auth_CommonTlsContext * envoy_api_v2_auth_UpstreamTlsContext_mutable_common_tls_context(envoy_api_v2_auth_UpstreamTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:591
UPB_INLINE char * envoy_api_v2_auth_Secret_serialize(const envoy_api_v2_auth_Secret *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:752
UPB_INLINE envoy_api_v2_auth_PrivateKeyProvider * envoy_api_v2_auth_PrivateKeyProvider_new(upb_arena *arena)
Definition: cert.upb.h:126
const upb_msglayout envoy_api_v2_auth_DownstreamTlsContext_msginit
Definition: cert.upb.c:180
struct envoy_api_v2_core_DataSource envoy_api_v2_core_DataSource
Definition: base.upb.h:48
UPB_INLINE char * envoy_api_v2_auth_CertificateValidationContext_serialize(const envoy_api_v2_auth_CertificateValidationContext *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:314
UPB_INLINE const struct google_protobuf_BoolValue * envoy_api_v2_auth_CertificateValidationContext_require_signed_certificate_timestamp(const envoy_api_v2_auth_CertificateValidationContext *msg)
Definition: cert.upb.h:323
const upb_msglayout envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_msginit
Definition: cert.upb.c:141
UPB_INLINE bool envoy_api_v2_auth_CertificateValidationContext_add_verify_certificate_hash(envoy_api_v2_auth_CertificateValidationContext *msg, upb_strview val, upb_arena *arena)
Definition: cert.upb.h:345
UPB_INLINE bool envoy_api_v2_auth_CertificateValidationContext_add_verify_certificate_spki(envoy_api_v2_auth_CertificateValidationContext *msg, upb_strview val, upb_arena *arena)
Definition: cert.upb.h:355
UPB_INLINE upb_strview * envoy_api_v2_auth_TlsParameters_resize_cipher_suites(envoy_api_v2_auth_TlsParameters *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:106
UPB_INLINE bool envoy_api_v2_auth_TlsParameters_add_ecdh_curves(envoy_api_v2_auth_TlsParameters *msg, upb_strview val, upb_arena *arena)
Definition: cert.upb.h:119
UPB_INLINE envoy_api_v2_auth_CertificateValidationContext * envoy_api_v2_auth_CertificateValidationContext_new(upb_arena *arena)
Definition: cert.upb.h:306
const upb_msglayout google_protobuf_Struct_msginit
Definition: struct.upb.c:23
UPB_INLINE upb_strview envoy_api_v2_auth_UpstreamTlsContext_sni(const envoy_api_v2_auth_UpstreamTlsContext *msg)
Definition: cert.upb.h:584
struct envoy_api_v2_auth_TlsCertificate envoy_api_v2_auth_TlsCertificate
Definition: cert.upb.h:36
UPB_INLINE void envoy_api_v2_auth_CommonTlsContext_set_validation_context_sds_secret_config(envoy_api_v2_auth_CommonTlsContext *msg, envoy_api_v2_auth_SdsSecretConfig *value)
Definition: cert.upb.h:502
UPB_INLINE void envoy_api_v2_auth_TlsCertificate_set_certificate_chain(envoy_api_v2_auth_TlsCertificate *msg, struct envoy_api_v2_core_DataSource *value)
Definition: cert.upb.h:200
UPB_INLINE bool envoy_api_v2_auth_Secret_has_validation_context(const envoy_api_v2_auth_Secret *msg)
Definition: cert.upb.h:769
UPB_INLINE upb_strview const * envoy_api_v2_auth_TlsParameters_ecdh_curves(const envoy_api_v2_auth_TlsParameters *msg, size_t *len)
Definition: cert.upb.h:95
UPB_INLINE void envoy_api_v2_auth_CommonTlsContext_set_validation_context(envoy_api_v2_auth_CommonTlsContext *msg, envoy_api_v2_auth_CertificateValidationContext *value)
Definition: cert.upb.h:467
UPB_INLINE envoy_api_v2_auth_CommonTlsContext * envoy_api_v2_auth_CommonTlsContext_new(upb_arena *arena)
Definition: cert.upb.h:411
UPB_INLINE void envoy_api_v2_auth_SdsSecretConfig_set_name(envoy_api_v2_auth_SdsSecretConfig *msg, upb_strview value)
Definition: cert.upb.h:726
UPB_INLINE bool envoy_api_v2_auth_CommonTlsContext_has_validation_context(const envoy_api_v2_auth_CommonTlsContext *msg)
Definition: cert.upb.h:433
UPB_INLINE void envoy_api_v2_auth_CertificateValidationContext_set_require_ocsp_staple(envoy_api_v2_auth_CertificateValidationContext *msg, struct google_protobuf_BoolValue *value)
Definition: cert.upb.h:369
UPB_INLINE upb_strview const * envoy_api_v2_auth_CertificateValidationContext_verify_certificate_hash(const envoy_api_v2_auth_CertificateValidationContext *msg, size_t *len)
Definition: cert.upb.h:319
const upb_msglayout google_protobuf_UInt32Value_msginit
Definition: wrappers.upb.c:69
UPB_INLINE envoy_api_v2_auth_Secret_type_oneofcases envoy_api_v2_auth_Secret_type_case(const envoy_api_v2_auth_Secret *msg)
Definition: cert.upb.h:762
struct envoy_api_v2_auth_TlsParameters envoy_api_v2_auth_TlsParameters
Definition: cert.upb.h:34
struct envoy_api_v2_auth_CommonTlsContext envoy_api_v2_auth_CommonTlsContext
Definition: cert.upb.h:39
envoy_api_v2_auth_TlsParameters_TlsProtocol
Definition: cert.upb.h:69
UPB_INLINE struct envoy_api_v2_auth_CertificateValidationContext * envoy_api_v2_auth_Secret_mutable_validation_context(envoy_api_v2_auth_Secret *msg, upb_arena *arena)
Definition: cert.upb.h:802
UPB_INLINE struct envoy_api_v2_auth_TlsSessionTicketKeys * envoy_api_v2_auth_DownstreamTlsContext_mutable_session_ticket_keys(envoy_api_v2_auth_DownstreamTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:687
UPB_INLINE envoy_api_v2_auth_UpstreamTlsContext * envoy_api_v2_auth_UpstreamTlsContext_new(upb_arena *arena)
Definition: cert.upb.h:571
UPB_INLINE const envoy_api_v2_auth_SdsSecretConfig * envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_validation_context_sds_secret_config(const envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext *msg)
Definition: cert.upb.h:542
UPB_INLINE char * envoy_api_v2_auth_UpstreamTlsContext_serialize(const envoy_api_v2_auth_UpstreamTlsContext *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:579
envoy_api_v2_auth_DownstreamTlsContext_session_ticket_keys_type_oneofcases
Definition: cert.upb.h:633
UPB_INLINE void envoy_api_v2_auth_PrivateKeyProvider_set_provider_name(envoy_api_v2_auth_PrivateKeyProvider *msg, upb_strview value)
Definition: cert.upb.h:151
struct envoy_api_v2_auth_DownstreamTlsContext envoy_api_v2_auth_DownstreamTlsContext
Definition: cert.upb.h:42
UPB_INLINE struct envoy_api_v2_auth_SdsSecretConfig * envoy_api_v2_auth_CommonTlsContext_mutable_validation_context_sds_secret_config(envoy_api_v2_auth_CommonTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:505
UPB_INLINE const struct google_protobuf_Any * envoy_api_v2_auth_PrivateKeyProvider_typed_config(const envoy_api_v2_auth_PrivateKeyProvider *msg)
Definition: cert.upb.h:149
struct envoy_api_v2_auth_UpstreamTlsContext envoy_api_v2_auth_UpstreamTlsContext
Definition: cert.upb.h:41
UPB_INLINE const struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsCertificate_ocsp_staple(const envoy_api_v2_auth_TlsCertificate *msg)
Definition: cert.upb.h:196
UPB_INLINE struct envoy_api_v2_auth_CommonTlsContext * envoy_api_v2_auth_DownstreamTlsContext_mutable_common_tls_context(envoy_api_v2_auth_DownstreamTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:651
UPB_INLINE struct google_protobuf_BoolValue * envoy_api_v2_auth_CertificateValidationContext_mutable_require_signed_certificate_timestamp(envoy_api_v2_auth_CertificateValidationContext *msg, upb_arena *arena)
Definition: cert.upb.h:384
UPB_INLINE const envoy_api_v2_auth_CertificateValidationContext * envoy_api_v2_auth_CommonTlsContext_validation_context(const envoy_api_v2_auth_CommonTlsContext *msg)
Definition: cert.upb.h:434
const upb_msglayout envoy_api_v2_auth_TlsParameters_msginit
Definition: cert.upb.c:28
UPB_INLINE struct envoy_api_v2_auth_SdsSecretConfig * envoy_api_v2_auth_CommonTlsContext_add_tls_certificate_sds_secret_configs(envoy_api_v2_auth_CommonTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:495
UPB_INLINE void envoy_api_v2_auth_DownstreamTlsContext_set_require_client_certificate(envoy_api_v2_auth_DownstreamTlsContext *msg, struct google_protobuf_BoolValue *value)
Definition: cert.upb.h:660
UPB_INLINE const struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsCertificate_private_key(const envoy_api_v2_auth_TlsCertificate *msg)
Definition: cert.upb.h:194
envoy_api_v2_auth_PrivateKeyProvider_config_type_oneofcases
Definition: cert.upb.h:138
UPB_INLINE void envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_set_validation_context_sds_secret_config(envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext *msg, envoy_api_v2_auth_SdsSecretConfig *value)
Definition: cert.upb.h:556
UPB_INLINE upb_strview * envoy_api_v2_auth_CertificateValidationContext_resize_verify_subject_alt_name(envoy_api_v2_auth_CertificateValidationContext *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:362
UPB_INLINE const envoy_api_v2_auth_CommonTlsContext * envoy_api_v2_auth_UpstreamTlsContext_common_tls_context(const envoy_api_v2_auth_UpstreamTlsContext *msg)
Definition: cert.upb.h:583
UPB_INLINE const struct envoy_api_v2_core_DataSource *const * envoy_api_v2_auth_TlsSessionTicketKeys_keys(const envoy_api_v2_auth_TlsSessionTicketKeys *msg, size_t *len)
Definition: cert.upb.h:288
UPB_INLINE void envoy_api_v2_auth_UpstreamTlsContext_set_max_session_keys(envoy_api_v2_auth_UpstreamTlsContext *msg, struct google_protobuf_UInt32Value *value)
Definition: cert.upb.h:606
UPB_INLINE envoy_api_v2_auth_CommonTlsContext * envoy_api_v2_auth_CommonTlsContext_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:414
const upb_msglayout envoy_api_v2_core_ConfigSource_msginit
Definition: config_source.upb.c:84
UPB_INLINE void envoy_api_v2_auth_UpstreamTlsContext_set_sni(envoy_api_v2_auth_UpstreamTlsContext *msg, upb_strview value)
Definition: cert.upb.h:600
UPB_INLINE envoy_api_v2_auth_SdsSecretConfig ** envoy_api_v2_auth_CommonTlsContext_mutable_tls_certificate_sds_secret_configs(envoy_api_v2_auth_CommonTlsContext *msg, size_t *len)
Definition: cert.upb.h:489
struct google_protobuf_BoolValue google_protobuf_BoolValue
Definition: wrappers.upb.h:38
UPB_INLINE const envoy_api_v2_auth_SdsSecretConfig *const * envoy_api_v2_auth_CommonTlsContext_tls_certificate_sds_secret_configs(const envoy_api_v2_auth_CommonTlsContext *msg, size_t *len)
Definition: cert.upb.h:436
UPB_INLINE const struct google_protobuf_BoolValue * envoy_api_v2_auth_CertificateValidationContext_require_ocsp_staple(const envoy_api_v2_auth_CertificateValidationContext *msg)
Definition: cert.upb.h:322
UPB_INLINE void envoy_api_v2_auth_TlsParameters_set_tls_maximum_protocol_version(envoy_api_v2_auth_TlsParameters *msg, int32_t value)
Definition: cert.upb.h:100
UPB_INLINE struct envoy_api_v2_core_ConfigSource * envoy_api_v2_auth_SdsSecretConfig_mutable_sds_config(envoy_api_v2_auth_SdsSecretConfig *msg, upb_arena *arena)
Definition: cert.upb.h:732
UPB_INLINE const envoy_api_v2_auth_CommonTlsContext * envoy_api_v2_auth_DownstreamTlsContext_common_tls_context(const envoy_api_v2_auth_DownstreamTlsContext *msg)
Definition: cert.upb.h:640
UPB_INLINE upb_strview * envoy_api_v2_auth_CertificateValidationContext_mutable_verify_certificate_hash(envoy_api_v2_auth_CertificateValidationContext *msg, size_t *len)
Definition: cert.upb.h:339
UPB_INLINE struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsCertificate_mutable_private_key(envoy_api_v2_auth_TlsCertificate *msg, upb_arena *arena)
Definition: cert.upb.h:215
UPB_INLINE upb_strview * envoy_api_v2_auth_TlsParameters_mutable_ecdh_curves(envoy_api_v2_auth_TlsParameters *msg, size_t *len)
Definition: cert.upb.h:113
Definition: cert.upb.h:760
UPB_INLINE void envoy_api_v2_auth_PrivateKeyProvider_set_config(envoy_api_v2_auth_PrivateKeyProvider *msg, struct google_protobuf_Struct *value)
Definition: cert.upb.h:154
struct google_protobuf_Any google_protobuf_Any
Definition: any.upb.h:24
UPB_INLINE bool envoy_api_v2_auth_CommonTlsContext_has_validation_context_sds_secret_config(const envoy_api_v2_auth_CommonTlsContext *msg)
Definition: cert.upb.h:437
UPB_INLINE upb_strview const * envoy_api_v2_auth_CertificateValidationContext_verify_subject_alt_name(const envoy_api_v2_auth_CertificateValidationContext *msg, size_t *len)
Definition: cert.upb.h:321
UPB_INLINE void envoy_api_v2_auth_TlsParameters_set_tls_minimum_protocol_version(envoy_api_v2_auth_TlsParameters *msg, int32_t value)
Definition: cert.upb.h:97
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_auth_UpstreamTlsContext_mutable_max_session_keys(envoy_api_v2_auth_UpstreamTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:609
UPB_INLINE envoy_api_v2_auth_TlsParameters * envoy_api_v2_auth_TlsParameters_new(upb_arena *arena)
Definition: cert.upb.h:80
UPB_INLINE struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsCertificate_mutable_ocsp_staple(envoy_api_v2_auth_TlsCertificate *msg, upb_arena *arena)
Definition: cert.upb.h:239
UPB_INLINE struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsCertificate_mutable_certificate_chain(envoy_api_v2_auth_TlsCertificate *msg, upb_arena *arena)
Definition: cert.upb.h:203
UPB_INLINE struct envoy_api_v2_core_DataSource ** envoy_api_v2_auth_TlsSessionTicketKeys_resize_keys(envoy_api_v2_auth_TlsSessionTicketKeys *msg, size_t len, upb_arena *arena)
Definition: cert.upb.h:293
UPB_INLINE const envoy_api_v2_auth_PrivateKeyProvider * envoy_api_v2_auth_TlsCertificate_private_key_provider(const envoy_api_v2_auth_TlsCertificate *msg)
Definition: cert.upb.h:198
UPB_INLINE struct envoy_api_v2_core_DataSource ** envoy_api_v2_auth_TlsSessionTicketKeys_mutable_keys(envoy_api_v2_auth_TlsSessionTicketKeys *msg, size_t *len)
Definition: cert.upb.h:290
UPB_INLINE const struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_CertificateValidationContext_trusted_ca(const envoy_api_v2_auth_CertificateValidationContext *msg)
Definition: cert.upb.h:318
UPB_INLINE void envoy_api_v2_auth_DownstreamTlsContext_set_require_sni(envoy_api_v2_auth_DownstreamTlsContext *msg, struct google_protobuf_BoolValue *value)
Definition: cert.upb.h:672
UPB_INLINE const struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsCertificate_password(const envoy_api_v2_auth_TlsCertificate *msg)
Definition: cert.upb.h:195
UPB_INLINE const struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_CertificateValidationContext_crl(const envoy_api_v2_auth_CertificateValidationContext *msg)
Definition: cert.upb.h:324
UPB_INLINE struct envoy_api_v2_core_DataSource ** envoy_api_v2_auth_TlsCertificate_mutable_signed_certificate_timestamp(envoy_api_v2_auth_TlsCertificate *msg, size_t *len)
Definition: cert.upb.h:248
UPB_INLINE envoy_api_v2_auth_Secret * envoy_api_v2_auth_Secret_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:747
UPB_INLINE const envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext * envoy_api_v2_auth_CommonTlsContext_combined_validation_context(const envoy_api_v2_auth_CommonTlsContext *msg)
Definition: cert.upb.h:440
UPB_INLINE void envoy_api_v2_auth_DownstreamTlsContext_set_session_ticket_keys_sds_secret_config(envoy_api_v2_auth_DownstreamTlsContext *msg, envoy_api_v2_auth_SdsSecretConfig *value)
Definition: cert.upb.h:696
UPB_INLINE const envoy_api_v2_auth_CertificateValidationContext * envoy_api_v2_auth_Secret_validation_context(const envoy_api_v2_auth_Secret *msg)
Definition: cert.upb.h:770
UPB_INLINE upb_strview * envoy_api_v2_auth_TlsParameters_mutable_cipher_suites(envoy_api_v2_auth_TlsParameters *msg, size_t *len)
Definition: cert.upb.h:103
struct envoy_api_v2_auth_PrivateKeyProvider envoy_api_v2_auth_PrivateKeyProvider
Definition: cert.upb.h:35
UPB_INLINE struct envoy_api_v2_core_DataSource * envoy_api_v2_auth_TlsCertificate_add_signed_certificate_timestamp(envoy_api_v2_auth_TlsCertificate *msg, upb_arena *arena)
Definition: cert.upb.h:254
UPB_INLINE const envoy_api_v2_auth_TlsCertificate *const * envoy_api_v2_auth_CommonTlsContext_tls_certificates(const envoy_api_v2_auth_CommonTlsContext *msg, size_t *len)
Definition: cert.upb.h:432
UPB_INLINE envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext * envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cert.upb.h:532
UPB_INLINE struct envoy_api_v2_auth_TlsParameters * envoy_api_v2_auth_CommonTlsContext_mutable_tls_params(envoy_api_v2_auth_CommonTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:445
UPB_INLINE envoy_api_v2_auth_TlsCertificate * envoy_api_v2_auth_TlsCertificate_new(upb_arena *arena)
Definition: cert.upb.h:181
UPB_INLINE envoy_api_v2_auth_SdsSecretConfig * envoy_api_v2_auth_SdsSecretConfig_new(upb_arena *arena)
Definition: cert.upb.h:711
UPB_INLINE upb_strview const * envoy_api_v2_auth_CertificateValidationContext_verify_certificate_spki(const envoy_api_v2_auth_CertificateValidationContext *msg, size_t *len)
Definition: cert.upb.h:320
UPB_INLINE char * envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext_serialize(const envoy_api_v2_auth_CommonTlsContext_CombinedCertificateValidationContext *msg, upb_arena *arena, size_t *len)
Definition: cert.upb.h:537
UPB_INLINE envoy_api_v2_auth_Secret * envoy_api_v2_auth_Secret_new(upb_arena *arena)
Definition: cert.upb.h:744
UPB_INLINE struct google_protobuf_BoolValue * envoy_api_v2_auth_DownstreamTlsContext_mutable_require_sni(envoy_api_v2_auth_DownstreamTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:675
const upb_msglayout envoy_api_v2_auth_PrivateKeyProvider_msginit
Definition: cert.upb.c:45
UPB_INLINE struct envoy_api_v2_auth_SdsSecretConfig * envoy_api_v2_auth_DownstreamTlsContext_mutable_session_ticket_keys_sds_secret_config(envoy_api_v2_auth_DownstreamTlsContext *msg, upb_arena *arena)
Definition: cert.upb.h:699
UPB_INLINE void envoy_api_v2_auth_DownstreamTlsContext_set_session_ticket_keys(envoy_api_v2_auth_DownstreamTlsContext *msg, envoy_api_v2_auth_TlsSessionTicketKeys *value)
Definition: cert.upb.h:684
const upb_msglayout envoy_api_v2_auth_TlsCertificate_msginit
Definition: cert.upb.c:65