1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/api/v2/core/health_check.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/health_check.upb.h" 12 #include "envoy/api/v2/core/base.upb.h" 13 #include "envoy/api/v2/core/event_service_config.upb.h" 14 #include "envoy/type/http.upb.h" 15 #include "envoy/type/matcher/string.upb.h" 16 #include "envoy/type/range.upb.h" 17 #include "google/protobuf/any.upb.h" 18 #include "google/protobuf/duration.upb.h" 19 #include "google/protobuf/struct.upb.h" 20 #include "google/protobuf/wrappers.upb.h" 21 #include "envoy/annotations/deprecation.upb.h" 22 #include "udpa/annotations/migrate.upb.h" 23 #include "udpa/annotations/status.upb.h" 24 #include "validate/validate.upb.h" 25 26 #include "upb/port_def.inc" 27 28 static const upb_msglayout *const envoy_api_v2_core_HealthCheck_submsgs[18] = { 29 &envoy_api_v2_core_EventServiceConfig_msginit, 30 &envoy_api_v2_core_HealthCheck_CustomHealthCheck_msginit, 31 &envoy_api_v2_core_HealthCheck_GrpcHealthCheck_msginit, 32 &envoy_api_v2_core_HealthCheck_HttpHealthCheck_msginit, 33 &envoy_api_v2_core_HealthCheck_TcpHealthCheck_msginit, 34 &envoy_api_v2_core_HealthCheck_TlsOptions_msginit, 35 &google_protobuf_BoolValue_msginit, 36 &google_protobuf_Duration_msginit, 37 &google_protobuf_UInt32Value_msginit, 38 }; 39 40 static const upb_msglayout_field envoy_api_v2_core_HealthCheck__fields[21] = { 41 {1, UPB_SIZE(16, 24), 0, 7, 11, 1}, 42 {2, UPB_SIZE(20, 32), 0, 7, 11, 1}, 43 {3, UPB_SIZE(24, 40), 0, 7, 11, 1}, 44 {4, UPB_SIZE(28, 48), 0, 8, 11, 1}, 45 {5, UPB_SIZE(32, 56), 0, 8, 11, 1}, 46 {6, UPB_SIZE(36, 64), 0, 8, 11, 1}, 47 {7, UPB_SIZE(40, 72), 0, 6, 11, 1}, 48 {8, UPB_SIZE(72, 136), UPB_SIZE(-77, -145), 3, 11, 1}, 49 {9, UPB_SIZE(72, 136), UPB_SIZE(-77, -145), 4, 11, 1}, 50 {11, UPB_SIZE(72, 136), UPB_SIZE(-77, -145), 2, 11, 1}, 51 {12, UPB_SIZE(44, 80), 0, 7, 11, 1}, 52 {13, UPB_SIZE(72, 136), UPB_SIZE(-77, -145), 1, 11, 1}, 53 {14, UPB_SIZE(48, 88), 0, 7, 11, 1}, 54 {15, UPB_SIZE(52, 96), 0, 7, 11, 1}, 55 {16, UPB_SIZE(56, 104), 0, 7, 11, 1}, 56 {17, UPB_SIZE(8, 8), 0, 0, 9, 1}, 57 {18, UPB_SIZE(0, 0), 0, 0, 13, 1}, 58 {19, UPB_SIZE(4, 4), 0, 0, 8, 1}, 59 {20, UPB_SIZE(60, 112), 0, 7, 11, 1}, 60 {21, UPB_SIZE(64, 120), 0, 5, 11, 1}, 61 {22, UPB_SIZE(68, 128), 0, 0, 11, 1}, 62 }; 63 64 const upb_msglayout envoy_api_v2_core_HealthCheck_msginit = { 65 &envoy_api_v2_core_HealthCheck_submsgs[0], 66 &envoy_api_v2_core_HealthCheck__fields[0], 67 UPB_SIZE(80, 160), 21, false, 68 }; 69 70 static const upb_msglayout_field envoy_api_v2_core_HealthCheck_Payload__fields[2] = { 71 {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1}, 72 {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 12, 1}, 73 }; 74 75 const upb_msglayout envoy_api_v2_core_HealthCheck_Payload_msginit = { 76 NULL, 77 &envoy_api_v2_core_HealthCheck_Payload__fields[0], 78 UPB_SIZE(16, 32), 2, false, 79 }; 80 81 static const upb_msglayout *const envoy_api_v2_core_HealthCheck_HttpHealthCheck_submsgs[5] = { 82 &envoy_api_v2_core_HeaderValueOption_msginit, 83 &envoy_api_v2_core_HealthCheck_Payload_msginit, 84 &envoy_type_Int64Range_msginit, 85 &envoy_type_matcher_StringMatcher_msginit, 86 }; 87 88 static const upb_msglayout_field envoy_api_v2_core_HealthCheck_HttpHealthCheck__fields[11] = { 89 {1, UPB_SIZE(12, 16), 0, 0, 9, 1}, 90 {2, UPB_SIZE(20, 32), 0, 0, 9, 1}, 91 {3, UPB_SIZE(36, 64), 0, 1, 11, 1}, 92 {4, UPB_SIZE(40, 72), 0, 1, 11, 1}, 93 {5, UPB_SIZE(28, 48), 0, 0, 9, 1}, 94 {6, UPB_SIZE(48, 88), 0, 0, 11, 3}, 95 {7, UPB_SIZE(8, 8), 0, 0, 8, 1}, 96 {8, UPB_SIZE(52, 96), 0, 0, 9, 3}, 97 {9, UPB_SIZE(56, 104), 0, 2, 11, 3}, 98 {10, UPB_SIZE(0, 0), 0, 0, 14, 1}, 99 {11, UPB_SIZE(44, 80), 0, 3, 11, 1}, 100 }; 101 102 const upb_msglayout envoy_api_v2_core_HealthCheck_HttpHealthCheck_msginit = { 103 &envoy_api_v2_core_HealthCheck_HttpHealthCheck_submsgs[0], 104 &envoy_api_v2_core_HealthCheck_HttpHealthCheck__fields[0], 105 UPB_SIZE(64, 112), 11, false, 106 }; 107 108 static const upb_msglayout *const envoy_api_v2_core_HealthCheck_TcpHealthCheck_submsgs[2] = { 109 &envoy_api_v2_core_HealthCheck_Payload_msginit, 110 }; 111 112 static const upb_msglayout_field envoy_api_v2_core_HealthCheck_TcpHealthCheck__fields[2] = { 113 {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, 114 {2, UPB_SIZE(4, 8), 0, 0, 11, 3}, 115 }; 116 117 const upb_msglayout envoy_api_v2_core_HealthCheck_TcpHealthCheck_msginit = { 118 &envoy_api_v2_core_HealthCheck_TcpHealthCheck_submsgs[0], 119 &envoy_api_v2_core_HealthCheck_TcpHealthCheck__fields[0], 120 UPB_SIZE(8, 16), 2, false, 121 }; 122 123 static const upb_msglayout_field envoy_api_v2_core_HealthCheck_RedisHealthCheck__fields[1] = { 124 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 125 }; 126 127 const upb_msglayout envoy_api_v2_core_HealthCheck_RedisHealthCheck_msginit = { 128 NULL, 129 &envoy_api_v2_core_HealthCheck_RedisHealthCheck__fields[0], 130 UPB_SIZE(8, 16), 1, false, 131 }; 132 133 static const upb_msglayout_field envoy_api_v2_core_HealthCheck_GrpcHealthCheck__fields[2] = { 134 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 135 {2, UPB_SIZE(8, 16), 0, 0, 9, 1}, 136 }; 137 138 const upb_msglayout envoy_api_v2_core_HealthCheck_GrpcHealthCheck_msginit = { 139 NULL, 140 &envoy_api_v2_core_HealthCheck_GrpcHealthCheck__fields[0], 141 UPB_SIZE(16, 32), 2, false, 142 }; 143 144 static const upb_msglayout *const envoy_api_v2_core_HealthCheck_CustomHealthCheck_submsgs[2] = { 145 &google_protobuf_Any_msginit, 146 &google_protobuf_Struct_msginit, 147 }; 148 149 static const upb_msglayout_field envoy_api_v2_core_HealthCheck_CustomHealthCheck__fields[3] = { 150 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 151 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1}, 152 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 153 }; 154 155 const upb_msglayout envoy_api_v2_core_HealthCheck_CustomHealthCheck_msginit = { 156 &envoy_api_v2_core_HealthCheck_CustomHealthCheck_submsgs[0], 157 &envoy_api_v2_core_HealthCheck_CustomHealthCheck__fields[0], 158 UPB_SIZE(16, 32), 3, false, 159 }; 160 161 static const upb_msglayout_field envoy_api_v2_core_HealthCheck_TlsOptions__fields[1] = { 162 {1, UPB_SIZE(0, 0), 0, 0, 9, 3}, 163 }; 164 165 const upb_msglayout envoy_api_v2_core_HealthCheck_TlsOptions_msginit = { 166 NULL, 167 &envoy_api_v2_core_HealthCheck_TlsOptions__fields[0], 168 UPB_SIZE(4, 8), 1, false, 169 }; 170 171 #include "upb/port_undef.inc" 172 173