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