1 /* This file was generated by upbc (the upb compiler) from the input
4 * src/proto/grpc/gcp/handshaker.proto
6 * Do not edit -- your changes will be discarded when the file is
11 #include "src/proto/grpc/gcp/handshaker.upb.h"
12 #include "src/proto/grpc/gcp/transport_security_common.upb.h"
14 #include "upb/port_def.inc"
16 static const upb_msglayout_field grpc_gcp_Endpoint__fields[3] = {
17 {1, UPB_SIZE(8, 8), 0, 0, 9, 1},
18 {2, UPB_SIZE(4, 4), 0, 0, 5, 1},
19 {3, UPB_SIZE(0, 0), 0, 0, 14, 1},
22 const upb_msglayout grpc_gcp_Endpoint_msginit = {
24 &grpc_gcp_Endpoint__fields[0],
25 UPB_SIZE(16, 32), 3, false, 255,
28 static const upb_msglayout *const grpc_gcp_Identity_submsgs[1] = {
29 &grpc_gcp_Identity_AttributesEntry_msginit,
32 static const upb_msglayout_field grpc_gcp_Identity__fields[3] = {
33 {1, UPB_SIZE(4, 8), UPB_SIZE(-13, -25), 0, 9, 1},
34 {2, UPB_SIZE(4, 8), UPB_SIZE(-13, -25), 0, 9, 1},
35 {3, UPB_SIZE(0, 0), 0, 0, 11, _UPB_LABEL_MAP},
38 const upb_msglayout grpc_gcp_Identity_msginit = {
39 &grpc_gcp_Identity_submsgs[0],
40 &grpc_gcp_Identity__fields[0],
41 UPB_SIZE(16, 32), 3, false, 255,
44 static const upb_msglayout_field grpc_gcp_Identity_AttributesEntry__fields[2] = {
45 {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
46 {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
49 const upb_msglayout grpc_gcp_Identity_AttributesEntry_msginit = {
51 &grpc_gcp_Identity_AttributesEntry__fields[0],
52 UPB_SIZE(16, 32), 2, false, 255,
55 static const upb_msglayout *const grpc_gcp_StartClientHandshakeReq_submsgs[3] = {
56 &grpc_gcp_Endpoint_msginit,
57 &grpc_gcp_Identity_msginit,
58 &grpc_gcp_RpcProtocolVersions_msginit,
61 static const upb_msglayout_field grpc_gcp_StartClientHandshakeReq__fields[10] = {
62 {1, UPB_SIZE(4, 4), 0, 0, 14, 1},
63 {2, UPB_SIZE(36, 64), 0, 0, 9, 3},
64 {3, UPB_SIZE(40, 72), 0, 0, 9, 3},
65 {4, UPB_SIZE(44, 80), 0, 1, 11, 3},
66 {5, UPB_SIZE(20, 32), 1, 1, 11, 1},
67 {6, UPB_SIZE(24, 40), 2, 0, 11, 1},
68 {7, UPB_SIZE(28, 48), 3, 0, 11, 1},
69 {8, UPB_SIZE(12, 16), 0, 0, 9, 1},
70 {9, UPB_SIZE(32, 56), 4, 2, 11, 1},
71 {10, UPB_SIZE(8, 8), 0, 0, 13, 1},
74 const upb_msglayout grpc_gcp_StartClientHandshakeReq_msginit = {
75 &grpc_gcp_StartClientHandshakeReq_submsgs[0],
76 &grpc_gcp_StartClientHandshakeReq__fields[0],
77 UPB_SIZE(48, 96), 10, false, 255,
80 static const upb_msglayout *const grpc_gcp_ServerHandshakeParameters_submsgs[1] = {
81 &grpc_gcp_Identity_msginit,
84 static const upb_msglayout_field grpc_gcp_ServerHandshakeParameters__fields[2] = {
85 {1, UPB_SIZE(0, 0), 0, 0, 9, 3},
86 {2, UPB_SIZE(4, 8), 0, 0, 11, 3},
89 const upb_msglayout grpc_gcp_ServerHandshakeParameters_msginit = {
90 &grpc_gcp_ServerHandshakeParameters_submsgs[0],
91 &grpc_gcp_ServerHandshakeParameters__fields[0],
92 UPB_SIZE(8, 16), 2, false, 255,
95 static const upb_msglayout *const grpc_gcp_StartServerHandshakeReq_submsgs[3] = {
96 &grpc_gcp_Endpoint_msginit,
97 &grpc_gcp_RpcProtocolVersions_msginit,
98 &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msginit,
101 static const upb_msglayout_field grpc_gcp_StartServerHandshakeReq__fields[7] = {
102 {1, UPB_SIZE(28, 48), 0, 0, 9, 3},
103 {2, UPB_SIZE(32, 56), 0, 2, 11, _UPB_LABEL_MAP},
104 {3, UPB_SIZE(8, 8), 0, 0, 12, 1},
105 {4, UPB_SIZE(16, 24), 1, 0, 11, 1},
106 {5, UPB_SIZE(20, 32), 2, 0, 11, 1},
107 {6, UPB_SIZE(24, 40), 3, 1, 11, 1},
108 {7, UPB_SIZE(4, 4), 0, 0, 13, 1},
111 const upb_msglayout grpc_gcp_StartServerHandshakeReq_msginit = {
112 &grpc_gcp_StartServerHandshakeReq_submsgs[0],
113 &grpc_gcp_StartServerHandshakeReq__fields[0],
114 UPB_SIZE(40, 64), 7, false, 255,
117 static const upb_msglayout *const grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_submsgs[1] = {
118 &grpc_gcp_ServerHandshakeParameters_msginit,
121 static const upb_msglayout_field grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry__fields[2] = {
122 {1, UPB_SIZE(0, 0), 0, 0, 5, 1},
123 {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
126 const upb_msglayout grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_msginit = {
127 &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry_submsgs[0],
128 &grpc_gcp_StartServerHandshakeReq_HandshakeParametersEntry__fields[0],
129 UPB_SIZE(16, 32), 2, false, 255,
132 static const upb_msglayout_field grpc_gcp_NextHandshakeMessageReq__fields[1] = {
133 {1, UPB_SIZE(0, 0), 0, 0, 12, 1},
136 const upb_msglayout grpc_gcp_NextHandshakeMessageReq_msginit = {
138 &grpc_gcp_NextHandshakeMessageReq__fields[0],
139 UPB_SIZE(8, 16), 1, false, 255,
142 static const upb_msglayout *const grpc_gcp_HandshakerReq_submsgs[3] = {
143 &grpc_gcp_NextHandshakeMessageReq_msginit,
144 &grpc_gcp_StartClientHandshakeReq_msginit,
145 &grpc_gcp_StartServerHandshakeReq_msginit,
148 static const upb_msglayout_field grpc_gcp_HandshakerReq__fields[3] = {
149 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1},
150 {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1},
151 {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1},
154 const upb_msglayout grpc_gcp_HandshakerReq_msginit = {
155 &grpc_gcp_HandshakerReq_submsgs[0],
156 &grpc_gcp_HandshakerReq__fields[0],
157 UPB_SIZE(8, 16), 3, false, 255,
160 static const upb_msglayout *const grpc_gcp_HandshakerResult_submsgs[2] = {
161 &grpc_gcp_Identity_msginit,
162 &grpc_gcp_RpcProtocolVersions_msginit,
165 static const upb_msglayout_field grpc_gcp_HandshakerResult__fields[8] = {
166 {1, UPB_SIZE(12, 16), 0, 0, 9, 1},
167 {2, UPB_SIZE(20, 32), 0, 0, 9, 1},
168 {3, UPB_SIZE(28, 48), 0, 0, 12, 1},
169 {4, UPB_SIZE(36, 64), 1, 0, 11, 1},
170 {5, UPB_SIZE(40, 72), 2, 0, 11, 1},
171 {6, UPB_SIZE(8, 8), 0, 0, 8, 1},
172 {7, UPB_SIZE(44, 80), 3, 1, 11, 1},
173 {8, UPB_SIZE(4, 4), 0, 0, 13, 1},
176 const upb_msglayout grpc_gcp_HandshakerResult_msginit = {
177 &grpc_gcp_HandshakerResult_submsgs[0],
178 &grpc_gcp_HandshakerResult__fields[0],
179 UPB_SIZE(48, 96), 8, false, 255,
182 static const upb_msglayout_field grpc_gcp_HandshakerStatus__fields[2] = {
183 {1, UPB_SIZE(0, 0), 0, 0, 13, 1},
184 {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
187 const upb_msglayout grpc_gcp_HandshakerStatus_msginit = {
189 &grpc_gcp_HandshakerStatus__fields[0],
190 UPB_SIZE(16, 32), 2, false, 255,
193 static const upb_msglayout *const grpc_gcp_HandshakerResp_submsgs[2] = {
194 &grpc_gcp_HandshakerResult_msginit,
195 &grpc_gcp_HandshakerStatus_msginit,
198 static const upb_msglayout_field grpc_gcp_HandshakerResp__fields[4] = {
199 {1, UPB_SIZE(8, 8), 0, 0, 12, 1},
200 {2, UPB_SIZE(4, 4), 0, 0, 13, 1},
201 {3, UPB_SIZE(16, 24), 1, 0, 11, 1},
202 {4, UPB_SIZE(20, 32), 2, 1, 11, 1},
205 const upb_msglayout grpc_gcp_HandshakerResp_msginit = {
206 &grpc_gcp_HandshakerResp_submsgs[0],
207 &grpc_gcp_HandshakerResp__fields[0],
208 UPB_SIZE(24, 48), 4, false, 255,
211 #include "upb/port_undef.inc"