1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/config/core/v3/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/config/core/v3/health_check.upb.h" 12 #include "envoy/config/core/v3/base.upb.h" 13 #include "envoy/config/core/v3/event_service_config.upb.h" 14 #include "envoy/type/matcher/v3/string.upb.h" 15 #include "envoy/type/v3/http.upb.h" 16 #include "envoy/type/v3/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/status.upb.h" 23 #include "udpa/annotations/versioning.upb.h" 24 #include "validate/validate.upb.h" 25 26 #include "upb/port_def.inc" 27 28 static const upb_msglayout *const envoy_config_core_v3_HealthCheck_submsgs[10] = { 29 &envoy_config_core_v3_EventServiceConfig_msginit, 30 &envoy_config_core_v3_HealthCheck_CustomHealthCheck_msginit, 31 &envoy_config_core_v3_HealthCheck_GrpcHealthCheck_msginit, 32 &envoy_config_core_v3_HealthCheck_HttpHealthCheck_msginit, 33 &envoy_config_core_v3_HealthCheck_TcpHealthCheck_msginit, 34 &envoy_config_core_v3_HealthCheck_TlsOptions_msginit, 35 &google_protobuf_BoolValue_msginit, 36 &google_protobuf_Duration_msginit, 37 &google_protobuf_Struct_msginit, 38 &google_protobuf_UInt32Value_msginit, 39 }; 40 41 static const upb_msglayout_field envoy_config_core_v3_HealthCheck__fields[22] = { 42 {1, UPB_SIZE(20, 32), 1, 7, 11, 1}, 43 {2, UPB_SIZE(24, 40), 2, 7, 11, 1}, 44 {3, UPB_SIZE(28, 48), 3, 7, 11, 1}, 45 {4, UPB_SIZE(32, 56), 4, 9, 11, 1}, 46 {5, UPB_SIZE(36, 64), 5, 9, 11, 1}, 47 {6, UPB_SIZE(40, 72), 6, 9, 11, 1}, 48 {7, UPB_SIZE(44, 80), 7, 6, 11, 1}, 49 {8, UPB_SIZE(80, 152), UPB_SIZE(-85, -161), 3, 11, 1}, 50 {9, UPB_SIZE(80, 152), UPB_SIZE(-85, -161), 4, 11, 1}, 51 {11, UPB_SIZE(80, 152), UPB_SIZE(-85, -161), 2, 11, 1}, 52 {12, UPB_SIZE(48, 88), 8, 7, 11, 1}, 53 {13, UPB_SIZE(80, 152), UPB_SIZE(-85, -161), 1, 11, 1}, 54 {14, UPB_SIZE(52, 96), 9, 7, 11, 1}, 55 {15, UPB_SIZE(56, 104), 10, 7, 11, 1}, 56 {16, UPB_SIZE(60, 112), 11, 7, 11, 1}, 57 {17, UPB_SIZE(12, 16), 0, 0, 9, 1}, 58 {18, UPB_SIZE(4, 4), 0, 0, 13, 1}, 59 {19, UPB_SIZE(8, 8), 0, 0, 8, 1}, 60 {20, UPB_SIZE(64, 120), 12, 7, 11, 1}, 61 {21, UPB_SIZE(68, 128), 13, 5, 11, 1}, 62 {22, UPB_SIZE(72, 136), 14, 0, 11, 1}, 63 {23, UPB_SIZE(76, 144), 15, 8, 11, 1}, 64 }; 65 66 const upb_msglayout envoy_config_core_v3_HealthCheck_msginit = { 67 &envoy_config_core_v3_HealthCheck_submsgs[0], 68 &envoy_config_core_v3_HealthCheck__fields[0], 69 UPB_SIZE(88, 176), 22, false, 255, 70 }; 71 72 static const upb_msglayout_field envoy_config_core_v3_HealthCheck_Payload__fields[2] = { 73 {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1}, 74 {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 12, 1}, 75 }; 76 77 const upb_msglayout envoy_config_core_v3_HealthCheck_Payload_msginit = { 78 NULL, 79 &envoy_config_core_v3_HealthCheck_Payload__fields[0], 80 UPB_SIZE(16, 32), 2, false, 255, 81 }; 82 83 static const upb_msglayout *const envoy_config_core_v3_HealthCheck_HttpHealthCheck_submsgs[4] = { 84 &envoy_config_core_v3_HeaderValueOption_msginit, 85 &envoy_config_core_v3_HealthCheck_Payload_msginit, 86 &envoy_type_matcher_v3_StringMatcher_msginit, 87 &envoy_type_v3_Int64Range_msginit, 88 }; 89 90 static const upb_msglayout_field envoy_config_core_v3_HealthCheck_HttpHealthCheck__fields[9] = { 91 {1, UPB_SIZE(8, 8), 0, 0, 9, 1}, 92 {2, UPB_SIZE(16, 24), 0, 0, 9, 1}, 93 {3, UPB_SIZE(24, 40), 1, 1, 11, 1}, 94 {4, UPB_SIZE(28, 48), 2, 1, 11, 1}, 95 {6, UPB_SIZE(36, 64), 0, 0, 11, 3}, 96 {8, UPB_SIZE(40, 72), 0, 0, 9, 3}, 97 {9, UPB_SIZE(44, 80), 0, 3, 11, 3}, 98 {10, UPB_SIZE(4, 4), 0, 0, 14, 1}, 99 {11, UPB_SIZE(32, 56), 3, 2, 11, 1}, 100 }; 101 102 const upb_msglayout envoy_config_core_v3_HealthCheck_HttpHealthCheck_msginit = { 103 &envoy_config_core_v3_HealthCheck_HttpHealthCheck_submsgs[0], 104 &envoy_config_core_v3_HealthCheck_HttpHealthCheck__fields[0], 105 UPB_SIZE(48, 96), 9, false, 255, 106 }; 107 108 static const upb_msglayout *const envoy_config_core_v3_HealthCheck_TcpHealthCheck_submsgs[1] = { 109 &envoy_config_core_v3_HealthCheck_Payload_msginit, 110 }; 111 112 static const upb_msglayout_field envoy_config_core_v3_HealthCheck_TcpHealthCheck__fields[2] = { 113 {1, UPB_SIZE(4, 8), 1, 0, 11, 1}, 114 {2, UPB_SIZE(8, 16), 0, 0, 11, 3}, 115 }; 116 117 const upb_msglayout envoy_config_core_v3_HealthCheck_TcpHealthCheck_msginit = { 118 &envoy_config_core_v3_HealthCheck_TcpHealthCheck_submsgs[0], 119 &envoy_config_core_v3_HealthCheck_TcpHealthCheck__fields[0], 120 UPB_SIZE(16, 24), 2, false, 255, 121 }; 122 123 static const upb_msglayout_field envoy_config_core_v3_HealthCheck_RedisHealthCheck__fields[1] = { 124 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 125 }; 126 127 const upb_msglayout envoy_config_core_v3_HealthCheck_RedisHealthCheck_msginit = { 128 NULL, 129 &envoy_config_core_v3_HealthCheck_RedisHealthCheck__fields[0], 130 UPB_SIZE(8, 16), 1, false, 255, 131 }; 132 133 static const upb_msglayout_field envoy_config_core_v3_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_config_core_v3_HealthCheck_GrpcHealthCheck_msginit = { 139 NULL, 140 &envoy_config_core_v3_HealthCheck_GrpcHealthCheck__fields[0], 141 UPB_SIZE(16, 32), 2, false, 255, 142 }; 143 144 static const upb_msglayout *const envoy_config_core_v3_HealthCheck_CustomHealthCheck_submsgs[1] = { 145 &google_protobuf_Any_msginit, 146 }; 147 148 static const upb_msglayout_field envoy_config_core_v3_HealthCheck_CustomHealthCheck__fields[2] = { 149 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 150 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 151 }; 152 153 const upb_msglayout envoy_config_core_v3_HealthCheck_CustomHealthCheck_msginit = { 154 &envoy_config_core_v3_HealthCheck_CustomHealthCheck_submsgs[0], 155 &envoy_config_core_v3_HealthCheck_CustomHealthCheck__fields[0], 156 UPB_SIZE(16, 32), 2, false, 255, 157 }; 158 159 static const upb_msglayout_field envoy_config_core_v3_HealthCheck_TlsOptions__fields[1] = { 160 {1, UPB_SIZE(0, 0), 0, 0, 9, 3}, 161 }; 162 163 const upb_msglayout envoy_config_core_v3_HealthCheck_TlsOptions_msginit = { 164 NULL, 165 &envoy_config_core_v3_HealthCheck_TlsOptions__fields[0], 166 UPB_SIZE(8, 8), 1, false, 255, 167 }; 168 169 #include "upb/port_undef.inc" 170 171