xref: /aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     src/proto/grpc/gcp/altscontext.proto
4  *
5  * Do not edit -- your changes will be discarded when the file is
6  * regenerated. */
7 
8 #ifndef SRC_PROTO_GRPC_GCP_ALTSCONTEXT_PROTO_UPB_H_
9 #define SRC_PROTO_GRPC_GCP_ALTSCONTEXT_PROTO_UPB_H_
10 
11 #include "upb/generated_code_support.h"
12 
13 #include "src/proto/grpc/gcp/altscontext.upb_minitable.h"
14 
15 #include "src/proto/grpc/gcp/transport_security_common.upb_minitable.h"
16 
17 // Must be last.
18 #include "upb/port/def.inc"
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 typedef struct grpc_gcp_AltsContext { upb_Message UPB_PRIVATE(base); } grpc_gcp_AltsContext;
25 typedef struct grpc_gcp_AltsContext_PeerAttributesEntry { upb_Message UPB_PRIVATE(base); } grpc_gcp_AltsContext_PeerAttributesEntry;
26 struct grpc_gcp_RpcProtocolVersions;
27 
28 
29 
30 /* grpc.gcp.AltsContext */
31 
grpc_gcp_AltsContext_new(upb_Arena * arena)32 UPB_INLINE grpc_gcp_AltsContext* grpc_gcp_AltsContext_new(upb_Arena* arena) {
33   return (grpc_gcp_AltsContext*)_upb_Message_New(&grpc__gcp__AltsContext_msg_init, arena);
34 }
grpc_gcp_AltsContext_parse(const char * buf,size_t size,upb_Arena * arena)35 UPB_INLINE grpc_gcp_AltsContext* grpc_gcp_AltsContext_parse(const char* buf, size_t size, upb_Arena* arena) {
36   grpc_gcp_AltsContext* ret = grpc_gcp_AltsContext_new(arena);
37   if (!ret) return NULL;
38   if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__AltsContext_msg_init, NULL, 0, arena) !=
39       kUpb_DecodeStatus_Ok) {
40     return NULL;
41   }
42   return ret;
43 }
grpc_gcp_AltsContext_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)44 UPB_INLINE grpc_gcp_AltsContext* grpc_gcp_AltsContext_parse_ex(const char* buf, size_t size,
45                            const upb_ExtensionRegistry* extreg,
46                            int options, upb_Arena* arena) {
47   grpc_gcp_AltsContext* ret = grpc_gcp_AltsContext_new(arena);
48   if (!ret) return NULL;
49   if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__AltsContext_msg_init, extreg, options,
50                  arena) != kUpb_DecodeStatus_Ok) {
51     return NULL;
52   }
53   return ret;
54 }
grpc_gcp_AltsContext_serialize(const grpc_gcp_AltsContext * msg,upb_Arena * arena,size_t * len)55 UPB_INLINE char* grpc_gcp_AltsContext_serialize(const grpc_gcp_AltsContext* msg, upb_Arena* arena, size_t* len) {
56   char* ptr;
57   (void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__AltsContext_msg_init, 0, arena, &ptr, len);
58   return ptr;
59 }
grpc_gcp_AltsContext_serialize_ex(const grpc_gcp_AltsContext * msg,int options,upb_Arena * arena,size_t * len)60 UPB_INLINE char* grpc_gcp_AltsContext_serialize_ex(const grpc_gcp_AltsContext* msg, int options,
61                                  upb_Arena* arena, size_t* len) {
62   char* ptr;
63   (void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__AltsContext_msg_init, options, arena, &ptr, len);
64   return ptr;
65 }
grpc_gcp_AltsContext_clear_application_protocol(grpc_gcp_AltsContext * msg)66 UPB_INLINE void grpc_gcp_AltsContext_clear_application_protocol(grpc_gcp_AltsContext* msg) {
67   const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
68   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
69 }
grpc_gcp_AltsContext_application_protocol(const grpc_gcp_AltsContext * msg)70 UPB_INLINE upb_StringView grpc_gcp_AltsContext_application_protocol(const grpc_gcp_AltsContext* msg) {
71   upb_StringView default_val = upb_StringView_FromString("");
72   upb_StringView ret;
73   const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
74   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
75                                     &default_val, &ret);
76   return ret;
77 }
grpc_gcp_AltsContext_clear_record_protocol(grpc_gcp_AltsContext * msg)78 UPB_INLINE void grpc_gcp_AltsContext_clear_record_protocol(grpc_gcp_AltsContext* msg) {
79   const upb_MiniTableField field = {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
80   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
81 }
grpc_gcp_AltsContext_record_protocol(const grpc_gcp_AltsContext * msg)82 UPB_INLINE upb_StringView grpc_gcp_AltsContext_record_protocol(const grpc_gcp_AltsContext* msg) {
83   upb_StringView default_val = upb_StringView_FromString("");
84   upb_StringView ret;
85   const upb_MiniTableField field = {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
86   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
87                                     &default_val, &ret);
88   return ret;
89 }
grpc_gcp_AltsContext_clear_security_level(grpc_gcp_AltsContext * msg)90 UPB_INLINE void grpc_gcp_AltsContext_clear_security_level(grpc_gcp_AltsContext* msg) {
91   const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
92   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
93 }
grpc_gcp_AltsContext_security_level(const grpc_gcp_AltsContext * msg)94 UPB_INLINE int32_t grpc_gcp_AltsContext_security_level(const grpc_gcp_AltsContext* msg) {
95   int32_t default_val = 0;
96   int32_t ret;
97   const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
98   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
99                                     &default_val, &ret);
100   return ret;
101 }
grpc_gcp_AltsContext_clear_peer_service_account(grpc_gcp_AltsContext * msg)102 UPB_INLINE void grpc_gcp_AltsContext_clear_peer_service_account(grpc_gcp_AltsContext* msg) {
103   const upb_MiniTableField field = {4, UPB_SIZE(40, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
104   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
105 }
grpc_gcp_AltsContext_peer_service_account(const grpc_gcp_AltsContext * msg)106 UPB_INLINE upb_StringView grpc_gcp_AltsContext_peer_service_account(const grpc_gcp_AltsContext* msg) {
107   upb_StringView default_val = upb_StringView_FromString("");
108   upb_StringView ret;
109   const upb_MiniTableField field = {4, UPB_SIZE(40, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
110   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
111                                     &default_val, &ret);
112   return ret;
113 }
grpc_gcp_AltsContext_clear_local_service_account(grpc_gcp_AltsContext * msg)114 UPB_INLINE void grpc_gcp_AltsContext_clear_local_service_account(grpc_gcp_AltsContext* msg) {
115   const upb_MiniTableField field = {5, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
116   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
117 }
grpc_gcp_AltsContext_local_service_account(const grpc_gcp_AltsContext * msg)118 UPB_INLINE upb_StringView grpc_gcp_AltsContext_local_service_account(const grpc_gcp_AltsContext* msg) {
119   upb_StringView default_val = upb_StringView_FromString("");
120   upb_StringView ret;
121   const upb_MiniTableField field = {5, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
122   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
123                                     &default_val, &ret);
124   return ret;
125 }
grpc_gcp_AltsContext_clear_peer_rpc_versions(grpc_gcp_AltsContext * msg)126 UPB_INLINE void grpc_gcp_AltsContext_clear_peer_rpc_versions(grpc_gcp_AltsContext* msg) {
127   const upb_MiniTableField field = {6, UPB_SIZE(16, 80), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
128   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
129 }
grpc_gcp_AltsContext_peer_rpc_versions(const grpc_gcp_AltsContext * msg)130 UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_AltsContext_peer_rpc_versions(const grpc_gcp_AltsContext* msg) {
131   const struct grpc_gcp_RpcProtocolVersions* default_val = NULL;
132   const struct grpc_gcp_RpcProtocolVersions* ret;
133   const upb_MiniTableField field = {6, UPB_SIZE(16, 80), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
134   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
135                                     &default_val, &ret);
136   return ret;
137 }
grpc_gcp_AltsContext_has_peer_rpc_versions(const grpc_gcp_AltsContext * msg)138 UPB_INLINE bool grpc_gcp_AltsContext_has_peer_rpc_versions(const grpc_gcp_AltsContext* msg) {
139   const upb_MiniTableField field = {6, UPB_SIZE(16, 80), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
140   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
141 }
grpc_gcp_AltsContext_clear_peer_attributes(grpc_gcp_AltsContext * msg)142 UPB_INLINE void grpc_gcp_AltsContext_clear_peer_attributes(grpc_gcp_AltsContext* msg) {
143   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
144   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
145 }
grpc_gcp_AltsContext_peer_attributes_size(const grpc_gcp_AltsContext * msg)146 UPB_INLINE size_t grpc_gcp_AltsContext_peer_attributes_size(const grpc_gcp_AltsContext* msg) {
147   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
148   const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
149   return map ? _upb_Map_Size(map) : 0;
150 }
grpc_gcp_AltsContext_peer_attributes_get(const grpc_gcp_AltsContext * msg,upb_StringView key,upb_StringView * val)151 UPB_INLINE bool grpc_gcp_AltsContext_peer_attributes_get(const grpc_gcp_AltsContext* msg, upb_StringView key, upb_StringView* val) {
152   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
153   const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
154   if (!map) return false;
155   return _upb_Map_Get(map, &key, 0, val, 0);
156 }
grpc_gcp_AltsContext_peer_attributes_next(const grpc_gcp_AltsContext * msg,size_t * iter)157 UPB_INLINE const grpc_gcp_AltsContext_PeerAttributesEntry* grpc_gcp_AltsContext_peer_attributes_next(const grpc_gcp_AltsContext* msg, size_t* iter) {
158   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
159   const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
160   if (!map) return NULL;
161   return (const grpc_gcp_AltsContext_PeerAttributesEntry*)_upb_map_next(map, iter);
162 }
_grpc_gcp_AltsContext_peer_attributes_upb_map(grpc_gcp_AltsContext * msg)163 UPB_INLINE const upb_Map* _grpc_gcp_AltsContext_peer_attributes_upb_map(grpc_gcp_AltsContext* msg) {
164   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
165   return upb_Message_GetMap(UPB_UPCAST(msg), &field);
166 }
_grpc_gcp_AltsContext_peer_attributes_mutable_upb_map(grpc_gcp_AltsContext * msg,upb_Arena * a)167 UPB_INLINE upb_Map* _grpc_gcp_AltsContext_peer_attributes_mutable_upb_map(grpc_gcp_AltsContext* msg, upb_Arena* a) {
168   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
169   return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, 0, 0, a);
170 }
171 
grpc_gcp_AltsContext_set_application_protocol(grpc_gcp_AltsContext * msg,upb_StringView value)172 UPB_INLINE void grpc_gcp_AltsContext_set_application_protocol(grpc_gcp_AltsContext *msg, upb_StringView value) {
173   const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
174   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
175 }
grpc_gcp_AltsContext_set_record_protocol(grpc_gcp_AltsContext * msg,upb_StringView value)176 UPB_INLINE void grpc_gcp_AltsContext_set_record_protocol(grpc_gcp_AltsContext *msg, upb_StringView value) {
177   const upb_MiniTableField field = {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
178   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
179 }
grpc_gcp_AltsContext_set_security_level(grpc_gcp_AltsContext * msg,int32_t value)180 UPB_INLINE void grpc_gcp_AltsContext_set_security_level(grpc_gcp_AltsContext *msg, int32_t value) {
181   const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
182   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
183 }
grpc_gcp_AltsContext_set_peer_service_account(grpc_gcp_AltsContext * msg,upb_StringView value)184 UPB_INLINE void grpc_gcp_AltsContext_set_peer_service_account(grpc_gcp_AltsContext *msg, upb_StringView value) {
185   const upb_MiniTableField field = {4, UPB_SIZE(40, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
186   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
187 }
grpc_gcp_AltsContext_set_local_service_account(grpc_gcp_AltsContext * msg,upb_StringView value)188 UPB_INLINE void grpc_gcp_AltsContext_set_local_service_account(grpc_gcp_AltsContext *msg, upb_StringView value) {
189   const upb_MiniTableField field = {5, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
190   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
191 }
grpc_gcp_AltsContext_set_peer_rpc_versions(grpc_gcp_AltsContext * msg,struct grpc_gcp_RpcProtocolVersions * value)192 UPB_INLINE void grpc_gcp_AltsContext_set_peer_rpc_versions(grpc_gcp_AltsContext *msg, struct grpc_gcp_RpcProtocolVersions* value) {
193   const upb_MiniTableField field = {6, UPB_SIZE(16, 80), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
194   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
195 }
grpc_gcp_AltsContext_mutable_peer_rpc_versions(grpc_gcp_AltsContext * msg,upb_Arena * arena)196 UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_AltsContext_mutable_peer_rpc_versions(grpc_gcp_AltsContext* msg, upb_Arena* arena) {
197   struct grpc_gcp_RpcProtocolVersions* sub = (struct grpc_gcp_RpcProtocolVersions*)grpc_gcp_AltsContext_peer_rpc_versions(msg);
198   if (sub == NULL) {
199     sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions_msg_init, arena);
200     if (sub) grpc_gcp_AltsContext_set_peer_rpc_versions(msg, sub);
201   }
202   return sub;
203 }
grpc_gcp_AltsContext_peer_attributes_clear(grpc_gcp_AltsContext * msg)204 UPB_INLINE void grpc_gcp_AltsContext_peer_attributes_clear(grpc_gcp_AltsContext* msg) {
205   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
206   upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
207   if (!map) return;
208   _upb_Map_Clear(map);
209 }
grpc_gcp_AltsContext_peer_attributes_set(grpc_gcp_AltsContext * msg,upb_StringView key,upb_StringView val,upb_Arena * a)210 UPB_INLINE bool grpc_gcp_AltsContext_peer_attributes_set(grpc_gcp_AltsContext* msg, upb_StringView key, upb_StringView val, upb_Arena* a) {
211   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
212   upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
213                                                     &field, 0, 0, a);
214   return _upb_Map_Insert(map, &key, 0, &val, 0, a) !=
215          kUpb_MapInsertStatus_OutOfMemory;
216 }
grpc_gcp_AltsContext_peer_attributes_delete(grpc_gcp_AltsContext * msg,upb_StringView key)217 UPB_INLINE bool grpc_gcp_AltsContext_peer_attributes_delete(grpc_gcp_AltsContext* msg, upb_StringView key) {
218   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
219   upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
220   if (!map) return false;
221   return _upb_Map_Delete(map, &key, 0, NULL);
222 }
grpc_gcp_AltsContext_peer_attributes_nextmutable(grpc_gcp_AltsContext * msg,size_t * iter)223 UPB_INLINE grpc_gcp_AltsContext_PeerAttributesEntry* grpc_gcp_AltsContext_peer_attributes_nextmutable(grpc_gcp_AltsContext* msg, size_t* iter) {
224   const upb_MiniTableField field = {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
225   upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
226   if (!map) return NULL;
227   return (grpc_gcp_AltsContext_PeerAttributesEntry*)_upb_map_next(map, iter);
228 }
229 
230 /* grpc.gcp.AltsContext.PeerAttributesEntry */
231 
grpc_gcp_AltsContext_PeerAttributesEntry_key(const grpc_gcp_AltsContext_PeerAttributesEntry * msg)232 UPB_INLINE upb_StringView grpc_gcp_AltsContext_PeerAttributesEntry_key(const grpc_gcp_AltsContext_PeerAttributesEntry* msg) {
233   upb_StringView ret;
234   _upb_msg_map_key(msg, &ret, 0);
235   return ret;
236 }
grpc_gcp_AltsContext_PeerAttributesEntry_value(const grpc_gcp_AltsContext_PeerAttributesEntry * msg)237 UPB_INLINE upb_StringView grpc_gcp_AltsContext_PeerAttributesEntry_value(const grpc_gcp_AltsContext_PeerAttributesEntry* msg) {
238   upb_StringView ret;
239   _upb_msg_map_value(msg, &ret, 0);
240   return ret;
241 }
242 
grpc_gcp_AltsContext_PeerAttributesEntry_set_value(grpc_gcp_AltsContext_PeerAttributesEntry * msg,upb_StringView value)243 UPB_INLINE void grpc_gcp_AltsContext_PeerAttributesEntry_set_value(grpc_gcp_AltsContext_PeerAttributesEntry *msg, upb_StringView value) {
244   _upb_msg_map_set_value(msg, &value, 0);
245 }
246 
247 #ifdef __cplusplus
248 }  /* extern "C" */
249 #endif
250 
251 #include "upb/port/undef.inc"
252 
253 #endif  /* SRC_PROTO_GRPC_GCP_ALTSCONTEXT_PROTO_UPB_H_ */
254