|
|
|
@ -1638,8 +1638,12 @@ UPB_INLINE bool google_protobuf_FieldOptions_has_weak(const google_protobuf_Fiel |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_weak(const google_protobuf_FieldOptions* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(15, 15), bool); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_has_uninterpreted_option(const google_protobuf_FieldOptions *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 16)); } |
|
|
|
|
UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_FieldOptions_uninterpreted_option(const google_protobuf_FieldOptions *msg, size_t *len) { return (const google_protobuf_UninterpretedOption* const*)_upb_array_accessor(msg, UPB_SIZE(16, 16), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_has_unverified_lazy(const google_protobuf_FieldOptions *msg) { return _upb_hasbit(msg, 7); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_unverified_lazy(const google_protobuf_FieldOptions* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(16, 16), bool); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_has_uninterpreted_option(const google_protobuf_FieldOptions *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(20, 24)); } |
|
|
|
|
UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_FieldOptions_uninterpreted_option(const google_protobuf_FieldOptions *msg, size_t *len) { return (const google_protobuf_UninterpretedOption* const*)_upb_array_accessor(msg, UPB_SIZE(20, 24), len); } |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_ctype(google_protobuf_FieldOptions *msg, int32_t value) { |
|
|
|
|
_upb_sethas(msg, 1); |
|
|
|
@ -1665,16 +1669,20 @@ UPB_INLINE void google_protobuf_FieldOptions_set_weak(google_protobuf_FieldOptio |
|
|
|
|
_upb_sethas(msg, 6); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(15, 15), bool) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_unverified_lazy(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
_upb_sethas(msg, 7); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(16, 16), bool) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_mutable_uninterpreted_option(google_protobuf_FieldOptions *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_UninterpretedOption**)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 16), len); |
|
|
|
|
return (google_protobuf_UninterpretedOption**)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 24), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_resize_uninterpreted_option(google_protobuf_FieldOptions *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_UninterpretedOption**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(16, 16), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_UninterpretedOption**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(20, 24), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FieldOptions_add_uninterpreted_option(google_protobuf_FieldOptions *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(&google_protobuf_UninterpretedOption_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(16, 16), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(20, 24), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|