• 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/common.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/common.upb.h"
12 #include "envoy/config/core/v3/base.upb.h"
13 #include "envoy/type/matcher/v3/string.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 "udpa/annotations/sensitive.upb.h"
18 #include "udpa/annotations/status.upb.h"
19 #include "udpa/annotations/versioning.upb.h"
20 #include "validate/validate.upb.h"
21 
22 #include "upb/port_def.inc"
23 
24 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_TlsParameters__fields[4] = {
25   {1, UPB_SIZE(0, 0), 0, 0, 14, 1},
26   {2, UPB_SIZE(4, 4), 0, 0, 14, 1},
27   {3, UPB_SIZE(8, 8), 0, 0, 9, 3},
28   {4, UPB_SIZE(12, 16), 0, 0, 9, 3},
29 };
30 
31 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_TlsParameters_msginit = {
32   NULL,
33   &envoy_extensions_transport_sockets_tls_v3_TlsParameters__fields[0],
34   UPB_SIZE(16, 24), 4, false, 255,
35 };
36 
37 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_submsgs[1] = {
38   &google_protobuf_Any_msginit,
39 };
40 
41 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider__fields[2] = {
42   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
43   {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1},
44 };
45 
46 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msginit = {
47   &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_submsgs[0],
48   &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider__fields[0],
49   UPB_SIZE(16, 32), 2, false, 255,
50 };
51 
52 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_TlsCertificate_submsgs[2] = {
53   &envoy_config_core_v3_DataSource_msginit,
54   &envoy_extensions_transport_sockets_tls_v3_PrivateKeyProvider_msginit,
55 };
56 
57 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_TlsCertificate__fields[6] = {
58   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
59   {2, UPB_SIZE(8, 16), 2, 0, 11, 1},
60   {3, UPB_SIZE(12, 24), 3, 0, 11, 1},
61   {4, UPB_SIZE(16, 32), 4, 0, 11, 1},
62   {5, UPB_SIZE(24, 48), 0, 0, 11, 3},
63   {6, UPB_SIZE(20, 40), 5, 1, 11, 1},
64 };
65 
66 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_TlsCertificate_msginit = {
67   &envoy_extensions_transport_sockets_tls_v3_TlsCertificate_submsgs[0],
68   &envoy_extensions_transport_sockets_tls_v3_TlsCertificate__fields[0],
69   UPB_SIZE(32, 56), 6, false, 255,
70 };
71 
72 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_submsgs[1] = {
73   &envoy_config_core_v3_DataSource_msginit,
74 };
75 
76 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys__fields[1] = {
77   {1, UPB_SIZE(0, 0), 0, 0, 11, 3},
78 };
79 
80 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_msginit = {
81   &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys_submsgs[0],
82   &envoy_extensions_transport_sockets_tls_v3_TlsSessionTicketKeys__fields[0],
83   UPB_SIZE(8, 8), 1, false, 255,
84 };
85 
86 static const upb_msglayout *const envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_submsgs[3] = {
87   &envoy_config_core_v3_DataSource_msginit,
88   &envoy_type_matcher_v3_StringMatcher_msginit,
89   &google_protobuf_BoolValue_msginit,
90 };
91 
92 static const upb_msglayout_field envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext__fields[8] = {
93   {1, UPB_SIZE(12, 16), 1, 0, 11, 1},
94   {2, UPB_SIZE(24, 40), 0, 0, 9, 3},
95   {3, UPB_SIZE(28, 48), 0, 0, 9, 3},
96   {6, UPB_SIZE(16, 24), 2, 2, 11, 1},
97   {7, UPB_SIZE(20, 32), 3, 0, 11, 1},
98   {8, UPB_SIZE(8, 8), 0, 0, 8, 1},
99   {9, UPB_SIZE(32, 56), 0, 1, 11, 3},
100   {10, UPB_SIZE(4, 4), 0, 0, 14, 1},
101 };
102 
103 const upb_msglayout envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_msginit = {
104   &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext_submsgs[0],
105   &envoy_extensions_transport_sockets_tls_v3_CertificateValidationContext__fields[0],
106   UPB_SIZE(40, 64), 8, false, 255,
107 };
108 
109 #include "upb/port_undef.inc"
110 
111