• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/config/core/v3/protocol.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/config/core/v3/protocol.upb.h"
12 #include "envoy/type/v3/percent.upb.h"
13 #include "google/protobuf/duration.upb.h"
14 #include "google/protobuf/wrappers.upb.h"
15 #include "udpa/annotations/status.upb.h"
16 #include "udpa/annotations/versioning.upb.h"
17 #include "validate/validate.upb.h"
18 
19 #include "upb/port_def.inc"
20 
21 const upb_msglayout envoy_config_core_v3_TcpProtocolOptions_msginit = {
22   NULL,
23   NULL,
24   UPB_SIZE(0, 0), 0, false, 255,
25 };
26 
27 static const upb_msglayout_field envoy_config_core_v3_UpstreamHttpProtocolOptions__fields[2] = {
28   {1, UPB_SIZE(0, 0), 0, 0, 8, 1},
29   {2, UPB_SIZE(1, 1), 0, 0, 8, 1},
30 };
31 
32 const upb_msglayout envoy_config_core_v3_UpstreamHttpProtocolOptions_msginit = {
33   NULL,
34   &envoy_config_core_v3_UpstreamHttpProtocolOptions__fields[0],
35   UPB_SIZE(8, 8), 2, false, 255,
36 };
37 
38 static const upb_msglayout *const envoy_config_core_v3_HttpProtocolOptions_submsgs[2] = {
39   &google_protobuf_Duration_msginit,
40   &google_protobuf_UInt32Value_msginit,
41 };
42 
43 static const upb_msglayout_field envoy_config_core_v3_HttpProtocolOptions__fields[5] = {
44   {1, UPB_SIZE(8, 8), 1, 0, 11, 1},
45   {2, UPB_SIZE(12, 16), 2, 1, 11, 1},
46   {3, UPB_SIZE(16, 24), 3, 0, 11, 1},
47   {4, UPB_SIZE(20, 32), 4, 0, 11, 1},
48   {5, UPB_SIZE(4, 4), 0, 0, 14, 1},
49 };
50 
51 const upb_msglayout envoy_config_core_v3_HttpProtocolOptions_msginit = {
52   &envoy_config_core_v3_HttpProtocolOptions_submsgs[0],
53   &envoy_config_core_v3_HttpProtocolOptions__fields[0],
54   UPB_SIZE(24, 40), 5, false, 255,
55 };
56 
57 static const upb_msglayout *const envoy_config_core_v3_Http1ProtocolOptions_submsgs[2] = {
58   &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msginit,
59   &google_protobuf_BoolValue_msginit,
60 };
61 
62 static const upb_msglayout_field envoy_config_core_v3_Http1ProtocolOptions__fields[7] = {
63   {1, UPB_SIZE(12, 24), 1, 1, 11, 1},
64   {2, UPB_SIZE(1, 1), 0, 0, 8, 1},
65   {3, UPB_SIZE(4, 8), 0, 0, 9, 1},
66   {4, UPB_SIZE(16, 32), 2, 0, 11, 1},
67   {5, UPB_SIZE(2, 2), 0, 0, 8, 1},
68   {6, UPB_SIZE(3, 3), 0, 0, 8, 1},
69   {7, UPB_SIZE(20, 40), 3, 1, 11, 1},
70 };
71 
72 const upb_msglayout envoy_config_core_v3_Http1ProtocolOptions_msginit = {
73   &envoy_config_core_v3_Http1ProtocolOptions_submsgs[0],
74   &envoy_config_core_v3_Http1ProtocolOptions__fields[0],
75   UPB_SIZE(24, 48), 7, false, 255,
76 };
77 
78 static const upb_msglayout *const envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_submsgs[1] = {
79   &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msginit,
80 };
81 
82 static const upb_msglayout_field envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat__fields[1] = {
83   {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
84 };
85 
86 const upb_msglayout envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_msginit = {
87   &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_submsgs[0],
88   &envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat__fields[0],
89   UPB_SIZE(8, 16), 1, false, 255,
90 };
91 
92 const upb_msglayout envoy_config_core_v3_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msginit = {
93   NULL,
94   NULL,
95   UPB_SIZE(0, 0), 0, false, 255,
96 };
97 
98 static const upb_msglayout *const envoy_config_core_v3_KeepaliveSettings_submsgs[2] = {
99   &envoy_type_v3_Percent_msginit,
100   &google_protobuf_Duration_msginit,
101 };
102 
103 static const upb_msglayout_field envoy_config_core_v3_KeepaliveSettings__fields[3] = {
104   {1, UPB_SIZE(4, 8), 1, 1, 11, 1},
105   {2, UPB_SIZE(8, 16), 2, 1, 11, 1},
106   {3, UPB_SIZE(12, 24), 3, 0, 11, 1},
107 };
108 
109 const upb_msglayout envoy_config_core_v3_KeepaliveSettings_msginit = {
110   &envoy_config_core_v3_KeepaliveSettings_submsgs[0],
111   &envoy_config_core_v3_KeepaliveSettings__fields[0],
112   UPB_SIZE(16, 32), 3, false, 255,
113 };
114 
115 static const upb_msglayout *const envoy_config_core_v3_Http2ProtocolOptions_submsgs[4] = {
116   &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msginit,
117   &envoy_config_core_v3_KeepaliveSettings_msginit,
118   &google_protobuf_BoolValue_msginit,
119   &google_protobuf_UInt32Value_msginit,
120 };
121 
122 static const upb_msglayout_field envoy_config_core_v3_Http2ProtocolOptions__fields[15] = {
123   {1, UPB_SIZE(8, 8), 1, 3, 11, 1},
124   {2, UPB_SIZE(12, 16), 2, 3, 11, 1},
125   {3, UPB_SIZE(16, 24), 3, 3, 11, 1},
126   {4, UPB_SIZE(20, 32), 4, 3, 11, 1},
127   {5, UPB_SIZE(2, 2), 0, 0, 8, 1},
128   {6, UPB_SIZE(3, 3), 0, 0, 8, 1},
129   {7, UPB_SIZE(24, 40), 5, 3, 11, 1},
130   {8, UPB_SIZE(28, 48), 6, 3, 11, 1},
131   {9, UPB_SIZE(32, 56), 7, 3, 11, 1},
132   {10, UPB_SIZE(36, 64), 8, 3, 11, 1},
133   {11, UPB_SIZE(40, 72), 9, 3, 11, 1},
134   {12, UPB_SIZE(4, 4), 0, 0, 8, 1},
135   {13, UPB_SIZE(52, 96), 0, 0, 11, 3},
136   {14, UPB_SIZE(44, 80), 10, 2, 11, 1},
137   {15, UPB_SIZE(48, 88), 11, 1, 11, 1},
138 };
139 
140 const upb_msglayout envoy_config_core_v3_Http2ProtocolOptions_msginit = {
141   &envoy_config_core_v3_Http2ProtocolOptions_submsgs[0],
142   &envoy_config_core_v3_Http2ProtocolOptions__fields[0],
143   UPB_SIZE(56, 104), 15, false, 255,
144 };
145 
146 static const upb_msglayout *const envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_submsgs[1] = {
147   &google_protobuf_UInt32Value_msginit,
148 };
149 
150 static const upb_msglayout_field envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter__fields[2] = {
151   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
152   {2, UPB_SIZE(8, 16), 2, 0, 11, 1},
153 };
154 
155 const upb_msglayout envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_msginit = {
156   &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter_submsgs[0],
157   &envoy_config_core_v3_Http2ProtocolOptions_SettingsParameter__fields[0],
158   UPB_SIZE(16, 24), 2, false, 255,
159 };
160 
161 static const upb_msglayout *const envoy_config_core_v3_GrpcProtocolOptions_submsgs[1] = {
162   &envoy_config_core_v3_Http2ProtocolOptions_msginit,
163 };
164 
165 static const upb_msglayout_field envoy_config_core_v3_GrpcProtocolOptions__fields[1] = {
166   {1, UPB_SIZE(4, 8), 1, 0, 11, 1},
167 };
168 
169 const upb_msglayout envoy_config_core_v3_GrpcProtocolOptions_msginit = {
170   &envoy_config_core_v3_GrpcProtocolOptions_submsgs[0],
171   &envoy_config_core_v3_GrpcProtocolOptions__fields[0],
172   UPB_SIZE(8, 16), 1, false, 255,
173 };
174 
175 #include "upb/port_undef.inc"
176 
177