GRPC Core  9.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/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 
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 
77 UPB_INLINE grpc_gcp_Endpoint *grpc_gcp_Endpoint_new(upb_arena *arena) {
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 char *grpc_gcp_Endpoint_serialize(const grpc_gcp_Endpoint *msg, upb_arena *arena, size_t *len) {
86  return upb_encode(msg, &grpc_gcp_Endpoint_msginit, arena, len);
87 }
88 
89 UPB_INLINE upb_strview grpc_gcp_Endpoint_ip_address(const grpc_gcp_Endpoint *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(12, 16)); }
90 UPB_INLINE int32_t grpc_gcp_Endpoint_port(const grpc_gcp_Endpoint *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(8, 8)); }
91 UPB_INLINE int32_t grpc_gcp_Endpoint_protocol(const grpc_gcp_Endpoint *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
92 
93 UPB_INLINE void grpc_gcp_Endpoint_set_ip_address(grpc_gcp_Endpoint *msg, upb_strview value) {
94  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(12, 16)) = value;
95 }
96 UPB_INLINE void grpc_gcp_Endpoint_set_port(grpc_gcp_Endpoint *msg, int32_t value) {
97  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(8, 8)) = value;
98 }
99 UPB_INLINE void grpc_gcp_Endpoint_set_protocol(grpc_gcp_Endpoint *msg, int32_t value) {
100  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
101 }
102 
103 /* grpc.gcp.Identity */
104 
105 UPB_INLINE grpc_gcp_Identity *grpc_gcp_Identity_new(upb_arena *arena) {
106  return (grpc_gcp_Identity *)upb_msg_new(&grpc_gcp_Identity_msginit, arena);
107 }
108 UPB_INLINE grpc_gcp_Identity *grpc_gcp_Identity_parse(const char *buf, size_t size,
109  upb_arena *arena) {
111  return (ret && upb_decode(buf, size, ret, &grpc_gcp_Identity_msginit, arena)) ? ret : NULL;
112 }
113 UPB_INLINE char *grpc_gcp_Identity_serialize(const grpc_gcp_Identity *msg, upb_arena *arena, size_t *len) {
114  return upb_encode(msg, &grpc_gcp_Identity_msginit, arena, len);
115 }
116 
117 typedef enum {
123 
124 UPB_INLINE bool grpc_gcp_Identity_has_service_account(const grpc_gcp_Identity *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 1); }
125 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(""))); }
126 UPB_INLINE bool grpc_gcp_Identity_has_hostname(const grpc_gcp_Identity *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(12, 24), 2); }
127 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(""))); }
128 UPB_INLINE const grpc_gcp_Identity_AttributesEntry* const* grpc_gcp_Identity_attributes(const grpc_gcp_Identity *msg, size_t *len) { return (const grpc_gcp_Identity_AttributesEntry* const*)_upb_array_accessor(msg, UPB_SIZE(0, 0), len); }
129 
130 UPB_INLINE void grpc_gcp_Identity_set_service_account(grpc_gcp_Identity *msg, upb_strview value) {
131  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 1);
132 }
133 UPB_INLINE void grpc_gcp_Identity_set_hostname(grpc_gcp_Identity *msg, upb_strview value) {
134  UPB_WRITE_ONEOF(msg, upb_strview, UPB_SIZE(4, 8), value, UPB_SIZE(12, 24), 2);
135 }
137  return (grpc_gcp_Identity_AttributesEntry**)_upb_array_mutable_accessor(msg, UPB_SIZE(0, 0), len);
138 }
140  return (grpc_gcp_Identity_AttributesEntry**)_upb_array_resize_accessor(msg, UPB_SIZE(0, 0), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
141 }
144  bool ok = _upb_array_append_accessor(
145  msg, UPB_SIZE(0, 0), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
146  if (!ok) return NULL;
147  return sub;
148 }
149 
150 /* grpc.gcp.Identity.AttributesEntry */
151 
154 }
156  upb_arena *arena) {
158  return (ret && upb_decode(buf, size, ret, &grpc_gcp_Identity_AttributesEntry_msginit, arena)) ? ret : NULL;
159 }
160 UPB_INLINE char *grpc_gcp_Identity_AttributesEntry_serialize(const grpc_gcp_Identity_AttributesEntry *msg, upb_arena *arena, size_t *len) {
161  return upb_encode(msg, &grpc_gcp_Identity_AttributesEntry_msginit, arena, len);
162 }
163 
164 UPB_INLINE upb_strview grpc_gcp_Identity_AttributesEntry_key(const grpc_gcp_Identity_AttributesEntry *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
165 UPB_INLINE upb_strview grpc_gcp_Identity_AttributesEntry_value(const grpc_gcp_Identity_AttributesEntry *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 16)); }
166 
168  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
169 }
171  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 16)) = value;
172 }
173 
174 /* grpc.gcp.StartClientHandshakeReq */
175 
178 }
180  upb_arena *arena) {
182  return (ret && upb_decode(buf, size, ret, &grpc_gcp_StartClientHandshakeReq_msginit, arena)) ? ret : NULL;
183 }
184 UPB_INLINE char *grpc_gcp_StartClientHandshakeReq_serialize(const grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena, size_t *len) {
185  return upb_encode(msg, &grpc_gcp_StartClientHandshakeReq_msginit, arena, len);
186 }
187 
188 UPB_INLINE int32_t grpc_gcp_StartClientHandshakeReq_handshake_security_protocol(const grpc_gcp_StartClientHandshakeReq *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
189 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(32, 56), len); }
190 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(36, 64), len); }
191 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(40, 72), len); }
192 UPB_INLINE const grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_local_identity(const grpc_gcp_StartClientHandshakeReq *msg) { return UPB_FIELD_AT(msg, const grpc_gcp_Identity*, UPB_SIZE(16, 24)); }
193 UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_local_endpoint(const grpc_gcp_StartClientHandshakeReq *msg) { return UPB_FIELD_AT(msg, const grpc_gcp_Endpoint*, UPB_SIZE(20, 32)); }
194 UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_remote_endpoint(const grpc_gcp_StartClientHandshakeReq *msg) { return UPB_FIELD_AT(msg, const grpc_gcp_Endpoint*, UPB_SIZE(24, 40)); }
195 UPB_INLINE upb_strview grpc_gcp_StartClientHandshakeReq_target_name(const grpc_gcp_StartClientHandshakeReq *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 8)); }
196 UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartClientHandshakeReq_rpc_versions(const grpc_gcp_StartClientHandshakeReq *msg) { return UPB_FIELD_AT(msg, const struct grpc_gcp_RpcProtocolVersions*, UPB_SIZE(28, 48)); }
197 
199  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
200 }
202  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(32, 56), len);
203 }
204 UPB_INLINE upb_strview* grpc_gcp_StartClientHandshakeReq_resize_application_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t len, upb_arena *arena) {
205  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(32, 56), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
206 }
208  return _upb_array_append_accessor(
209  msg, UPB_SIZE(32, 56), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
210 }
212  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(36, 64), len);
213 }
214 UPB_INLINE upb_strview* grpc_gcp_StartClientHandshakeReq_resize_record_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t len, upb_arena *arena) {
215  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(36, 64), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
216 }
217 UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_record_protocols(grpc_gcp_StartClientHandshakeReq *msg, upb_strview val, upb_arena *arena) {
218  return _upb_array_append_accessor(
219  msg, UPB_SIZE(36, 64), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
220 }
222  return (grpc_gcp_Identity**)_upb_array_mutable_accessor(msg, UPB_SIZE(40, 72), len);
223 }
225  return (grpc_gcp_Identity**)_upb_array_resize_accessor(msg, UPB_SIZE(40, 72), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
226 }
228  struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)upb_msg_new(&grpc_gcp_Identity_msginit, arena);
229  bool ok = _upb_array_append_accessor(
230  msg, UPB_SIZE(40, 72), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
231  if (!ok) return NULL;
232  return sub;
233 }
235  UPB_FIELD_AT(msg, grpc_gcp_Identity*, UPB_SIZE(16, 24)) = value;
236 }
239  if (sub == NULL) {
240  sub = (struct grpc_gcp_Identity*)upb_msg_new(&grpc_gcp_Identity_msginit, arena);
241  if (!sub) return NULL;
243  }
244  return sub;
245 }
247  UPB_FIELD_AT(msg, grpc_gcp_Endpoint*, UPB_SIZE(20, 32)) = value;
248 }
251  if (sub == NULL) {
252  sub = (struct grpc_gcp_Endpoint*)upb_msg_new(&grpc_gcp_Endpoint_msginit, arena);
253  if (!sub) return NULL;
255  }
256  return sub;
257 }
259  UPB_FIELD_AT(msg, grpc_gcp_Endpoint*, UPB_SIZE(24, 40)) = value;
260 }
263  if (sub == NULL) {
264  sub = (struct grpc_gcp_Endpoint*)upb_msg_new(&grpc_gcp_Endpoint_msginit, arena);
265  if (!sub) return NULL;
267  }
268  return sub;
269 }
271  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(8, 8)) = value;
272 }
274  UPB_FIELD_AT(msg, struct grpc_gcp_RpcProtocolVersions*, UPB_SIZE(28, 48)) = value;
275 }
278  if (sub == NULL) {
279  sub = (struct grpc_gcp_RpcProtocolVersions*)upb_msg_new(&grpc_gcp_RpcProtocolVersions_msginit, arena);
280  if (!sub) return NULL;
282  }
283  return sub;
284 }
285 
286 /* grpc.gcp.ServerHandshakeParameters */
287 
290 }
292  upb_arena *arena) {
294  return (ret && upb_decode(buf, size, ret, &grpc_gcp_ServerHandshakeParameters_msginit, arena)) ? ret : NULL;
295 }
296 UPB_INLINE char *grpc_gcp_ServerHandshakeParameters_serialize(const grpc_gcp_ServerHandshakeParameters *msg, upb_arena *arena, size_t *len) {
297  return upb_encode(msg, &grpc_gcp_ServerHandshakeParameters_msginit, arena, len);
298 }
299 
300 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); }
301 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); }
302 
304  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(0, 0), len);
305 }
306 UPB_INLINE upb_strview* grpc_gcp_ServerHandshakeParameters_resize_record_protocols(grpc_gcp_ServerHandshakeParameters *msg, size_t len, upb_arena *arena) {
307  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(0, 0), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
308 }
309 UPB_INLINE bool grpc_gcp_ServerHandshakeParameters_add_record_protocols(grpc_gcp_ServerHandshakeParameters *msg, upb_strview val, upb_arena *arena) {
310  return _upb_array_append_accessor(
311  msg, UPB_SIZE(0, 0), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
312 }
314  return (grpc_gcp_Identity**)_upb_array_mutable_accessor(msg, UPB_SIZE(4, 8), len);
315 }
317  return (grpc_gcp_Identity**)_upb_array_resize_accessor(msg, UPB_SIZE(4, 8), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
318 }
320  struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)upb_msg_new(&grpc_gcp_Identity_msginit, arena);
321  bool ok = _upb_array_append_accessor(
322  msg, UPB_SIZE(4, 8), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
323  if (!ok) return NULL;
324  return sub;
325 }
326 
327 /* grpc.gcp.StartServerHandshakeReq */
328 
331 }
333  upb_arena *arena) {
335  return (ret && upb_decode(buf, size, ret, &grpc_gcp_StartServerHandshakeReq_msginit, arena)) ? ret : NULL;
336 }
337 UPB_INLINE char *grpc_gcp_StartServerHandshakeReq_serialize(const grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena, size_t *len) {
338  return upb_encode(msg, &grpc_gcp_StartServerHandshakeReq_msginit, arena, len);
339 }
340 
341 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(20, 40), len); }
343 UPB_INLINE upb_strview grpc_gcp_StartServerHandshakeReq_in_bytes(const grpc_gcp_StartServerHandshakeReq *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
344 UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_local_endpoint(const grpc_gcp_StartServerHandshakeReq *msg) { return UPB_FIELD_AT(msg, const grpc_gcp_Endpoint*, UPB_SIZE(8, 16)); }
345 UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_remote_endpoint(const grpc_gcp_StartServerHandshakeReq *msg) { return UPB_FIELD_AT(msg, const grpc_gcp_Endpoint*, UPB_SIZE(12, 24)); }
346 UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartServerHandshakeReq_rpc_versions(const grpc_gcp_StartServerHandshakeReq *msg) { return UPB_FIELD_AT(msg, const struct grpc_gcp_RpcProtocolVersions*, UPB_SIZE(16, 32)); }
347 
349  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 40), len);
350 }
351 UPB_INLINE upb_strview* grpc_gcp_StartServerHandshakeReq_resize_application_protocols(grpc_gcp_StartServerHandshakeReq *msg, size_t len, upb_arena *arena) {
352  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(20, 40), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
353 }
355  return _upb_array_append_accessor(
356  msg, UPB_SIZE(20, 40), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
357 }
359  return (grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry**)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len);
360 }
362  return (grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry**)_upb_array_resize_accessor(msg, UPB_SIZE(24, 48), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
363 }
366  bool ok = _upb_array_append_accessor(
367  msg, UPB_SIZE(24, 48), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
368  if (!ok) return NULL;
369  return sub;
370 }
372  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
373 }
375  UPB_FIELD_AT(msg, grpc_gcp_Endpoint*, UPB_SIZE(8, 16)) = value;
376 }
379  if (sub == NULL) {
380  sub = (struct grpc_gcp_Endpoint*)upb_msg_new(&grpc_gcp_Endpoint_msginit, arena);
381  if (!sub) return NULL;
383  }
384  return sub;
385 }
387  UPB_FIELD_AT(msg, grpc_gcp_Endpoint*, UPB_SIZE(12, 24)) = value;
388 }
391  if (sub == NULL) {
392  sub = (struct grpc_gcp_Endpoint*)upb_msg_new(&grpc_gcp_Endpoint_msginit, arena);
393  if (!sub) return NULL;
395  }
396  return sub;
397 }
399  UPB_FIELD_AT(msg, struct grpc_gcp_RpcProtocolVersions*, UPB_SIZE(16, 32)) = value;
400 }
403  if (sub == NULL) {
404  sub = (struct grpc_gcp_RpcProtocolVersions*)upb_msg_new(&grpc_gcp_RpcProtocolVersions_msginit, arena);
405  if (!sub) return NULL;
407  }
408  return sub;
409 }
410 
411 /* grpc.gcp.StartServerHandshakeReq.HandshakeParametersEntry */
412 
415 }
417  upb_arena *arena) {
419  return (ret && upb_decode(buf, size, ret, &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msginit, arena)) ? ret : NULL;
420 }
422  return upb_encode(msg, &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msginit, arena, len);
423 }
424 
425 UPB_INLINE int32_t grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_key(const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
427 
429  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
430 }
432  UPB_FIELD_AT(msg, grpc_gcp_ServerHandshakeParameters*, UPB_SIZE(4, 8)) = value;
433 }
436  if (sub == NULL) {
438  if (!sub) return NULL;
440  }
441  return sub;
442 }
443 
444 /* grpc.gcp.NextHandshakeMessageReq */
445 
448 }
450  upb_arena *arena) {
452  return (ret && upb_decode(buf, size, ret, &grpc_gcp_NextHandshakeMessageReq_msginit, arena)) ? ret : NULL;
453 }
454 UPB_INLINE char *grpc_gcp_NextHandshakeMessageReq_serialize(const grpc_gcp_NextHandshakeMessageReq *msg, upb_arena *arena, size_t *len) {
455  return upb_encode(msg, &grpc_gcp_NextHandshakeMessageReq_msginit, arena, len);
456 }
457 
458 UPB_INLINE upb_strview grpc_gcp_NextHandshakeMessageReq_in_bytes(const grpc_gcp_NextHandshakeMessageReq *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
459 
461  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
462 }
463 
464 /* grpc.gcp.HandshakerReq */
465 
466 UPB_INLINE grpc_gcp_HandshakerReq *grpc_gcp_HandshakerReq_new(upb_arena *arena) {
467  return (grpc_gcp_HandshakerReq *)upb_msg_new(&grpc_gcp_HandshakerReq_msginit, arena);
468 }
469 UPB_INLINE grpc_gcp_HandshakerReq *grpc_gcp_HandshakerReq_parse(const char *buf, size_t size,
470  upb_arena *arena) {
472  return (ret && upb_decode(buf, size, ret, &grpc_gcp_HandshakerReq_msginit, arena)) ? ret : NULL;
473 }
474 UPB_INLINE char *grpc_gcp_HandshakerReq_serialize(const grpc_gcp_HandshakerReq *msg, upb_arena *arena, size_t *len) {
475  return upb_encode(msg, &grpc_gcp_HandshakerReq_msginit, arena, len);
476 }
477 
478 typedef enum {
485 
486 UPB_INLINE bool grpc_gcp_HandshakerReq_has_client_start(const grpc_gcp_HandshakerReq *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(4, 8), 1); }
487 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); }
488 UPB_INLINE bool grpc_gcp_HandshakerReq_has_server_start(const grpc_gcp_HandshakerReq *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(4, 8), 2); }
489 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); }
490 UPB_INLINE bool grpc_gcp_HandshakerReq_has_next(const grpc_gcp_HandshakerReq *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(4, 8), 3); }
491 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); }
492 
494  UPB_WRITE_ONEOF(msg, grpc_gcp_StartClientHandshakeReq*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 1);
495 }
498  if (sub == NULL) {
500  if (!sub) return NULL;
502  }
503  return sub;
504 }
506  UPB_WRITE_ONEOF(msg, grpc_gcp_StartServerHandshakeReq*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 2);
507 }
510  if (sub == NULL) {
512  if (!sub) return NULL;
514  }
515  return sub;
516 }
518  UPB_WRITE_ONEOF(msg, grpc_gcp_NextHandshakeMessageReq*, UPB_SIZE(0, 0), value, UPB_SIZE(4, 8), 3);
519 }
522  if (sub == NULL) {
524  if (!sub) return NULL;
526  }
527  return sub;
528 }
529 
530 /* grpc.gcp.HandshakerResult */
531 
533  return (grpc_gcp_HandshakerResult *)upb_msg_new(&grpc_gcp_HandshakerResult_msginit, arena);
534 }
535 UPB_INLINE grpc_gcp_HandshakerResult *grpc_gcp_HandshakerResult_parse(const char *buf, size_t size,
536  upb_arena *arena) {
538  return (ret && upb_decode(buf, size, ret, &grpc_gcp_HandshakerResult_msginit, arena)) ? ret : NULL;
539 }
540 UPB_INLINE char *grpc_gcp_HandshakerResult_serialize(const grpc_gcp_HandshakerResult *msg, upb_arena *arena, size_t *len) {
541  return upb_encode(msg, &grpc_gcp_HandshakerResult_msginit, arena, len);
542 }
543 
544 UPB_INLINE upb_strview grpc_gcp_HandshakerResult_application_protocol(const grpc_gcp_HandshakerResult *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(4, 8)); }
545 UPB_INLINE upb_strview grpc_gcp_HandshakerResult_record_protocol(const grpc_gcp_HandshakerResult *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(12, 24)); }
546 UPB_INLINE upb_strview grpc_gcp_HandshakerResult_key_data(const grpc_gcp_HandshakerResult *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(20, 40)); }
547 UPB_INLINE const grpc_gcp_Identity* grpc_gcp_HandshakerResult_peer_identity(const grpc_gcp_HandshakerResult *msg) { return UPB_FIELD_AT(msg, const grpc_gcp_Identity*, UPB_SIZE(28, 56)); }
548 UPB_INLINE const grpc_gcp_Identity* grpc_gcp_HandshakerResult_local_identity(const grpc_gcp_HandshakerResult *msg) { return UPB_FIELD_AT(msg, const grpc_gcp_Identity*, UPB_SIZE(32, 64)); }
549 UPB_INLINE bool grpc_gcp_HandshakerResult_keep_channel_open(const grpc_gcp_HandshakerResult *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)); }
550 UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_HandshakerResult_peer_rpc_versions(const grpc_gcp_HandshakerResult *msg) { return UPB_FIELD_AT(msg, const struct grpc_gcp_RpcProtocolVersions*, UPB_SIZE(36, 72)); }
551 
553  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(4, 8)) = value;
554 }
556  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(12, 24)) = value;
557 }
558 UPB_INLINE void grpc_gcp_HandshakerResult_set_key_data(grpc_gcp_HandshakerResult *msg, upb_strview value) {
559  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(20, 40)) = value;
560 }
562  UPB_FIELD_AT(msg, grpc_gcp_Identity*, UPB_SIZE(28, 56)) = value;
563 }
566  if (sub == NULL) {
567  sub = (struct grpc_gcp_Identity*)upb_msg_new(&grpc_gcp_Identity_msginit, arena);
568  if (!sub) return NULL;
570  }
571  return sub;
572 }
574  UPB_FIELD_AT(msg, grpc_gcp_Identity*, UPB_SIZE(32, 64)) = value;
575 }
578  if (sub == NULL) {
579  sub = (struct grpc_gcp_Identity*)upb_msg_new(&grpc_gcp_Identity_msginit, arena);
580  if (!sub) return NULL;
582  }
583  return sub;
584 }
586  UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)) = value;
587 }
589  UPB_FIELD_AT(msg, struct grpc_gcp_RpcProtocolVersions*, UPB_SIZE(36, 72)) = value;
590 }
593  if (sub == NULL) {
594  sub = (struct grpc_gcp_RpcProtocolVersions*)upb_msg_new(&grpc_gcp_RpcProtocolVersions_msginit, arena);
595  if (!sub) return NULL;
597  }
598  return sub;
599 }
600 
601 /* grpc.gcp.HandshakerStatus */
602 
604  return (grpc_gcp_HandshakerStatus *)upb_msg_new(&grpc_gcp_HandshakerStatus_msginit, arena);
605 }
606 UPB_INLINE grpc_gcp_HandshakerStatus *grpc_gcp_HandshakerStatus_parse(const char *buf, size_t size,
607  upb_arena *arena) {
609  return (ret && upb_decode(buf, size, ret, &grpc_gcp_HandshakerStatus_msginit, arena)) ? ret : NULL;
610 }
611 UPB_INLINE char *grpc_gcp_HandshakerStatus_serialize(const grpc_gcp_HandshakerStatus *msg, upb_arena *arena, size_t *len) {
612  return upb_encode(msg, &grpc_gcp_HandshakerStatus_msginit, arena, len);
613 }
614 
615 UPB_INLINE uint32_t grpc_gcp_HandshakerStatus_code(const grpc_gcp_HandshakerStatus *msg) { return UPB_FIELD_AT(msg, uint32_t, UPB_SIZE(0, 0)); }
616 UPB_INLINE upb_strview grpc_gcp_HandshakerStatus_details(const grpc_gcp_HandshakerStatus *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(4, 8)); }
617 
618 UPB_INLINE void grpc_gcp_HandshakerStatus_set_code(grpc_gcp_HandshakerStatus *msg, uint32_t value) {
619  UPB_FIELD_AT(msg, uint32_t, UPB_SIZE(0, 0)) = value;
620 }
621 UPB_INLINE void grpc_gcp_HandshakerStatus_set_details(grpc_gcp_HandshakerStatus *msg, upb_strview value) {
622  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(4, 8)) = value;
623 }
624 
625 /* grpc.gcp.HandshakerResp */
626 
628  return (grpc_gcp_HandshakerResp *)upb_msg_new(&grpc_gcp_HandshakerResp_msginit, arena);
629 }
630 UPB_INLINE grpc_gcp_HandshakerResp *grpc_gcp_HandshakerResp_parse(const char *buf, size_t size,
631  upb_arena *arena) {
633  return (ret && upb_decode(buf, size, ret, &grpc_gcp_HandshakerResp_msginit, arena)) ? ret : NULL;
634 }
635 UPB_INLINE char *grpc_gcp_HandshakerResp_serialize(const grpc_gcp_HandshakerResp *msg, upb_arena *arena, size_t *len) {
636  return upb_encode(msg, &grpc_gcp_HandshakerResp_msginit, arena, len);
637 }
638 
639 UPB_INLINE upb_strview grpc_gcp_HandshakerResp_out_frames(const grpc_gcp_HandshakerResp *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(4, 8)); }
640 UPB_INLINE uint32_t grpc_gcp_HandshakerResp_bytes_consumed(const grpc_gcp_HandshakerResp *msg) { return UPB_FIELD_AT(msg, uint32_t, UPB_SIZE(0, 0)); }
641 UPB_INLINE const grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResp_result(const grpc_gcp_HandshakerResp *msg) { return UPB_FIELD_AT(msg, const grpc_gcp_HandshakerResult*, UPB_SIZE(12, 24)); }
642 UPB_INLINE const grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerResp_status(const grpc_gcp_HandshakerResp *msg) { return UPB_FIELD_AT(msg, const grpc_gcp_HandshakerStatus*, UPB_SIZE(16, 32)); }
643 
644 UPB_INLINE void grpc_gcp_HandshakerResp_set_out_frames(grpc_gcp_HandshakerResp *msg, upb_strview value) {
645  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(4, 8)) = value;
646 }
648  UPB_FIELD_AT(msg, uint32_t, UPB_SIZE(0, 0)) = value;
649 }
651  UPB_FIELD_AT(msg, grpc_gcp_HandshakerResult*, UPB_SIZE(12, 24)) = value;
652 }
655  if (sub == NULL) {
656  sub = (struct grpc_gcp_HandshakerResult*)upb_msg_new(&grpc_gcp_HandshakerResult_msginit, arena);
657  if (!sub) return NULL;
659  }
660  return sub;
661 }
663  UPB_FIELD_AT(msg, grpc_gcp_HandshakerStatus*, UPB_SIZE(16, 32)) = value;
664 }
667  if (sub == NULL) {
668  sub = (struct grpc_gcp_HandshakerStatus*)upb_msg_new(&grpc_gcp_HandshakerStatus_msginit, arena);
669  if (!sub) return NULL;
671  }
672  return sub;
673 }
674 
675 #ifdef __cplusplus
676 } /* extern "C" */
677 #endif
678 
679 #include "upb/port_undef.inc"
680 
681 #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:639
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_application_protocols(grpc_gcp_StartClientHandshakeReq *msg, upb_strview val, upb_arena *arena)
Definition: handshaker.upb.h:207
UPB_INLINE grpc_gcp_StartServerHandshakeReq * grpc_gcp_StartServerHandshakeReq_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:332
UPB_INLINE grpc_gcp_HandshakerStatus * grpc_gcp_HandshakerStatus_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:606
UPB_INLINE const grpc_gcp_Endpoint * grpc_gcp_StartServerHandshakeReq_local_endpoint(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:344
const upb_msglayout grpc_gcp_Endpoint_msginit
Definition: handshaker.upb.c:22
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_in_bytes(grpc_gcp_StartServerHandshakeReq *msg, upb_strview value)
Definition: handshaker.upb.h:371
UPB_INLINE const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *const * grpc_gcp_StartServerHandshakeReq_handshake_parameters(const grpc_gcp_StartServerHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:342
UPB_INLINE upb_strview grpc_gcp_Identity_service_account(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:125
UPB_INLINE uint32_t grpc_gcp_HandshakerStatus_code(const grpc_gcp_HandshakerStatus *msg)
Definition: handshaker.upb.h:615
UPB_INLINE grpc_gcp_ServerHandshakeParameters * grpc_gcp_ServerHandshakeParameters_new(upb_arena *arena)
Definition: handshaker.upb.h:288
UPB_INLINE grpc_gcp_NextHandshakeMessageReq * grpc_gcp_NextHandshakeMessageReq_new(upb_arena *arena)
Definition: handshaker.upb.h:446
const upb_msglayout grpc_gcp_HandshakerStatus_msginit
Definition: handshaker.upb.c:184
UPB_INLINE void grpc_gcp_Identity_set_service_account(grpc_gcp_Identity *msg, upb_strview value)
Definition: handshaker.upb.h:130
UPB_INLINE const grpc_gcp_Identity * grpc_gcp_HandshakerResult_peer_identity(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:547
UPB_INLINE struct grpc_gcp_Endpoint * grpc_gcp_StartClientHandshakeReq_mutable_local_endpoint(grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:249
UPB_INLINE char * grpc_gcp_ServerHandshakeParameters_serialize(const grpc_gcp_ServerHandshakeParameters *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:296
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:224
UPB_INLINE struct grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry * grpc_gcp_StartServerHandshakeReq_add_handshake_parameters(grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:364
UPB_INLINE void grpc_gcp_HandshakerResult_set_application_protocol(grpc_gcp_HandshakerResult *msg, upb_strview value)
Definition: handshaker.upb.h:552
UPB_INLINE char * grpc_gcp_HandshakerStatus_serialize(const grpc_gcp_HandshakerStatus *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:611
UPB_INLINE void grpc_gcp_Endpoint_set_ip_address(grpc_gcp_Endpoint *msg, upb_strview value)
Definition: handshaker.upb.h:93
UPB_INLINE const struct grpc_gcp_RpcProtocolVersions * grpc_gcp_StartClientHandshakeReq_rpc_versions(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:196
UPB_INLINE const struct grpc_gcp_RpcProtocolVersions * grpc_gcp_StartServerHandshakeReq_rpc_versions(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:346
UPB_INLINE upb_strview grpc_gcp_NextHandshakeMessageReq_in_bytes(const grpc_gcp_NextHandshakeMessageReq *msg)
Definition: handshaker.upb.h:458
UPB_INLINE upb_strview grpc_gcp_Identity_AttributesEntry_key(const grpc_gcp_Identity_AttributesEntry *msg)
Definition: handshaker.upb.h:164
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_handshake_security_protocol(grpc_gcp_StartClientHandshakeReq *msg, int32_t value)
Definition: handshaker.upb.h:198
UPB_INLINE const grpc_gcp_HandshakerResult * grpc_gcp_HandshakerResp_result(const grpc_gcp_HandshakerResp *msg)
Definition: handshaker.upb.h:641
UPB_INLINE struct grpc_gcp_Identity * grpc_gcp_HandshakerResult_mutable_peer_identity(grpc_gcp_HandshakerResult *msg, upb_arena *arena)
Definition: handshaker.upb.h:564
UPB_INLINE void grpc_gcp_Identity_AttributesEntry_set_key(grpc_gcp_Identity_AttributesEntry *msg, upb_strview value)
Definition: handshaker.upb.h:167
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:261
UPB_INLINE char * grpc_gcp_NextHandshakeMessageReq_serialize(const grpc_gcp_NextHandshakeMessageReq *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:454
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:258
UPB_INLINE const grpc_gcp_Identity *const * grpc_gcp_ServerHandshakeParameters_local_identities(const grpc_gcp_ServerHandshakeParameters *msg, size_t *len)
Definition: handshaker.upb.h:301
UPB_INLINE grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry * grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:416
UPB_INLINE const grpc_gcp_ServerHandshakeParameters * grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_value(const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg)
Definition: handshaker.upb.h:426
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_identity(grpc_gcp_StartClientHandshakeReq *msg, grpc_gcp_Identity *value)
Definition: handshaker.upb.h:234
UPB_INLINE grpc_gcp_Identity_AttributesEntry ** grpc_gcp_Identity_resize_attributes(grpc_gcp_Identity *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:139
UPB_INLINE bool grpc_gcp_HandshakerReq_has_client_start(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:486
UPB_INLINE int32_t grpc_gcp_Endpoint_protocol(const grpc_gcp_Endpoint *msg)
Definition: handshaker.upb.h:91
UPB_INLINE struct grpc_gcp_Endpoint * grpc_gcp_StartServerHandshakeReq_mutable_remote_endpoint(grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:389
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:124
UPB_INLINE bool grpc_gcp_HandshakerResult_keep_channel_open(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:549
UPB_INLINE struct grpc_gcp_RpcProtocolVersions * grpc_gcp_HandshakerResult_mutable_peer_rpc_versions(grpc_gcp_HandshakerResult *msg, upb_arena *arena)
Definition: handshaker.upb.h:591
UPB_INLINE char * grpc_gcp_HandshakerReq_serialize(const grpc_gcp_HandshakerReq *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:474
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_target_name(grpc_gcp_StartClientHandshakeReq *msg, upb_strview value)
Definition: handshaker.upb.h:270
UPB_INLINE const grpc_gcp_NextHandshakeMessageReq * grpc_gcp_HandshakerReq_next(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:491
UPB_INLINE char * grpc_gcp_StartClientHandshakeReq_serialize(const grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:184
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:316
UPB_INLINE char * grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_serialize(const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:421
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:555
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_remote_endpoint(grpc_gcp_StartServerHandshakeReq *msg, grpc_gcp_Endpoint *value)
Definition: handshaker.upb.h:386
UPB_INLINE int32_t grpc_gcp_Endpoint_port(const grpc_gcp_Endpoint *msg)
Definition: handshaker.upb.h:90
UPB_INLINE grpc_gcp_HandshakerResult * grpc_gcp_HandshakerResult_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:535
const upb_msglayout grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msginit
Definition: handshaker.upb.c:124
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_record_protocols(grpc_gcp_StartClientHandshakeReq *msg, upb_strview val, upb_arena *arena)
Definition: handshaker.upb.h:217
UPB_INLINE grpc_gcp_Identity_AttributesEntry * grpc_gcp_Identity_AttributesEntry_new(upb_arena *arena)
Definition: handshaker.upb.h:152
UPB_INLINE struct grpc_gcp_StartClientHandshakeReq * grpc_gcp_HandshakerReq_mutable_client_start(grpc_gcp_HandshakerReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:496
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:117
@ grpc_gcp_Identity_identity_oneof_NOT_SET
Definition: handshaker.upb.h:120
@ grpc_gcp_Identity_identity_oneof_service_account
Definition: handshaker.upb.h:118
@ grpc_gcp_Identity_identity_oneof_hostname
Definition: handshaker.upb.h:119
UPB_INLINE grpc_gcp_Identity_AttributesEntry ** grpc_gcp_Identity_mutable_attributes(grpc_gcp_Identity *msg, size_t *len)
Definition: handshaker.upb.h:136
struct grpc_gcp_HandshakerStatus grpc_gcp_HandshakerStatus
Definition: handshaker.upb.h:45
UPB_INLINE grpc_gcp_HandshakerStatus * grpc_gcp_HandshakerStatus_new(upb_arena *arena)
Definition: handshaker.upb.h:603
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:520
UPB_INLINE const grpc_gcp_HandshakerStatus * grpc_gcp_HandshakerResp_status(const grpc_gcp_HandshakerResp *msg)
Definition: handshaker.upb.h:642
UPB_INLINE void grpc_gcp_HandshakerResult_set_keep_channel_open(grpc_gcp_HandshakerResult *msg, bool value)
Definition: handshaker.upb.h:585
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_local_endpoint(grpc_gcp_StartServerHandshakeReq *msg, grpc_gcp_Endpoint *value)
Definition: handshaker.upb.h:374
UPB_INLINE upb_strview * grpc_gcp_StartClientHandshakeReq_resize_record_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:214
UPB_INLINE void grpc_gcp_HandshakerStatus_set_details(grpc_gcp_HandshakerStatus *msg, upb_strview value)
Definition: handshaker.upb.h:621
UPB_INLINE struct grpc_gcp_HandshakerResult * grpc_gcp_HandshakerResp_mutable_result(grpc_gcp_HandshakerResp *msg, upb_arena *arena)
Definition: handshaker.upb.h:653
const upb_msglayout grpc_gcp_Identity_AttributesEntry_msginit
Definition: handshaker.upb.c:49
UPB_INLINE upb_strview * grpc_gcp_ServerHandshakeParameters_resize_record_protocols(grpc_gcp_ServerHandshakeParameters *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:306
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:490
UPB_INLINE struct grpc_gcp_Identity_AttributesEntry * grpc_gcp_Identity_add_attributes(grpc_gcp_Identity *msg, upb_arena *arena)
Definition: handshaker.upb.h:142
UPB_INLINE grpc_gcp_Identity_identity_oneof_oneofcases grpc_gcp_Identity_identity_oneof_case(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:122
UPB_INLINE void grpc_gcp_HandshakerResult_set_local_identity(grpc_gcp_HandshakerResult *msg, grpc_gcp_Identity *value)
Definition: handshaker.upb.h:573
const upb_msglayout grpc_gcp_HandshakerReq_msginit
Definition: handshaker.upb.c:152
UPB_INLINE void grpc_gcp_HandshakerResp_set_out_frames(grpc_gcp_HandshakerResp *msg, upb_strview value)
Definition: handshaker.upb.h:644
UPB_INLINE struct grpc_gcp_HandshakerStatus * grpc_gcp_HandshakerResp_mutable_status(grpc_gcp_HandshakerResp *msg, upb_arena *arena)
Definition: handshaker.upb.h:665
UPB_INLINE char * grpc_gcp_Identity_AttributesEntry_serialize(const grpc_gcp_Identity_AttributesEntry *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:160
UPB_INLINE struct grpc_gcp_RpcProtocolVersions * grpc_gcp_StartServerHandshakeReq_mutable_rpc_versions(grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:401
struct grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry
Definition: handshaker.upb.h:41
UPB_INLINE void grpc_gcp_Endpoint_set_port(grpc_gcp_Endpoint *msg, int32_t value)
Definition: handshaker.upb.h:96
UPB_INLINE grpc_gcp_Identity_AttributesEntry * grpc_gcp_Identity_AttributesEntry_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:155
UPB_INLINE void grpc_gcp_NextHandshakeMessageReq_set_in_bytes(grpc_gcp_NextHandshakeMessageReq *msg, upb_strview value)
Definition: handshaker.upb.h:460
const upb_msglayout grpc_gcp_ServerHandshakeParameters_msginit
Definition: handshaker.upb.c:88
UPB_INLINE void grpc_gcp_HandshakerStatus_set_code(grpc_gcp_HandshakerStatus *msg, uint32_t value)
Definition: handshaker.upb.h:618
UPB_INLINE char * grpc_gcp_Endpoint_serialize(const grpc_gcp_Endpoint *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:85
UPB_INLINE char * grpc_gcp_StartServerHandshakeReq_serialize(const grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:337
UPB_INLINE const grpc_gcp_Endpoint * grpc_gcp_StartClientHandshakeReq_local_endpoint(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:193
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:191
UPB_INLINE grpc_gcp_HandshakerResp * grpc_gcp_HandshakerResp_new(upb_arena *arena)
Definition: handshaker.upb.h:627
UPB_INLINE char * grpc_gcp_HandshakerResp_serialize(const grpc_gcp_HandshakerResp *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:635
UPB_INLINE const struct grpc_gcp_RpcProtocolVersions * grpc_gcp_HandshakerResult_peer_rpc_versions(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:550
UPB_INLINE grpc_gcp_HandshakerReq_req_oneof_oneofcases grpc_gcp_HandshakerReq_req_oneof_case(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:484
UPB_INLINE int32_t grpc_gcp_StartClientHandshakeReq_handshake_security_protocol(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:188
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:576
UPB_INLINE grpc_gcp_StartClientHandshakeReq * grpc_gcp_StartClientHandshakeReq_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:179
UPB_INLINE upb_strview * grpc_gcp_StartClientHandshakeReq_mutable_application_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:201
UPB_INLINE struct grpc_gcp_Identity * grpc_gcp_StartClientHandshakeReq_add_target_identities(grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:227
UPB_INLINE grpc_gcp_Identity ** grpc_gcp_ServerHandshakeParameters_mutable_local_identities(grpc_gcp_ServerHandshakeParameters *msg, size_t *len)
Definition: handshaker.upb.h:313
UPB_INLINE struct grpc_gcp_Identity * grpc_gcp_ServerHandshakeParameters_add_local_identities(grpc_gcp_ServerHandshakeParameters *msg, upb_arena *arena)
Definition: handshaker.upb.h:319
UPB_INLINE upb_strview grpc_gcp_Identity_AttributesEntry_value(const grpc_gcp_Identity_AttributesEntry *msg)
Definition: handshaker.upb.h:165
UPB_INLINE const grpc_gcp_Endpoint * grpc_gcp_StartClientHandshakeReq_remote_endpoint(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:194
UPB_INLINE void grpc_gcp_Identity_set_hostname(grpc_gcp_Identity *msg, upb_strview value)
Definition: handshaker.upb.h:133
UPB_INLINE const grpc_gcp_StartServerHandshakeReq * grpc_gcp_HandshakerReq_server_start(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:489
UPB_INLINE upb_strview grpc_gcp_HandshakerResult_application_protocol(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:544
UPB_INLINE void grpc_gcp_HandshakerReq_set_next(grpc_gcp_HandshakerReq *msg, grpc_gcp_NextHandshakeMessageReq *value)
Definition: handshaker.upb.h:517
UPB_INLINE uint32_t grpc_gcp_HandshakerResp_bytes_consumed(const grpc_gcp_HandshakerResp *msg)
Definition: handshaker.upb.h:640
UPB_INLINE grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry ** grpc_gcp_StartServerHandshakeReq_resize_handshake_parameters(grpc_gcp_StartServerHandshakeReq *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:361
UPB_INLINE void grpc_gcp_Identity_AttributesEntry_set_value(grpc_gcp_Identity_AttributesEntry *msg, upb_strview value)
Definition: handshaker.upb.h:170
UPB_INLINE upb_strview grpc_gcp_StartClientHandshakeReq_target_name(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:195
UPB_INLINE char * grpc_gcp_Identity_serialize(const grpc_gcp_Identity *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:113
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:341
UPB_INLINE upb_strview * grpc_gcp_ServerHandshakeParameters_mutable_record_protocols(grpc_gcp_ServerHandshakeParameters *msg, size_t *len)
Definition: handshaker.upb.h:303
UPB_INLINE const grpc_gcp_Identity_AttributesEntry *const * grpc_gcp_Identity_attributes(const grpc_gcp_Identity *msg, size_t *len)
Definition: handshaker.upb.h:128
UPB_INLINE grpc_gcp_NextHandshakeMessageReq * grpc_gcp_NextHandshakeMessageReq_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:449
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_rpc_versions(grpc_gcp_StartClientHandshakeReq *msg, struct grpc_gcp_RpcProtocolVersions *value)
Definition: handshaker.upb.h:273
UPB_INLINE grpc_gcp_HandshakerReq * grpc_gcp_HandshakerReq_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:469
UPB_INLINE upb_strview const * grpc_gcp_StartClientHandshakeReq_record_protocols(const grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:190
UPB_INLINE upb_strview const * grpc_gcp_StartClientHandshakeReq_application_protocols(const grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:189
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_set_value(grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg, grpc_gcp_ServerHandshakeParameters *value)
Definition: handshaker.upb.h:431
UPB_INLINE const grpc_gcp_Identity * grpc_gcp_StartClientHandshakeReq_local_identity(const grpc_gcp_StartClientHandshakeReq *msg)
Definition: handshaker.upb.h:192
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:309
UPB_INLINE struct grpc_gcp_Endpoint * grpc_gcp_StartServerHandshakeReq_mutable_local_endpoint(grpc_gcp_StartServerHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:377
UPB_INLINE upb_strview * grpc_gcp_StartServerHandshakeReq_resize_application_protocols(grpc_gcp_StartServerHandshakeReq *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:351
UPB_INLINE upb_strview grpc_gcp_HandshakerResult_record_protocol(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:545
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_add_application_protocols(grpc_gcp_StartServerHandshakeReq *msg, upb_strview val, upb_arena *arena)
Definition: handshaker.upb.h:354
UPB_INLINE upb_strview grpc_gcp_Identity_hostname(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:127
UPB_INLINE struct grpc_gcp_ServerHandshakeParameters * grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_mutable_value(grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg, upb_arena *arena)
Definition: handshaker.upb.h:434
UPB_INLINE void grpc_gcp_HandshakerReq_set_client_start(grpc_gcp_HandshakerReq *msg, grpc_gcp_StartClientHandshakeReq *value)
Definition: handshaker.upb.h:493
UPB_INLINE struct grpc_gcp_RpcProtocolVersions * grpc_gcp_StartClientHandshakeReq_mutable_rpc_versions(grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:276
UPB_INLINE grpc_gcp_StartClientHandshakeReq * grpc_gcp_StartClientHandshakeReq_new(upb_arena *arena)
Definition: handshaker.upb.h:176
const upb_msglayout grpc_gcp_HandshakerResp_msginit
Definition: handshaker.upb.c:202
UPB_INLINE void grpc_gcp_HandshakerReq_set_server_start(grpc_gcp_HandshakerReq *msg, grpc_gcp_StartServerHandshakeReq *value)
Definition: handshaker.upb.h:505
UPB_INLINE upb_strview grpc_gcp_HandshakerResult_key_data(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:546
UPB_INLINE grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry * grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_new(upb_arena *arena)
Definition: handshaker.upb.h:413
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:588
UPB_INLINE void grpc_gcp_HandshakerResp_set_status(grpc_gcp_HandshakerResp *msg, grpc_gcp_HandshakerStatus *value)
Definition: handshaker.upb.h:662
UPB_INLINE bool grpc_gcp_Identity_has_hostname(const grpc_gcp_Identity *msg)
Definition: handshaker.upb.h:126
UPB_INLINE const grpc_gcp_Endpoint * grpc_gcp_StartServerHandshakeReq_remote_endpoint(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:345
UPB_INLINE void grpc_gcp_HandshakerResp_set_bytes_consumed(grpc_gcp_HandshakerResp *msg, uint32_t value)
Definition: handshaker.upb.h:647
UPB_INLINE bool grpc_gcp_HandshakerReq_has_server_start(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:488
UPB_INLINE void grpc_gcp_HandshakerResult_set_key_data(grpc_gcp_HandshakerResult *msg, upb_strview value)
Definition: handshaker.upb.h:558
UPB_INLINE grpc_gcp_HandshakerReq * grpc_gcp_HandshakerReq_new(upb_arena *arena)
Definition: handshaker.upb.h:466
UPB_INLINE grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry ** grpc_gcp_StartServerHandshakeReq_mutable_handshake_parameters(grpc_gcp_StartServerHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:358
UPB_INLINE upb_strview grpc_gcp_HandshakerStatus_details(const grpc_gcp_HandshakerStatus *msg)
Definition: handshaker.upb.h:616
UPB_INLINE upb_strview * grpc_gcp_StartClientHandshakeReq_resize_application_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t len, upb_arena *arena)
Definition: handshaker.upb.h:204
UPB_INLINE upb_strview * grpc_gcp_StartClientHandshakeReq_mutable_record_protocols(grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:211
UPB_INLINE const grpc_gcp_StartClientHandshakeReq * grpc_gcp_HandshakerReq_client_start(const grpc_gcp_HandshakerReq *msg)
Definition: handshaker.upb.h:487
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:300
UPB_INLINE struct grpc_gcp_Identity * grpc_gcp_StartClientHandshakeReq_mutable_local_identity(grpc_gcp_StartClientHandshakeReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:237
UPB_INLINE grpc_gcp_Identity * grpc_gcp_Identity_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:108
UPB_INLINE grpc_gcp_StartServerHandshakeReq * grpc_gcp_StartServerHandshakeReq_new(upb_arena *arena)
Definition: handshaker.upb.h:329
UPB_INLINE int32_t grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_key(const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg)
Definition: handshaker.upb.h:425
UPB_INLINE const grpc_gcp_Identity * grpc_gcp_HandshakerResult_local_identity(const grpc_gcp_HandshakerResult *msg)
Definition: handshaker.upb.h:548
UPB_INLINE void grpc_gcp_HandshakerResult_set_peer_identity(grpc_gcp_HandshakerResult *msg, grpc_gcp_Identity *value)
Definition: handshaker.upb.h:561
UPB_INLINE upb_strview grpc_gcp_Endpoint_ip_address(const grpc_gcp_Endpoint *msg)
Definition: handshaker.upb.h:89
UPB_INLINE void grpc_gcp_Endpoint_set_protocol(grpc_gcp_Endpoint *msg, int32_t value)
Definition: handshaker.upb.h:99
UPB_INLINE char * grpc_gcp_HandshakerResult_serialize(const grpc_gcp_HandshakerResult *msg, upb_arena *arena, size_t *len)
Definition: handshaker.upb.h:540
grpc_gcp_HandshakerReq_req_oneof_oneofcases
Definition: handshaker.upb.h:478
@ grpc_gcp_HandshakerReq_req_oneof_next
Definition: handshaker.upb.h:481
@ grpc_gcp_HandshakerReq_req_oneof_client_start
Definition: handshaker.upb.h:479
@ grpc_gcp_HandshakerReq_req_oneof_NOT_SET
Definition: handshaker.upb.h:482
@ grpc_gcp_HandshakerReq_req_oneof_server_start
Definition: handshaker.upb.h:480
UPB_INLINE grpc_gcp_Identity ** grpc_gcp_StartClientHandshakeReq_mutable_target_identities(grpc_gcp_StartClientHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:221
const upb_msglayout grpc_gcp_StartClientHandshakeReq_msginit
Definition: handshaker.upb.c:73
UPB_INLINE grpc_gcp_HandshakerResp * grpc_gcp_HandshakerResp_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:630
const upb_msglayout grpc_gcp_StartServerHandshakeReq_msginit
Definition: handshaker.upb.c:109
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_set_key(grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry *msg, int32_t value)
Definition: handshaker.upb.h:428
UPB_INLINE grpc_gcp_HandshakerResult * grpc_gcp_HandshakerResult_new(upb_arena *arena)
Definition: handshaker.upb.h:532
UPB_INLINE grpc_gcp_ServerHandshakeParameters * grpc_gcp_ServerHandshakeParameters_parse(const char *buf, size_t size, upb_arena *arena)
Definition: handshaker.upb.h:291
UPB_INLINE grpc_gcp_Identity * grpc_gcp_Identity_new(upb_arena *arena)
Definition: handshaker.upb.h:105
UPB_INLINE upb_strview * grpc_gcp_StartServerHandshakeReq_mutable_application_protocols(grpc_gcp_StartServerHandshakeReq *msg, size_t *len)
Definition: handshaker.upb.h:348
UPB_INLINE upb_strview grpc_gcp_StartServerHandshakeReq_in_bytes(const grpc_gcp_StartServerHandshakeReq *msg)
Definition: handshaker.upb.h:343
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:398
const upb_msglayout grpc_gcp_HandshakerResult_msginit
Definition: handshaker.upb.c:173
UPB_INLINE void grpc_gcp_HandshakerResp_set_result(grpc_gcp_HandshakerResp *msg, grpc_gcp_HandshakerResult *value)
Definition: handshaker.upb.h:650
UPB_INLINE struct grpc_gcp_StartServerHandshakeReq * grpc_gcp_HandshakerReq_mutable_server_start(grpc_gcp_HandshakerReq *msg, upb_arena *arena)
Definition: handshaker.upb.h:508
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_endpoint(grpc_gcp_StartClientHandshakeReq *msg, grpc_gcp_Endpoint *value)
Definition: handshaker.upb.h:246
const upb_msglayout grpc_gcp_NextHandshakeMessageReq_msginit
Definition: handshaker.upb.c:134
struct grpc_gcp_RpcProtocolVersions grpc_gcp_RpcProtocolVersions
Definition: transport_security_common.upb.h:25