@ -174,12 +174,12 @@ UPB_INLINE google_protobuf_FileDescriptorProto** google_protobuf_FileDescriptorS
return ( google_protobuf_FileDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len ) ;
}
UPB_INLINE google_protobuf_FileDescriptorProto * * google_protobuf_FileDescriptorSet_resize_file ( google_protobuf_FileDescriptorSet * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_FileDescriptorProto * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_FileDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_FileDescriptorProto * google_protobuf_FileDescriptorSet_add_file ( google_protobuf_FileDescriptorSet * msg , upb_arena * arena ) {
struct google_protobuf_FileDescriptorProto * sub = ( struct google_protobuf_FileDescriptorProto * ) _upb_msg_new ( & google_protobuf_FileDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -232,22 +232,22 @@ UPB_INLINE upb_strview* google_protobuf_FileDescriptorProto_mutable_dependency(g
return ( upb_strview * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 36 , 72 ) , len ) ;
}
UPB_INLINE upb_strview * google_protobuf_FileDescriptorProto_resize_dependency ( google_protobuf_FileDescriptorProto * msg , size_t len , upb_arena * arena ) {
return ( upb_strview * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 36 , 72 ) , len , UPB_SIZE ( 3 , 4 ) , arena ) ;
return ( upb_strview * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 36 , 72 ) , len , UPB_SIZE ( 3 , 4 ) , arena ) ;
}
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_dependency ( google_protobuf_FileDescriptorProto * msg , upb_strview val , upb_arena * arena ) {
return _upb_array_append_accessor ( msg , UPB_SIZE ( 36 , 72 ) , UPB_SIZE ( 8 , 16 ) , UPB_SIZE ( 3 , 4 ) , & val ,
return _upb_array_append_accessor2 ( msg , UPB_SIZE ( 36 , 72 ) , 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 ) ;
}
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_accessor ( msg , UPB_SIZE ( 40 , 80 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_DescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 40 , 80 ) , 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_msg_new ( & google_protobuf_DescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 40 , 80 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 40 , 80 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -255,12 +255,12 @@ UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorP
return ( google_protobuf_EnumDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 44 , 88 ) , 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_accessor ( msg , UPB_SIZE ( 44 , 88 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_EnumDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 44 , 88 ) , 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_msg_new ( & google_protobuf_EnumDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 44 , 88 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 44 , 88 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -268,12 +268,12 @@ UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescript
return ( google_protobuf_ServiceDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 48 , 96 ) , 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_accessor ( msg , UPB_SIZE ( 48 , 96 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_ServiceDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 48 , 96 ) , 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_msg_new ( & google_protobuf_ServiceDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 48 , 96 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 48 , 96 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -281,12 +281,12 @@ UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptor
return ( google_protobuf_FieldDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 52 , 104 ) , 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_accessor ( msg , UPB_SIZE ( 52 , 104 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_FieldDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 52 , 104 ) , 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_msg_new ( & google_protobuf_FieldDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 52 , 104 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 52 , 104 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -320,20 +320,20 @@ UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_public_dependenc
return ( int32_t * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 56 , 112 ) , 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_accessor ( msg , UPB_SIZE ( 56 , 112 ) , len , 2 , arena ) ;
return ( int32_t * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 56 , 112 ) , 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_accessor ( msg , UPB_SIZE ( 56 , 112 ) , UPB_SIZE ( 4 , 4 ) , 2 , & val ,
return _upb_array_append_accessor2 ( msg , UPB_SIZE ( 56 , 112 ) , 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 ) ;
}
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_accessor ( msg , UPB_SIZE ( 60 , 120 ) , len , 2 , arena ) ;
return ( int32_t * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 60 , 120 ) , 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_accessor ( msg , UPB_SIZE ( 60 , 120 ) , UPB_SIZE ( 4 , 4 ) , 2 , & val ,
return _upb_array_append_accessor2 ( msg , UPB_SIZE ( 60 , 120 ) , 2 , & val ,
arena ) ;
}
UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax ( google_protobuf_FileDescriptorProto * msg , upb_strview value ) {
@ -383,12 +383,12 @@ UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProt
return ( google_protobuf_FieldDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 16 , 32 ) , 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_accessor ( msg , UPB_SIZE ( 16 , 32 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_FieldDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 16 , 32 ) , 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_msg_new ( & google_protobuf_FieldDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 16 , 32 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 16 , 32 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -396,12 +396,12 @@ UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_DescriptorProto_mut
return ( google_protobuf_DescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 20 , 40 ) , 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_accessor ( msg , UPB_SIZE ( 20 , 40 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_DescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 20 , 40 ) , 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_msg_new ( & google_protobuf_DescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 20 , 40 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 20 , 40 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -409,12 +409,12 @@ UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_DescriptorProto
return ( google_protobuf_EnumDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 24 , 48 ) , 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_accessor ( msg , UPB_SIZE ( 24 , 48 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_EnumDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 24 , 48 ) , 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_msg_new ( & google_protobuf_EnumDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 24 , 48 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 24 , 48 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -422,12 +422,12 @@ UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange** google_protobuf_Desc
return ( google_protobuf_DescriptorProto_ExtensionRange * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 28 , 56 ) , 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_accessor ( msg , UPB_SIZE ( 28 , 56 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_DescriptorProto_ExtensionRange * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 28 , 56 ) , 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_msg_new ( & google_protobuf_DescriptorProto_ExtensionRange_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 28 , 56 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 28 , 56 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -435,12 +435,12 @@ UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProt
return ( google_protobuf_FieldDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 32 , 64 ) , 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_accessor ( msg , UPB_SIZE ( 32 , 64 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_FieldDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 32 , 64 ) , 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_msg_new ( & google_protobuf_FieldDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 32 , 64 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 32 , 64 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -461,12 +461,12 @@ UPB_INLINE google_protobuf_OneofDescriptorProto** google_protobuf_DescriptorProt
return ( google_protobuf_OneofDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 36 , 72 ) , len ) ;
}
UPB_INLINE google_protobuf_OneofDescriptorProto * * google_protobuf_DescriptorProto_resize_oneof_decl ( google_protobuf_DescriptorProto * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_OneofDescriptorProto * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 36 , 72 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_OneofDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 36 , 72 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_OneofDescriptorProto * google_protobuf_DescriptorProto_add_oneof_decl ( google_protobuf_DescriptorProto * msg , upb_arena * arena ) {
struct google_protobuf_OneofDescriptorProto * sub = ( struct google_protobuf_OneofDescriptorProto * ) _upb_msg_new ( & google_protobuf_OneofDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 36 , 72 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 36 , 72 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -474,12 +474,12 @@ UPB_INLINE google_protobuf_DescriptorProto_ReservedRange** google_protobuf_Descr
return ( google_protobuf_DescriptorProto_ReservedRange * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 40 , 80 ) , len ) ;
}
UPB_INLINE google_protobuf_DescriptorProto_ReservedRange * * google_protobuf_DescriptorProto_resize_reserved_range ( google_protobuf_DescriptorProto * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_DescriptorProto_ReservedRange * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 40 , 80 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_DescriptorProto_ReservedRange * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 40 , 80 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_DescriptorProto_ReservedRange * google_protobuf_DescriptorProto_add_reserved_range ( google_protobuf_DescriptorProto * msg , upb_arena * arena ) {
struct google_protobuf_DescriptorProto_ReservedRange * sub = ( struct google_protobuf_DescriptorProto_ReservedRange * ) _upb_msg_new ( & google_protobuf_DescriptorProto_ReservedRange_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 40 , 80 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 40 , 80 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -487,10 +487,10 @@ UPB_INLINE upb_strview* google_protobuf_DescriptorProto_mutable_reserved_name(go
return ( upb_strview * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 44 , 88 ) , len ) ;
}
UPB_INLINE upb_strview * google_protobuf_DescriptorProto_resize_reserved_name ( google_protobuf_DescriptorProto * msg , size_t len , upb_arena * arena ) {
return ( upb_strview * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 44 , 88 ) , len , UPB_SIZE ( 3 , 4 ) , arena ) ;
return ( upb_strview * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 44 , 88 ) , len , UPB_SIZE ( 3 , 4 ) , arena ) ;
}
UPB_INLINE bool google_protobuf_DescriptorProto_add_reserved_name ( google_protobuf_DescriptorProto * msg , upb_strview val , upb_arena * arena ) {
return _upb_array_append_accessor ( msg , UPB_SIZE ( 44 , 88 ) , UPB_SIZE ( 8 , 16 ) , UPB_SIZE ( 3 , 4 ) , & val ,
return _upb_array_append_accessor2 ( msg , UPB_SIZE ( 44 , 88 ) , UPB_SIZE ( 3 , 4 ) , & val ,
arena ) ;
}
@ -586,12 +586,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ExtensionRangeO
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len ) ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_ExtensionRangeOptions_resize_uninterpreted_option ( google_protobuf_ExtensionRangeOptions * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_ExtensionRangeOptions_add_uninterpreted_option ( google_protobuf_ExtensionRangeOptions * msg , upb_arena * arena ) {
struct google_protobuf_UninterpretedOption * sub = ( struct google_protobuf_UninterpretedOption * ) _upb_msg_new ( & google_protobuf_UninterpretedOption_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -611,59 +611,59 @@ UPB_INLINE char *google_protobuf_FieldDescriptorProto_serialize(const google_pro
}
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_name ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 6 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_name ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 36 , 40 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_name ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_extendee ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 7 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_extendee ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 44 , 56 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_extendee ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 32 , 40 ) , upb_strview ) ; }
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 ( 24 , 24 ) , int32_t ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_number ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 1 2, 1 2) , int32_t ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_label ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_label ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_label ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 2 ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_type ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , int32_t ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_type ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type_name ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 8 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_type_name ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 52 , 72 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_type_name ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 40 , 56 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_default_value ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 9 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_default_value ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 60 , 88 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_default_value ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 48 , 72 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_options ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 11 ) ; }
UPB_INLINE const google_protobuf_FieldOptions * google_protobuf_FieldDescriptorProto_options ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 7 6, 12 0 ) , const google_protobuf_FieldOptions * ) ; }
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 * ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_oneof_index ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 4 ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_oneof_index ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 28 , 28 ) , int32_t ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_oneof_index ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_json_name ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 10 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_json_name ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 68 , 104 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_json_name ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 56 , 88 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_proto3_optional ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_hasbit ( msg , 5 ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_proto3_optional ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 3 2, 3 2) , bool ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_proto3_optional ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 20 ) , bool ) ; }
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_name ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 6 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 36 , 40 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_extendee ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 7 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 44 , 56 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 32 , 40 ) , upb_strview ) = value ;
}
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 ( 24 , 24 ) , int32_t ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 1 2, 1 2) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_label ( google_protobuf_FieldDescriptorProto * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type ( google_protobuf_FieldDescriptorProto * msg , int32_t value ) {
_upb_sethas ( msg , 2 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , int32_t ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type_name ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 8 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 52 , 72 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 40 , 56 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_default_value ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 9 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 60 , 88 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 48 , 72 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options ( google_protobuf_FieldDescriptorProto * msg , google_protobuf_FieldOptions * value ) {
_upb_sethas ( msg , 11 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 7 6, 12 0 ) , google_protobuf_FieldOptions * ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 64 , 104 ) , 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 ) ;
@ -676,15 +676,15 @@ UPB_INLINE struct google_protobuf_FieldOptions* google_protobuf_FieldDescriptorP
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_oneof_index ( google_protobuf_FieldDescriptorProto * msg , int32_t value ) {
_upb_sethas ( msg , 4 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 28 , 28 ) , int32_t ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_json_name ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 10 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 68 , 104 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 56 , 88 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_proto3_optional ( google_protobuf_FieldDescriptorProto * msg , bool value ) {
_upb_sethas ( msg , 5 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 3 2, 3 2) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 20 ) , bool ) = value ;
}
/* google.protobuf.OneofDescriptorProto */
@ -756,12 +756,12 @@ UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescri
return ( google_protobuf_EnumValueDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 16 , 32 ) , 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_accessor ( msg , UPB_SIZE ( 16 , 32 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_EnumValueDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 16 , 32 ) , 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_msg_new ( & google_protobuf_EnumValueDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 16 , 32 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 16 , 32 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -782,12 +782,12 @@ UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange** google_protob
return ( google_protobuf_EnumDescriptorProto_EnumReservedRange * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 20 , 40 ) , len ) ;
}
UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange * * google_protobuf_EnumDescriptorProto_resize_reserved_range ( google_protobuf_EnumDescriptorProto * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_EnumDescriptorProto_EnumReservedRange * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 20 , 40 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_EnumDescriptorProto_EnumReservedRange * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 20 , 40 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_EnumDescriptorProto_EnumReservedRange * google_protobuf_EnumDescriptorProto_add_reserved_range ( google_protobuf_EnumDescriptorProto * msg , upb_arena * arena ) {
struct google_protobuf_EnumDescriptorProto_EnumReservedRange * sub = ( struct google_protobuf_EnumDescriptorProto_EnumReservedRange * ) _upb_msg_new ( & google_protobuf_EnumDescriptorProto_EnumReservedRange_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 20 , 40 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 20 , 40 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -795,10 +795,10 @@ UPB_INLINE upb_strview* google_protobuf_EnumDescriptorProto_mutable_reserved_nam
return ( upb_strview * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 24 , 48 ) , len ) ;
}
UPB_INLINE upb_strview * google_protobuf_EnumDescriptorProto_resize_reserved_name ( google_protobuf_EnumDescriptorProto * msg , size_t len , upb_arena * arena ) {
return ( upb_strview * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 24 , 48 ) , len , UPB_SIZE ( 3 , 4 ) , arena ) ;
return ( upb_strview * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 24 , 48 ) , len , UPB_SIZE ( 3 , 4 ) , arena ) ;
}
UPB_INLINE bool google_protobuf_EnumDescriptorProto_add_reserved_name ( google_protobuf_EnumDescriptorProto * msg , upb_strview val , upb_arena * arena ) {
return _upb_array_append_accessor ( msg , UPB_SIZE ( 24 , 48 ) , UPB_SIZE ( 8 , 16 ) , UPB_SIZE ( 3 , 4 ) , & val ,
return _upb_array_append_accessor2 ( msg , UPB_SIZE ( 24 , 48 ) , UPB_SIZE ( 3 , 4 ) , & val ,
arena ) ;
}
@ -902,12 +902,12 @@ UPB_INLINE google_protobuf_MethodDescriptorProto** google_protobuf_ServiceDescri
return ( google_protobuf_MethodDescriptorProto * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 16 , 32 ) , 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_accessor ( msg , UPB_SIZE ( 16 , 32 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_MethodDescriptorProto * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 16 , 32 ) , 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_msg_new ( & google_protobuf_MethodDescriptorProto_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 16 , 32 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 16 , 32 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1001,138 +1001,138 @@ UPB_INLINE char *google_protobuf_FileOptions_serialize(const google_protobuf_Fil
}
UPB_INLINE bool google_protobuf_FileOptions_has_java_package ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 11 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_java_package ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 28 , 32 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_java_package ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 24 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_java_outer_classname ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 12 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_java_outer_classname ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 36 , 48 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_java_outer_classname ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 28 , 40 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_optimize_for ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_FileOptions_optimize_for ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) ; }
UPB_INLINE int32_t google_protobuf_FileOptions_optimize_for ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_java_multiple_files ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 2 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_multiple_files ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_multiple_files ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_go_package ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 13 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_go_package ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 44 , 64 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_go_package ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 36 , 56 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_cc_generic_services ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 3 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_cc_generic_services ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 17 , 17 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_cc_generic_services ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 9 , 9 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_java_generic_services ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 4 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_generic_services ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 18 , 18 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_generic_services ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 10 , 10 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_py_generic_services ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 5 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_py_generic_services ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 19 , 19 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_py_generic_services ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 11 , 11 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_java_generate_equals_and_hash ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 6 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_generate_equals_and_hash ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 20 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_generate_equals_and_hash ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 1 2, 1 2) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_deprecated ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 7 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_deprecated ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 2 1, 2 1) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_deprecated ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 13 , 13 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_java_string_check_utf8 ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 8 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_string_check_utf8 ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 22 , 22 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_string_check_utf8 ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 14 , 14 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_cc_enable_arenas ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 9 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_cc_enable_arenas ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 23 , 23 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_cc_enable_arenas ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 15 , 15 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_objc_class_prefix ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 14 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_objc_class_prefix ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 52 , 80 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_objc_class_prefix ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 44 , 72 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_csharp_namespace ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 15 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_csharp_namespace ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 60 , 96 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_csharp_namespace ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 52 , 88 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_swift_prefix ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 16 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_swift_prefix ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 68 , 112 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_swift_prefix ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 60 , 104 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_php_class_prefix ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 17 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_class_prefix ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 7 6, 128 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_class_prefix ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 68 , 120 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_php_namespace ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 18 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_namespace ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 84 , 144 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_namespace ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 76 , 136 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_php_generic_services ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 10 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_php_generic_services ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_php_generic_services ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_php_metadata_namespace ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 19 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_metadata_namespace ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 92 , 160 ) , upb_strview ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_metadata_namespace ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 84 , 152 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_ruby_package ( const google_protobuf_FileOptions * msg ) { return _upb_hasbit ( msg , 20 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_ruby_package ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 100 , 17 6 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_uninterpreted_option ( const google_protobuf_FileOptions * msg ) { return _upb_has_submsg_nohasbit ( msg , UPB_SIZE ( 108 , 192 ) ) ; }
UPB_INLINE const google_protobuf_UninterpretedOption * const * google_protobuf_FileOptions_uninterpreted_option ( const google_protobuf_FileOptions * msg , size_t * len ) { return ( const google_protobuf_UninterpretedOption * const * ) _upb_array_accessor ( msg , UPB_SIZE ( 108 , 192 ) , len ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_ruby_package ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 92 , 168 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_uninterpreted_option ( const google_protobuf_FileOptions * msg ) { return _upb_has_submsg_nohasbit ( msg , UPB_SIZE ( 100 , 184 ) ) ; }
UPB_INLINE const google_protobuf_UninterpretedOption * const * google_protobuf_FileOptions_uninterpreted_option ( const google_protobuf_FileOptions * msg , size_t * len ) { return ( const google_protobuf_UninterpretedOption * const * ) _upb_array_accessor ( msg , UPB_SIZE ( 100 , 184 ) , len ) ; }
UPB_INLINE void google_protobuf_FileOptions_set_java_package ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 11 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 28 , 32 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 24 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_java_outer_classname ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 12 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 36 , 48 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 28 , 40 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_optimize_for ( google_protobuf_FileOptions * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_java_multiple_files ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 2 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_go_package ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 13 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 44 , 64 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 36 , 56 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_cc_generic_services ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 3 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 17 , 17 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 9 , 9 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_java_generic_services ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 4 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 18 , 18 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 10 , 10 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_py_generic_services ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 5 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 19 , 19 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 11 , 11 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_java_generate_equals_and_hash ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 6 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 20 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 1 2, 1 2) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_deprecated ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 7 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 2 1, 2 1) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 13 , 13 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_java_string_check_utf8 ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 8 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 22 , 22 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 14 , 14 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_cc_enable_arenas ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 9 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 23 , 23 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 15 , 15 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_objc_class_prefix ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 14 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 52 , 80 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 44 , 72 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_csharp_namespace ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 15 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 60 , 96 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 52 , 88 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_swift_prefix ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 16 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 68 , 112 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 60 , 104 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_php_class_prefix ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 17 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 7 6, 128 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 68 , 120 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_php_namespace ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 18 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 84 , 144 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 76 , 136 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_php_generic_services ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 10 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_php_metadata_namespace ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 19 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 92 , 160 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 84 , 152 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_ruby_package ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 20 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 100 , 17 6 ) , upb_strview ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 92 , 168 ) , upb_strview ) = value ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_FileOptions_mutable_uninterpreted_option ( google_protobuf_FileOptions * msg , size_t * len ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 108 , 192 ) , len ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 100 , 184 ) , len ) ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_FileOptions_resize_uninterpreted_option ( google_protobuf_FileOptions * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 108 , 192 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 100 , 184 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_FileOptions_add_uninterpreted_option ( google_protobuf_FileOptions * msg , upb_arena * arena ) {
struct google_protobuf_UninterpretedOption * sub = ( struct google_protobuf_UninterpretedOption * ) _upb_msg_new ( & google_protobuf_UninterpretedOption_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 108 , 192 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 100 , 184 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1182,12 +1182,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_MessageOptions_
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 8 , 8 ) , len ) ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_MessageOptions_resize_uninterpreted_option ( google_protobuf_MessageOptions * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 8 , 8 ) , 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_MessageOptions_add_uninterpreted_option ( google_protobuf_MessageOptions * msg , upb_arena * arena ) {
struct google_protobuf_UninterpretedOption * sub = ( struct google_protobuf_UninterpretedOption * ) _upb_msg_new ( & google_protobuf_UninterpretedOption_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 8 , 8 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 8 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1207,54 +1207,54 @@ UPB_INLINE char *google_protobuf_FieldOptions_serialize(const google_protobuf_Fi
}
UPB_INLINE bool google_protobuf_FieldOptions_has_ctype ( const google_protobuf_FieldOptions * msg ) { return _upb_hasbit ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_FieldOptions_ctype ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) ; }
UPB_INLINE int32_t google_protobuf_FieldOptions_ctype ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_has_packed ( const google_protobuf_FieldOptions * msg ) { return _upb_hasbit ( msg , 3 ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_packed ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_packed ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 1 2, 1 2) , bool ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_has_deprecated ( const google_protobuf_FieldOptions * msg ) { return _upb_hasbit ( msg , 4 ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_deprecated ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 25 , 25 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_deprecated ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 13 , 13 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_has_lazy ( const google_protobuf_FieldOptions * msg ) { return _upb_hasbit ( msg , 5 ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_lazy ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 26 , 26 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_lazy ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 14 , 14 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_has_jstype ( const google_protobuf_FieldOptions * msg ) { return _upb_hasbit ( msg , 2 ) ; }
UPB_INLINE int32_t google_protobuf_FieldOptions_jstype ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , int32_t ) ; }
UPB_INLINE int32_t google_protobuf_FieldOptions_jstype ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , 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 ( 27 , 27 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_has_uninterpreted_option ( const google_protobuf_FieldOptions * msg ) { return _upb_has_submsg_nohasbit ( msg , UPB_SIZE ( 28 , 32 ) ) ; }
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 ( 28 , 32 ) , len ) ; }
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 void google_protobuf_FieldOptions_set_ctype ( google_protobuf_FieldOptions * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldOptions_set_packed ( google_protobuf_FieldOptions * msg , bool value ) {
_upb_sethas ( msg , 3 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 1 2, 1 2) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FieldOptions_set_deprecated ( google_protobuf_FieldOptions * msg , bool value ) {
_upb_sethas ( msg , 4 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 25 , 25 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 13 , 13 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FieldOptions_set_lazy ( google_protobuf_FieldOptions * msg , bool value ) {
_upb_sethas ( msg , 5 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 26 , 26 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 14 , 14 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FieldOptions_set_jstype ( google_protobuf_FieldOptions * msg , int32_t value ) {
_upb_sethas ( msg , 2 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , int32_t ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , 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 ( 27 , 27 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 15 , 15 ) , 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 ( 28 , 32 ) , len ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 16 , 16 ) , 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_accessor ( msg , UPB_SIZE ( 28 , 32 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 16 , 16 ) , 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_msg_new ( & google_protobuf_UninterpretedOption_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 28 , 32 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 16 , 16 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1280,12 +1280,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_OneofOptions_mu
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len ) ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_OneofOptions_resize_uninterpreted_option ( google_protobuf_OneofOptions * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_OneofOptions_add_uninterpreted_option ( google_protobuf_OneofOptions * msg , upb_arena * arena ) {
struct google_protobuf_UninterpretedOption * sub = ( struct google_protobuf_UninterpretedOption * ) _upb_msg_new ( & google_protobuf_UninterpretedOption_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1323,12 +1323,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumOptions_mut
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len ) ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_EnumOptions_resize_uninterpreted_option ( google_protobuf_EnumOptions * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 4 , 8 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_EnumOptions_add_uninterpreted_option ( google_protobuf_EnumOptions * msg , upb_arena * arena ) {
struct google_protobuf_UninterpretedOption * sub = ( struct google_protobuf_UninterpretedOption * ) _upb_msg_new ( & google_protobuf_UninterpretedOption_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1360,12 +1360,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOption
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len ) ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_EnumValueOptions_resize_uninterpreted_option ( google_protobuf_EnumValueOptions * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 4 , 8 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_EnumValueOptions_add_uninterpreted_option ( google_protobuf_EnumValueOptions * msg , upb_arena * arena ) {
struct google_protobuf_UninterpretedOption * sub = ( struct google_protobuf_UninterpretedOption * ) _upb_msg_new ( & google_protobuf_UninterpretedOption_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1397,12 +1397,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_ServiceOptions_
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len ) ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_ServiceOptions_resize_uninterpreted_option ( google_protobuf_ServiceOptions * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 4 , 8 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_UninterpretedOption * google_protobuf_ServiceOptions_add_uninterpreted_option ( google_protobuf_ServiceOptions * msg , upb_arena * arena ) {
struct google_protobuf_UninterpretedOption * sub = ( struct google_protobuf_UninterpretedOption * ) _upb_msg_new ( & google_protobuf_UninterpretedOption_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1422,30 +1422,30 @@ UPB_INLINE char *google_protobuf_MethodOptions_serialize(const google_protobuf_M
}
UPB_INLINE bool google_protobuf_MethodOptions_has_deprecated ( const google_protobuf_MethodOptions * msg ) { return _upb_hasbit ( msg , 2 ) ; }
UPB_INLINE bool google_protobuf_MethodOptions_deprecated ( const google_protobuf_MethodOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , bool ) ; }
UPB_INLINE bool google_protobuf_MethodOptions_deprecated ( const google_protobuf_MethodOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , bool ) ; }
UPB_INLINE bool google_protobuf_MethodOptions_has_idempotency_level ( const google_protobuf_MethodOptions * msg ) { return _upb_hasbit ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_MethodOptions_idempotency_level ( const google_protobuf_MethodOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_MethodOptions_has_uninterpreted_option ( const google_protobuf_MethodOptions * msg ) { return _upb_has_submsg_nohasbit ( msg , UPB_SIZE ( 20 , 24 ) ) ; }
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 ( 20 , 24 ) , len ) ; }
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 void google_protobuf_MethodOptions_set_deprecated ( google_protobuf_MethodOptions * msg , bool value ) {
_upb_sethas ( msg , 2 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , bool ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_MethodOptions_set_idempotency_level ( google_protobuf_MethodOptions * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
* 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 ( 20 , 24 ) , len ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 12 , 16 ) , 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_accessor ( msg , UPB_SIZE ( 20 , 24 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_UninterpretedOption * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 12 , 16 ) , 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_msg_new ( & google_protobuf_UninterpretedOption_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 20 , 24 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 12 , 16 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1483,12 +1483,12 @@ UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_Uninte
return ( google_protobuf_UninterpretedOption_NamePart * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 56 , 80 ) , 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_accessor ( msg , UPB_SIZE ( 56 , 80 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_UninterpretedOption_NamePart * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 56 , 80 ) , 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_msg_new ( & google_protobuf_UninterpretedOption_NamePart_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 56 , 80 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 56 , 80 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1566,12 +1566,12 @@ UPB_INLINE google_protobuf_SourceCodeInfo_Location** google_protobuf_SourceCodeI
return ( google_protobuf_SourceCodeInfo_Location * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len ) ;
}
UPB_INLINE google_protobuf_SourceCodeInfo_Location * * google_protobuf_SourceCodeInfo_resize_location ( google_protobuf_SourceCodeInfo * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_SourceCodeInfo_Location * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_SourceCodeInfo_Location * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_SourceCodeInfo_Location * google_protobuf_SourceCodeInfo_add_location ( google_protobuf_SourceCodeInfo * msg , upb_arena * arena ) {
struct google_protobuf_SourceCodeInfo_Location * sub = ( struct google_protobuf_SourceCodeInfo_Location * ) _upb_msg_new ( & google_protobuf_SourceCodeInfo_Location_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1602,20 +1602,20 @@ UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_path(google_
return ( int32_t * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 20 , 40 ) , 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_accessor ( msg , UPB_SIZE ( 20 , 40 ) , len , 2 , arena ) ;
return ( int32_t * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 20 , 40 ) , 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_accessor ( msg , UPB_SIZE ( 20 , 40 ) , UPB_SIZE ( 4 , 4 ) , 2 , & val ,
return _upb_array_append_accessor2 ( msg , UPB_SIZE ( 20 , 40 ) , 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 ) ;
}
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_accessor ( msg , UPB_SIZE ( 24 , 48 ) , len , 2 , arena ) ;
return ( int32_t * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 24 , 48 ) , 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_accessor ( msg , UPB_SIZE ( 24 , 48 ) , UPB_SIZE ( 4 , 4 ) , 2 , & val ,
return _upb_array_append_accessor2 ( msg , UPB_SIZE ( 24 , 48 ) , 2 , & val ,
arena ) ;
}
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_leading_comments ( google_protobuf_SourceCodeInfo_Location * msg , upb_strview value ) {
@ -1630,10 +1630,10 @@ UPB_INLINE upb_strview* google_protobuf_SourceCodeInfo_Location_mutable_leading_
return ( upb_strview * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 28 , 56 ) , len ) ;
}
UPB_INLINE upb_strview * google_protobuf_SourceCodeInfo_Location_resize_leading_detached_comments ( google_protobuf_SourceCodeInfo_Location * msg , size_t len , upb_arena * arena ) {
return ( upb_strview * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 28 , 56 ) , len , UPB_SIZE ( 3 , 4 ) , arena ) ;
return ( upb_strview * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 28 , 56 ) , len , UPB_SIZE ( 3 , 4 ) , arena ) ;
}
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_leading_detached_comments ( google_protobuf_SourceCodeInfo_Location * msg , upb_strview val , upb_arena * arena ) {
return _upb_array_append_accessor ( msg , UPB_SIZE ( 28 , 56 ) , UPB_SIZE ( 8 , 1 6 ) , UPB_SIZE ( 3 , 4 ) , & val ,
return _upb_array_append_accessor2 ( msg , UPB_SIZE ( 28 , 56 ) , UPB_SIZE ( 3 , 4 ) , & val ,
arena ) ;
}
@ -1658,12 +1658,12 @@ UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation** google_protobuf_Genera
return ( google_protobuf_GeneratedCodeInfo_Annotation * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len ) ;
}
UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation * * google_protobuf_GeneratedCodeInfo_resize_annotation ( google_protobuf_GeneratedCodeInfo * msg , size_t len , upb_arena * arena ) {
return ( google_protobuf_GeneratedCodeInfo_Annotation * * ) _upb_array_resize_accessor ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
return ( google_protobuf_GeneratedCodeInfo_Annotation * * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 0 , 0 ) , len , UPB_SIZE ( 2 , 3 ) , arena ) ;
}
UPB_INLINE struct google_protobuf_GeneratedCodeInfo_Annotation * google_protobuf_GeneratedCodeInfo_add_annotation ( google_protobuf_GeneratedCodeInfo * msg , upb_arena * arena ) {
struct google_protobuf_GeneratedCodeInfo_Annotation * sub = ( struct google_protobuf_GeneratedCodeInfo_Annotation * ) _upb_msg_new ( & google_protobuf_GeneratedCodeInfo_Annotation_msginit , arena ) ;
bool ok = _upb_array_append_accessor (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 4 , 8 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
bool ok = _upb_array_append_accessor2 (
msg , UPB_SIZE ( 0 , 0 ) , UPB_SIZE ( 2 , 3 ) , & sub , arena ) ;
if ( ! ok ) return NULL ;
return sub ;
}
@ -1694,10 +1694,10 @@ UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_mutable_path(go
return ( int32_t * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 20 , 32 ) , 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_accessor ( msg , UPB_SIZE ( 20 , 32 ) , len , 2 , arena ) ;
return ( int32_t * ) _upb_array_resize_accessor2 ( msg , UPB_SIZE ( 20 , 32 ) , 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_accessor ( msg , UPB_SIZE ( 20 , 32 ) , UPB_SIZE ( 4 , 4 ) , 2 , & val ,
return _upb_array_append_accessor2 ( msg , UPB_SIZE ( 20 , 32 ) , 2 , & val ,
arena ) ;
}
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_source_file ( google_protobuf_GeneratedCodeInfo_Annotation * msg , upb_strview value ) {