GRPC Core  9.0.0
endpoint.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/api/v2/endpoint/endpoint.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_API_V2_ENDPOINT_ENDPOINT_PROTO_UPB_H_
10 #define ENVOY_API_V2_ENDPOINT_ENDPOINT_PROTO_UPB_H_
11 
12 #include "upb/generated_util.h"
13 #include "upb/msg.h"
14 #include "upb/decode.h"
15 #include "upb/encode.h"
16 
17 #include "upb/port_def.inc"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
31 extern const upb_msglayout envoy_api_v2_endpoint_Endpoint_msginit;
33 extern const upb_msglayout envoy_api_v2_endpoint_LbEndpoint_msginit;
34 extern const upb_msglayout envoy_api_v2_endpoint_LocalityLbEndpoints_msginit;
39 extern const upb_msglayout envoy_api_v2_core_Address_msginit;
40 extern const upb_msglayout envoy_api_v2_core_Locality_msginit;
41 extern const upb_msglayout envoy_api_v2_core_Metadata_msginit;
42 extern const upb_msglayout google_protobuf_UInt32Value_msginit;
43 
44 
45 /* envoy.api.v2.endpoint.Endpoint */
46 
49 }
51  upb_arena *arena) {
53  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_endpoint_Endpoint_msginit, arena)) ? ret : NULL;
54 }
55 UPB_INLINE char *envoy_api_v2_endpoint_Endpoint_serialize(const envoy_api_v2_endpoint_Endpoint *msg, upb_arena *arena, size_t *len) {
56  return upb_encode(msg, &envoy_api_v2_endpoint_Endpoint_msginit, arena, len);
57 }
58 
59 UPB_INLINE const struct envoy_api_v2_core_Address* envoy_api_v2_endpoint_Endpoint_address(const envoy_api_v2_endpoint_Endpoint *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_Address*, UPB_SIZE(0, 0)); }
61 
63  UPB_FIELD_AT(msg, struct envoy_api_v2_core_Address*, UPB_SIZE(0, 0)) = value;
64 }
67  if (sub == NULL) {
68  sub = (struct envoy_api_v2_core_Address*)upb_msg_new(&envoy_api_v2_core_Address_msginit, arena);
69  if (!sub) return NULL;
71  }
72  return sub;
73 }
75  UPB_FIELD_AT(msg, envoy_api_v2_endpoint_Endpoint_HealthCheckConfig*, UPB_SIZE(4, 8)) = value;
76 }
79  if (sub == NULL) {
81  if (!sub) return NULL;
83  }
84  return sub;
85 }
86 
87 /* envoy.api.v2.endpoint.Endpoint.HealthCheckConfig */
88 
91 }
93  upb_arena *arena) {
95  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_endpoint_Endpoint_HealthCheckConfig_msginit, arena)) ? ret : NULL;
96 }
98  return upb_encode(msg, &envoy_api_v2_endpoint_Endpoint_HealthCheckConfig_msginit, arena, len);
99 }
100 
101 UPB_INLINE uint32_t envoy_api_v2_endpoint_Endpoint_HealthCheckConfig_port_value(const envoy_api_v2_endpoint_Endpoint_HealthCheckConfig *msg) { return UPB_FIELD_AT(msg, uint32_t, UPB_SIZE(0, 0)); }
102 
104  UPB_FIELD_AT(msg, uint32_t, UPB_SIZE(0, 0)) = value;
105 }
106 
107 /* envoy.api.v2.endpoint.LbEndpoint */
108 
111 }
113  upb_arena *arena) {
115  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_endpoint_LbEndpoint_msginit, arena)) ? ret : NULL;
116 }
117 UPB_INLINE char *envoy_api_v2_endpoint_LbEndpoint_serialize(const envoy_api_v2_endpoint_LbEndpoint *msg, upb_arena *arena, size_t *len) {
118  return upb_encode(msg, &envoy_api_v2_endpoint_LbEndpoint_msginit, arena, len);
119 }
120 
121 typedef enum {
127 
128 UPB_INLINE bool envoy_api_v2_endpoint_LbEndpoint_has_endpoint(const envoy_api_v2_endpoint_LbEndpoint *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(24, 40), 1); }
129 UPB_INLINE const envoy_api_v2_endpoint_Endpoint* envoy_api_v2_endpoint_LbEndpoint_endpoint(const envoy_api_v2_endpoint_LbEndpoint *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_endpoint_Endpoint*, UPB_SIZE(16, 24), UPB_SIZE(24, 40), 1, NULL); }
130 UPB_INLINE int32_t envoy_api_v2_endpoint_LbEndpoint_health_status(const envoy_api_v2_endpoint_LbEndpoint *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
131 UPB_INLINE const struct envoy_api_v2_core_Metadata* envoy_api_v2_endpoint_LbEndpoint_metadata(const envoy_api_v2_endpoint_LbEndpoint *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_Metadata*, UPB_SIZE(8, 8)); }
132 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_api_v2_endpoint_LbEndpoint_load_balancing_weight(const envoy_api_v2_endpoint_LbEndpoint *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt32Value*, UPB_SIZE(12, 16)); }
133 UPB_INLINE bool envoy_api_v2_endpoint_LbEndpoint_has_endpoint_name(const envoy_api_v2_endpoint_LbEndpoint *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(24, 40), 5); }
134 UPB_INLINE upb_strview envoy_api_v2_endpoint_LbEndpoint_endpoint_name(const envoy_api_v2_endpoint_LbEndpoint *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(16, 24), UPB_SIZE(24, 40), 5, upb_strview_make("", strlen(""))); }
135 
137  UPB_WRITE_ONEOF(msg, envoy_api_v2_endpoint_Endpoint*, UPB_SIZE(16, 24), value, UPB_SIZE(24, 40), 1);
138 }
141  if (sub == NULL) {
143  if (!sub) return NULL;
145  }
146  return sub;
147 }
149  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
150 }
152  UPB_FIELD_AT(msg, struct envoy_api_v2_core_Metadata*, UPB_SIZE(8, 8)) = value;
153 }
156  if (sub == NULL) {
157  sub = (struct envoy_api_v2_core_Metadata*)upb_msg_new(&envoy_api_v2_core_Metadata_msginit, arena);
158  if (!sub) return NULL;
160  }
161  return sub;
162 }
164  UPB_FIELD_AT(msg, struct google_protobuf_UInt32Value*, UPB_SIZE(12, 16)) = value;
165 }
168  if (sub == NULL) {
169  sub = (struct google_protobuf_UInt32Value*)upb_msg_new(&google_protobuf_UInt32Value_msginit, arena);
170  if (!sub) return NULL;
172  }
173  return sub;
174 }
176  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(16, 24), value, UPB_SIZE(24, 40), 5);
177 }
178 
179 /* envoy.api.v2.endpoint.LocalityLbEndpoints */
180 
183 }
185  upb_arena *arena) {
187  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_endpoint_LocalityLbEndpoints_msginit, arena)) ? ret : NULL;
188 }
189 UPB_INLINE char *envoy_api_v2_endpoint_LocalityLbEndpoints_serialize(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg, upb_arena *arena, size_t *len) {
190  return upb_encode(msg, &envoy_api_v2_endpoint_LocalityLbEndpoints_msginit, arena, len);
191 }
192 
193 UPB_INLINE const struct envoy_api_v2_core_Locality* envoy_api_v2_endpoint_LocalityLbEndpoints_locality(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_Locality*, UPB_SIZE(4, 8)); }
194 UPB_INLINE const envoy_api_v2_endpoint_LbEndpoint* const* envoy_api_v2_endpoint_LocalityLbEndpoints_lb_endpoints(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg, size_t *len) { return (const envoy_api_v2_endpoint_LbEndpoint* const*)_upb_array_accessor(msg, UPB_SIZE(16, 32), len); }
196 UPB_INLINE uint32_t envoy_api_v2_endpoint_LocalityLbEndpoints_priority(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg) { return UPB_FIELD_AT(msg, uint32_t, UPB_SIZE(0, 0)); }
197 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_api_v2_endpoint_LocalityLbEndpoints_proximity(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt32Value*, UPB_SIZE(12, 24)); }
198 
200  UPB_FIELD_AT(msg, struct envoy_api_v2_core_Locality*, UPB_SIZE(4, 8)) = value;
201 }
204  if (sub == NULL) {
205  sub = (struct envoy_api_v2_core_Locality*)upb_msg_new(&envoy_api_v2_core_Locality_msginit, arena);
206  if (!sub) return NULL;
208  }
209  return sub;
210 }
212  return (envoy_api_v2_endpoint_LbEndpoint**)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 32), len);
213 }
215  return (envoy_api_v2_endpoint_LbEndpoint**)_upb_array_resize_accessor(msg, UPB_SIZE(16, 32), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
216 }
219  bool ok = _upb_array_append_accessor(
220  msg, UPB_SIZE(16, 32), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
221  if (!ok) return NULL;
222  return sub;
223 }
225  UPB_FIELD_AT(msg, struct google_protobuf_UInt32Value*, UPB_SIZE(8, 16)) = value;
226 }
229  if (sub == NULL) {
230  sub = (struct google_protobuf_UInt32Value*)upb_msg_new(&google_protobuf_UInt32Value_msginit, arena);
231  if (!sub) return NULL;
233  }
234  return sub;
235 }
237  UPB_FIELD_AT(msg, uint32_t, UPB_SIZE(0, 0)) = value;
238 }
240  UPB_FIELD_AT(msg, struct google_protobuf_UInt32Value*, UPB_SIZE(12, 24)) = value;
241 }
244  if (sub == NULL) {
245  sub = (struct google_protobuf_UInt32Value*)upb_msg_new(&google_protobuf_UInt32Value_msginit, arena);
246  if (!sub) return NULL;
248  }
249  return sub;
250 }
251 
252 #ifdef __cplusplus
253 } /* extern "C" */
254 #endif
255 
256 #include "upb/port_undef.inc"
257 
258 #endif /* ENVOY_API_V2_ENDPOINT_ENDPOINT_PROTO_UPB_H_ */
struct envoy_api_v2_core_Address envoy_api_v2_core_Address
Definition: address.upb.h:33
struct envoy_api_v2_core_Locality envoy_api_v2_core_Locality
Definition: base.upb.h:39
struct envoy_api_v2_core_Metadata envoy_api_v2_core_Metadata
Definition: base.upb.h:41
UPB_INLINE envoy_api_v2_endpoint_LbEndpoint * envoy_api_v2_endpoint_LbEndpoint_new(upb_arena *arena)
Definition: endpoint.upb.h:109
const upb_msglayout envoy_api_v2_core_Address_msginit
Definition: address.upb.c:87
const upb_msglayout envoy_api_v2_core_Locality_msginit
Definition: base.upb.c:27
UPB_INLINE void envoy_api_v2_endpoint_LocalityLbEndpoints_set_proximity(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, struct google_protobuf_UInt32Value *value)
Definition: endpoint.upb.h:239
UPB_INLINE bool envoy_api_v2_endpoint_LbEndpoint_has_endpoint(const envoy_api_v2_endpoint_LbEndpoint *msg)
Definition: endpoint.upb.h:128
const upb_msglayout envoy_api_v2_endpoint_LocalityLbEndpoints_msginit
Definition: endpoint.upb.c:80
UPB_INLINE void envoy_api_v2_endpoint_Endpoint_HealthCheckConfig_set_port_value(envoy_api_v2_endpoint_Endpoint_HealthCheckConfig *msg, uint32_t value)
Definition: endpoint.upb.h:103
UPB_INLINE envoy_api_v2_endpoint_LbEndpoint_host_identifier_oneofcases envoy_api_v2_endpoint_LbEndpoint_host_identifier_case(const envoy_api_v2_endpoint_LbEndpoint *msg)
Definition: endpoint.upb.h:126
UPB_INLINE char * envoy_api_v2_endpoint_LocalityLbEndpoints_serialize(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg, upb_arena *arena, size_t *len)
Definition: endpoint.upb.h:189
UPB_INLINE void envoy_api_v2_endpoint_LbEndpoint_set_health_status(envoy_api_v2_endpoint_LbEndpoint *msg, int32_t value)
Definition: endpoint.upb.h:148
UPB_INLINE uint32_t envoy_api_v2_endpoint_Endpoint_HealthCheckConfig_port_value(const envoy_api_v2_endpoint_Endpoint_HealthCheckConfig *msg)
Definition: endpoint.upb.h:101
UPB_INLINE void envoy_api_v2_endpoint_LbEndpoint_set_endpoint_name(envoy_api_v2_endpoint_LbEndpoint *msg, upb_strview value)
Definition: endpoint.upb.h:175
UPB_INLINE void envoy_api_v2_endpoint_LbEndpoint_set_endpoint(envoy_api_v2_endpoint_LbEndpoint *msg, envoy_api_v2_endpoint_Endpoint *value)
Definition: endpoint.upb.h:136
UPB_INLINE struct envoy_api_v2_endpoint_Endpoint_HealthCheckConfig * envoy_api_v2_endpoint_Endpoint_mutable_health_check_config(envoy_api_v2_endpoint_Endpoint *msg, upb_arena *arena)
Definition: endpoint.upb.h:77
UPB_INLINE char * envoy_api_v2_endpoint_Endpoint_serialize(const envoy_api_v2_endpoint_Endpoint *msg, upb_arena *arena, size_t *len)
Definition: endpoint.upb.h:55
UPB_INLINE const struct envoy_api_v2_core_Locality * envoy_api_v2_endpoint_LocalityLbEndpoints_locality(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg)
Definition: endpoint.upb.h:193
UPB_INLINE envoy_api_v2_endpoint_LbEndpoint ** envoy_api_v2_endpoint_LocalityLbEndpoints_resize_lb_endpoints(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, size_t len, upb_arena *arena)
Definition: endpoint.upb.h:214
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_endpoint_LocalityLbEndpoints_load_balancing_weight(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg)
Definition: endpoint.upb.h:195
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_endpoint_LbEndpoint_mutable_load_balancing_weight(envoy_api_v2_endpoint_LbEndpoint *msg, upb_arena *arena)
Definition: endpoint.upb.h:166
struct envoy_api_v2_endpoint_LocalityLbEndpoints envoy_api_v2_endpoint_LocalityLbEndpoints
Definition: endpoint.upb.h:30
const upb_msglayout envoy_api_v2_endpoint_LbEndpoint_msginit
Definition: endpoint.upb.c:60
const upb_msglayout google_protobuf_UInt32Value_msginit
Definition: wrappers.upb.c:69
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_endpoint_LocalityLbEndpoints_proximity(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg)
Definition: endpoint.upb.h:197
UPB_INLINE const struct envoy_api_v2_core_Address * envoy_api_v2_endpoint_Endpoint_address(const envoy_api_v2_endpoint_Endpoint *msg)
Definition: endpoint.upb.h:59
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_endpoint_LocalityLbEndpoints_mutable_load_balancing_weight(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, upb_arena *arena)
Definition: endpoint.upb.h:227
struct envoy_api_v2_endpoint_Endpoint envoy_api_v2_endpoint_Endpoint
Definition: endpoint.upb.h:27
const upb_msglayout envoy_api_v2_endpoint_Endpoint_HealthCheckConfig_msginit
Definition: endpoint.upb.c:40
UPB_INLINE int32_t envoy_api_v2_endpoint_LbEndpoint_health_status(const envoy_api_v2_endpoint_LbEndpoint *msg)
Definition: endpoint.upb.h:130
UPB_INLINE envoy_api_v2_endpoint_Endpoint * envoy_api_v2_endpoint_Endpoint_parse(const char *buf, size_t size, upb_arena *arena)
Definition: endpoint.upb.h:50
UPB_INLINE struct envoy_api_v2_core_Address * envoy_api_v2_endpoint_Endpoint_mutable_address(envoy_api_v2_endpoint_Endpoint *msg, upb_arena *arena)
Definition: endpoint.upb.h:65
UPB_INLINE const struct envoy_api_v2_core_Metadata * envoy_api_v2_endpoint_LbEndpoint_metadata(const envoy_api_v2_endpoint_LbEndpoint *msg)
Definition: endpoint.upb.h:131
UPB_INLINE struct envoy_api_v2_core_Metadata * envoy_api_v2_endpoint_LbEndpoint_mutable_metadata(envoy_api_v2_endpoint_LbEndpoint *msg, upb_arena *arena)
Definition: endpoint.upb.h:154
UPB_INLINE envoy_api_v2_endpoint_LbEndpoint ** envoy_api_v2_endpoint_LocalityLbEndpoints_mutable_lb_endpoints(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, size_t *len)
Definition: endpoint.upb.h:211
UPB_INLINE void envoy_api_v2_endpoint_Endpoint_set_health_check_config(envoy_api_v2_endpoint_Endpoint *msg, envoy_api_v2_endpoint_Endpoint_HealthCheckConfig *value)
Definition: endpoint.upb.h:74
UPB_INLINE const envoy_api_v2_endpoint_Endpoint_HealthCheckConfig * envoy_api_v2_endpoint_Endpoint_health_check_config(const envoy_api_v2_endpoint_Endpoint *msg)
Definition: endpoint.upb.h:60
UPB_INLINE upb_strview envoy_api_v2_endpoint_LbEndpoint_endpoint_name(const envoy_api_v2_endpoint_LbEndpoint *msg)
Definition: endpoint.upb.h:134
UPB_INLINE void envoy_api_v2_endpoint_LocalityLbEndpoints_set_load_balancing_weight(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, struct google_protobuf_UInt32Value *value)
Definition: endpoint.upb.h:224
UPB_INLINE void envoy_api_v2_endpoint_LbEndpoint_set_load_balancing_weight(envoy_api_v2_endpoint_LbEndpoint *msg, struct google_protobuf_UInt32Value *value)
Definition: endpoint.upb.h:163
UPB_INLINE char * envoy_api_v2_endpoint_Endpoint_HealthCheckConfig_serialize(const envoy_api_v2_endpoint_Endpoint_HealthCheckConfig *msg, upb_arena *arena, size_t *len)
Definition: endpoint.upb.h:97
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_endpoint_LocalityLbEndpoints_mutable_proximity(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, upb_arena *arena)
Definition: endpoint.upb.h:242
struct envoy_api_v2_endpoint_LbEndpoint envoy_api_v2_endpoint_LbEndpoint
Definition: endpoint.upb.h:29
UPB_INLINE const envoy_api_v2_endpoint_LbEndpoint *const * envoy_api_v2_endpoint_LocalityLbEndpoints_lb_endpoints(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg, size_t *len)
Definition: endpoint.upb.h:194
UPB_INLINE struct envoy_api_v2_core_Locality * envoy_api_v2_endpoint_LocalityLbEndpoints_mutable_locality(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, upb_arena *arena)
Definition: endpoint.upb.h:202
UPB_INLINE uint32_t envoy_api_v2_endpoint_LocalityLbEndpoints_priority(const envoy_api_v2_endpoint_LocalityLbEndpoints *msg)
Definition: endpoint.upb.h:196
UPB_INLINE void envoy_api_v2_endpoint_Endpoint_set_address(envoy_api_v2_endpoint_Endpoint *msg, struct envoy_api_v2_core_Address *value)
Definition: endpoint.upb.h:62
UPB_INLINE struct envoy_api_v2_endpoint_Endpoint * envoy_api_v2_endpoint_LbEndpoint_mutable_endpoint(envoy_api_v2_endpoint_LbEndpoint *msg, upb_arena *arena)
Definition: endpoint.upb.h:139
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_endpoint_LbEndpoint_load_balancing_weight(const envoy_api_v2_endpoint_LbEndpoint *msg)
Definition: endpoint.upb.h:132
UPB_INLINE envoy_api_v2_endpoint_LocalityLbEndpoints * envoy_api_v2_endpoint_LocalityLbEndpoints_parse(const char *buf, size_t size, upb_arena *arena)
Definition: endpoint.upb.h:184
struct envoy_api_v2_endpoint_Endpoint_HealthCheckConfig envoy_api_v2_endpoint_Endpoint_HealthCheckConfig
Definition: endpoint.upb.h:28
UPB_INLINE const envoy_api_v2_endpoint_Endpoint * envoy_api_v2_endpoint_LbEndpoint_endpoint(const envoy_api_v2_endpoint_LbEndpoint *msg)
Definition: endpoint.upb.h:129
UPB_INLINE struct envoy_api_v2_endpoint_LbEndpoint * envoy_api_v2_endpoint_LocalityLbEndpoints_add_lb_endpoints(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, upb_arena *arena)
Definition: endpoint.upb.h:217
UPB_INLINE envoy_api_v2_endpoint_Endpoint * envoy_api_v2_endpoint_Endpoint_new(upb_arena *arena)
Definition: endpoint.upb.h:47
UPB_INLINE void envoy_api_v2_endpoint_LocalityLbEndpoints_set_locality(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, struct envoy_api_v2_core_Locality *value)
Definition: endpoint.upb.h:199
UPB_INLINE envoy_api_v2_endpoint_Endpoint_HealthCheckConfig * envoy_api_v2_endpoint_Endpoint_HealthCheckConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: endpoint.upb.h:92
UPB_INLINE envoy_api_v2_endpoint_Endpoint_HealthCheckConfig * envoy_api_v2_endpoint_Endpoint_HealthCheckConfig_new(upb_arena *arena)
Definition: endpoint.upb.h:89
UPB_INLINE bool envoy_api_v2_endpoint_LbEndpoint_has_endpoint_name(const envoy_api_v2_endpoint_LbEndpoint *msg)
Definition: endpoint.upb.h:133
UPB_INLINE void envoy_api_v2_endpoint_LbEndpoint_set_metadata(envoy_api_v2_endpoint_LbEndpoint *msg, struct envoy_api_v2_core_Metadata *value)
Definition: endpoint.upb.h:151
UPB_INLINE char * envoy_api_v2_endpoint_LbEndpoint_serialize(const envoy_api_v2_endpoint_LbEndpoint *msg, upb_arena *arena, size_t *len)
Definition: endpoint.upb.h:117
const upb_msglayout envoy_api_v2_endpoint_Endpoint_msginit
Definition: endpoint.upb.c:30
UPB_INLINE envoy_api_v2_endpoint_LocalityLbEndpoints * envoy_api_v2_endpoint_LocalityLbEndpoints_new(upb_arena *arena)
Definition: endpoint.upb.h:181
const upb_msglayout envoy_api_v2_core_Metadata_msginit
Definition: base.upb.c:60
UPB_INLINE envoy_api_v2_endpoint_LbEndpoint * envoy_api_v2_endpoint_LbEndpoint_parse(const char *buf, size_t size, upb_arena *arena)
Definition: endpoint.upb.h:112
UPB_INLINE void envoy_api_v2_endpoint_LocalityLbEndpoints_set_priority(envoy_api_v2_endpoint_LocalityLbEndpoints *msg, uint32_t value)
Definition: endpoint.upb.h:236
envoy_api_v2_endpoint_LbEndpoint_host_identifier_oneofcases
Definition: endpoint.upb.h:121
@ envoy_api_v2_endpoint_LbEndpoint_host_identifier_NOT_SET
Definition: endpoint.upb.h:124
@ envoy_api_v2_endpoint_LbEndpoint_host_identifier_endpoint
Definition: endpoint.upb.h:122
@ envoy_api_v2_endpoint_LbEndpoint_host_identifier_endpoint_name
Definition: endpoint.upb.h:123
struct google_protobuf_UInt32Value google_protobuf_UInt32Value
Definition: wrappers.upb.h:37