1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/api/v2/core/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/api/v2/core/protocol.upb.h" 12 #include "google/protobuf/duration.upb.h" 13 #include "google/protobuf/wrappers.upb.h" 14 #include "udpa/annotations/migrate.upb.h" 15 #include "udpa/annotations/status.upb.h" 16 #include "validate/validate.upb.h" 17 18 #include "upb/port_def.inc" 19 20 const upb_msglayout envoy_api_v2_core_TcpProtocolOptions_msginit = { 21 NULL, 22 NULL, 23 UPB_SIZE(0, 0), 0, false, 24 }; 25 26 static const upb_msglayout_field envoy_api_v2_core_UpstreamHttpProtocolOptions__fields[2] = { 27 {1, UPB_SIZE(0, 0), 0, 0, 8, 1}, 28 {2, UPB_SIZE(1, 1), 0, 0, 8, 1}, 29 }; 30 31 const upb_msglayout envoy_api_v2_core_UpstreamHttpProtocolOptions_msginit = { 32 NULL, 33 &envoy_api_v2_core_UpstreamHttpProtocolOptions__fields[0], 34 UPB_SIZE(2, 2), 2, false, 35 }; 36 37 static const upb_msglayout *const envoy_api_v2_core_HttpProtocolOptions_submsgs[4] = { 38 &google_protobuf_Duration_msginit, 39 &google_protobuf_UInt32Value_msginit, 40 }; 41 42 static const upb_msglayout_field envoy_api_v2_core_HttpProtocolOptions__fields[5] = { 43 {1, UPB_SIZE(8, 8), 0, 0, 11, 1}, 44 {2, UPB_SIZE(12, 16), 0, 1, 11, 1}, 45 {3, UPB_SIZE(16, 24), 0, 0, 11, 1}, 46 {4, UPB_SIZE(20, 32), 0, 0, 11, 1}, 47 {5, UPB_SIZE(0, 0), 0, 0, 14, 1}, 48 }; 49 50 const upb_msglayout envoy_api_v2_core_HttpProtocolOptions_msginit = { 51 &envoy_api_v2_core_HttpProtocolOptions_submsgs[0], 52 &envoy_api_v2_core_HttpProtocolOptions__fields[0], 53 UPB_SIZE(24, 40), 5, false, 54 }; 55 56 static const upb_msglayout *const envoy_api_v2_core_Http1ProtocolOptions_submsgs[2] = { 57 &envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_msginit, 58 &google_protobuf_BoolValue_msginit, 59 }; 60 61 static const upb_msglayout_field envoy_api_v2_core_Http1ProtocolOptions__fields[5] = { 62 {1, UPB_SIZE(12, 24), 0, 1, 11, 1}, 63 {2, UPB_SIZE(0, 0), 0, 0, 8, 1}, 64 {3, UPB_SIZE(4, 8), 0, 0, 9, 1}, 65 {4, UPB_SIZE(16, 32), 0, 0, 11, 1}, 66 {5, UPB_SIZE(1, 1), 0, 0, 8, 1}, 67 }; 68 69 const upb_msglayout envoy_api_v2_core_Http1ProtocolOptions_msginit = { 70 &envoy_api_v2_core_Http1ProtocolOptions_submsgs[0], 71 &envoy_api_v2_core_Http1ProtocolOptions__fields[0], 72 UPB_SIZE(24, 48), 5, false, 73 }; 74 75 static const upb_msglayout *const envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_submsgs[1] = { 76 &envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msginit, 77 }; 78 79 static const upb_msglayout_field envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat__fields[1] = { 80 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1}, 81 }; 82 83 const upb_msglayout envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_msginit = { 84 &envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_submsgs[0], 85 &envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat__fields[0], 86 UPB_SIZE(8, 16), 1, false, 87 }; 88 89 const upb_msglayout envoy_api_v2_core_Http1ProtocolOptions_HeaderKeyFormat_ProperCaseWords_msginit = { 90 NULL, 91 NULL, 92 UPB_SIZE(0, 0), 0, false, 93 }; 94 95 static const upb_msglayout *const envoy_api_v2_core_Http2ProtocolOptions_submsgs[10] = { 96 &envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter_msginit, 97 &google_protobuf_UInt32Value_msginit, 98 }; 99 100 static const upb_msglayout_field envoy_api_v2_core_Http2ProtocolOptions__fields[13] = { 101 {1, UPB_SIZE(4, 8), 0, 1, 11, 1}, 102 {2, UPB_SIZE(8, 16), 0, 1, 11, 1}, 103 {3, UPB_SIZE(12, 24), 0, 1, 11, 1}, 104 {4, UPB_SIZE(16, 32), 0, 1, 11, 1}, 105 {5, UPB_SIZE(0, 0), 0, 0, 8, 1}, 106 {6, UPB_SIZE(1, 1), 0, 0, 8, 1}, 107 {7, UPB_SIZE(20, 40), 0, 1, 11, 1}, 108 {8, UPB_SIZE(24, 48), 0, 1, 11, 1}, 109 {9, UPB_SIZE(28, 56), 0, 1, 11, 1}, 110 {10, UPB_SIZE(32, 64), 0, 1, 11, 1}, 111 {11, UPB_SIZE(36, 72), 0, 1, 11, 1}, 112 {12, UPB_SIZE(2, 2), 0, 0, 8, 1}, 113 {13, UPB_SIZE(40, 80), 0, 0, 11, 3}, 114 }; 115 116 const upb_msglayout envoy_api_v2_core_Http2ProtocolOptions_msginit = { 117 &envoy_api_v2_core_Http2ProtocolOptions_submsgs[0], 118 &envoy_api_v2_core_Http2ProtocolOptions__fields[0], 119 UPB_SIZE(44, 88), 13, false, 120 }; 121 122 static const upb_msglayout *const envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter_submsgs[2] = { 123 &google_protobuf_UInt32Value_msginit, 124 }; 125 126 static const upb_msglayout_field envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter__fields[2] = { 127 {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, 128 {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, 129 }; 130 131 const upb_msglayout envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter_msginit = { 132 &envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter_submsgs[0], 133 &envoy_api_v2_core_Http2ProtocolOptions_SettingsParameter__fields[0], 134 UPB_SIZE(8, 16), 2, false, 135 }; 136 137 static const upb_msglayout *const envoy_api_v2_core_GrpcProtocolOptions_submsgs[1] = { 138 &envoy_api_v2_core_Http2ProtocolOptions_msginit, 139 }; 140 141 static const upb_msglayout_field envoy_api_v2_core_GrpcProtocolOptions__fields[1] = { 142 {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, 143 }; 144 145 const upb_msglayout envoy_api_v2_core_GrpcProtocolOptions_msginit = { 146 &envoy_api_v2_core_GrpcProtocolOptions_submsgs[0], 147 &envoy_api_v2_core_GrpcProtocolOptions__fields[0], 148 UPB_SIZE(4, 8), 1, false, 149 }; 150 151 #include "upb/port_undef.inc" 152 153