GRPC C++  1.39.1
load_report.upb.h
Go to the documentation of this file.
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  * envoy/config/endpoint/v3/load_report.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_CONFIG_ENDPOINT_V3_LOAD_REPORT_PROTO_UPB_H_
10 #define ENVOY_CONFIG_ENDPOINT_V3_LOAD_REPORT_PROTO_UPB_H_
11 
12 #include "upb/msg.h"
13 #include "upb/decode.h"
14 #include "upb/decode_fast.h"
15 #include "upb/encode.h"
16 
17 #include "upb/port_def.inc"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
36 extern const upb_msglayout envoy_config_endpoint_v3_ClusterStats_msginit;
42 extern const upb_msglayout envoy_config_core_v3_Address_msginit;
43 extern const upb_msglayout envoy_config_core_v3_Locality_msginit;
44 extern const upb_msglayout google_protobuf_Duration_msginit;
45 extern const upb_msglayout google_protobuf_Struct_msginit;
46 
47 
48 /* envoy.config.endpoint.v3.UpstreamLocalityStats */
49 
52 }
54  upb_arena *arena) {
56  return (ret && upb_decode(buf, size, ret, &envoy_config_endpoint_v3_UpstreamLocalityStats_msginit, arena)) ? ret : NULL;
57 }
59  upb_arena *arena, int options) {
61  return (ret && _upb_decode(buf, size, ret, &envoy_config_endpoint_v3_UpstreamLocalityStats_msginit, arena, options))
62  ? ret : NULL;
63 }
66 }
67 
70 UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamLocalityStats_total_successful_requests(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint64_t); }
71 UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamLocalityStats_total_requests_in_progress(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 16), uint64_t); }
72 UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamLocalityStats_total_error_requests(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(24, 24), uint64_t); }
73 UPB_INLINE bool envoy_config_endpoint_v3_UpstreamLocalityStats_has_load_metric_stats(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(48, 56)); }
75 UPB_INLINE uint32_t envoy_config_endpoint_v3_UpstreamLocalityStats_priority(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(40, 40), uint32_t); }
76 UPB_INLINE bool envoy_config_endpoint_v3_UpstreamLocalityStats_has_upstream_endpoint_stats(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(52, 64)); }
78 UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamLocalityStats_total_issued_requests(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(32, 32), uint64_t); }
79 
81  _upb_sethas(msg, 1);
82  *UPB_PTR_AT(msg, UPB_SIZE(44, 48), struct envoy_config_core_v3_Locality*) = value;
83 }
86  if (sub == NULL) {
88  if (!sub) return NULL;
90  }
91  return sub;
92 }
94  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint64_t) = value;
95 }
97  *UPB_PTR_AT(msg, UPB_SIZE(16, 16), uint64_t) = value;
98 }
100  *UPB_PTR_AT(msg, UPB_SIZE(24, 24), uint64_t) = value;
101 }
103  return (envoy_config_endpoint_v3_EndpointLoadMetricStats**)_upb_array_mutable_accessor(msg, UPB_SIZE(48, 56), len);
104 }
106  return (envoy_config_endpoint_v3_EndpointLoadMetricStats**)_upb_array_resize_accessor2(msg, UPB_SIZE(48, 56), len, UPB_SIZE(2, 3), arena);
107 }
110  bool ok = _upb_array_append_accessor2(
111  msg, UPB_SIZE(48, 56), UPB_SIZE(2, 3), &sub, arena);
112  if (!ok) return NULL;
113  return sub;
114 }
116  *UPB_PTR_AT(msg, UPB_SIZE(40, 40), uint32_t) = value;
117 }
119  return (envoy_config_endpoint_v3_UpstreamEndpointStats**)_upb_array_mutable_accessor(msg, UPB_SIZE(52, 64), len);
120 }
122  return (envoy_config_endpoint_v3_UpstreamEndpointStats**)_upb_array_resize_accessor2(msg, UPB_SIZE(52, 64), len, UPB_SIZE(2, 3), arena);
123 }
126  bool ok = _upb_array_append_accessor2(
127  msg, UPB_SIZE(52, 64), UPB_SIZE(2, 3), &sub, arena);
128  if (!ok) return NULL;
129  return sub;
130 }
132  *UPB_PTR_AT(msg, UPB_SIZE(32, 32), uint64_t) = value;
133 }
134 
135 /* envoy.config.endpoint.v3.UpstreamEndpointStats */
136 
139 }
141  upb_arena *arena) {
143  return (ret && upb_decode(buf, size, ret, &envoy_config_endpoint_v3_UpstreamEndpointStats_msginit, arena)) ? ret : NULL;
144 }
146  upb_arena *arena, int options) {
148  return (ret && _upb_decode(buf, size, ret, &envoy_config_endpoint_v3_UpstreamEndpointStats_msginit, arena, options))
149  ? ret : NULL;
150 }
152  return upb_encode(msg, &envoy_config_endpoint_v3_UpstreamEndpointStats_msginit, arena, len);
153 }
154 
157 UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamEndpointStats_total_successful_requests(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint64_t); }
158 UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamEndpointStats_total_requests_in_progress(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 16), uint64_t); }
159 UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamEndpointStats_total_error_requests(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(24, 24), uint64_t); }
160 UPB_INLINE bool envoy_config_endpoint_v3_UpstreamEndpointStats_has_load_metric_stats(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(48, 56)); }
163 UPB_INLINE const struct google_protobuf_Struct* envoy_config_endpoint_v3_UpstreamEndpointStats_metadata(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(44, 48), const struct google_protobuf_Struct*); }
164 UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamEndpointStats_total_issued_requests(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(32, 32), uint64_t); }
165 
167  _upb_sethas(msg, 1);
168  *UPB_PTR_AT(msg, UPB_SIZE(40, 40), struct envoy_config_core_v3_Address*) = value;
169 }
172  if (sub == NULL) {
174  if (!sub) return NULL;
176  }
177  return sub;
178 }
180  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint64_t) = value;
181 }
183  *UPB_PTR_AT(msg, UPB_SIZE(16, 16), uint64_t) = value;
184 }
186  *UPB_PTR_AT(msg, UPB_SIZE(24, 24), uint64_t) = value;
187 }
189  return (envoy_config_endpoint_v3_EndpointLoadMetricStats**)_upb_array_mutable_accessor(msg, UPB_SIZE(48, 56), len);
190 }
192  return (envoy_config_endpoint_v3_EndpointLoadMetricStats**)_upb_array_resize_accessor2(msg, UPB_SIZE(48, 56), len, UPB_SIZE(2, 3), arena);
193 }
196  bool ok = _upb_array_append_accessor2(
197  msg, UPB_SIZE(48, 56), UPB_SIZE(2, 3), &sub, arena);
198  if (!ok) return NULL;
199  return sub;
200 }
202  _upb_sethas(msg, 2);
203  *UPB_PTR_AT(msg, UPB_SIZE(44, 48), struct google_protobuf_Struct*) = value;
204 }
207  if (sub == NULL) {
208  sub = (struct google_protobuf_Struct*)_upb_msg_new(&google_protobuf_Struct_msginit, arena);
209  if (!sub) return NULL;
211  }
212  return sub;
213 }
215  *UPB_PTR_AT(msg, UPB_SIZE(32, 32), uint64_t) = value;
216 }
217 
218 /* envoy.config.endpoint.v3.EndpointLoadMetricStats */
219 
222 }
224  upb_arena *arena) {
226  return (ret && upb_decode(buf, size, ret, &envoy_config_endpoint_v3_EndpointLoadMetricStats_msginit, arena)) ? ret : NULL;
227 }
229  upb_arena *arena, int options) {
231  return (ret && _upb_decode(buf, size, ret, &envoy_config_endpoint_v3_EndpointLoadMetricStats_msginit, arena, options))
232  ? ret : NULL;
233 }
236 }
237 
238 UPB_INLINE upb_strview envoy_config_endpoint_v3_EndpointLoadMetricStats_metric_name(const envoy_config_endpoint_v3_EndpointLoadMetricStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 16), upb_strview); }
239 UPB_INLINE uint64_t envoy_config_endpoint_v3_EndpointLoadMetricStats_num_requests_finished_with_metric(const envoy_config_endpoint_v3_EndpointLoadMetricStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), uint64_t); }
240 UPB_INLINE double envoy_config_endpoint_v3_EndpointLoadMetricStats_total_metric_value(const envoy_config_endpoint_v3_EndpointLoadMetricStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), double); }
241 
243  *UPB_PTR_AT(msg, UPB_SIZE(16, 16), upb_strview) = value;
244 }
246  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), uint64_t) = value;
247 }
249  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), double) = value;
250 }
251 
252 /* envoy.config.endpoint.v3.ClusterStats */
253 
256 }
258  upb_arena *arena) {
260  return (ret && upb_decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterStats_msginit, arena)) ? ret : NULL;
261 }
263  upb_arena *arena, int options) {
265  return (ret && _upb_decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterStats_msginit, arena, options))
266  ? ret : NULL;
267 }
269  return upb_encode(msg, &envoy_config_endpoint_v3_ClusterStats_msginit, arena, len);
270 }
271 
272 UPB_INLINE upb_strview envoy_config_endpoint_v3_ClusterStats_cluster_name(const envoy_config_endpoint_v3_ClusterStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 16), upb_strview); }
273 UPB_INLINE bool envoy_config_endpoint_v3_ClusterStats_has_upstream_locality_stats(const envoy_config_endpoint_v3_ClusterStats *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(36, 56)); }
274 UPB_INLINE const envoy_config_endpoint_v3_UpstreamLocalityStats* const* envoy_config_endpoint_v3_ClusterStats_upstream_locality_stats(const envoy_config_endpoint_v3_ClusterStats *msg, size_t *len) { return (const envoy_config_endpoint_v3_UpstreamLocalityStats* const*)_upb_array_accessor(msg, UPB_SIZE(36, 56), len); }
275 UPB_INLINE uint64_t envoy_config_endpoint_v3_ClusterStats_total_dropped_requests(const envoy_config_endpoint_v3_ClusterStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint64_t); }
277 UPB_INLINE const struct google_protobuf_Duration* envoy_config_endpoint_v3_ClusterStats_load_report_interval(const envoy_config_endpoint_v3_ClusterStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(32, 48), const struct google_protobuf_Duration*); }
278 UPB_INLINE bool envoy_config_endpoint_v3_ClusterStats_has_dropped_requests(const envoy_config_endpoint_v3_ClusterStats *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(40, 64)); }
280 UPB_INLINE upb_strview envoy_config_endpoint_v3_ClusterStats_cluster_service_name(const envoy_config_endpoint_v3_ClusterStats *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(24, 32), upb_strview); }
281 
283  *UPB_PTR_AT(msg, UPB_SIZE(16, 16), upb_strview) = value;
284 }
286  return (envoy_config_endpoint_v3_UpstreamLocalityStats**)_upb_array_mutable_accessor(msg, UPB_SIZE(36, 56), len);
287 }
289  return (envoy_config_endpoint_v3_UpstreamLocalityStats**)_upb_array_resize_accessor2(msg, UPB_SIZE(36, 56), len, UPB_SIZE(2, 3), arena);
290 }
293  bool ok = _upb_array_append_accessor2(
294  msg, UPB_SIZE(36, 56), UPB_SIZE(2, 3), &sub, arena);
295  if (!ok) return NULL;
296  return sub;
297 }
299  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint64_t) = value;
300 }
302  _upb_sethas(msg, 1);
303  *UPB_PTR_AT(msg, UPB_SIZE(32, 48), struct google_protobuf_Duration*) = value;
304 }
307  if (sub == NULL) {
308  sub = (struct google_protobuf_Duration*)_upb_msg_new(&google_protobuf_Duration_msginit, arena);
309  if (!sub) return NULL;
311  }
312  return sub;
313 }
315  return (envoy_config_endpoint_v3_ClusterStats_DroppedRequests**)_upb_array_mutable_accessor(msg, UPB_SIZE(40, 64), len);
316 }
318  return (envoy_config_endpoint_v3_ClusterStats_DroppedRequests**)_upb_array_resize_accessor2(msg, UPB_SIZE(40, 64), len, UPB_SIZE(2, 3), arena);
319 }
322  bool ok = _upb_array_append_accessor2(
323  msg, UPB_SIZE(40, 64), UPB_SIZE(2, 3), &sub, arena);
324  if (!ok) return NULL;
325  return sub;
326 }
328  *UPB_PTR_AT(msg, UPB_SIZE(24, 32), upb_strview) = value;
329 }
330 
331 /* envoy.config.endpoint.v3.ClusterStats.DroppedRequests */
332 
335 }
337  upb_arena *arena) {
339  return (ret && upb_decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msginit, arena)) ? ret : NULL;
340 }
342  upb_arena *arena, int options) {
344  return (ret && _upb_decode(buf, size, ret, &envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msginit, arena, options))
345  ? ret : NULL;
346 }
349 }
350 
351 UPB_INLINE upb_strview envoy_config_endpoint_v3_ClusterStats_DroppedRequests_category(const envoy_config_endpoint_v3_ClusterStats_DroppedRequests *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview); }
352 UPB_INLINE uint64_t envoy_config_endpoint_v3_ClusterStats_DroppedRequests_dropped_count(const envoy_config_endpoint_v3_ClusterStats_DroppedRequests *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), uint64_t); }
353 
355  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview) = value;
356 }
358  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), uint64_t) = value;
359 }
360 
361 #ifdef __cplusplus
362 } /* extern "C" */
363 #endif
364 
365 #include "upb/port_undef.inc"
366 
367 #endif /* ENVOY_CONFIG_ENDPOINT_V3_LOAD_REPORT_PROTO_UPB_H_ */
struct envoy_config_core_v3_Address envoy_config_core_v3_Address
Definition: address.upb.h:35
struct envoy_config_core_v3_Locality envoy_config_core_v3_Locality
Definition: base.upb.h:44
struct google_protobuf_Duration google_protobuf_Duration
Definition: duration.upb.h:24
struct google_protobuf_Struct google_protobuf_Struct
Definition: struct.upb.h:27
struct envoy_config_endpoint_v3_UpstreamEndpointStats envoy_config_endpoint_v3_UpstreamEndpointStats
Definition: load_report.upb.h:29
UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_set_total_successful_requests(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, uint64_t value)
Definition: load_report.upb.h:179
UPB_INLINE bool envoy_config_endpoint_v3_UpstreamEndpointStats_has_address(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg)
Definition: load_report.upb.h:155
UPB_INLINE const struct envoy_config_core_v3_Address * envoy_config_endpoint_v3_UpstreamEndpointStats_address(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg)
Definition: load_report.upb.h:156
UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_set_total_issued_requests(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, uint64_t value)
Definition: load_report.upb.h:214
UPB_INLINE struct envoy_config_endpoint_v3_ClusterStats_DroppedRequests * envoy_config_endpoint_v3_ClusterStats_add_dropped_requests(envoy_config_endpoint_v3_ClusterStats *msg, upb_arena *arena)
Definition: load_report.upb.h:320
struct envoy_config_endpoint_v3_ClusterStats envoy_config_endpoint_v3_ClusterStats
Definition: load_report.upb.h:31
UPB_INLINE struct envoy_config_endpoint_v3_UpstreamEndpointStats * envoy_config_endpoint_v3_UpstreamLocalityStats_add_upstream_endpoint_stats(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, upb_arena *arena)
Definition: load_report.upb.h:124
UPB_INLINE void envoy_config_endpoint_v3_UpstreamLocalityStats_set_total_error_requests(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, uint64_t value)
Definition: load_report.upb.h:99
UPB_INLINE struct envoy_config_core_v3_Locality * envoy_config_endpoint_v3_UpstreamLocalityStats_mutable_locality(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, upb_arena *arena)
Definition: load_report.upb.h:84
UPB_INLINE bool envoy_config_endpoint_v3_UpstreamLocalityStats_has_load_metric_stats(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg)
Definition: load_report.upb.h:73
UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_set_address(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, struct envoy_config_core_v3_Address *value)
Definition: load_report.upb.h:166
UPB_INLINE const envoy_config_endpoint_v3_UpstreamEndpointStats *const * envoy_config_endpoint_v3_UpstreamLocalityStats_upstream_endpoint_stats(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg, size_t *len)
Definition: load_report.upb.h:77
UPB_INLINE envoy_config_endpoint_v3_UpstreamLocalityStats * envoy_config_endpoint_v3_UpstreamLocalityStats_parse(const char *buf, size_t size, upb_arena *arena)
Definition: load_report.upb.h:53
UPB_INLINE bool envoy_config_endpoint_v3_UpstreamLocalityStats_has_upstream_endpoint_stats(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg)
Definition: load_report.upb.h:76
UPB_INLINE envoy_config_endpoint_v3_ClusterStats_DroppedRequests ** envoy_config_endpoint_v3_ClusterStats_resize_dropped_requests(envoy_config_endpoint_v3_ClusterStats *msg, size_t len, upb_arena *arena)
Definition: load_report.upb.h:317
UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats ** envoy_config_endpoint_v3_UpstreamLocalityStats_resize_load_metric_stats(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, size_t len, upb_arena *arena)
Definition: load_report.upb.h:105
UPB_INLINE void envoy_config_endpoint_v3_EndpointLoadMetricStats_set_metric_name(envoy_config_endpoint_v3_EndpointLoadMetricStats *msg, upb_strview value)
Definition: load_report.upb.h:242
UPB_INLINE double envoy_config_endpoint_v3_EndpointLoadMetricStats_total_metric_value(const envoy_config_endpoint_v3_EndpointLoadMetricStats *msg)
Definition: load_report.upb.h:240
const upb_msglayout envoy_config_endpoint_v3_ClusterStats_DroppedRequests_msginit
Definition: load_report.upb.c:105
UPB_INLINE envoy_config_endpoint_v3_ClusterStats_DroppedRequests ** envoy_config_endpoint_v3_ClusterStats_mutable_dropped_requests(envoy_config_endpoint_v3_ClusterStats *msg, size_t *len)
Definition: load_report.upb.h:314
UPB_INLINE bool envoy_config_endpoint_v3_UpstreamEndpointStats_has_metadata(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg)
Definition: load_report.upb.h:162
UPB_INLINE void envoy_config_endpoint_v3_UpstreamLocalityStats_set_locality(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, struct envoy_config_core_v3_Locality *value)
Definition: load_report.upb.h:80
UPB_INLINE envoy_config_endpoint_v3_ClusterStats_DroppedRequests * envoy_config_endpoint_v3_ClusterStats_DroppedRequests_parse(const char *buf, size_t size, upb_arena *arena)
Definition: load_report.upb.h:336
UPB_INLINE void envoy_config_endpoint_v3_EndpointLoadMetricStats_set_num_requests_finished_with_metric(envoy_config_endpoint_v3_EndpointLoadMetricStats *msg, uint64_t value)
Definition: load_report.upb.h:245
UPB_INLINE uint64_t envoy_config_endpoint_v3_ClusterStats_DroppedRequests_dropped_count(const envoy_config_endpoint_v3_ClusterStats_DroppedRequests *msg)
Definition: load_report.upb.h:352
struct envoy_config_endpoint_v3_EndpointLoadMetricStats envoy_config_endpoint_v3_EndpointLoadMetricStats
Definition: load_report.upb.h:30
UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamEndpointStats_total_error_requests(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg)
Definition: load_report.upb.h:159
UPB_INLINE envoy_config_endpoint_v3_UpstreamLocalityStats ** envoy_config_endpoint_v3_ClusterStats_resize_upstream_locality_stats(envoy_config_endpoint_v3_ClusterStats *msg, size_t len, upb_arena *arena)
Definition: load_report.upb.h:288
struct envoy_config_endpoint_v3_ClusterStats_DroppedRequests envoy_config_endpoint_v3_ClusterStats_DroppedRequests
Definition: load_report.upb.h:32
UPB_INLINE upb_strview envoy_config_endpoint_v3_ClusterStats_DroppedRequests_category(const envoy_config_endpoint_v3_ClusterStats_DroppedRequests *msg)
Definition: load_report.upb.h:351
UPB_INLINE envoy_config_endpoint_v3_ClusterStats_DroppedRequests * envoy_config_endpoint_v3_ClusterStats_DroppedRequests_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: load_report.upb.h:341
UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats * envoy_config_endpoint_v3_EndpointLoadMetricStats_parse(const char *buf, size_t size, upb_arena *arena)
Definition: load_report.upb.h:223
UPB_INLINE const struct envoy_config_core_v3_Locality * envoy_config_endpoint_v3_UpstreamLocalityStats_locality(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg)
Definition: load_report.upb.h:69
UPB_INLINE envoy_config_endpoint_v3_UpstreamEndpointStats ** envoy_config_endpoint_v3_UpstreamLocalityStats_mutable_upstream_endpoint_stats(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, size_t *len)
Definition: load_report.upb.h:118
UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamEndpointStats_total_requests_in_progress(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg)
Definition: load_report.upb.h:158
UPB_INLINE const struct google_protobuf_Struct * envoy_config_endpoint_v3_UpstreamEndpointStats_metadata(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg)
Definition: load_report.upb.h:163
UPB_INLINE char * envoy_config_endpoint_v3_ClusterStats_serialize(const envoy_config_endpoint_v3_ClusterStats *msg, upb_arena *arena, size_t *len)
Definition: load_report.upb.h:268
UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_set_total_dropped_requests(envoy_config_endpoint_v3_ClusterStats *msg, uint64_t value)
Definition: load_report.upb.h:298
UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_set_cluster_service_name(envoy_config_endpoint_v3_ClusterStats *msg, upb_strview value)
Definition: load_report.upb.h:327
UPB_INLINE const envoy_config_endpoint_v3_EndpointLoadMetricStats *const * envoy_config_endpoint_v3_UpstreamEndpointStats_load_metric_stats(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg, size_t *len)
Definition: load_report.upb.h:161
UPB_INLINE struct envoy_config_core_v3_Address * envoy_config_endpoint_v3_UpstreamEndpointStats_mutable_address(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, upb_arena *arena)
Definition: load_report.upb.h:170
UPB_INLINE bool envoy_config_endpoint_v3_ClusterStats_has_upstream_locality_stats(const envoy_config_endpoint_v3_ClusterStats *msg)
Definition: load_report.upb.h:273
const upb_msglayout google_protobuf_Struct_msginit
Definition: struct.upb.c:23
UPB_INLINE const envoy_config_endpoint_v3_EndpointLoadMetricStats *const * envoy_config_endpoint_v3_UpstreamLocalityStats_load_metric_stats(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg, size_t *len)
Definition: load_report.upb.h:74
UPB_INLINE envoy_config_endpoint_v3_UpstreamEndpointStats * envoy_config_endpoint_v3_UpstreamEndpointStats_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: load_report.upb.h:145
UPB_INLINE void envoy_config_endpoint_v3_UpstreamLocalityStats_set_total_requests_in_progress(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, uint64_t value)
Definition: load_report.upb.h:96
UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamLocalityStats_total_error_requests(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg)
Definition: load_report.upb.h:72
UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_set_total_error_requests(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, uint64_t value)
Definition: load_report.upb.h:185
UPB_INLINE void envoy_config_endpoint_v3_EndpointLoadMetricStats_set_total_metric_value(envoy_config_endpoint_v3_EndpointLoadMetricStats *msg, double value)
Definition: load_report.upb.h:248
UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats * envoy_config_endpoint_v3_EndpointLoadMetricStats_new(upb_arena *arena)
Definition: load_report.upb.h:220
UPB_INLINE uint64_t envoy_config_endpoint_v3_EndpointLoadMetricStats_num_requests_finished_with_metric(const envoy_config_endpoint_v3_EndpointLoadMetricStats *msg)
Definition: load_report.upb.h:239
UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_set_total_requests_in_progress(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, uint64_t value)
Definition: load_report.upb.h:182
UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats * envoy_config_endpoint_v3_EndpointLoadMetricStats_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: load_report.upb.h:228
UPB_INLINE envoy_config_endpoint_v3_UpstreamLocalityStats ** envoy_config_endpoint_v3_ClusterStats_mutable_upstream_locality_stats(envoy_config_endpoint_v3_ClusterStats *msg, size_t *len)
Definition: load_report.upb.h:285
UPB_INLINE upb_strview envoy_config_endpoint_v3_EndpointLoadMetricStats_metric_name(const envoy_config_endpoint_v3_EndpointLoadMetricStats *msg)
Definition: load_report.upb.h:238
UPB_INLINE envoy_config_endpoint_v3_ClusterStats * envoy_config_endpoint_v3_ClusterStats_parse(const char *buf, size_t size, upb_arena *arena)
Definition: load_report.upb.h:257
UPB_INLINE const envoy_config_endpoint_v3_ClusterStats_DroppedRequests *const * envoy_config_endpoint_v3_ClusterStats_dropped_requests(const envoy_config_endpoint_v3_ClusterStats *msg, size_t *len)
Definition: load_report.upb.h:279
UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_DroppedRequests_set_dropped_count(envoy_config_endpoint_v3_ClusterStats_DroppedRequests *msg, uint64_t value)
Definition: load_report.upb.h:357
UPB_INLINE envoy_config_endpoint_v3_ClusterStats * envoy_config_endpoint_v3_ClusterStats_new(upb_arena *arena)
Definition: load_report.upb.h:254
UPB_INLINE bool envoy_config_endpoint_v3_UpstreamEndpointStats_has_load_metric_stats(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg)
Definition: load_report.upb.h:160
UPB_INLINE envoy_config_endpoint_v3_UpstreamLocalityStats * envoy_config_endpoint_v3_UpstreamLocalityStats_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: load_report.upb.h:58
UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_DroppedRequests_set_category(envoy_config_endpoint_v3_ClusterStats_DroppedRequests *msg, upb_strview value)
Definition: load_report.upb.h:354
UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_set_load_report_interval(envoy_config_endpoint_v3_ClusterStats *msg, struct google_protobuf_Duration *value)
Definition: load_report.upb.h:301
UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamLocalityStats_total_successful_requests(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg)
Definition: load_report.upb.h:70
const upb_msglayout envoy_config_endpoint_v3_EndpointLoadMetricStats_msginit
Definition: load_report.upb.c:73
UPB_INLINE envoy_config_endpoint_v3_UpstreamEndpointStats ** envoy_config_endpoint_v3_UpstreamLocalityStats_resize_upstream_endpoint_stats(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, size_t len, upb_arena *arena)
Definition: load_report.upb.h:121
UPB_INLINE char * envoy_config_endpoint_v3_EndpointLoadMetricStats_serialize(const envoy_config_endpoint_v3_EndpointLoadMetricStats *msg, upb_arena *arena, size_t *len)
Definition: load_report.upb.h:234
const upb_msglayout google_protobuf_Duration_msginit
Definition: duration.upb.c:20
UPB_INLINE envoy_config_endpoint_v3_UpstreamEndpointStats * envoy_config_endpoint_v3_UpstreamEndpointStats_parse(const char *buf, size_t size, upb_arena *arena)
Definition: load_report.upb.h:140
UPB_INLINE struct envoy_config_endpoint_v3_UpstreamLocalityStats * envoy_config_endpoint_v3_ClusterStats_add_upstream_locality_stats(envoy_config_endpoint_v3_ClusterStats *msg, upb_arena *arena)
Definition: load_report.upb.h:291
UPB_INLINE void envoy_config_endpoint_v3_UpstreamLocalityStats_set_priority(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, uint32_t value)
Definition: load_report.upb.h:115
UPB_INLINE struct google_protobuf_Duration * envoy_config_endpoint_v3_ClusterStats_mutable_load_report_interval(envoy_config_endpoint_v3_ClusterStats *msg, upb_arena *arena)
Definition: load_report.upb.h:305
UPB_INLINE uint32_t envoy_config_endpoint_v3_UpstreamLocalityStats_priority(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg)
Definition: load_report.upb.h:75
UPB_INLINE bool envoy_config_endpoint_v3_ClusterStats_has_load_report_interval(const envoy_config_endpoint_v3_ClusterStats *msg)
Definition: load_report.upb.h:276
const upb_msglayout envoy_config_endpoint_v3_UpstreamLocalityStats_msginit
Definition: load_report.upb.c:39
UPB_INLINE struct google_protobuf_Struct * envoy_config_endpoint_v3_UpstreamEndpointStats_mutable_metadata(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, upb_arena *arena)
Definition: load_report.upb.h:205
UPB_INLINE void envoy_config_endpoint_v3_UpstreamLocalityStats_set_total_successful_requests(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, uint64_t value)
Definition: load_report.upb.h:93
UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats ** envoy_config_endpoint_v3_UpstreamEndpointStats_resize_load_metric_stats(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, size_t len, upb_arena *arena)
Definition: load_report.upb.h:191
struct envoy_config_endpoint_v3_UpstreamLocalityStats envoy_config_endpoint_v3_UpstreamLocalityStats
Definition: load_report.upb.h:28
UPB_INLINE void envoy_config_endpoint_v3_UpstreamLocalityStats_set_total_issued_requests(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, uint64_t value)
Definition: load_report.upb.h:131
const upb_msglayout envoy_config_endpoint_v3_UpstreamEndpointStats_msginit
Definition: load_report.upb.c:61
UPB_INLINE envoy_config_endpoint_v3_UpstreamEndpointStats * envoy_config_endpoint_v3_UpstreamEndpointStats_new(upb_arena *arena)
Definition: load_report.upb.h:137
const upb_msglayout envoy_config_core_v3_Locality_msginit
Definition: base.upb.c:33
UPB_INLINE uint64_t envoy_config_endpoint_v3_ClusterStats_total_dropped_requests(const envoy_config_endpoint_v3_ClusterStats *msg)
Definition: load_report.upb.h:275
UPB_INLINE void envoy_config_endpoint_v3_UpstreamEndpointStats_set_metadata(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, struct google_protobuf_Struct *value)
Definition: load_report.upb.h:201
UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats ** envoy_config_endpoint_v3_UpstreamEndpointStats_mutable_load_metric_stats(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, size_t *len)
Definition: load_report.upb.h:188
UPB_INLINE envoy_config_endpoint_v3_ClusterStats * envoy_config_endpoint_v3_ClusterStats_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: load_report.upb.h:262
UPB_INLINE bool envoy_config_endpoint_v3_ClusterStats_has_dropped_requests(const envoy_config_endpoint_v3_ClusterStats *msg)
Definition: load_report.upb.h:278
UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamEndpointStats_total_successful_requests(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg)
Definition: load_report.upb.h:157
UPB_INLINE envoy_config_endpoint_v3_EndpointLoadMetricStats ** envoy_config_endpoint_v3_UpstreamLocalityStats_mutable_load_metric_stats(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, size_t *len)
Definition: load_report.upb.h:102
UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamLocalityStats_total_requests_in_progress(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg)
Definition: load_report.upb.h:71
UPB_INLINE envoy_config_endpoint_v3_ClusterStats_DroppedRequests * envoy_config_endpoint_v3_ClusterStats_DroppedRequests_new(upb_arena *arena)
Definition: load_report.upb.h:333
const upb_msglayout envoy_config_core_v3_Address_msginit
Definition: address.upb.c:102
UPB_INLINE struct envoy_config_endpoint_v3_EndpointLoadMetricStats * envoy_config_endpoint_v3_UpstreamLocalityStats_add_load_metric_stats(envoy_config_endpoint_v3_UpstreamLocalityStats *msg, upb_arena *arena)
Definition: load_report.upb.h:108
UPB_INLINE upb_strview envoy_config_endpoint_v3_ClusterStats_cluster_service_name(const envoy_config_endpoint_v3_ClusterStats *msg)
Definition: load_report.upb.h:280
UPB_INLINE struct envoy_config_endpoint_v3_EndpointLoadMetricStats * envoy_config_endpoint_v3_UpstreamEndpointStats_add_load_metric_stats(envoy_config_endpoint_v3_UpstreamEndpointStats *msg, upb_arena *arena)
Definition: load_report.upb.h:194
UPB_INLINE char * envoy_config_endpoint_v3_UpstreamEndpointStats_serialize(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg, upb_arena *arena, size_t *len)
Definition: load_report.upb.h:151
UPB_INLINE envoy_config_endpoint_v3_UpstreamLocalityStats * envoy_config_endpoint_v3_UpstreamLocalityStats_new(upb_arena *arena)
Definition: load_report.upb.h:50
UPB_INLINE const struct google_protobuf_Duration * envoy_config_endpoint_v3_ClusterStats_load_report_interval(const envoy_config_endpoint_v3_ClusterStats *msg)
Definition: load_report.upb.h:277
UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamLocalityStats_total_issued_requests(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg)
Definition: load_report.upb.h:78
UPB_INLINE bool envoy_config_endpoint_v3_UpstreamLocalityStats_has_locality(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg)
Definition: load_report.upb.h:68
UPB_INLINE char * envoy_config_endpoint_v3_UpstreamLocalityStats_serialize(const envoy_config_endpoint_v3_UpstreamLocalityStats *msg, upb_arena *arena, size_t *len)
Definition: load_report.upb.h:64
UPB_INLINE char * envoy_config_endpoint_v3_ClusterStats_DroppedRequests_serialize(const envoy_config_endpoint_v3_ClusterStats_DroppedRequests *msg, upb_arena *arena, size_t *len)
Definition: load_report.upb.h:347
UPB_INLINE const envoy_config_endpoint_v3_UpstreamLocalityStats *const * envoy_config_endpoint_v3_ClusterStats_upstream_locality_stats(const envoy_config_endpoint_v3_ClusterStats *msg, size_t *len)
Definition: load_report.upb.h:274
UPB_INLINE void envoy_config_endpoint_v3_ClusterStats_set_cluster_name(envoy_config_endpoint_v3_ClusterStats *msg, upb_strview value)
Definition: load_report.upb.h:282
const upb_msglayout envoy_config_endpoint_v3_ClusterStats_msginit
Definition: load_report.upb.c:94
UPB_INLINE upb_strview envoy_config_endpoint_v3_ClusterStats_cluster_name(const envoy_config_endpoint_v3_ClusterStats *msg)
Definition: load_report.upb.h:272
UPB_INLINE uint64_t envoy_config_endpoint_v3_UpstreamEndpointStats_total_issued_requests(const envoy_config_endpoint_v3_UpstreamEndpointStats *msg)
Definition: load_report.upb.h:164
upb_arena * arena
Definition: xds_api.cc:909