|
|
|
@ -248,28 +248,28 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_has_package(const google_pro |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_package(const google_protobuf_FileDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_StringView const* google_protobuf_FileDescriptorProto_dependency(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (upb_StringView const*)_upb_array_accessor(msg, UPB_SIZE(36, 72), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_message_type(const google_protobuf_FileDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(40, 80)); } |
|
|
|
|
UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_FileDescriptorProto_message_type(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (const google_protobuf_DescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(40, 80), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_enum_type(const google_protobuf_FileDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(44, 88)); } |
|
|
|
|
UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_FileDescriptorProto_enum_type(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (const google_protobuf_EnumDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(44, 88), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_service(const google_protobuf_FileDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(48, 96)); } |
|
|
|
|
UPB_INLINE const google_protobuf_ServiceDescriptorProto* const* google_protobuf_FileDescriptorProto_service(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (const google_protobuf_ServiceDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(48, 96), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_extension(const google_protobuf_FileDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(52, 104)); } |
|
|
|
|
UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_FileDescriptorProto_extension(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(52, 104), len); } |
|
|
|
|
UPB_INLINE upb_StringView const* google_protobuf_FileDescriptorProto_dependency(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (upb_StringView const*)_upb_array_accessor(msg, UPB_SIZE(20, 40), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_message_type(const google_protobuf_FileDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(24, 48)); } |
|
|
|
|
UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_FileDescriptorProto_message_type(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (const google_protobuf_DescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(24, 48), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_enum_type(const google_protobuf_FileDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(28, 56)); } |
|
|
|
|
UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_FileDescriptorProto_enum_type(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (const google_protobuf_EnumDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(28, 56), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_service(const google_protobuf_FileDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(32, 64)); } |
|
|
|
|
UPB_INLINE const google_protobuf_ServiceDescriptorProto* const* google_protobuf_FileDescriptorProto_service(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (const google_protobuf_ServiceDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(32, 64), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_extension(const google_protobuf_FileDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(36, 72)); } |
|
|
|
|
UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_FileDescriptorProto_extension(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(36, 72), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_options(const google_protobuf_FileDescriptorProto *msg) { return _upb_hasbit(msg, 3); } |
|
|
|
|
UPB_INLINE const google_protobuf_FileOptions* google_protobuf_FileDescriptorProto_options(const google_protobuf_FileDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(28, 56), const google_protobuf_FileOptions*); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(40, 80), const google_protobuf_FileOptions*); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_source_code_info(const google_protobuf_FileDescriptorProto *msg) { return _upb_hasbit(msg, 4); } |
|
|
|
|
UPB_INLINE const google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptorProto_source_code_info(const google_protobuf_FileDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(32, 64), const google_protobuf_SourceCodeInfo*); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(44, 88), const google_protobuf_SourceCodeInfo*); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_public_dependency(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(56, 112), len); } |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_weak_dependency(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(60, 120), len); } |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_public_dependency(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(48, 96), len); } |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_weak_dependency(const google_protobuf_FileDescriptorProto *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(52, 104), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_syntax(const google_protobuf_FileDescriptorProto *msg) { return _upb_hasbit(msg, 5); } |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_syntax(const google_protobuf_FileDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(20, 40), upb_StringView); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(56, 112), upb_StringView); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_name(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { |
|
|
|
@ -281,70 +281,70 @@ UPB_INLINE void google_protobuf_FileDescriptorProto_set_package(google_protobuf_ |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 24), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_mutable_dependency(google_protobuf_FileDescriptorProto *msg, size_t *len) { |
|
|
|
|
return (upb_StringView*)_upb_array_mutable_accessor(msg, UPB_SIZE(36, 72), len); |
|
|
|
|
return (upb_StringView*)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 40), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_resize_dependency(google_protobuf_FileDescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (upb_StringView*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(36, 72), len, UPB_SIZE(3, 4), arena); |
|
|
|
|
return (upb_StringView*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(20, 40), len, UPB_SIZE(3, 4), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_dependency(google_protobuf_FileDescriptorProto *msg, upb_StringView val, upb_Arena *arena) { |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(36, 72), UPB_SIZE(3, 4), &val, |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(20, 40), UPB_SIZE(3, 4), &val, |
|
|
|
|
arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_FileDescriptorProto_mutable_message_type(google_protobuf_FileDescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_DescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(40, 80), len); |
|
|
|
|
return (google_protobuf_DescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_FileDescriptorProto_resize_message_type(google_protobuf_FileDescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_DescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(40, 80), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_DescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(24, 48), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_FileDescriptorProto_add_message_type(google_protobuf_FileDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)_upb_Message_New(&google_protobuf_DescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(40, 80), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(24, 48), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorProto_mutable_enum_type(google_protobuf_FileDescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_EnumDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(44, 88), len); |
|
|
|
|
return (google_protobuf_EnumDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(28, 56), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorProto_resize_enum_type(google_protobuf_FileDescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_EnumDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(44, 88), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_EnumDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(28, 56), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_FileDescriptorProto_add_enum_type(google_protobuf_FileDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)_upb_Message_New(&google_protobuf_EnumDescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(44, 88), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(28, 56), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescriptorProto_mutable_service(google_protobuf_FileDescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_ServiceDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(48, 96), len); |
|
|
|
|
return (google_protobuf_ServiceDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(32, 64), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescriptorProto_resize_service(google_protobuf_FileDescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_ServiceDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(48, 96), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_ServiceDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(32, 64), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_ServiceDescriptorProto* google_protobuf_FileDescriptorProto_add_service(google_protobuf_FileDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_ServiceDescriptorProto* sub = (struct google_protobuf_ServiceDescriptorProto*)_upb_Message_New(&google_protobuf_ServiceDescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(48, 96), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(32, 64), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptorProto_mutable_extension(google_protobuf_FileDescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(52, 104), len); |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(36, 72), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptorProto_resize_extension(google_protobuf_FileDescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(52, 104), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(36, 72), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_FileDescriptorProto_add_extension(google_protobuf_FileDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google_protobuf_FieldDescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(52, 104), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(36, 72), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_options(google_protobuf_FileDescriptorProto *msg, google_protobuf_FileOptions* value) { |
|
|
|
|
_upb_sethas(msg, 3); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(28, 56), google_protobuf_FileOptions*) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(40, 80), google_protobuf_FileOptions*) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FileOptions* google_protobuf_FileDescriptorProto_mutable_options(google_protobuf_FileDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_FileOptions* sub = (struct google_protobuf_FileOptions*)google_protobuf_FileDescriptorProto_options(msg); |
|
|
|
@ -357,7 +357,7 @@ UPB_INLINE struct google_protobuf_FileOptions* google_protobuf_FileDescriptorPro |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_source_code_info(google_protobuf_FileDescriptorProto *msg, google_protobuf_SourceCodeInfo* value) { |
|
|
|
|
_upb_sethas(msg, 4); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(32, 64), google_protobuf_SourceCodeInfo*) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(44, 88), google_protobuf_SourceCodeInfo*) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptorProto_mutable_source_code_info(google_protobuf_FileDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_SourceCodeInfo* sub = (struct google_protobuf_SourceCodeInfo*)google_protobuf_FileDescriptorProto_source_code_info(msg); |
|
|
|
@ -369,28 +369,28 @@ UPB_INLINE struct google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptor |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_public_dependency(google_protobuf_FileDescriptorProto *msg, size_t *len) { |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(56, 112), len); |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(48, 96), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_resize_public_dependency(google_protobuf_FileDescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(56, 112), len, 2, arena); |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(48, 96), len, 2, arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_public_dependency(google_protobuf_FileDescriptorProto *msg, int32_t val, upb_Arena *arena) { |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(56, 112), 2, &val, |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(48, 96), 2, &val, |
|
|
|
|
arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_weak_dependency(google_protobuf_FileDescriptorProto *msg, size_t *len) { |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(60, 120), len); |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(52, 104), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_resize_weak_dependency(google_protobuf_FileDescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(60, 120), len, 2, arena); |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(52, 104), len, 2, arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_protobuf_FileDescriptorProto *msg, int32_t val, upb_Arena *arena) { |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(60, 120), 2, &val, |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(52, 104), 2, &val, |
|
|
|
|
arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
_upb_sethas(msg, 5); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(20, 40), upb_StringView) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(56, 112), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.DescriptorProto */ |
|
|
|
@ -428,19 +428,19 @@ UPB_INLINE bool google_protobuf_DescriptorProto_has_name(const google_protobuf_D |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_DescriptorProto_name(const google_protobuf_DescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_field(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 32)); } |
|
|
|
|
UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_DescriptorProto_field(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(16, 32), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_nested_type(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(20, 40)); } |
|
|
|
|
UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_DescriptorProto_nested_type(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_DescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(20, 40), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_enum_type(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(24, 48)); } |
|
|
|
|
UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_DescriptorProto_enum_type(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_EnumDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(24, 48), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_extension_range(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(28, 56)); } |
|
|
|
|
UPB_INLINE const google_protobuf_DescriptorProto_ExtensionRange* const* google_protobuf_DescriptorProto_extension_range(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_DescriptorProto_ExtensionRange* const*)_upb_array_accessor(msg, UPB_SIZE(28, 56), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_extension(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(32, 64)); } |
|
|
|
|
UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_DescriptorProto_extension(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(32, 64), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_field(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 24)); } |
|
|
|
|
UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_DescriptorProto_field(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(12, 24), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_nested_type(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 32)); } |
|
|
|
|
UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_DescriptorProto_nested_type(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_DescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(16, 32), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_enum_type(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(20, 40)); } |
|
|
|
|
UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_DescriptorProto_enum_type(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_EnumDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(20, 40), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_extension_range(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(24, 48)); } |
|
|
|
|
UPB_INLINE const google_protobuf_DescriptorProto_ExtensionRange* const* google_protobuf_DescriptorProto_extension_range(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_DescriptorProto_ExtensionRange* const*)_upb_array_accessor(msg, UPB_SIZE(24, 48), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_extension(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(28, 56)); } |
|
|
|
|
UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_DescriptorProto_extension(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_FieldDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(28, 56), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_options(const google_protobuf_DescriptorProto *msg) { return _upb_hasbit(msg, 2); } |
|
|
|
|
UPB_INLINE const google_protobuf_MessageOptions* google_protobuf_DescriptorProto_options(const google_protobuf_DescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), const google_protobuf_MessageOptions*); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(32, 64), const google_protobuf_MessageOptions*); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_DescriptorProto_has_oneof_decl(const google_protobuf_DescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(36, 72)); } |
|
|
|
|
UPB_INLINE const google_protobuf_OneofDescriptorProto* const* google_protobuf_DescriptorProto_oneof_decl(const google_protobuf_DescriptorProto *msg, size_t *len) { return (const google_protobuf_OneofDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(36, 72), len); } |
|
|
|
@ -453,73 +453,73 @@ UPB_INLINE void google_protobuf_DescriptorProto_set_name(google_protobuf_Descrip |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_field(google_protobuf_DescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 32), len); |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 24), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_resize_field(google_protobuf_DescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(16, 32), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(12, 24), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_DescriptorProto_add_field(google_protobuf_DescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google_protobuf_FieldDescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(16, 32), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(12, 24), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_DescriptorProto_mutable_nested_type(google_protobuf_DescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_DescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 40), len); |
|
|
|
|
return (google_protobuf_DescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 32), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_DescriptorProto_resize_nested_type(google_protobuf_DescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_DescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(20, 40), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_DescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(16, 32), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_add_nested_type(google_protobuf_DescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)_upb_Message_New(&google_protobuf_DescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(20, 40), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(16, 32), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_DescriptorProto_mutable_enum_type(google_protobuf_DescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_EnumDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len); |
|
|
|
|
return (google_protobuf_EnumDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 40), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_DescriptorProto_resize_enum_type(google_protobuf_DescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_EnumDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(24, 48), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_EnumDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(20, 40), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_DescriptorProto_add_enum_type(google_protobuf_DescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)_upb_Message_New(&google_protobuf_EnumDescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(24, 48), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(20, 40), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange** google_protobuf_DescriptorProto_mutable_extension_range(google_protobuf_DescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_DescriptorProto_ExtensionRange**)_upb_array_mutable_accessor(msg, UPB_SIZE(28, 56), len); |
|
|
|
|
return (google_protobuf_DescriptorProto_ExtensionRange**)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange** google_protobuf_DescriptorProto_resize_extension_range(google_protobuf_DescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_DescriptorProto_ExtensionRange**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(28, 56), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_DescriptorProto_ExtensionRange**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(24, 48), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_add_extension_range(google_protobuf_DescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_DescriptorProto_ExtensionRange* sub = (struct google_protobuf_DescriptorProto_ExtensionRange*)_upb_Message_New(&google_protobuf_DescriptorProto_ExtensionRange_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(28, 56), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(24, 48), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_extension(google_protobuf_DescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(32, 64), len); |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(28, 56), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_resize_extension(google_protobuf_DescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(32, 64), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_FieldDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(28, 56), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_DescriptorProto_add_extension(google_protobuf_DescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(&google_protobuf_FieldDescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(32, 64), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(28, 56), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_DescriptorProto_set_options(google_protobuf_DescriptorProto *msg, google_protobuf_MessageOptions* value) { |
|
|
|
|
_upb_sethas(msg, 2); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 24), google_protobuf_MessageOptions*) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(32, 64), google_protobuf_MessageOptions*) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_MessageOptions* google_protobuf_DescriptorProto_mutable_options(google_protobuf_DescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_MessageOptions* sub = (struct google_protobuf_MessageOptions*)google_protobuf_DescriptorProto_options(msg); |
|
|
|
@ -771,15 +771,15 @@ UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_extendee(const go |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_number(const google_protobuf_FieldDescriptorProto *msg) { return _upb_hasbit(msg, 3); } |
|
|
|
|
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_number(const google_protobuf_FieldDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 12), int32_t); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_label(const google_protobuf_FieldDescriptorProto *msg) { return _upb_hasbit(msg, 4); } |
|
|
|
|
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_label(const google_protobuf_FieldDescriptorProto* msg) { |
|
|
|
|
return google_protobuf_FieldDescriptorProto_has_label(msg) ? *UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t) : 1; |
|
|
|
|
return google_protobuf_FieldDescriptorProto_has_label(msg) ? *UPB_PTR_AT(msg, UPB_SIZE(8, 8), int32_t) : 1; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type(const google_protobuf_FieldDescriptorProto *msg) { return _upb_hasbit(msg, 5); } |
|
|
|
|
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_type(const google_protobuf_FieldDescriptorProto* msg) { |
|
|
|
|
return google_protobuf_FieldDescriptorProto_has_type(msg) ? *UPB_PTR_AT(msg, UPB_SIZE(8, 8), int32_t) : 1; |
|
|
|
|
return google_protobuf_FieldDescriptorProto_has_type(msg) ? *UPB_PTR_AT(msg, UPB_SIZE(12, 12), int32_t) : 1; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type_name(const google_protobuf_FieldDescriptorProto *msg) { return _upb_hasbit(msg, 6); } |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_type_name(const google_protobuf_FieldDescriptorProto* msg) { |
|
|
|
@ -791,7 +791,7 @@ UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_default_value(con |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_options(const google_protobuf_FieldDescriptorProto *msg) { return _upb_hasbit(msg, 8); } |
|
|
|
|
UPB_INLINE const google_protobuf_FieldOptions* google_protobuf_FieldDescriptorProto_options(const google_protobuf_FieldDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(64, 104), const google_protobuf_FieldOptions*); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(56, 88), const google_protobuf_FieldOptions*); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_oneof_index(const google_protobuf_FieldDescriptorProto *msg) { return _upb_hasbit(msg, 9); } |
|
|
|
|
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_oneof_index(const google_protobuf_FieldDescriptorProto* msg) { |
|
|
|
@ -799,7 +799,7 @@ UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_oneof_index(const google |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_json_name(const google_protobuf_FieldDescriptorProto *msg) { return _upb_hasbit(msg, 10); } |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_json_name(const google_protobuf_FieldDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(56, 88), upb_StringView); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(60, 96), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_proto3_optional(const google_protobuf_FieldDescriptorProto *msg) { return _upb_hasbit(msg, 11); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_proto3_optional(const google_protobuf_FieldDescriptorProto* msg) { |
|
|
|
@ -816,15 +816,15 @@ UPB_INLINE void google_protobuf_FieldDescriptorProto_set_extendee(google_protobu |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_number(google_protobuf_FieldDescriptorProto *msg, int32_t value) { |
|
|
|
|
_upb_sethas(msg, 3); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 12), int32_t) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_label(google_protobuf_FieldDescriptorProto *msg, int32_t value) { |
|
|
|
|
_upb_sethas(msg, 4); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), int32_t) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type(google_protobuf_FieldDescriptorProto *msg, int32_t value) { |
|
|
|
|
_upb_sethas(msg, 5); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), int32_t) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 12), int32_t) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
_upb_sethas(msg, 6); |
|
|
|
@ -836,7 +836,7 @@ UPB_INLINE void google_protobuf_FieldDescriptorProto_set_default_value(google_pr |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options(google_protobuf_FieldDescriptorProto *msg, google_protobuf_FieldOptions* value) { |
|
|
|
|
_upb_sethas(msg, 8); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(64, 104), google_protobuf_FieldOptions*) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(56, 88), google_protobuf_FieldOptions*) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FieldOptions* google_protobuf_FieldDescriptorProto_mutable_options(google_protobuf_FieldDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_FieldOptions* sub = (struct google_protobuf_FieldOptions*)google_protobuf_FieldDescriptorProto_options(msg); |
|
|
|
@ -853,7 +853,7 @@ UPB_INLINE void google_protobuf_FieldDescriptorProto_set_oneof_index(google_prot |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_json_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
_upb_sethas(msg, 10); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(56, 88), upb_StringView) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(60, 96), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_proto3_optional(google_protobuf_FieldDescriptorProto *msg, bool value) { |
|
|
|
|
_upb_sethas(msg, 11); |
|
|
|
@ -953,11 +953,11 @@ UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_name(const google_protob |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_EnumDescriptorProto_name(const google_protobuf_EnumDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_value(const google_protobuf_EnumDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 32)); } |
|
|
|
|
UPB_INLINE const google_protobuf_EnumValueDescriptorProto* const* google_protobuf_EnumDescriptorProto_value(const google_protobuf_EnumDescriptorProto *msg, size_t *len) { return (const google_protobuf_EnumValueDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(16, 32), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_value(const google_protobuf_EnumDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 24)); } |
|
|
|
|
UPB_INLINE const google_protobuf_EnumValueDescriptorProto* const* google_protobuf_EnumDescriptorProto_value(const google_protobuf_EnumDescriptorProto *msg, size_t *len) { return (const google_protobuf_EnumValueDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(12, 24), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_options(const google_protobuf_EnumDescriptorProto *msg) { return _upb_hasbit(msg, 2); } |
|
|
|
|
UPB_INLINE const google_protobuf_EnumOptions* google_protobuf_EnumDescriptorProto_options(const google_protobuf_EnumDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), const google_protobuf_EnumOptions*); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(16, 32), const google_protobuf_EnumOptions*); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_reserved_range(const google_protobuf_EnumDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(20, 40)); } |
|
|
|
|
UPB_INLINE const google_protobuf_EnumDescriptorProto_EnumReservedRange* const* google_protobuf_EnumDescriptorProto_reserved_range(const google_protobuf_EnumDescriptorProto *msg, size_t *len) { return (const google_protobuf_EnumDescriptorProto_EnumReservedRange* const*)_upb_array_accessor(msg, UPB_SIZE(20, 40), len); } |
|
|
|
@ -968,21 +968,21 @@ UPB_INLINE void google_protobuf_EnumDescriptorProto_set_name(google_protobuf_Enu |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_mutable_value(google_protobuf_EnumDescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_EnumValueDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 32), len); |
|
|
|
|
return (google_protobuf_EnumValueDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 24), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_resize_value(google_protobuf_EnumDescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_EnumValueDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(16, 32), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_EnumValueDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(12, 24), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumDescriptorProto_add_value(google_protobuf_EnumDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_EnumValueDescriptorProto* sub = (struct google_protobuf_EnumValueDescriptorProto*)_upb_Message_New(&google_protobuf_EnumValueDescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(16, 32), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(12, 24), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_options(google_protobuf_EnumDescriptorProto *msg, google_protobuf_EnumOptions* value) { |
|
|
|
|
_upb_sethas(msg, 2); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 24), google_protobuf_EnumOptions*) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(16, 32), google_protobuf_EnumOptions*) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_EnumOptions* google_protobuf_EnumDescriptorProto_mutable_options(google_protobuf_EnumDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_EnumOptions* sub = (struct google_protobuf_EnumOptions*)google_protobuf_EnumDescriptorProto_options(msg); |
|
|
|
@ -1167,11 +1167,11 @@ UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_name(const google_pro |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_ServiceDescriptorProto_name(const google_protobuf_ServiceDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_method(const google_protobuf_ServiceDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(16, 32)); } |
|
|
|
|
UPB_INLINE const google_protobuf_MethodDescriptorProto* const* google_protobuf_ServiceDescriptorProto_method(const google_protobuf_ServiceDescriptorProto *msg, size_t *len) { return (const google_protobuf_MethodDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(16, 32), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_method(const google_protobuf_ServiceDescriptorProto *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 24)); } |
|
|
|
|
UPB_INLINE const google_protobuf_MethodDescriptorProto* const* google_protobuf_ServiceDescriptorProto_method(const google_protobuf_ServiceDescriptorProto *msg, size_t *len) { return (const google_protobuf_MethodDescriptorProto* const*)_upb_array_accessor(msg, UPB_SIZE(12, 24), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_options(const google_protobuf_ServiceDescriptorProto *msg) { return _upb_hasbit(msg, 2); } |
|
|
|
|
UPB_INLINE const google_protobuf_ServiceOptions* google_protobuf_ServiceDescriptorProto_options(const google_protobuf_ServiceDescriptorProto* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), const google_protobuf_ServiceOptions*); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(16, 32), const google_protobuf_ServiceOptions*); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_name(google_protobuf_ServiceDescriptorProto *msg, upb_StringView value) { |
|
|
|
@ -1179,21 +1179,21 @@ UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_name(google_protobuf_ |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_MethodDescriptorProto** google_protobuf_ServiceDescriptorProto_mutable_method(google_protobuf_ServiceDescriptorProto *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_MethodDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 32), len); |
|
|
|
|
return (google_protobuf_MethodDescriptorProto**)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 24), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_MethodDescriptorProto** google_protobuf_ServiceDescriptorProto_resize_method(google_protobuf_ServiceDescriptorProto *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_MethodDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(16, 32), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_MethodDescriptorProto**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(12, 24), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_MethodDescriptorProto* google_protobuf_ServiceDescriptorProto_add_method(google_protobuf_ServiceDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_MethodDescriptorProto* sub = (struct google_protobuf_MethodDescriptorProto*)_upb_Message_New(&google_protobuf_MethodDescriptorProto_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(16, 32), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(12, 24), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_options(google_protobuf_ServiceDescriptorProto *msg, google_protobuf_ServiceOptions* value) { |
|
|
|
|
_upb_sethas(msg, 2); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 24), google_protobuf_ServiceOptions*) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(16, 32), google_protobuf_ServiceOptions*) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_ServiceOptions* google_protobuf_ServiceDescriptorProto_mutable_options(google_protobuf_ServiceDescriptorProto *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_ServiceOptions* sub = (struct google_protobuf_ServiceOptions*)google_protobuf_ServiceDescriptorProto_options(msg); |
|
|
|
@ -1620,27 +1620,27 @@ UPB_INLINE int32_t google_protobuf_FieldOptions_ctype(const google_protobuf_Fiel |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_has_packed(const google_protobuf_FieldOptions *msg) { return _upb_hasbit(msg, 2); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_packed(const google_protobuf_FieldOptions* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 12), bool); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), bool); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_has_deprecated(const google_protobuf_FieldOptions *msg) { return _upb_hasbit(msg, 3); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_deprecated(const google_protobuf_FieldOptions* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(13, 13), bool); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(9, 9), bool); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_has_lazy(const google_protobuf_FieldOptions *msg) { return _upb_hasbit(msg, 4); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_lazy(const google_protobuf_FieldOptions* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(14, 14), bool); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(10, 10), bool); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_has_jstype(const google_protobuf_FieldOptions *msg) { return _upb_hasbit(msg, 5); } |
|
|
|
|
UPB_INLINE int32_t google_protobuf_FieldOptions_jstype(const google_protobuf_FieldOptions* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), int32_t); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 12), int32_t); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_has_weak(const google_protobuf_FieldOptions *msg) { return _upb_hasbit(msg, 6); } |
|
|
|
|
UPB_INLINE bool google_protobuf_FieldOptions_weak(const google_protobuf_FieldOptions* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(15, 15), bool); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(16, 16), bool); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(17, 17), 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); } |
|
|
|
@ -1651,27 +1651,27 @@ UPB_INLINE void google_protobuf_FieldOptions_set_ctype(google_protobuf_FieldOpti |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_packed(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
_upb_sethas(msg, 2); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 12), bool) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), bool) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_deprecated(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
_upb_sethas(msg, 3); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(13, 13), bool) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(9, 9), bool) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_lazy(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
_upb_sethas(msg, 4); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(14, 14), bool) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(10, 10), bool) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_jstype(google_protobuf_FieldOptions *msg, int32_t value) { |
|
|
|
|
_upb_sethas(msg, 5); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), int32_t) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 12), int32_t) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_weak(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
_upb_sethas(msg, 6); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(15, 15), bool) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(16, 16), 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_PTR_AT(msg, UPB_SIZE(17, 17), 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(20, 24), len); |
|
|
|
@ -1944,33 +1944,33 @@ UPB_INLINE char* google_protobuf_MethodOptions_serialize_ex(const google_protobu |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_MethodOptions_has_deprecated(const google_protobuf_MethodOptions *msg) { return _upb_hasbit(msg, 1); } |
|
|
|
|
UPB_INLINE bool google_protobuf_MethodOptions_deprecated(const google_protobuf_MethodOptions* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), bool); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_MethodOptions_has_idempotency_level(const google_protobuf_MethodOptions *msg) { return _upb_hasbit(msg, 2); } |
|
|
|
|
UPB_INLINE int32_t google_protobuf_MethodOptions_idempotency_level(const google_protobuf_MethodOptions* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_MethodOptions_has_uninterpreted_option(const google_protobuf_MethodOptions *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(12, 16)); } |
|
|
|
|
UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_MethodOptions_uninterpreted_option(const google_protobuf_MethodOptions *msg, size_t *len) { return (const google_protobuf_UninterpretedOption* const*)_upb_array_accessor(msg, UPB_SIZE(12, 16), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_MethodOptions_has_uninterpreted_option(const google_protobuf_MethodOptions *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 8)); } |
|
|
|
|
UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_MethodOptions_uninterpreted_option(const google_protobuf_MethodOptions *msg, size_t *len) { return (const google_protobuf_UninterpretedOption* const*)_upb_array_accessor(msg, UPB_SIZE(8, 8), len); } |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_MethodOptions_set_deprecated(google_protobuf_MethodOptions *msg, bool value) { |
|
|
|
|
_upb_sethas(msg, 1); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), bool) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MethodOptions_set_idempotency_level(google_protobuf_MethodOptions *msg, int32_t value) { |
|
|
|
|
_upb_sethas(msg, 2); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MethodOptions_mutable_uninterpreted_option(google_protobuf_MethodOptions *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_UninterpretedOption**)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 16), len); |
|
|
|
|
return (google_protobuf_UninterpretedOption**)_upb_array_mutable_accessor(msg, UPB_SIZE(8, 8), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MethodOptions_resize_uninterpreted_option(google_protobuf_MethodOptions *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_UninterpretedOption**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(12, 16), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_UninterpretedOption**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(8, 8), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_MethodOptions_add_uninterpreted_option(google_protobuf_MethodOptions *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(12, 16), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(8, 8), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
@ -2006,69 +2006,69 @@ UPB_INLINE char* google_protobuf_UninterpretedOption_serialize_ex(const google_p |
|
|
|
|
upb_Arena* arena, size_t* len) { |
|
|
|
|
return upb_Encode(msg, &google_protobuf_UninterpretedOption_msginit, options, arena, len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_name(const google_protobuf_UninterpretedOption *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(56, 80)); } |
|
|
|
|
UPB_INLINE const google_protobuf_UninterpretedOption_NamePart* const* google_protobuf_UninterpretedOption_name(const google_protobuf_UninterpretedOption *msg, size_t *len) { return (const google_protobuf_UninterpretedOption_NamePart* const*)_upb_array_accessor(msg, UPB_SIZE(56, 80), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_name(const google_protobuf_UninterpretedOption *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(4, 8)); } |
|
|
|
|
UPB_INLINE const google_protobuf_UninterpretedOption_NamePart* const* google_protobuf_UninterpretedOption_name(const google_protobuf_UninterpretedOption *msg, size_t *len) { return (const google_protobuf_UninterpretedOption_NamePart* const*)_upb_array_accessor(msg, UPB_SIZE(4, 8), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_identifier_value(const google_protobuf_UninterpretedOption *msg) { return _upb_hasbit(msg, 1); } |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_identifier_value(const google_protobuf_UninterpretedOption* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(32, 32), upb_StringView); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_positive_int_value(const google_protobuf_UninterpretedOption *msg) { return _upb_hasbit(msg, 2); } |
|
|
|
|
UPB_INLINE uint64_t google_protobuf_UninterpretedOption_positive_int_value(const google_protobuf_UninterpretedOption* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint64_t); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(32, 64), uint64_t); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_negative_int_value(const google_protobuf_UninterpretedOption *msg) { return _upb_hasbit(msg, 3); } |
|
|
|
|
UPB_INLINE int64_t google_protobuf_UninterpretedOption_negative_int_value(const google_protobuf_UninterpretedOption* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(16, 16), int64_t); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(40, 72), int64_t); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_double_value(const google_protobuf_UninterpretedOption *msg) { return _upb_hasbit(msg, 4); } |
|
|
|
|
UPB_INLINE double google_protobuf_UninterpretedOption_double_value(const google_protobuf_UninterpretedOption* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(24, 24), double); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(48, 80), double); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_string_value(const google_protobuf_UninterpretedOption *msg) { return _upb_hasbit(msg, 5); } |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_string_value(const google_protobuf_UninterpretedOption* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(40, 48), upb_StringView); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(16, 32), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_aggregate_value(const google_protobuf_UninterpretedOption *msg) { return _upb_hasbit(msg, 6); } |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_aggregate_value(const google_protobuf_UninterpretedOption* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(48, 64), upb_StringView); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(24, 48), upb_StringView); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_UninterpretedOption_mutable_name(google_protobuf_UninterpretedOption *msg, size_t *len) { |
|
|
|
|
return (google_protobuf_UninterpretedOption_NamePart**)_upb_array_mutable_accessor(msg, UPB_SIZE(56, 80), len); |
|
|
|
|
return (google_protobuf_UninterpretedOption_NamePart**)_upb_array_mutable_accessor(msg, UPB_SIZE(4, 8), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_UninterpretedOption_resize_name(google_protobuf_UninterpretedOption *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (google_protobuf_UninterpretedOption_NamePart**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(56, 80), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
return (google_protobuf_UninterpretedOption_NamePart**)_upb_Array_Resize_accessor2(msg, UPB_SIZE(4, 8), len, UPB_SIZE(2, 3), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_add_name(google_protobuf_UninterpretedOption *msg, upb_Arena *arena) { |
|
|
|
|
struct google_protobuf_UninterpretedOption_NamePart* sub = (struct google_protobuf_UninterpretedOption_NamePart*)_upb_Message_New(&google_protobuf_UninterpretedOption_NamePart_msginit, arena); |
|
|
|
|
bool ok = _upb_Array_Append_accessor2( |
|
|
|
|
msg, UPB_SIZE(56, 80), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
msg, UPB_SIZE(4, 8), UPB_SIZE(2, 3), &sub, arena); |
|
|
|
|
if (!ok) return NULL; |
|
|
|
|
return sub; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_identifier_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { |
|
|
|
|
_upb_sethas(msg, 1); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(32, 32), upb_StringView) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(8, 16), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_positive_int_value(google_protobuf_UninterpretedOption *msg, uint64_t value) { |
|
|
|
|
_upb_sethas(msg, 2); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), uint64_t) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(32, 64), uint64_t) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_negative_int_value(google_protobuf_UninterpretedOption *msg, int64_t value) { |
|
|
|
|
_upb_sethas(msg, 3); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(16, 16), int64_t) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(40, 72), int64_t) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_double_value(google_protobuf_UninterpretedOption *msg, double value) { |
|
|
|
|
_upb_sethas(msg, 4); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(24, 24), double) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(48, 80), double) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_string_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { |
|
|
|
|
_upb_sethas(msg, 5); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(40, 48), upb_StringView) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(16, 32), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_aggregate_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { |
|
|
|
|
_upb_sethas(msg, 6); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(48, 64), upb_StringView) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(24, 48), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.UninterpretedOption.NamePart */ |
|
|
|
@ -2199,45 +2199,45 @@ UPB_INLINE char* google_protobuf_SourceCodeInfo_Location_serialize_ex(const goog |
|
|
|
|
upb_Arena* arena, size_t* len) { |
|
|
|
|
return upb_Encode(msg, &google_protobuf_SourceCodeInfo_Location_msginit, options, arena, len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_path(const google_protobuf_SourceCodeInfo_Location *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(20, 40), len); } |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_span(const google_protobuf_SourceCodeInfo_Location *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(24, 48), len); } |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_path(const google_protobuf_SourceCodeInfo_Location *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(4, 8), len); } |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_span(const google_protobuf_SourceCodeInfo_Location *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(8, 16), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_leading_comments(const google_protobuf_SourceCodeInfo_Location *msg) { return _upb_hasbit(msg, 1); } |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_SourceCodeInfo_Location_leading_comments(const google_protobuf_SourceCodeInfo_Location* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_StringView); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_trailing_comments(const google_protobuf_SourceCodeInfo_Location *msg) { return _upb_hasbit(msg, 2); } |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_SourceCodeInfo_Location_trailing_comments(const google_protobuf_SourceCodeInfo_Location* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 24), upb_StringView); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(20, 40), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_StringView const* google_protobuf_SourceCodeInfo_Location_leading_detached_comments(const google_protobuf_SourceCodeInfo_Location *msg, size_t *len) { return (upb_StringView const*)_upb_array_accessor(msg, UPB_SIZE(28, 56), len); } |
|
|
|
|
|
|
|
|
|
UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_path(google_protobuf_SourceCodeInfo_Location *msg, size_t *len) { |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 40), len); |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(4, 8), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_resize_path(google_protobuf_SourceCodeInfo_Location *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(20, 40), len, 2, arena); |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(4, 8), len, 2, arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_path(google_protobuf_SourceCodeInfo_Location *msg, int32_t val, upb_Arena *arena) { |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(20, 40), 2, &val, |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(4, 8), 2, &val, |
|
|
|
|
arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_span(google_protobuf_SourceCodeInfo_Location *msg, size_t *len) { |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(24, 48), len); |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(8, 16), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_resize_span(google_protobuf_SourceCodeInfo_Location *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(24, 48), len, 2, arena); |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(8, 16), len, 2, arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_span(google_protobuf_SourceCodeInfo_Location *msg, int32_t val, upb_Arena *arena) { |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(24, 48), 2, &val, |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(8, 16), 2, &val, |
|
|
|
|
arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_leading_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) { |
|
|
|
|
_upb_sethas(msg, 1); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), upb_StringView) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 24), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_trailing_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) { |
|
|
|
|
_upb_sethas(msg, 2); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 24), upb_StringView) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(20, 40), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_StringView* google_protobuf_SourceCodeInfo_Location_mutable_leading_detached_comments(google_protobuf_SourceCodeInfo_Location *msg, size_t *len) { |
|
|
|
|
return (upb_StringView*)_upb_array_mutable_accessor(msg, UPB_SIZE(28, 56), len); |
|
|
|
@ -2329,10 +2329,10 @@ UPB_INLINE char* google_protobuf_GeneratedCodeInfo_Annotation_serialize_ex(const |
|
|
|
|
upb_Arena* arena, size_t* len) { |
|
|
|
|
return upb_Encode(msg, &google_protobuf_GeneratedCodeInfo_Annotation_msginit, options, arena, len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_GeneratedCodeInfo_Annotation_path(const google_protobuf_GeneratedCodeInfo_Annotation *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(20, 32), len); } |
|
|
|
|
UPB_INLINE int32_t const* google_protobuf_GeneratedCodeInfo_Annotation_path(const google_protobuf_GeneratedCodeInfo_Annotation *msg, size_t *len) { return (int32_t const*)_upb_array_accessor(msg, UPB_SIZE(12, 16), len); } |
|
|
|
|
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_source_file(const google_protobuf_GeneratedCodeInfo_Annotation *msg) { return _upb_hasbit(msg, 1); } |
|
|
|
|
UPB_INLINE upb_StringView google_protobuf_GeneratedCodeInfo_Annotation_source_file(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(12, 16), upb_StringView); |
|
|
|
|
return *UPB_PTR_AT(msg, UPB_SIZE(16, 24), upb_StringView); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_begin(const google_protobuf_GeneratedCodeInfo_Annotation *msg) { return _upb_hasbit(msg, 2); } |
|
|
|
|
UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_begin(const google_protobuf_GeneratedCodeInfo_Annotation* msg) { |
|
|
|
@ -2344,18 +2344,18 @@ UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_end(const google |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_mutable_path(google_protobuf_GeneratedCodeInfo_Annotation *msg, size_t *len) { |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(20, 32), len); |
|
|
|
|
return (int32_t*)_upb_array_mutable_accessor(msg, UPB_SIZE(12, 16), len); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_resize_path(google_protobuf_GeneratedCodeInfo_Annotation *msg, size_t len, upb_Arena *arena) { |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(20, 32), len, 2, arena); |
|
|
|
|
return (int32_t*)_upb_Array_Resize_accessor2(msg, UPB_SIZE(12, 16), len, 2, arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_add_path(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t val, upb_Arena *arena) { |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(20, 32), 2, &val, |
|
|
|
|
return _upb_Array_Append_accessor2(msg, UPB_SIZE(12, 16), 2, &val, |
|
|
|
|
arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_source_file(google_protobuf_GeneratedCodeInfo_Annotation *msg, upb_StringView value) { |
|
|
|
|
_upb_sethas(msg, 1); |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(12, 16), upb_StringView) = value; |
|
|
|
|
*UPB_PTR_AT(msg, UPB_SIZE(16, 24), upb_StringView) = value; |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_begin(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { |
|
|
|
|
_upb_sethas(msg, 2); |
|
|
|
|