GRPC Core  18.0.0
handshaker.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  * src/proto/grpc/gcp/handshaker.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef SRC_PROTO_GRPC_GCP_HANDSHAKER_PROTO_UPB_H_
10 #define SRC_PROTO_GRPC_GCP_HANDSHAKER_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 
23 struct grpc_gcp_Endpoint;
24 struct grpc_gcp_Identity;
47 extern const upb_msglayout grpc_gcp_Endpoint_msginit;
48 extern const upb_msglayout grpc_gcp_Identity_msginit;
49 extern const upb_msglayout grpc_gcp_Identity_AttributesEntry_msginit;
50 extern const upb_msglayout grpc_gcp_StartClientHandshakeReq_msginit;
51 extern const upb_msglayout grpc_gcp_ServerHandshakeParameters_msginit;
52 extern const upb_msglayout grpc_gcp_StartServerHandshakeReq_msginit;
54 extern const upb_msglayout grpc_gcp_NextHandshakeMessageReq_msginit;
55 extern const upb_msglayout grpc_gcp_HandshakerReq_msginit;
56 extern const upb_msglayout grpc_gcp_HandshakerResult_msginit;
57 extern const upb_msglayout grpc_gcp_HandshakerStatus_msginit;
58 extern const upb_msglayout grpc_gcp_HandshakerResp_msginit;
60 extern const upb_msglayout grpc_gcp_RpcProtocolVersions_msginit;
61 
62 typedef enum {
65  grpc_gcp_ALTS = 2
67 
68 typedef enum {
71  grpc_gcp_UDP = 2
73 
74 
75 /* grpc.gcp.Endpoint */
76 
78  return (grpc_gcp_Endpoint *)_upb_msg_new(&grpc_gcp_Endpoint_msginit, arena);
79 }
80 UPB_INLINE grpc_gcp_Endpoint *grpc_gcp_Endpoint_parse(const char *buf, size_t size,
81  upb_arena *arena) {
83  return (ret && upb_decode(buf, size, ret, &grpc_gcp_Endpoint_msginit, arena)) ? ret : NULL;
84 }
85 UPB_INLINE grpc_gcp_Endpoint *grpc_gcp_Endpoint_parse_ex(const char *buf, size_t size,
86  upb_arena *arena, int options) {
88  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_Endpoint_msginit, arena, options))
89  ? ret : NULL;
90 }
91 UPB_INLINE char *grpc_gcp_Endpoint_serialize(const grpc_gcp_Endpoint *msg, upb_arena *arena, size_t *len) {
92  return upb_encode(msg, &grpc_gcp_Endpoint_msginit, arena, len);
93 }
94 
95 UPB_INLINE upb_strview grpc_gcp_Endpoint_ip_address(const grpc_gcp_Endpoint *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview); }
96 UPB_INLINE int32_t grpc_gcp_Endpoint_port(const grpc_gcp_Endpoint *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t); }
97 UPB_INLINE int32_t grpc_gcp_Endpoint_protocol(const grpc_gcp_Endpoint *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t); }
98 
99 UPB_INLINE void grpc_gcp_Endpoint_set_ip_address(grpc_gcp_Endpoint *msg, upb_strview value) {
100  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview) = value;
101 }
102 UPB_INLINE void grpc_gcp_Endpoint_set_port(grpc_gcp_Endpoint *msg, int32_t value) {
103  *UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t) = value;
104 }
105 UPB_INLINE void grpc_gcp_Endpoint_set_protocol(grpc_gcp_Endpoint *msg, int32_t value) {
106  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), int32_t) = value;
107 }
108 
109 /* grpc.gcp.Identity */
110 
112  return (grpc_gcp_Identity *)_upb_msg_new(&grpc_gcp_Identity_msginit, arena);
113 }
114 UPB_INLINE grpc_gcp_Identity *grpc_gcp_Identity_parse(const char *buf, size_t size,
115  upb_arena *arena) {
117  return (ret && upb_decode(buf, size, ret, &grpc_gcp_Identity_msginit, arena)) ? ret : NULL;
118 }
119 UPB_INLINE grpc_gcp_Identity *grpc_gcp_Identity_parse_ex(const char *buf, size_t size,
120  upb_arena *arena, int options) {
122  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_Identity_msginit, arena, options))
123  ? ret : NULL;
124 }
125 UPB_INLINE char *grpc_gcp_Identity_serialize(const grpc_gcp_Identity *msg, upb_arena *arena, size_t *len) {
126  return upb_encode(msg, &grpc_gcp_Identity_msginit, arena, len);
127 }
128 
129 typedef enum {
135 
136 UPB_INLINE bool grpc_gcp_Identity_has_service_account(const grpc_gcp_Identity *msg) { return _upb_getoneofcase(msg, UPB_SIZE(12, 24)) == 1; }
137 UPB_INLINE upb_strview grpc_gcp_Identity_service_account(const grpc_gcp_Identity *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), UPB_SIZE(12, 24), 1, upb_strview_make("", strlen(""))); }
138 UPB_INLINE bool grpc_gcp_Identity_has_hostname(const grpc_gcp_Identity *msg) { return _upb_getoneofcase(msg, UPB_SIZE(12, 24)) == 2; }
139 UPB_INLINE upb_strview grpc_gcp_Identity_hostname(const grpc_gcp_Identity *msg) { return UPB_READ_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), UPB_SIZE(12, 24), 2, upb_strview_make("", strlen(""))); }
140 UPB_INLINE bool grpc_gcp_Identity_has_attributes(const grpc_gcp_Identity *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(0, 0)); }
141 UPB_INLINE size_t grpc_gcp_Identity_attributes_size(const grpc_gcp_Identity *msg) {return _upb_msg_map_size(msg, UPB_SIZE(0, 0)); }
142 UPB_INLINE bool grpc_gcp_Identity_attributes_get(const grpc_gcp_Identity *msg, upb_strview key, upb_strview *val) { return _upb_msg_map_get(msg, UPB_SIZE(0, 0), &key, 0, val, 0); }
143 UPB_INLINE const grpc_gcp_Identity_AttributesEntry* grpc_gcp_Identity_attributes_next(const grpc_gcp_Identity *msg, size_t* iter) { return (const grpc_gcp_Identity_AttributesEntry*)_upb_msg_map_next(msg, UPB_SIZE(0, 0), iter); }
144 
145 UPB_INLINE void grpc_gcp_Identity_set_service_account(grpc_gcp_Identity *msg, upb_strview value) {
146  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 1);
147 }
148 UPB_INLINE void grpc_gcp_Identity_set_hostname(grpc_gcp_Identity *msg, upb_strview value) {
149  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 2);
150 }
151 UPB_INLINE void grpc_gcp_Identity_attributes_clear(grpc_gcp_Identity *msg) { _upb_msg_map_clear(msg, UPB_SIZE(0, 0)); }
152 UPB_INLINE bool grpc_gcp_Identity_attributes_set(grpc_gcp_Identity *msg, upb_strview key, upb_strview val, upb_arena *a) { return _upb_msg_map_set(msg, UPB_SIZE(0, 0), &key, 0, &val, 0, a); }
153 UPB_INLINE bool grpc_gcp_Identity_attributes_delete(grpc_gcp_Identity *msg, upb_strview key) { return _upb_msg_map_delete(msg, UPB_SIZE(0, 0), &key, 0); }
154 UPB_INLINE grpc_gcp_Identity_AttributesEntry* grpc_gcp_Identity_attributes_nextmutable(grpc_gcp_Identity *msg, size_t* iter) { return (grpc_gcp_Identity_AttributesEntry*)_upb_msg_map_next(msg, UPB_SIZE(0, 0), iter); }
155 
156 /* grpc.gcp.Identity.AttributesEntry */
157 
159  upb_strview ret;
160  _upb_msg_map_key(msg, &ret, 0);
161  return ret;
162 }
164  upb_strview ret;
165  _upb_msg_map_value(msg, &ret, 0);
166  return ret;
167 }
168 
170  _upb_msg_map_set_value(msg, &value, 0);
171 }
172 
173 /* grpc.gcp.StartClientHandshakeReq */
174 
177 }
179  upb_arena *arena) {
181  return (ret && upb_decode(buf, size, ret, &grpc_gcp_StartClientHandshakeReq_msginit, arena)) ? ret : NULL;
182 }
184  upb_arena *arena, int options) {
186  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_StartClientHandshakeReq_msginit, arena, options))
187  ? ret : NULL;
188 }
189 UPB_INLINE char *grpc_gcp_StartClientHandshakeReq_serialize(const grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena, size_t *len) {
190  return upb_encode(msg, &grpc_gcp_StartClientHandshakeReq_msginit, arena, len);
191 }
192 
193 UPB_INLINE int32_t grpc_gcp_StartClientHandshakeReq_handshake_security_protocol(const grpc_gcp_StartClientHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t); }
194 UPB_INLINE upb_strview const* grpc_gcp_StartClientHandshakeReq_application_protocols(const grpc_gcp_StartClientHandshakeReq *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(36, 64), len); }
195 UPB_INLINE upb_strview const* grpc_gcp_StartClientHandshakeReq_record_protocols(const grpc_gcp_StartClientHandshakeReq *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(40, 72), len); }
196 UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_target_identities(const grpc_gcp_StartClientHandshakeReq *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(44, 80)); }
197 UPB_INLINE const grpc_gcp_Identity* const* grpc_gcp_StartClientHandshakeReq_target_identities(const grpc_gcp_StartClientHandshakeReq *msg, size_t *len) { return (const grpc_gcp_Identity* const*)_upb_array_accessor(msg, UPB_SIZE(44, 80), len); }
198 UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_local_identity(const grpc_gcp_StartClientHandshakeReq *msg) { return _upb_hasbit(msg, 1); }
199 UPB_INLINE const grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_local_identity(const grpc_gcp_StartClientHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(20, 32), const grpc_gcp_Identity*); }
200 UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_local_endpoint(const grpc_gcp_StartClientHandshakeReq *msg) { return _upb_hasbit(msg, 2); }
201 UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_local_endpoint(const grpc_gcp_StartClientHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(24, 40), const grpc_gcp_Endpoint*); }
202 UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_remote_endpoint(const grpc_gcp_StartClientHandshakeReq *msg) { return _upb_hasbit(msg, 3); }
203 UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_remote_endpoint(const grpc_gcp_StartClientHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(28, 48), const grpc_gcp_Endpoint*); }
204 UPB_INLINE upb_strview grpc_gcp_StartClientHandshakeReq_target_name(const grpc_gcp_StartClientHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(12, 16), upb_strview); }
205 UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_rpc_versions(const grpc_gcp_StartClientHandshakeReq *msg) { return _upb_hasbit(msg, 4); }
206 UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartClientHandshakeReq_rpc_versions(const grpc_gcp_StartClientHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(32, 56), const struct grpc_gcp_RpcProtocolVersions*); }
207 UPB_INLINE uint32_t grpc_gcp_StartClientHandshakeReq_max_frame_size(const grpc_gcp_StartClientHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint32_t); }
208 
210  *UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t) = value;
211 }
213  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(36, 64), len);
214 }
216  return (upb_strview*)_upb_array_resize_accessor2(msg, UPB_SIZE(36, 64), len, UPB_SIZE(3, 4), arena);
217 }
219  return _upb_array_append_accessor2(msg, UPB_SIZE(36, 64), UPB_SIZE(3, 4), &val,
220  arena);
221 }
223  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(40, 72), len);
224 }
226  return (upb_strview*)_upb_array_resize_accessor2(msg, UPB_SIZE(40, 72), len, UPB_SIZE(3, 4), arena);
227 }
229  return _upb_array_append_accessor2(msg, UPB_SIZE(40, 72), UPB_SIZE(3, 4), &val,
230  arena);
231 }
233  return (grpc_gcp_Identity**)_upb_array_mutable_accessor(msg, UPB_SIZE(44, 80), len);
234 }
236  return (grpc_gcp_Identity**)_upb_array_resize_accessor2(msg, UPB_SIZE(44, 80), len, UPB_SIZE(2, 3), arena);
237 }
239  struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)_upb_msg_new(&grpc_gcp_Identity_msginit, arena);
240  bool ok = _upb_array_append_accessor2(
241  msg, UPB_SIZE(44, 80), UPB_SIZE(2, 3), &sub, arena);
242  if (!ok) return NULL;
243  return sub;
244 }
246  _upb_sethas(msg, 1);
247  *UPB_PTR_AT(msg, UPB_SIZE(20, 32), grpc_gcp_Identity*) = value;
248 }
251  if (sub == NULL) {
252  sub = (struct grpc_gcp_Identity*)_upb_msg_new(&grpc_gcp_Identity_msginit, arena);
253  if (!sub) return NULL;
255  }
256  return sub;
257 }
259  _upb_sethas(msg, 2);
260  *UPB_PTR_AT(msg, UPB_SIZE(24, 40), grpc_gcp_Endpoint*) = value;
261 }
264  if (sub == NULL) {
265  sub = (struct grpc_gcp_Endpoint*)_upb_msg_new(&grpc_gcp_Endpoint_msginit, arena);
266  if (!sub) return NULL;
268  }
269  return sub;
270 }
272  _upb_sethas(msg, 3);
273  *UPB_PTR_AT(msg, UPB_SIZE(28, 48), grpc_gcp_Endpoint*) = value;
274 }
277  if (sub == NULL) {
278  sub = (struct grpc_gcp_Endpoint*)_upb_msg_new(&grpc_gcp_Endpoint_msginit, arena);
279  if (!sub) return NULL;
281  }
282  return sub;
283 }
285  *UPB_PTR_AT(msg, UPB_SIZE(12, 16), upb_strview) = value;
286 }
288  _upb_sethas(msg, 4);
289  *UPB_PTR_AT(msg, UPB_SIZE(32, 56), struct grpc_gcp_RpcProtocolVersions*) = value;
290 }
293  if (sub == NULL) {
295  if (!sub) return NULL;
297  }
298  return sub;
299 }
301  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint32_t) = value;
302 }
303 
304 /* grpc.gcp.ServerHandshakeParameters */
305 
308 }
310  upb_arena *arena) {
312  return (ret && upb_decode(buf, size, ret, &grpc_gcp_ServerHandshakeParameters_msginit, arena)) ? ret : NULL;
313 }
315  upb_arena *arena, int options) {
317  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_ServerHandshakeParameters_msginit, arena, options))
318  ? ret : NULL;
319 }
320 UPB_INLINE char *grpc_gcp_ServerHandshakeParameters_serialize(const grpc_gcp_ServerHandshakeParameters *msg, upb_arena *arena, size_t *len) {
321  return upb_encode(msg, &grpc_gcp_ServerHandshakeParameters_msginit, arena, len);
322 }
323 
324 UPB_INLINE upb_strview const* grpc_gcp_ServerHandshakeParameters_record_protocols(const grpc_gcp_ServerHandshakeParameters *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(0, 0), len); }
325 UPB_INLINE bool grpc_gcp_ServerHandshakeParameters_has_local_identities(const grpc_gcp_ServerHandshakeParameters *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(4, 8)); }
326 UPB_INLINE const grpc_gcp_Identity* const* grpc_gcp_ServerHandshakeParameters_local_identities(const grpc_gcp_ServerHandshakeParameters *msg, size_t *len) { return (const grpc_gcp_Identity* const*)_upb_array_accessor(msg, UPB_SIZE(4, 8), len); }
327 
329  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(0, 0), len);
330 }
332  return (upb_strview*)_upb_array_resize_accessor2(msg, UPB_SIZE(0, 0), len, UPB_SIZE(3, 4), arena);
333 }
335  return _upb_array_append_accessor2(msg, UPB_SIZE(0, 0), UPB_SIZE(3, 4), &val,
336  arena);
337 }
339  return (grpc_gcp_Identity**)_upb_array_mutable_accessor(msg, UPB_SIZE(4, 8), len);
340 }
342  return (grpc_gcp_Identity**)_upb_array_resize_accessor2(msg, UPB_SIZE(4, 8), len, UPB_SIZE(2, 3), arena);
343 }
345  struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)_upb_msg_new(&grpc_gcp_Identity_msginit, arena);
346  bool ok = _upb_array_append_accessor2(
347  msg, UPB_SIZE(4, 8), UPB_SIZE(2, 3), &sub, arena);
348  if (!ok) return NULL;
349  return sub;
350 }
351 
352 /* grpc.gcp.StartServerHandshakeReq */
353 
356 }
358  upb_arena *arena) {
360  return (ret && upb_decode(buf, size, ret, &grpc_gcp_StartServerHandshakeReq_msginit, arena)) ? ret : NULL;
361 }
363  upb_arena *arena, int options) {
365  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_StartServerHandshakeReq_msginit, arena, options))
366  ? ret : NULL;
367 }
368 UPB_INLINE char *grpc_gcp_StartServerHandshakeReq_serialize(const grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena, size_t *len) {
369  return upb_encode(msg, &grpc_gcp_StartServerHandshakeReq_msginit, arena, len);
370 }
371 
372 UPB_INLINE upb_strview const* grpc_gcp_StartServerHandshakeReq_application_protocols(const grpc_gcp_StartServerHandshakeReq *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(28, 48), len); }
373 UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_handshake_parameters(const grpc_gcp_StartServerHandshakeReq *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(32, 56)); }
374 UPB_INLINE size_t grpc_gcp_StartServerHandshakeReq_handshake_parameters_size(const grpc_gcp_StartServerHandshakeReq *msg) {return _upb_msg_map_size(msg, UPB_SIZE(32, 56)); }
375 UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_get(const grpc_gcp_StartServerHandshakeReq *msg, int32_t key, grpc_gcp_ServerHandshakeParameters* *val) { return _upb_msg_map_get(msg, UPB_SIZE(32, 56), &key, sizeof(key), val, sizeof(*val)); }
377 UPB_INLINE upb_strview grpc_gcp_StartServerHandshakeReq_in_bytes(const grpc_gcp_StartServerHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview); }
378 UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_local_endpoint(const grpc_gcp_StartServerHandshakeReq *msg) { return _upb_hasbit(msg, 1); }
379 UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_local_endpoint(const grpc_gcp_StartServerHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 24), const grpc_gcp_Endpoint*); }
380 UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_remote_endpoint(const grpc_gcp_StartServerHandshakeReq *msg) { return _upb_hasbit(msg, 2); }
381 UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_remote_endpoint(const grpc_gcp_StartServerHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(20, 32), const grpc_gcp_Endpoint*); }
382 UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_rpc_versions(const grpc_gcp_StartServerHandshakeReq *msg) { return _upb_hasbit(msg, 3); }
383 UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartServerHandshakeReq_rpc_versions(const grpc_gcp_StartServerHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(24, 40), const struct grpc_gcp_RpcProtocolVersions*); }
384 UPB_INLINE uint32_t grpc_gcp_StartServerHandshakeReq_max_frame_size(const grpc_gcp_StartServerHandshakeReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), uint32_t); }
385 
387  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(28, 48), len);
388 }
390  return (upb_strview*)_upb_array_resize_accessor2(msg, UPB_SIZE(28, 48), len, UPB_SIZE(3, 4), arena);
391 }
393  return _upb_array_append_accessor2(msg, UPB_SIZE(28, 48), UPB_SIZE(3, 4), &val,
394  arena);
395 }
396 UPB_INLINE void grpc_gcp_StartServerHandshakeReq_handshake_parameters_clear(grpc_gcp_StartServerHandshakeReq *msg) { _upb_msg_map_clear(msg, UPB_SIZE(32, 56)); }
397 UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_set(grpc_gcp_StartServerHandshakeReq *msg, int32_t key, grpc_gcp_ServerHandshakeParameters* val, upb_arena *a) { return _upb_msg_map_set(msg, UPB_SIZE(32, 56), &key, sizeof(key), &val, sizeof(val), a); }
398 UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_delete(grpc_gcp_StartServerHandshakeReq *msg, int32_t key) { return _upb_msg_map_delete(msg, UPB_SIZE(32, 56), &key, sizeof(key)); }
401  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview) = value;
402 }
404  _upb_sethas(msg, 1);
405  *UPB_PTR_AT(msg, UPB_SIZE(16, 24), grpc_gcp_Endpoint*) = value;
406 }
409  if (sub == NULL) {
410  sub = (struct grpc_gcp_Endpoint*)_upb_msg_new(&grpc_gcp_Endpoint_msginit, arena);
411  if (!sub) return NULL;
413  }
414  return sub;
415 }
417  _upb_sethas(msg, 2);
418  *UPB_PTR_AT(msg, UPB_SIZE(20, 32), grpc_gcp_Endpoint*) = value;
419 }
422  if (sub == NULL) {
423  sub = (struct grpc_gcp_Endpoint*)_upb_msg_new(&grpc_gcp_Endpoint_msginit, arena);
424  if (!sub) return NULL;
426  }
427  return sub;
428 }
430  _upb_sethas(msg, 3);
431  *UPB_PTR_AT(msg, UPB_SIZE(24, 40), struct grpc_gcp_RpcProtocolVersions*) = value;
432 }
435  if (sub == NULL) {
437  if (!sub) return NULL;
439  }
440  return sub;
441 }
443  *UPB_PTR_AT(msg, UPB_SIZE(4, 4), uint32_t) = value;
444 }
445 
446 /* grpc.gcp.StartServerHandshakeReq.HandshakeParametersEntry */
447 
449  int32_t ret;
450  _upb_msg_map_key(msg, &ret, sizeof(ret));
451  return ret;
452 }
453 UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_has_value(const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
456  _upb_msg_map_value(msg, &ret, sizeof(ret));
457  return ret;
458 }
459 
461  _upb_msg_map_set_value(msg, &value, sizeof(grpc_gcp_ServerHandshakeParameters*));
462 }
463 
464 /* grpc.gcp.NextHandshakeMessageReq */
465 
468 }
470  upb_arena *arena) {
472  return (ret && upb_decode(buf, size, ret, &grpc_gcp_NextHandshakeMessageReq_msginit, arena)) ? ret : NULL;
473 }
475  upb_arena *arena, int options) {
477  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_NextHandshakeMessageReq_msginit, arena, options))
478  ? ret : NULL;
479 }
480 UPB_INLINE char *grpc_gcp_NextHandshakeMessageReq_serialize(const grpc_gcp_NextHandshakeMessageReq *msg, upb_arena *arena, size_t *len) {
481  return upb_encode(msg, &grpc_gcp_NextHandshakeMessageReq_msginit, arena, len);
482 }
483 
484 UPB_INLINE upb_strview grpc_gcp_NextHandshakeMessageReq_in_bytes(const grpc_gcp_NextHandshakeMessageReq *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview); }
485 
487  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), upb_strview) = value;
488 }
489 
490 /* grpc.gcp.HandshakerReq */
491 
494 }
495 UPB_INLINE grpc_gcp_HandshakerReq *grpc_gcp_HandshakerReq_parse(const char *buf, size_t size,
496  upb_arena *arena) {
498  return (ret && upb_decode(buf, size, ret, &grpc_gcp_HandshakerReq_msginit, arena)) ? ret : NULL;
499 }
500 UPB_INLINE grpc_gcp_HandshakerReq *grpc_gcp_HandshakerReq_parse_ex(const char *buf, size_t size,
501  upb_arena *arena, int options) {
503  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_HandshakerReq_msginit, arena, options))
504  ? ret : NULL;
505 }
506 UPB_INLINE char *grpc_gcp_HandshakerReq_serialize(const grpc_gcp_HandshakerReq *msg, upb_arena *arena, size_t *len) {
507  return upb_encode(msg, &grpc_gcp_HandshakerReq_msginit, arena, len);
508 }
509 
510 typedef enum {
517 
518 UPB_INLINE bool grpc_gcp_HandshakerReq_has_client_start(const grpc_gcp_HandshakerReq *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 1; }
519 UPB_INLINE const grpc_gcp_StartClientHandshakeReq* grpc_gcp_HandshakerReq_client_start(const grpc_gcp_HandshakerReq *msg) { return UPB_READ_ONEOF(msg, const grpc_gcp_StartClientHandshakeReq*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 1, NULL); }
520 UPB_INLINE bool grpc_gcp_HandshakerReq_has_server_start(const grpc_gcp_HandshakerReq *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 2; }
521 UPB_INLINE const grpc_gcp_StartServerHandshakeReq* grpc_gcp_HandshakerReq_server_start(const grpc_gcp_HandshakerReq *msg) { return UPB_READ_ONEOF(msg, const grpc_gcp_StartServerHandshakeReq*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 2, NULL); }
522 UPB_INLINE bool grpc_gcp_HandshakerReq_has_next(const grpc_gcp_HandshakerReq *msg) { return _upb_getoneofcase(msg, UPB_SIZE(4, 8)) == 3; }
523 UPB_INLINE const grpc_gcp_NextHandshakeMessageReq* grpc_gcp_HandshakerReq_next(const grpc_gcp_HandshakerReq *msg) { return UPB_READ_ONEOF(msg, const grpc_gcp_NextHandshakeMessageReq*, UPB_SIZE(0, 0), UPB_SIZE(4, 8), 3, NULL); }
524 
526  UPB_WRITE_ONEOF(msg, grpc_gcp_StartClientHandshakeReq*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 1);
527 }
530  if (sub == NULL) {
532  if (!sub) return NULL;
534  }
535  return sub;
536 }
538  UPB_WRITE_ONEOF(msg, grpc_gcp_StartServerHandshakeReq*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 2);
539 }
542  if (sub == NULL) {
544  if (!sub) return NULL;
546  }
547  return sub;
548 }
550  UPB_WRITE_ONEOF(msg, grpc_gcp_NextHandshakeMessageReq*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 3);
551 }
554  if (sub == NULL) {
556  if (!sub) return NULL;
558  }
559  return sub;
560 }
561 
562 /* grpc.gcp.HandshakerResult */
563 
566 }
567 UPB_INLINE grpc_gcp_HandshakerResult *grpc_gcp_HandshakerResult_parse(const char *buf, size_t size,
568  upb_arena *arena) {
570  return (ret && upb_decode(buf, size, ret, &grpc_gcp_HandshakerResult_msginit, arena)) ? ret : NULL;
571 }
572 UPB_INLINE grpc_gcp_HandshakerResult *grpc_gcp_HandshakerResult_parse_ex(const char *buf, size_t size,
573  upb_arena *arena, int options) {
575  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_HandshakerResult_msginit, arena, options))
576  ? ret : NULL;
577 }
578 UPB_INLINE char *grpc_gcp_HandshakerResult_serialize(const grpc_gcp_HandshakerResult *msg, upb_arena *arena, size_t *len) {
579  return upb_encode(msg, &grpc_gcp_HandshakerResult_msginit, arena, len);
580 }
581 
582 UPB_INLINE upb_strview grpc_gcp_HandshakerResult_application_protocol(const grpc_gcp_HandshakerResult *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(12, 16), upb_strview); }
583 UPB_INLINE upb_strview grpc_gcp_HandshakerResult_record_protocol(const grpc_gcp_HandshakerResult *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(20, 32), upb_strview); }
584 UPB_INLINE upb_strview grpc_gcp_HandshakerResult_key_data(const grpc_gcp_HandshakerResult *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(28, 48), upb_strview); }
585 UPB_INLINE bool grpc_gcp_HandshakerResult_has_peer_identity(const grpc_gcp_HandshakerResult *msg) { return _upb_hasbit(msg, 1); }
586 UPB_INLINE const grpc_gcp_Identity* grpc_gcp_HandshakerResult_peer_identity(const grpc_gcp_HandshakerResult *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(36, 64), const grpc_gcp_Identity*); }
587 UPB_INLINE bool grpc_gcp_HandshakerResult_has_local_identity(const grpc_gcp_HandshakerResult *msg) { return _upb_hasbit(msg, 2); }
588 UPB_INLINE const grpc_gcp_Identity* grpc_gcp_HandshakerResult_local_identity(const grpc_gcp_HandshakerResult *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(40, 72), const grpc_gcp_Identity*); }
589 UPB_INLINE bool grpc_gcp_HandshakerResult_keep_channel_open(const grpc_gcp_HandshakerResult *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), bool); }
590 UPB_INLINE bool grpc_gcp_HandshakerResult_has_peer_rpc_versions(const grpc_gcp_HandshakerResult *msg) { return _upb_hasbit(msg, 3); }
591 UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_HandshakerResult_peer_rpc_versions(const grpc_gcp_HandshakerResult *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(44, 80), const struct grpc_gcp_RpcProtocolVersions*); }
592 UPB_INLINE uint32_t grpc_gcp_HandshakerResult_max_frame_size(const grpc_gcp_HandshakerResult *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), uint32_t); }
593 
595  *UPB_PTR_AT(msg, UPB_SIZE(12, 16), upb_strview) = value;
596 }
598  *UPB_PTR_AT(msg, UPB_SIZE(20, 32), upb_strview) = value;
599 }
600 UPB_INLINE void grpc_gcp_HandshakerResult_set_key_data(grpc_gcp_HandshakerResult *msg, upb_strview value) {
601  *UPB_PTR_AT(msg, UPB_SIZE(28, 48), upb_strview) = value;
602 }
604  _upb_sethas(msg, 1);
605  *UPB_PTR_AT(msg, UPB_SIZE(36, 64), grpc_gcp_Identity*) = value;
606 }
609  if (sub == NULL) {
610  sub = (struct grpc_gcp_Identity*)_upb_msg_new(&grpc_gcp_Identity_msginit, arena);
611  if (!sub) return NULL;
613  }
614  return sub;
615 }
617  _upb_sethas(msg, 2);
618  *UPB_PTR_AT(msg, UPB_SIZE(40, 72), grpc_gcp_Identity*) = value;
619 }
622  if (sub == NULL) {
623  sub = (struct grpc_gcp_Identity*)_upb_msg_new(&grpc_gcp_Identity_msginit, arena);
624  if (!sub) return NULL;
626  }
627  return sub;
628 }
630  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), bool) = value;
631 }
633  _upb_sethas(msg, 3);
634  *UPB_PTR_AT(msg, UPB_SIZE(44, 80), struct grpc_gcp_RpcProtocolVersions*) = value;
635 }
638  if (sub == NULL) {
640  if (!sub) return NULL;
642  }
643  return sub;
644 }
646  *UPB_PTR_AT(msg, UPB_SIZE(4, 4), uint32_t) = value;
647 }
648 
649 /* grpc.gcp.HandshakerStatus */
650 
653 }
654 UPB_INLINE grpc_gcp_HandshakerStatus *grpc_gcp_HandshakerStatus_parse(const char *buf, size_t size,
655  upb_arena *arena) {
657  return (ret && upb_decode(buf, size, ret, &grpc_gcp_HandshakerStatus_msginit, arena)) ? ret : NULL;
658 }
659 UPB_INLINE grpc_gcp_HandshakerStatus *grpc_gcp_HandshakerStatus_parse_ex(const char *buf, size_t size,
660  upb_arena *arena, int options) {
662  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_HandshakerStatus_msginit, arena, options))
663  ? ret : NULL;
664 }
665 UPB_INLINE char *grpc_gcp_HandshakerStatus_serialize(const grpc_gcp_HandshakerStatus *msg, upb_arena *arena, size_t *len) {
666  return upb_encode(msg, &grpc_gcp_HandshakerStatus_msginit, arena, len);
667 }
668 
669 UPB_INLINE uint32_t grpc_gcp_HandshakerStatus_code(const grpc_gcp_HandshakerStatus *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), uint32_t); }
670 UPB_INLINE upb_strview grpc_gcp_HandshakerStatus_details(const grpc_gcp_HandshakerStatus *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview); }
671 
672 UPB_INLINE void grpc_gcp_HandshakerStatus_set_code(grpc_gcp_HandshakerStatus *msg, uint32_t value) {
673  *UPB_PTR_AT(msg, UPB_SIZE(0, 0), uint32_t) = value;
674 }
675 UPB_INLINE void grpc_gcp_HandshakerStatus_set_details(grpc_gcp_HandshakerStatus *msg, upb_strview value) {
676  *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_strview) = value;
677 }
678 
679 /* grpc.gcp.HandshakerResp */
680 
683 }
684 UPB_INLINE grpc_gcp_HandshakerResp *grpc_gcp_HandshakerResp_parse(const char *buf, size_t size,
685  upb_arena *arena) {
687  return (ret && upb_decode(buf, size, ret, &grpc_gcp_HandshakerResp_msginit, arena)) ? ret : NULL;
688 }
689 UPB_INLINE grpc_gcp_HandshakerResp *grpc_gcp_HandshakerResp_parse_ex(const char *buf, size_t size,
690  upb_arena *arena, int options) {
692  return (ret && _upb_decode(buf, size, ret, &grpc_gcp_HandshakerResp_msginit, arena, options))
693  ? ret : NULL;
694 }
695 UPB_INLINE char *grpc_gcp_HandshakerResp_serialize(const grpc_gcp_HandshakerResp *msg, upb_arena *arena, size_t *len) {
696  return upb_encode(msg, &grpc_gcp_HandshakerResp_msginit, arena, len);
697 }
698 
699 UPB_INLINE upb_strview grpc_gcp_HandshakerResp_out_frames(const grpc_gcp_HandshakerResp *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview); }
700 UPB_INLINE uint32_t grpc_gcp_HandshakerResp_bytes_consumed(const grpc_gcp_HandshakerResp *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), uint32_t); }
701 UPB_INLINE bool grpc_gcp_HandshakerResp_has_result(const grpc_gcp_HandshakerResp *msg) { return _upb_hasbit(msg, 1); }
702 UPB_INLINE const grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResp_result(const grpc_gcp_HandshakerResp *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 24), const grpc_gcp_HandshakerResult*); }
703 UPB_INLINE bool grpc_gcp_HandshakerResp_has_status(const grpc_gcp_HandshakerResp *msg) { return _upb_hasbit(msg, 2); }
704 UPB_INLINE const grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerResp_status(const grpc_gcp_HandshakerResp *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(20, 32), const grpc_gcp_HandshakerStatus*); }
705 
706 UPB_INLINE void grpc_gcp_HandshakerResp_set_out_frames(grpc_gcp_HandshakerResp *msg, upb_strview value) {
707  *UPB_PTR_AT(msg, UPB_SIZE(8, 8), upb_strview) = value;
708 }
710  *UPB_PTR_AT(msg, UPB_SIZE(4, 4), uint32_t) = value;
711 }
713  _upb_sethas(msg, 1);
714  *UPB_PTR_AT(msg, UPB_SIZE(16, 24), grpc_gcp_HandshakerResult*) = value;
715 }
718  if (sub == NULL) {
720  if (!sub) return NULL;
722  }
723  return sub;
724 }
726  _upb_sethas(msg, 2);
727  *UPB_PTR_AT(msg, UPB_SIZE(20, 32), grpc_gcp_HandshakerStatus*) = value;
728 }
731  if (sub == NULL) {
733  if (!sub) return NULL;
735  }
736  return sub;
737 }
738 
739 #ifdef __cplusplus
740 } /* extern "C" */
741 #endif
742 
743 #include "upb/port_undef.inc"
744 
745 #endif /* SRC_PROTO_GRPC_GCP_HANDSHAKER_PROTO_UPB_H_ */
UPB_INLINE upb_strview grpc_gcp_HandshakerResp_out_frames(const grpc_gcp_HandshakerResp *msg)
Definition: handshaker.upb.h:699
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_application_protocols(grpc_gcp_StartClientHandshakeReq *msg, upb_strview val, upb_arena *arena)
Definition: handshaker.upb.h:218
UPB_INLINE grpc_gcp_StartServerHandshakeReq * grpc_gcp_StartServerHandshakeReq_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:357
UPB_INLINE grpc_gcp_HandshakerStatus * grpc_gcp_HandshakerStatus_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:654
UPB_INLINE const grpc_gcp_Endpoint * grpc_gcp_StartServerHandshakeReq_local_endpoint(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:379
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_max_frame_size(grpc_gcp_StartClientHandshakeReq *msg, uint32_t value)
Definition: handshaker.upb.h:300
const upb_msglayout grpc_gcp_Endpoint_msginit
Definition: handshaker.upb.c:22
UPB_INLINE grpc_gcp_NextHandshakeMessageReq * grpc_gcp_NextHandshakeMessageReq_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:474
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_in_bytes(grpc_gcp_StartServerHandshakeReq *msg, upb_strview value)
Definition: handshaker.upb.h:400
UPB_INLINE upb_strview grpc_gcp_Identity_service_account(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:137
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_remote_endpoint(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:380
UPB_INLINE uint32_t grpc_gcp_HandshakerStatus_code(const grpc_gcp_HandshakerStatus *msg)
Definition: handshaker.upb.h:669
UPB_INLINE grpc_gcp_ServerHandshakeParameters * grpc_gcp_ServerHandshakeParameters_new(upb_arena *arena)
Definition: handshaker.upb.h:306
UPB_INLINE grpc_gcp_NextHandshakeMessageReq * grpc_gcp_NextHandshakeMessageReq_new(upb_arena *arena)
Definition: handshaker.upb.h:466
const upb_msglayout grpc_gcp_HandshakerStatus_msginit
Definition: handshaker.upb.c:187
UPB_INLINE size_t grpc_gcp_StartServerHandshakeReq_handshake_parameters_size(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:374
UPB_INLINE void grpc_gcp_Identity_set_service_account(grpc_gcp_Identity *msg, upb_strview value)
Definition: handshaker.upb.h:145
UPB_INLINE const grpc_gcp_Identity * grpc_gcp_HandshakerResult_peer_identity(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:586
UPB_INLINE struct grpc_gcp_Endpoint * grpc_gcp_StartClientHandshakeReq_mutable_local_endpoint(grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:262
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_local_identity(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:198
UPB_INLINE char * grpc_gcp_ServerHandshakeParameters_serialize(const grpc_gcp_ServerHandshakeParameters *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:320
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_local_endpoint(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:378
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_has_value(const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg)
Definition: handshaker.upb.h:453
UPB_INLINE grpc_gcp_Identity ** grpc_gcp_StartClientHandshakeReq_resize_target_identities(grpc_gcp_StartClientHandshakeReq *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:235
UPB_INLINE grpc_gcp_Identity * grpc_gcp_Identity_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:119
UPB_INLINE void grpc_gcp_HandshakerResult_set_application_protocol(grpc_gcp_HandshakerResult *msg, upb_strview value)
Definition: handshaker.upb.h:594
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_set(grpc_gcp_StartServerHandshakeReq *msg, int32_t key, grpc_gcp_ServerHandshakeParameters *val, upb_arena *a)
Definition: handshaker.upb.h:397
UPB_INLINE char * grpc_gcp_HandshakerStatus_serialize(const grpc_gcp_HandshakerStatus *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:665
UPB_INLINE grpc_gcp_HandshakerResult * grpc_gcp_HandshakerResult_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:572
UPB_INLINE void grpc_gcp_Endpoint_set_ip_address(grpc_gcp_Endpoint *msg, upb_strview value)
Definition: handshaker.upb.h:99
UPB_INLINE const struct grpc_gcp_RpcProtocolVersions * grpc_gcp_StartClientHandshakeReq_rpc_versions(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:206
UPB_INLINE const struct grpc_gcp_RpcProtocolVersions * grpc_gcp_StartServerHandshakeReq_rpc_versions(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:383
UPB_INLINE upb_strview grpc_gcp_NextHandshakeMessageReq_in_bytes(const grpc_gcp_NextHandshakeMessageReq *msg)
Definition: handshaker.upb.h:484
UPB_INLINE bool grpc_gcp_HandshakerResp_has_status(const grpc_gcp_HandshakerResp *msg)
Definition: handshaker.upb.h:703
UPB_INLINE upb_strview grpc_gcp_Identity_AttributesEntry_key(const grpc_gcp_Identity_AttributesEntry *msg)
Definition: handshaker.upb.h:158
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_handshake_security_protocol(grpc_gcp_StartClientHandshakeReq *msg, int32_t value)
Definition: handshaker.upb.h:209
UPB_INLINE const grpc_gcp_HandshakerResult * grpc_gcp_HandshakerResp_result(const grpc_gcp_HandshakerResp *msg)
Definition: handshaker.upb.h:702
UPB_INLINE bool grpc_gcp_HandshakerResult_has_peer_identity(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:585
UPB_INLINE struct grpc_gcp_Identity * grpc_gcp_HandshakerResult_mutable_peer_identity(grpc_gcp_HandshakerResult *msg, upb_arena *arena)
Definition: handshaker.upb.h:607
UPB_INLINE const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry * grpc_gcp_StartServerHandshakeReq_handshake_parameters_next(const grpc_gcp_StartServerHandshakeReq *msg, size_t *iter)
Definition: handshaker.upb.h:376
struct grpc_gcp_HandshakerResult grpc_gcp_HandshakerResult
Definition: handshaker.upb.h:44
UPB_INLINE struct grpc_gcp_Endpoint * grpc_gcp_StartClientHandshakeReq_mutable_remote_endpoint(grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:275
UPB_INLINE char * grpc_gcp_NextHandshakeMessageReq_serialize(const grpc_gcp_NextHandshakeMessageReq *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:480
struct grpc_gcp_Endpoint grpc_gcp_Endpoint
Definition: handshaker.upb.h:35
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_remote_endpoint(grpc_gcp_StartClientHandshakeReq *msg, grpc_gcp_Endpoint *value)
Definition: handshaker.upb.h:271
UPB_INLINE const grpc_gcp_Identity *const * grpc_gcp_ServerHandshakeParameters_local_identities(const grpc_gcp_ServerHandshakeParameters *msg, size_t *len)
Definition: handshaker.upb.h:326
UPB_INLINE const grpc_gcp_ServerHandshakeParameters * grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_value(const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg)
Definition: handshaker.upb.h:454
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_identity(grpc_gcp_StartClientHandshakeReq *msg, grpc_gcp_Identity *value)
Definition: handshaker.upb.h:245
UPB_INLINE bool grpc_gcp_HandshakerReq_has_client_start(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:518
UPB_INLINE int32_t grpc_gcp_Endpoint_protocol(const grpc_gcp_Endpoint *msg)
Definition: handshaker.upb.h:97
UPB_INLINE struct grpc_gcp_Endpoint * grpc_gcp_StartServerHandshakeReq_mutable_remote_endpoint(grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:420
struct grpc_gcp_HandshakerReq grpc_gcp_HandshakerReq
Definition: handshaker.upb.h:43
UPB_INLINE bool grpc_gcp_Identity_has_service_account(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:136
UPB_INLINE bool grpc_gcp_HandshakerResult_keep_channel_open(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:589
UPB_INLINE bool grpc_gcp_HandshakerResult_has_peer_rpc_versions(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:590
UPB_INLINE struct grpc_gcp_RpcProtocolVersions * grpc_gcp_HandshakerResult_mutable_peer_rpc_versions(grpc_gcp_HandshakerResult *msg, upb_arena *arena)
Definition: handshaker.upb.h:636
UPB_INLINE char * grpc_gcp_HandshakerReq_serialize(const grpc_gcp_HandshakerReq *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:506
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_target_name(grpc_gcp_StartClientHandshakeReq *msg, upb_strview value)
Definition: handshaker.upb.h:284
UPB_INLINE const grpc_gcp_NextHandshakeMessageReq * grpc_gcp_HandshakerReq_next(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:523
UPB_INLINE char * grpc_gcp_StartClientHandshakeReq_serialize(const grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:189
UPB_INLINE grpc_gcp_Identity ** grpc_gcp_ServerHandshakeParameters_resize_local_identities(grpc_gcp_ServerHandshakeParameters *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:341
UPB_INLINE grpc_gcp_StartServerHandshakeReq * grpc_gcp_StartServerHandshakeReq_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:362
struct grpc_gcp_Identity_AttributesEntry grpc_gcp_Identity_AttributesEntry
Definition: handshaker.upb.h:37
UPB_INLINE void grpc_gcp_HandshakerResult_set_record_protocol(grpc_gcp_HandshakerResult *msg, upb_strview value)
Definition: handshaker.upb.h:597
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_remote_endpoint(grpc_gcp_StartServerHandshakeReq *msg, grpc_gcp_Endpoint *value)
Definition: handshaker.upb.h:416
UPB_INLINE int32_t grpc_gcp_Endpoint_port(const grpc_gcp_Endpoint *msg)
Definition: handshaker.upb.h:96
UPB_INLINE grpc_gcp_HandshakerResult * grpc_gcp_HandshakerResult_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:567
const upb_msglayout grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msginit
Definition: handshaker.upb.c:126
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_record_protocols(grpc_gcp_StartClientHandshakeReq *msg, upb_strview val, upb_arena *arena)
Definition: handshaker.upb.h:228
UPB_INLINE struct grpc_gcp_StartClientHandshakeReq * grpc_gcp_HandshakerReq_mutable_client_start(grpc_gcp_HandshakerReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:528
struct grpc_gcp_HandshakerResp grpc_gcp_HandshakerResp
Definition: handshaker.upb.h:46
grpc_gcp_HandshakeProtocol
Definition: handshaker.upb.h:62
@ grpc_gcp_HANDSHAKE_PROTOCOL_UNSPECIFIED
Definition: handshaker.upb.h:63
@ grpc_gcp_TLS
Definition: handshaker.upb.h:64
@ grpc_gcp_ALTS
Definition: handshaker.upb.h:65
grpc_gcp_Identity_identity_oneof_oneofcases
Definition: handshaker.upb.h:129
@ grpc_gcp_Identity_identity_oneof_NOT_SET
Definition: handshaker.upb.h:132
@ grpc_gcp_Identity_identity_oneof_service_account
Definition: handshaker.upb.h:130
@ grpc_gcp_Identity_identity_oneof_hostname
Definition: handshaker.upb.h:131
UPB_INLINE grpc_gcp_HandshakerReq * grpc_gcp_HandshakerReq_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:500
struct grpc_gcp_HandshakerStatus grpc_gcp_HandshakerStatus
Definition: handshaker.upb.h:45
UPB_INLINE void grpc_gcp_HandshakerResult_set_max_frame_size(grpc_gcp_HandshakerResult *msg, uint32_t value)
Definition: handshaker.upb.h:645
UPB_INLINE grpc_gcp_HandshakerStatus * grpc_gcp_HandshakerStatus_new(upb_arena *arena)
Definition: handshaker.upb.h:651
const upb_msglayout grpc_gcp_RpcProtocolVersions_msginit
Definition: transport_security_common.upb.c:24
UPB_INLINE struct grpc_gcp_NextHandshakeMessageReq * grpc_gcp_HandshakerReq_mutable_next(grpc_gcp_HandshakerReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:552
UPB_INLINE const grpc_gcp_HandshakerStatus * grpc_gcp_HandshakerResp_status(const grpc_gcp_HandshakerResp *msg)
Definition: handshaker.upb.h:704
UPB_INLINE void grpc_gcp_HandshakerResult_set_keep_channel_open(grpc_gcp_HandshakerResult *msg, bool value)
Definition: handshaker.upb.h:629
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_local_endpoint(grpc_gcp_StartServerHandshakeReq *msg, grpc_gcp_Endpoint *value)
Definition: handshaker.upb.h:403
UPB_INLINE upb_strview * grpc_gcp_StartClientHandshakeReq_resize_record_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:225
UPB_INLINE void grpc_gcp_HandshakerStatus_set_details(grpc_gcp_HandshakerStatus *msg, upb_strview value)
Definition: handshaker.upb.h:675
UPB_INLINE size_t grpc_gcp_Identity_attributes_size(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:141
UPB_INLINE struct grpc_gcp_HandshakerResult * grpc_gcp_HandshakerResp_mutable_result(grpc_gcp_HandshakerResp *msg, upb_arena *arena)
Definition: handshaker.upb.h:716
const upb_msglayout grpc_gcp_Identity_AttributesEntry_msginit
Definition: handshaker.upb.c:49
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_handshake_parameters(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:373
UPB_INLINE grpc_gcp_StartClientHandshakeReq * grpc_gcp_StartClientHandshakeReq_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:183
UPB_INLINE upb_strview * grpc_gcp_ServerHandshakeParameters_resize_record_protocols(grpc_gcp_ServerHandshakeParameters *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:331
struct grpc_gcp_StartServerHandshakeReq grpc_gcp_StartServerHandshakeReq
Definition: handshaker.upb.h:40
UPB_INLINE bool grpc_gcp_HandshakerReq_has_next(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:522
UPB_INLINE grpc_gcp_Identity_identity_oneof_oneofcases grpc_gcp_Identity_identity_oneof_case(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:134
UPB_INLINE void grpc_gcp_HandshakerResult_set_local_identity(grpc_gcp_HandshakerResult *msg, grpc_gcp_Identity *value)
Definition: handshaker.upb.h:616
const upb_msglayout grpc_gcp_HandshakerReq_msginit
Definition: handshaker.upb.c:154
UPB_INLINE void grpc_gcp_HandshakerResp_set_out_frames(grpc_gcp_HandshakerResp *msg, upb_strview value)
Definition: handshaker.upb.h:706
UPB_INLINE struct grpc_gcp_HandshakerStatus * grpc_gcp_HandshakerResp_mutable_status(grpc_gcp_HandshakerResp *msg, upb_arena *arena)
Definition: handshaker.upb.h:729
UPB_INLINE struct grpc_gcp_RpcProtocolVersions * grpc_gcp_StartServerHandshakeReq_mutable_rpc_versions(grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:433
struct grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry
Definition: handshaker.upb.h:41
UPB_INLINE bool grpc_gcp_Identity_has_attributes(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:140
UPB_INLINE void grpc_gcp_Endpoint_set_port(grpc_gcp_Endpoint *msg, int32_t value)
Definition: handshaker.upb.h:102
UPB_INLINE void grpc_gcp_NextHandshakeMessageReq_set_in_bytes(grpc_gcp_NextHandshakeMessageReq *msg, upb_strview value)
Definition: handshaker.upb.h:486
const upb_msglayout grpc_gcp_ServerHandshakeParameters_msginit
Definition: handshaker.upb.c:89
UPB_INLINE void grpc_gcp_HandshakerStatus_set_code(grpc_gcp_HandshakerStatus *msg, uint32_t value)
Definition: handshaker.upb.h:672
UPB_INLINE char * grpc_gcp_Endpoint_serialize(const grpc_gcp_Endpoint *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:91
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_handshake_parameters_clear(grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:396
UPB_INLINE char * grpc_gcp_StartServerHandshakeReq_serialize(const grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:368
UPB_INLINE const grpc_gcp_Endpoint * grpc_gcp_StartClientHandshakeReq_local_endpoint(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:201
struct grpc_gcp_NextHandshakeMessageReq grpc_gcp_NextHandshakeMessageReq
Definition: handshaker.upb.h:42
UPB_INLINE const grpc_gcp_Identity *const * grpc_gcp_StartClientHandshakeReq_target_identities(const grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:197
UPB_INLINE grpc_gcp_HandshakerResp * grpc_gcp_HandshakerResp_new(upb_arena *arena)
Definition: handshaker.upb.h:681
UPB_INLINE bool grpc_gcp_HandshakerResp_has_result(const grpc_gcp_HandshakerResp *msg)
Definition: handshaker.upb.h:701
UPB_INLINE grpc_gcp_HandshakerStatus * grpc_gcp_HandshakerStatus_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:659
UPB_INLINE char * grpc_gcp_HandshakerResp_serialize(const grpc_gcp_HandshakerResp *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:695
UPB_INLINE const struct grpc_gcp_RpcProtocolVersions * grpc_gcp_HandshakerResult_peer_rpc_versions(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:591
UPB_INLINE grpc_gcp_HandshakerReq_req_oneof_oneofcases grpc_gcp_HandshakerReq_req_oneof_case(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:516
UPB_INLINE int32_t grpc_gcp_StartClientHandshakeReq_handshake_security_protocol(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:193
grpc_gcp_NetworkProtocol
Definition: handshaker.upb.h:68
@ grpc_gcp_UDP
Definition: handshaker.upb.h:71
@ grpc_gcp_TCP
Definition: handshaker.upb.h:70
@ grpc_gcp_NETWORK_PROTOCOL_UNSPECIFIED
Definition: handshaker.upb.h:69
UPB_INLINE struct grpc_gcp_Identity * grpc_gcp_HandshakerResult_mutable_local_identity(grpc_gcp_HandshakerResult *msg, upb_arena *arena)
Definition: handshaker.upb.h:620
UPB_INLINE grpc_gcp_StartClientHandshakeReq * grpc_gcp_StartClientHandshakeReq_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:178
UPB_INLINE upb_strview * grpc_gcp_StartClientHandshakeReq_mutable_application_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:212
UPB_INLINE struct grpc_gcp_Identity * grpc_gcp_StartClientHandshakeReq_add_target_identities(grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:238
UPB_INLINE grpc_gcp_Identity ** grpc_gcp_ServerHandshakeParameters_mutable_local_identities(grpc_gcp_ServerHandshakeParameters *msg, size_t *len)
Definition: handshaker.upb.h:338
UPB_INLINE uint32_t grpc_gcp_StartClientHandshakeReq_max_frame_size(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:207
UPB_INLINE void grpc_gcp_Identity_attributes_clear(grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:151
UPB_INLINE struct grpc_gcp_Identity * grpc_gcp_ServerHandshakeParameters_add_local_identities(grpc_gcp_ServerHandshakeParameters *msg, upb_arena *arena)
Definition: handshaker.upb.h:344
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_max_frame_size(grpc_gcp_StartServerHandshakeReq *msg, uint32_t value)
Definition: handshaker.upb.h:442
UPB_INLINE upb_strview grpc_gcp_Identity_AttributesEntry_value(const grpc_gcp_Identity_AttributesEntry *msg)
Definition: handshaker.upb.h:163
UPB_INLINE const grpc_gcp_Endpoint * grpc_gcp_StartClientHandshakeReq_remote_endpoint(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:203
UPB_INLINE const grpc_gcp_Identity_AttributesEntry * grpc_gcp_Identity_attributes_next(const grpc_gcp_Identity *msg, size_t *iter)
Definition: handshaker.upb.h:143
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_delete(grpc_gcp_StartServerHandshakeReq *msg, int32_t key)
Definition: handshaker.upb.h:398
UPB_INLINE void grpc_gcp_Identity_set_hostname(grpc_gcp_Identity *msg, upb_strview value)
Definition: handshaker.upb.h:148
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_rpc_versions(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:382
UPB_INLINE bool grpc_gcp_Identity_attributes_set(grpc_gcp_Identity *msg, upb_strview key, upb_strview val, upb_arena *a)
Definition: handshaker.upb.h:152
UPB_INLINE const grpc_gcp_StartServerHandshakeReq * grpc_gcp_HandshakerReq_server_start(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:521
UPB_INLINE upb_strview grpc_gcp_HandshakerResult_application_protocol(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:582
UPB_INLINE void grpc_gcp_HandshakerReq_set_next(grpc_gcp_HandshakerReq *msg, grpc_gcp_NextHandshakeMessageReq *value)
Definition: handshaker.upb.h:549
UPB_INLINE uint32_t grpc_gcp_HandshakerResp_bytes_consumed(const grpc_gcp_HandshakerResp *msg)
Definition: handshaker.upb.h:700
UPB_INLINE void grpc_gcp_Identity_AttributesEntry_set_value(grpc_gcp_Identity_AttributesEntry *msg, upb_strview value)
Definition: handshaker.upb.h:169
UPB_INLINE grpc_gcp_Endpoint * grpc_gcp_Endpoint_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:85
UPB_INLINE upb_strview grpc_gcp_StartClientHandshakeReq_target_name(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:204
UPB_INLINE char * grpc_gcp_Identity_serialize(const grpc_gcp_Identity *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:125
struct grpc_gcp_ServerHandshakeParameters grpc_gcp_ServerHandshakeParameters
Definition: handshaker.upb.h:39
UPB_INLINE grpc_gcp_Endpoint * grpc_gcp_Endpoint_new(upb_arena *arena)
Definition: handshaker.upb.h:77
UPB_INLINE upb_strview const * grpc_gcp_StartServerHandshakeReq_application_protocols(const grpc_gcp_StartServerHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:372
UPB_INLINE upb_strview * grpc_gcp_ServerHandshakeParameters_mutable_record_protocols(grpc_gcp_ServerHandshakeParameters *msg, size_t *len)
Definition: handshaker.upb.h:328
UPB_INLINE grpc_gcp_NextHandshakeMessageReq * grpc_gcp_NextHandshakeMessageReq_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:469
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_rpc_versions(grpc_gcp_StartClientHandshakeReq *msg, struct grpc_gcp_RpcProtocolVersions *value)
Definition: handshaker.upb.h:287
UPB_INLINE grpc_gcp_HandshakerReq * grpc_gcp_HandshakerReq_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:495
UPB_INLINE upb_strview const * grpc_gcp_StartClientHandshakeReq_record_protocols(const grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:195
UPB_INLINE upb_strview const * grpc_gcp_StartClientHandshakeReq_application_protocols(const grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:194
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_set_value(grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg, grpc_gcp_ServerHandshakeParameters *value)
Definition: handshaker.upb.h:460
UPB_INLINE const grpc_gcp_Identity * grpc_gcp_StartClientHandshakeReq_local_identity(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:199
UPB_INLINE grpc_gcp_Endpoint * grpc_gcp_Endpoint_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:80
UPB_INLINE bool grpc_gcp_ServerHandshakeParameters_add_record_protocols(grpc_gcp_ServerHandshakeParameters *msg, upb_strview val, upb_arena *arena)
Definition: handshaker.upb.h:334
UPB_INLINE struct grpc_gcp_Endpoint * grpc_gcp_StartServerHandshakeReq_mutable_local_endpoint(grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:407
UPB_INLINE bool grpc_gcp_ServerHandshakeParameters_has_local_identities(const grpc_gcp_ServerHandshakeParameters *msg)
Definition: handshaker.upb.h:325
UPB_INLINE upb_strview * grpc_gcp_StartServerHandshakeReq_resize_application_protocols(grpc_gcp_StartServerHandshakeReq *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:389
UPB_INLINE upb_strview grpc_gcp_HandshakerResult_record_protocol(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:583
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_add_application_protocols(grpc_gcp_StartServerHandshakeReq *msg, upb_strview val, upb_arena *arena)
Definition: handshaker.upb.h:392
UPB_INLINE upb_strview grpc_gcp_Identity_hostname(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:139
UPB_INLINE void grpc_gcp_HandshakerReq_set_client_start(grpc_gcp_HandshakerReq *msg, grpc_gcp_StartClientHandshakeReq *value)
Definition: handshaker.upb.h:525
UPB_INLINE struct grpc_gcp_RpcProtocolVersions * grpc_gcp_StartClientHandshakeReq_mutable_rpc_versions(grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:291
UPB_INLINE grpc_gcp_StartClientHandshakeReq * grpc_gcp_StartClientHandshakeReq_new(upb_arena *arena)
Definition: handshaker.upb.h:175
const upb_msglayout grpc_gcp_HandshakerResp_msginit
Definition: handshaker.upb.c:205
UPB_INLINE void grpc_gcp_HandshakerReq_set_server_start(grpc_gcp_HandshakerReq *msg, grpc_gcp_StartServerHandshakeReq *value)
Definition: handshaker.upb.h:537
UPB_INLINE grpc_gcp_Identity_AttributesEntry * grpc_gcp_Identity_attributes_nextmutable(grpc_gcp_Identity *msg, size_t *iter)
Definition: handshaker.upb.h:154
UPB_INLINE upb_strview grpc_gcp_HandshakerResult_key_data(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:584
UPB_INLINE bool grpc_gcp_HandshakerResult_has_local_identity(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:587
struct grpc_gcp_Identity grpc_gcp_Identity
Definition: handshaker.upb.h:36
UPB_INLINE void grpc_gcp_HandshakerResult_set_peer_rpc_versions(grpc_gcp_HandshakerResult *msg, struct grpc_gcp_RpcProtocolVersions *value)
Definition: handshaker.upb.h:632
UPB_INLINE bool grpc_gcp_Identity_attributes_get(const grpc_gcp_Identity *msg, upb_strview key, upb_strview *val)
Definition: handshaker.upb.h:142
UPB_INLINE void grpc_gcp_HandshakerResp_set_status(grpc_gcp_HandshakerResp *msg, grpc_gcp_HandshakerStatus *value)
Definition: handshaker.upb.h:725
UPB_INLINE bool grpc_gcp_Identity_has_hostname(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:138
UPB_INLINE const grpc_gcp_Endpoint * grpc_gcp_StartServerHandshakeReq_remote_endpoint(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:381
UPB_INLINE void grpc_gcp_HandshakerResp_set_bytes_consumed(grpc_gcp_HandshakerResp *msg, uint32_t value)
Definition: handshaker.upb.h:709
UPB_INLINE uint32_t grpc_gcp_StartServerHandshakeReq_max_frame_size(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:384
UPB_INLINE bool grpc_gcp_HandshakerReq_has_server_start(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:520
UPB_INLINE void grpc_gcp_HandshakerResult_set_key_data(grpc_gcp_HandshakerResult *msg, upb_strview value)
Definition: handshaker.upb.h:600
UPB_INLINE uint32_t grpc_gcp_HandshakerResult_max_frame_size(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:592
UPB_INLINE grpc_gcp_HandshakerReq * grpc_gcp_HandshakerReq_new(upb_arena *arena)
Definition: handshaker.upb.h:492
UPB_INLINE upb_strview grpc_gcp_HandshakerStatus_details(const grpc_gcp_HandshakerStatus *msg)
Definition: handshaker.upb.h:670
UPB_INLINE upb_strview * grpc_gcp_StartClientHandshakeReq_resize_application_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:215
UPB_INLINE upb_strview * grpc_gcp_StartClientHandshakeReq_mutable_record_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:222
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_target_identities(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:196
UPB_INLINE const grpc_gcp_StartClientHandshakeReq * grpc_gcp_HandshakerReq_client_start(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:519
const upb_msglayout grpc_gcp_Identity_msginit
Definition: handshaker.upb.c:38
UPB_INLINE upb_strview const * grpc_gcp_ServerHandshakeParameters_record_protocols(const grpc_gcp_ServerHandshakeParameters *msg, size_t *len)
Definition: handshaker.upb.h:324
UPB_INLINE struct grpc_gcp_Identity * grpc_gcp_StartClientHandshakeReq_mutable_local_identity(grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:249
UPB_INLINE grpc_gcp_Identity * grpc_gcp_Identity_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:114
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_rpc_versions(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:205
UPB_INLINE grpc_gcp_StartServerHandshakeReq * grpc_gcp_StartServerHandshakeReq_new(upb_arena *arena)
Definition: handshaker.upb.h:354
UPB_INLINE int32_t grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_key(const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg)
Definition: handshaker.upb.h:448
UPB_INLINE const grpc_gcp_Identity * grpc_gcp_HandshakerResult_local_identity(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:588
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_local_endpoint(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:200
UPB_INLINE void grpc_gcp_HandshakerResult_set_peer_identity(grpc_gcp_HandshakerResult *msg, grpc_gcp_Identity *value)
Definition: handshaker.upb.h:603
UPB_INLINE grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry * grpc_gcp_StartServerHandshakeReq_handshake_parameters_nextmutable(grpc_gcp_StartServerHandshakeReq *msg, size_t *iter)
Definition: handshaker.upb.h:399
UPB_INLINE upb_strview grpc_gcp_Endpoint_ip_address(const grpc_gcp_Endpoint *msg)
Definition: handshaker.upb.h:95
UPB_INLINE void grpc_gcp_Endpoint_set_protocol(grpc_gcp_Endpoint *msg, int32_t value)
Definition: handshaker.upb.h:105
UPB_INLINE char * grpc_gcp_HandshakerResult_serialize(const grpc_gcp_HandshakerResult *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:578
grpc_gcp_HandshakerReq_req_oneof_oneofcases
Definition: handshaker.upb.h:510
@ grpc_gcp_HandshakerReq_req_oneof_next
Definition: handshaker.upb.h:513
@ grpc_gcp_HandshakerReq_req_oneof_client_start
Definition: handshaker.upb.h:511
@ grpc_gcp_HandshakerReq_req_oneof_NOT_SET
Definition: handshaker.upb.h:514
@ grpc_gcp_HandshakerReq_req_oneof_server_start
Definition: handshaker.upb.h:512
UPB_INLINE grpc_gcp_Identity ** grpc_gcp_StartClientHandshakeReq_mutable_target_identities(grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:232
const upb_msglayout grpc_gcp_StartClientHandshakeReq_msginit
Definition: handshaker.upb.c:74
UPB_INLINE grpc_gcp_HandshakerResp * grpc_gcp_HandshakerResp_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:684
const upb_msglayout grpc_gcp_StartServerHandshakeReq_msginit
Definition: handshaker.upb.c:111
UPB_INLINE grpc_gcp_HandshakerResult * grpc_gcp_HandshakerResult_new(upb_arena *arena)
Definition: handshaker.upb.h:564
UPB_INLINE grpc_gcp_ServerHandshakeParameters * grpc_gcp_ServerHandshakeParameters_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:309
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_remote_endpoint(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:202
UPB_INLINE grpc_gcp_Identity * grpc_gcp_Identity_new(upb_arena *arena)
Definition: handshaker.upb.h:111
UPB_INLINE upb_strview * grpc_gcp_StartServerHandshakeReq_mutable_application_protocols(grpc_gcp_StartServerHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:386
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_get(const grpc_gcp_StartServerHandshakeReq *msg, int32_t key, grpc_gcp_ServerHandshakeParameters **val)
Definition: handshaker.upb.h:375
UPB_INLINE upb_strview grpc_gcp_StartServerHandshakeReq_in_bytes(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:377
struct grpc_gcp_StartClientHandshakeReq grpc_gcp_StartClientHandshakeReq
Definition: handshaker.upb.h:38
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_rpc_versions(grpc_gcp_StartServerHandshakeReq *msg, struct grpc_gcp_RpcProtocolVersions *value)
Definition: handshaker.upb.h:429
const upb_msglayout grpc_gcp_HandshakerResult_msginit
Definition: handshaker.upb.c:176
UPB_INLINE bool grpc_gcp_Identity_attributes_delete(grpc_gcp_Identity *msg, upb_strview key)
Definition: handshaker.upb.h:153
UPB_INLINE void grpc_gcp_HandshakerResp_set_result(grpc_gcp_HandshakerResp *msg, grpc_gcp_HandshakerResult *value)
Definition: handshaker.upb.h:712
UPB_INLINE grpc_gcp_ServerHandshakeParameters * grpc_gcp_ServerHandshakeParameters_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:314
UPB_INLINE grpc_gcp_HandshakerResp * grpc_gcp_HandshakerResp_parse_ex(const char *buf, size_t size, upb_arena *arena, int options)
Definition: handshaker.upb.h:689
UPB_INLINE struct grpc_gcp_StartServerHandshakeReq * grpc_gcp_HandshakerReq_mutable_server_start(grpc_gcp_HandshakerReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:540
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_endpoint(grpc_gcp_StartClientHandshakeReq *msg, grpc_gcp_Endpoint *value)
Definition: handshaker.upb.h:258
const upb_msglayout grpc_gcp_NextHandshakeMessageReq_msginit
Definition: handshaker.upb.c:136
struct grpc_gcp_RpcProtocolVersions grpc_gcp_RpcProtocolVersions
Definition: transport_security_common.upb.h:25
upb_arena * arena
Definition: xds_api.cc:909