@ -198,30 +198,30 @@ UPB_INLINE char *google_protobuf_FileDescriptorProto_serialize(const google_prot
}
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_name ( const google_protobuf_FileDescriptorProto * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE upb_strview google_protobuf_FileDescriptorProto_name ( const google_protobuf_FileDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FileDescriptorProto_name ( const google_protobuf_FileDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_package ( const google_protobuf_FileDescriptorProto * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE upb_strview google_protobuf_FileDescriptorProto_package ( const google_protobuf_FileDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 12 , 24 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FileDescriptorProto_package ( const google_protobuf_FileDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 24 ) , upb_strview ) ; }
UPB_INLINE upb_strview const * google_protobuf_FileDescriptorProto_dependency ( const google_protobuf_FileDescriptorProto * msg , size_t * len ) { return ( upb_strview const * ) _upb_array_accessor ( msg , UPB_SIZE ( 36 , 72 ) , len ) ; }
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 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 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 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 bool google_protobuf_FileDescriptorProto_has_options ( const google_protobuf_FileDescriptorProto * msg ) { return _upb_has_field ( msg , 4 ) ; }
UPB_INLINE const google_protobuf_FileOptions * google_protobuf_FileDescriptorProto_options ( const google_protobuf_FileDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_FileOptions * , UPB_SIZE ( 28 , 56 ) ) ; }
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 * ) ; }
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_source_code_info ( const google_protobuf_FileDescriptorProto * msg ) { return _upb_has_field ( msg , 5 ) ; }
UPB_INLINE const google_protobuf_SourceCodeInfo * google_protobuf_FileDescriptorProto_source_code_info ( const google_protobuf_FileDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_SourceCodeInfo * , UPB_SIZE ( 32 , 64 ) ) ; }
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 * ) ; }
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 bool google_protobuf_FileDescriptorProto_has_syntax ( const google_protobuf_FileDescriptorProto * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE upb_strview google_protobuf_FileDescriptorProto_syntax ( const google_protobuf_FileDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 20 , 40 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FileDescriptorProto_syntax ( const google_protobuf_FileDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 40 ) , upb_strview ) ; }
UPB_INLINE void google_protobuf_FileDescriptorProto_set_name ( google_protobuf_FileDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileDescriptorProto_set_package ( google_protobuf_FileDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 12 , 24 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 24 ) , upb_strview ) = value ;
}
UPB_INLINE upb_strview * google_protobuf_FileDescriptorProto_mutable_dependency ( google_protobuf_FileDescriptorProto * msg , size_t * len ) {
return ( upb_strview * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 36 , 72 ) , len ) ;
@ -287,7 +287,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_FileDesc
}
UPB_INLINE void google_protobuf_FileDescriptorProto_set_options ( google_protobuf_FileDescriptorProto * msg , google_protobuf_FileOptions * value ) {
_upb_sethas ( msg , 4 ) ;
UPB_FIELD _AT( msg , google_protobuf_FileOptions * , UPB_SIZE ( 28 , 56 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 28 , 56 ) , 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 ) ;
@ -300,7 +300,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 , 5 ) ;
UPB_FIELD _AT( msg , google_protobuf_SourceCodeInfo * , UPB_SIZE ( 32 , 64 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 32 , 64 ) , 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 ) ;
@ -333,7 +333,7 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_p
}
UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax ( google_protobuf_FileDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 20 , 40 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 40 ) , upb_strview ) = value ;
}
/* google.protobuf.DescriptorProto */
@ -351,21 +351,21 @@ UPB_INLINE char *google_protobuf_DescriptorProto_serialize(const google_protobuf
}
UPB_INLINE bool google_protobuf_DescriptorProto_has_name ( const google_protobuf_DescriptorProto * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE upb_strview google_protobuf_DescriptorProto_name ( const google_protobuf_DescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) ; }
UPB_INLINE upb_strview google_protobuf_DescriptorProto_name ( const google_protobuf_DescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) ; }
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 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 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 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 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_options ( const google_protobuf_DescriptorProto * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE const google_protobuf_MessageOptions * google_protobuf_DescriptorProto_options ( const google_protobuf_DescriptorProto * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_MessageOptions * , UPB_SIZE ( 12 , 24 ) ) ; }
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 * ) ; }
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 ) ; }
UPB_INLINE const google_protobuf_DescriptorProto_ReservedRange * const * google_protobuf_DescriptorProto_reserved_range ( const google_protobuf_DescriptorProto * msg , size_t * len ) { return ( const google_protobuf_DescriptorProto_ReservedRange * const * ) _upb_array_accessor ( msg , UPB_SIZE ( 40 , 80 ) , len ) ; }
UPB_INLINE upb_strview const * google_protobuf_DescriptorProto_reserved_name ( const google_protobuf_DescriptorProto * msg , size_t * len ) { return ( upb_strview const * ) _upb_array_accessor ( msg , UPB_SIZE ( 44 , 88 ) , len ) ; }
UPB_INLINE void google_protobuf_DescriptorProto_set_name ( google_protobuf_DescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) = 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 ) ;
@ -434,7 +434,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_Descript
}
UPB_INLINE void google_protobuf_DescriptorProto_set_options ( google_protobuf_DescriptorProto * msg , google_protobuf_MessageOptions * value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD _AT( msg , google_protobuf_MessageOptions * , UPB_SIZE ( 12 , 24 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 12 , 24 ) , 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 ) ;
@ -497,23 +497,23 @@ UPB_INLINE char *google_protobuf_DescriptorProto_ExtensionRange_serialize(const
}
UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_start ( const google_protobuf_DescriptorProto_ExtensionRange * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_start ( const google_protobuf_DescriptorProto_ExtensionRange * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) ; }
UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_start ( const google_protobuf_DescriptorProto_ExtensionRange * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_end ( const google_protobuf_DescriptorProto_ExtensionRange * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_end ( const google_protobuf_DescriptorProto_ExtensionRange * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) ; }
UPB_INLINE int32_t google_protobuf_DescriptorProto_ExtensionRange_end ( const google_protobuf_DescriptorProto_ExtensionRange * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_options ( const google_protobuf_DescriptorProto_ExtensionRange * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE const google_protobuf_ExtensionRangeOptions * google_protobuf_DescriptorProto_ExtensionRange_options ( const google_protobuf_DescriptorProto_ExtensionRange * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_ExtensionRangeOptions * , UPB_SIZE ( 12 , 16 ) ) ; }
UPB_INLINE const google_protobuf_ExtensionRangeOptions * google_protobuf_DescriptorProto_ExtensionRange_options ( const google_protobuf_DescriptorProto_ExtensionRange * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 16 ) , const google_protobuf_ExtensionRangeOptions * ) ; }
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_start ( google_protobuf_DescriptorProto_ExtensionRange * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_end ( google_protobuf_DescriptorProto_ExtensionRange * msg , int32_t value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_options ( google_protobuf_DescriptorProto_ExtensionRange * msg , google_protobuf_ExtensionRangeOptions * value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD _AT( msg , google_protobuf_ExtensionRangeOptions * , UPB_SIZE ( 12 , 16 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 12 , 16 ) , google_protobuf_ExtensionRangeOptions * ) = value ;
}
UPB_INLINE struct google_protobuf_ExtensionRangeOptions * google_protobuf_DescriptorProto_ExtensionRange_mutable_options ( google_protobuf_DescriptorProto_ExtensionRange * msg , upb_arena * arena ) {
struct google_protobuf_ExtensionRangeOptions * sub = ( struct google_protobuf_ExtensionRangeOptions * ) google_protobuf_DescriptorProto_ExtensionRange_options ( msg ) ;
@ -540,17 +540,17 @@ UPB_INLINE char *google_protobuf_DescriptorProto_ReservedRange_serialize(const g
}
UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_start ( const google_protobuf_DescriptorProto_ReservedRange * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_start ( const google_protobuf_DescriptorProto_ReservedRange * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) ; }
UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_start ( const google_protobuf_DescriptorProto_ReservedRange * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_end ( const google_protobuf_DescriptorProto_ReservedRange * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_end ( const google_protobuf_DescriptorProto_ReservedRange * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) ; }
UPB_INLINE int32_t google_protobuf_DescriptorProto_ReservedRange_end ( const google_protobuf_DescriptorProto_ReservedRange * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) ; }
UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_start ( google_protobuf_DescriptorProto_ReservedRange * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_end ( google_protobuf_DescriptorProto_ReservedRange * msg , int32_t value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
}
/* google.protobuf.ExtensionRangeOptions */
@ -598,57 +598,57 @@ 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_has_field ( msg , 5 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_name ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 32 , 32 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_name ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 32 , 32 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_extendee ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_has_field ( msg , 6 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_extendee ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 40 , 48 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_extendee ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 40 , 48 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_number ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_number ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 24 , 24 ) ) ; }
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 bool google_protobuf_FieldDescriptorProto_has_label ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_label ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) ; }
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 bool google_protobuf_FieldDescriptorProto_has_type ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_type ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 16 , 16 ) ) ; }
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 bool google_protobuf_FieldDescriptorProto_has_type_name ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_has_field ( msg , 7 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_type_name ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 48 , 64 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_type_name ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 48 , 64 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_default_value ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_has_field ( msg , 8 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_default_value ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 56 , 80 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_default_value ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 56 , 80 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_options ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_has_field ( msg , 10 ) ; }
UPB_INLINE const google_protobuf_FieldOptions * google_protobuf_FieldDescriptorProto_options ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_FieldOptions * , UPB_SIZE ( 72 , 112 ) ) ; }
UPB_INLINE const google_protobuf_FieldOptions * google_protobuf_FieldDescriptorProto_options ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 72 , 112 ) , const google_protobuf_FieldOptions * ) ; }
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_oneof_index ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_has_field ( msg , 4 ) ; }
UPB_INLINE int32_t google_protobuf_FieldDescriptorProto_oneof_index ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 28 , 28 ) ) ; }
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 bool google_protobuf_FieldDescriptorProto_has_json_name ( const google_protobuf_FieldDescriptorProto * msg ) { return _upb_has_field ( msg , 9 ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_json_name ( const google_protobuf_FieldDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 64 , 96 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FieldDescriptorProto_json_name ( const google_protobuf_FieldDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 64 , 96 ) , upb_strview ) ; }
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_name ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 5 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 32 , 32 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 32 , 32 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_extendee ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 6 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 40 , 48 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 40 , 48 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_number ( google_protobuf_FieldDescriptorProto * msg , int32_t value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 24 , 24 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_label ( google_protobuf_FieldDescriptorProto * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) = 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 , 2 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 16 , 16 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type_name ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 7 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 48 , 64 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 48 , 64 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_default_value ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 8 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 56 , 80 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 56 , 80 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options ( google_protobuf_FieldDescriptorProto * msg , google_protobuf_FieldOptions * value ) {
_upb_sethas ( msg , 10 ) ;
UPB_FIELD _AT( msg , google_protobuf_FieldOptions * , UPB_SIZE ( 72 , 112 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 72 , 112 ) , 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 ) ;
@ -661,11 +661,11 @@ 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_FIELD_AT ( msg , int32_t , UPB_SIZE ( 28 , 28 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 28 , 28 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_json_name ( google_protobuf_FieldDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 9 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 64 , 96 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 64 , 96 ) , upb_strview ) = value ;
}
/* google.protobuf.OneofDescriptorProto */
@ -683,17 +683,17 @@ UPB_INLINE char *google_protobuf_OneofDescriptorProto_serialize(const google_pro
}
UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_name ( const google_protobuf_OneofDescriptorProto * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE upb_strview google_protobuf_OneofDescriptorProto_name ( const google_protobuf_OneofDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) ; }
UPB_INLINE upb_strview google_protobuf_OneofDescriptorProto_name ( const google_protobuf_OneofDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_options ( const google_protobuf_OneofDescriptorProto * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE const google_protobuf_OneofOptions * google_protobuf_OneofDescriptorProto_options ( const google_protobuf_OneofDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_OneofOptions * , UPB_SIZE ( 12 , 24 ) ) ; }
UPB_INLINE const google_protobuf_OneofOptions * google_protobuf_OneofDescriptorProto_options ( const google_protobuf_OneofDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 24 ) , const google_protobuf_OneofOptions * ) ; }
UPB_INLINE void google_protobuf_OneofDescriptorProto_set_name ( google_protobuf_OneofDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_OneofDescriptorProto_set_options ( google_protobuf_OneofDescriptorProto * msg , google_protobuf_OneofOptions * value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD _AT( msg , google_protobuf_OneofOptions * , UPB_SIZE ( 12 , 24 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 12 , 24 ) , google_protobuf_OneofOptions * ) = value ;
}
UPB_INLINE struct google_protobuf_OneofOptions * google_protobuf_OneofDescriptorProto_mutable_options ( google_protobuf_OneofDescriptorProto * msg , upb_arena * arena ) {
struct google_protobuf_OneofOptions * sub = ( struct google_protobuf_OneofOptions * ) google_protobuf_OneofDescriptorProto_options ( msg ) ;
@ -720,16 +720,16 @@ UPB_INLINE char *google_protobuf_EnumDescriptorProto_serialize(const google_prot
}
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_name ( const google_protobuf_EnumDescriptorProto * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE upb_strview google_protobuf_EnumDescriptorProto_name ( const google_protobuf_EnumDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) ; }
UPB_INLINE upb_strview google_protobuf_EnumDescriptorProto_name ( const google_protobuf_EnumDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) ; }
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_options ( const google_protobuf_EnumDescriptorProto * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE const google_protobuf_EnumOptions * google_protobuf_EnumDescriptorProto_options ( const google_protobuf_EnumDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_EnumOptions * , UPB_SIZE ( 12 , 24 ) ) ; }
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 * ) ; }
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 ) ; }
UPB_INLINE upb_strview const * google_protobuf_EnumDescriptorProto_reserved_name ( const google_protobuf_EnumDescriptorProto * msg , size_t * len ) { return ( upb_strview const * ) _upb_array_accessor ( msg , UPB_SIZE ( 24 , 48 ) , len ) ; }
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_name ( google_protobuf_EnumDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) = 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 ) ;
@ -746,7 +746,7 @@ UPB_INLINE struct google_protobuf_EnumValueDescriptorProto* google_protobuf_Enum
}
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_options ( google_protobuf_EnumDescriptorProto * msg , google_protobuf_EnumOptions * value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD _AT( msg , google_protobuf_EnumOptions * , UPB_SIZE ( 12 , 24 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 12 , 24 ) , 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 ) ;
@ -796,17 +796,17 @@ UPB_INLINE char *google_protobuf_EnumDescriptorProto_EnumReservedRange_serialize
}
UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_start ( const google_protobuf_EnumDescriptorProto_EnumReservedRange * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_start ( const google_protobuf_EnumDescriptorProto_EnumReservedRange * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) ; }
UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_start ( const google_protobuf_EnumDescriptorProto_EnumReservedRange * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_end ( const google_protobuf_EnumDescriptorProto_EnumReservedRange * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_end ( const google_protobuf_EnumDescriptorProto_EnumReservedRange * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) ; }
UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_EnumReservedRange_end ( const google_protobuf_EnumDescriptorProto_EnumReservedRange * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) ; }
UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_start ( google_protobuf_EnumDescriptorProto_EnumReservedRange * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_end ( google_protobuf_EnumDescriptorProto_EnumReservedRange * msg , int32_t value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
}
/* google.protobuf.EnumValueDescriptorProto */
@ -824,23 +824,23 @@ UPB_INLINE char *google_protobuf_EnumValueDescriptorProto_serialize(const google
}
UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_name ( const google_protobuf_EnumValueDescriptorProto * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE upb_strview google_protobuf_EnumValueDescriptorProto_name ( const google_protobuf_EnumValueDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 8 , 8 ) ) ; }
UPB_INLINE upb_strview google_protobuf_EnumValueDescriptorProto_name ( const google_protobuf_EnumValueDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_number ( const google_protobuf_EnumValueDescriptorProto * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_EnumValueDescriptorProto_number ( const google_protobuf_EnumValueDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) ; }
UPB_INLINE int32_t google_protobuf_EnumValueDescriptorProto_number ( const google_protobuf_EnumValueDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_options ( const google_protobuf_EnumValueDescriptorProto * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE const google_protobuf_EnumValueOptions * google_protobuf_EnumValueDescriptorProto_options ( const google_protobuf_EnumValueDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_EnumValueOptions * , UPB_SIZE ( 16 , 24 ) ) ; }
UPB_INLINE const google_protobuf_EnumValueOptions * google_protobuf_EnumValueDescriptorProto_options ( const google_protobuf_EnumValueDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 24 ) , const google_protobuf_EnumValueOptions * ) ; }
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_name ( google_protobuf_EnumValueDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 8 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_number ( google_protobuf_EnumValueDescriptorProto * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_options ( google_protobuf_EnumValueDescriptorProto * msg , google_protobuf_EnumValueOptions * value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD _AT( msg , google_protobuf_EnumValueOptions * , UPB_SIZE ( 16 , 24 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 16 , 24 ) , google_protobuf_EnumValueOptions * ) = value ;
}
UPB_INLINE struct google_protobuf_EnumValueOptions * google_protobuf_EnumValueDescriptorProto_mutable_options ( google_protobuf_EnumValueDescriptorProto * msg , upb_arena * arena ) {
struct google_protobuf_EnumValueOptions * sub = ( struct google_protobuf_EnumValueOptions * ) google_protobuf_EnumValueDescriptorProto_options ( msg ) ;
@ -867,14 +867,14 @@ UPB_INLINE char *google_protobuf_ServiceDescriptorProto_serialize(const google_p
}
UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_name ( const google_protobuf_ServiceDescriptorProto * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE upb_strview google_protobuf_ServiceDescriptorProto_name ( const google_protobuf_ServiceDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) ; }
UPB_INLINE upb_strview google_protobuf_ServiceDescriptorProto_name ( const google_protobuf_ServiceDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) ; }
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_options ( const google_protobuf_ServiceDescriptorProto * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE const google_protobuf_ServiceOptions * google_protobuf_ServiceDescriptorProto_options ( const google_protobuf_ServiceDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_ServiceOptions * , UPB_SIZE ( 12 , 24 ) ) ; }
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 * ) ; }
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_name ( google_protobuf_ServiceDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) = 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 ) ;
@ -891,7 +891,7 @@ UPB_INLINE struct google_protobuf_MethodDescriptorProto* google_protobuf_Service
}
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_options ( google_protobuf_ServiceDescriptorProto * msg , google_protobuf_ServiceOptions * value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD _AT( msg , google_protobuf_ServiceOptions * , UPB_SIZE ( 12 , 24 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 12 , 24 ) , 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 ) ;
@ -918,33 +918,33 @@ UPB_INLINE char *google_protobuf_MethodDescriptorProto_serialize(const google_pr
}
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_name ( const google_protobuf_MethodDescriptorProto * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE upb_strview google_protobuf_MethodDescriptorProto_name ( const google_protobuf_MethodDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) ; }
UPB_INLINE upb_strview google_protobuf_MethodDescriptorProto_name ( const google_protobuf_MethodDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_input_type ( const google_protobuf_MethodDescriptorProto * msg ) { return _upb_has_field ( msg , 4 ) ; }
UPB_INLINE upb_strview google_protobuf_MethodDescriptorProto_input_type ( const google_protobuf_MethodDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 12 , 24 ) ) ; }
UPB_INLINE upb_strview google_protobuf_MethodDescriptorProto_input_type ( const google_protobuf_MethodDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 24 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_output_type ( const google_protobuf_MethodDescriptorProto * msg ) { return _upb_has_field ( msg , 5 ) ; }
UPB_INLINE upb_strview google_protobuf_MethodDescriptorProto_output_type ( const google_protobuf_MethodDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 20 , 40 ) ) ; }
UPB_INLINE upb_strview google_protobuf_MethodDescriptorProto_output_type ( const google_protobuf_MethodDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 40 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_options ( const google_protobuf_MethodDescriptorProto * msg ) { return _upb_has_field ( msg , 6 ) ; }
UPB_INLINE const google_protobuf_MethodOptions * google_protobuf_MethodDescriptorProto_options ( const google_protobuf_MethodDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , const google_protobuf_MethodOptions * , UPB_SIZE ( 28 , 56 ) ) ; }
UPB_INLINE const google_protobuf_MethodOptions * google_protobuf_MethodDescriptorProto_options ( const google_protobuf_MethodDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 28 , 56 ) , const google_protobuf_MethodOptions * ) ; }
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_client_streaming ( const google_protobuf_MethodDescriptorProto * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE bool google_protobuf_MethodDescriptorProto_client_streaming ( const google_protobuf_MethodDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) ; }
UPB_INLINE bool google_protobuf_MethodDescriptorProto_client_streaming ( const google_protobuf_MethodDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) ; }
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_server_streaming ( const google_protobuf_MethodDescriptorProto * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE bool google_protobuf_MethodDescriptorProto_server_streaming ( const google_protobuf_MethodDescriptorProto * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 2 , 2 ) ) ; }
UPB_INLINE bool google_protobuf_MethodDescriptorProto_server_streaming ( const google_protobuf_MethodDescriptorProto * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 2 , 2 ) , bool ) ; }
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_name ( google_protobuf_MethodDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_input_type ( google_protobuf_MethodDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 4 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 12 , 24 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 24 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_output_type ( google_protobuf_MethodDescriptorProto * msg , upb_strview value ) {
_upb_sethas ( msg , 5 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 20 , 40 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 40 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_options ( google_protobuf_MethodDescriptorProto * msg , google_protobuf_MethodOptions * value ) {
_upb_sethas ( msg , 6 ) ;
UPB_FIELD _AT( msg , google_protobuf_MethodOptions * , UPB_SIZE ( 28 , 56 ) ) = value ;
* UPB_PTR _AT( msg , UPB_SIZE ( 28 , 56 ) , google_protobuf_MethodOptions * ) = value ;
}
UPB_INLINE struct google_protobuf_MethodOptions * google_protobuf_MethodDescriptorProto_mutable_options ( google_protobuf_MethodDescriptorProto * msg , upb_arena * arena ) {
struct google_protobuf_MethodOptions * sub = ( struct google_protobuf_MethodOptions * ) google_protobuf_MethodDescriptorProto_options ( msg ) ;
@ -957,11 +957,11 @@ UPB_INLINE struct google_protobuf_MethodOptions* google_protobuf_MethodDescripto
}
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_client_streaming ( google_protobuf_MethodDescriptorProto * msg , bool value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_server_streaming ( google_protobuf_MethodDescriptorProto * msg , bool value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 2 , 2 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 2 , 2 ) , bool ) = value ;
}
/* google.protobuf.FileOptions */
@ -979,126 +979,126 @@ 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_has_field ( msg , 11 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_java_package ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 28 , 32 ) ) ; }
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 bool google_protobuf_FileOptions_has_java_outer_classname ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 12 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_java_outer_classname ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 36 , 48 ) ) ; }
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 bool google_protobuf_FileOptions_has_optimize_for ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_FileOptions_optimize_for ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) ; }
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 bool google_protobuf_FileOptions_has_java_multiple_files ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_multiple_files ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 16 , 16 ) ) ; }
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_has_go_package ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 13 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_go_package ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 44 , 64 ) ) ; }
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 bool google_protobuf_FileOptions_has_cc_generic_services ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_cc_generic_services ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 17 , 17 ) ) ; }
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_has_java_generic_services ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 4 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_generic_services ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 18 , 18 ) ) ; }
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_has_py_generic_services ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 5 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_py_generic_services ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 19 , 19 ) ) ; }
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_has_java_generate_equals_and_hash ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 6 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_generate_equals_and_hash ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 20 , 20 ) ) ; }
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_has_deprecated ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 7 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_deprecated ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 21 , 21 ) ) ; }
UPB_INLINE bool google_protobuf_FileOptions_deprecated ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 21 , 21 ) , bool ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_java_string_check_utf8 ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 8 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_java_string_check_utf8 ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 22 , 22 ) ) ; }
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_has_cc_enable_arenas ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 9 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_cc_enable_arenas ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 23 , 23 ) ) ; }
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_has_objc_class_prefix ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 14 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_objc_class_prefix ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 52 , 80 ) ) ; }
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 bool google_protobuf_FileOptions_has_csharp_namespace ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 15 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_csharp_namespace ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 60 , 96 ) ) ; }
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 bool google_protobuf_FileOptions_has_swift_prefix ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 16 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_swift_prefix ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 68 , 112 ) ) ; }
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 bool google_protobuf_FileOptions_has_php_class_prefix ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 17 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_class_prefix ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 76 , 128 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_class_prefix ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 76 , 128 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_FileOptions_has_php_namespace ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 18 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_namespace ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 84 , 144 ) ) ; }
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 bool google_protobuf_FileOptions_has_php_generic_services ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 10 ) ; }
UPB_INLINE bool google_protobuf_FileOptions_php_generic_services ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 24 , 24 ) ) ; }
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_has_php_metadata_namespace ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 19 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_php_metadata_namespace ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 92 , 160 ) ) ; }
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 bool google_protobuf_FileOptions_has_ruby_package ( const google_protobuf_FileOptions * msg ) { return _upb_has_field ( msg , 20 ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_ruby_package ( const google_protobuf_FileOptions * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 100 , 176 ) ) ; }
UPB_INLINE upb_strview google_protobuf_FileOptions_ruby_package ( const google_protobuf_FileOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 100 , 176 ) , upb_strview ) ; }
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 void google_protobuf_FileOptions_set_java_package ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 11 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 28 , 32 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 28 , 32 ) , 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_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 36 , 48 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 36 , 48 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_optimize_for ( google_protobuf_FileOptions * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_java_multiple_files ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 16 , 16 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_go_package ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 13 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 44 , 64 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 44 , 64 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_cc_generic_services ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 17 , 17 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 17 , 17 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_java_generic_services ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 4 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 18 , 18 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 18 , 18 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_py_generic_services ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 5 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 19 , 19 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 19 , 19 ) , 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_FIELD_AT ( msg , bool , UPB_SIZE ( 20 , 20 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 20 , 20 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_deprecated ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 7 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 21 , 21 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 21 , 21 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_java_string_check_utf8 ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 8 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 22 , 22 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 22 , 22 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_cc_enable_arenas ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 9 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 23 , 23 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 23 , 23 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_objc_class_prefix ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 14 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 52 , 80 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 52 , 80 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_csharp_namespace ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 15 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 60 , 96 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 60 , 96 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_swift_prefix ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 16 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 68 , 112 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 68 , 112 ) , 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_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 76 , 128 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 76 , 128 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_php_namespace ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 18 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 84 , 144 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 84 , 144 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_php_generic_services ( google_protobuf_FileOptions * msg , bool value ) {
_upb_sethas ( msg , 10 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 24 , 24 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_php_metadata_namespace ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 19 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 92 , 160 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 92 , 160 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_FileOptions_set_ruby_package ( google_protobuf_FileOptions * msg , upb_strview value ) {
_upb_sethas ( msg , 20 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 100 , 176 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 100 , 176 ) , 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 ) ;
@ -1129,30 +1129,30 @@ UPB_INLINE char *google_protobuf_MessageOptions_serialize(const google_protobuf_
}
UPB_INLINE bool google_protobuf_MessageOptions_has_message_set_wire_format ( const google_protobuf_MessageOptions * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_message_set_wire_format ( const google_protobuf_MessageOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_message_set_wire_format ( const google_protobuf_MessageOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_has_no_standard_descriptor_accessor ( const google_protobuf_MessageOptions * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_no_standard_descriptor_accessor ( const google_protobuf_MessageOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 2 , 2 ) ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_no_standard_descriptor_accessor ( const google_protobuf_MessageOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 2 , 2 ) , bool ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_has_deprecated ( const google_protobuf_MessageOptions * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_deprecated ( const google_protobuf_MessageOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 3 , 3 ) ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_deprecated ( const google_protobuf_MessageOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 3 , 3 ) , bool ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_has_map_entry ( const google_protobuf_MessageOptions * msg ) { return _upb_has_field ( msg , 4 ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_map_entry ( const google_protobuf_MessageOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 4 , 4 ) ) ; }
UPB_INLINE bool google_protobuf_MessageOptions_map_entry ( const google_protobuf_MessageOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , bool ) ; }
UPB_INLINE const google_protobuf_UninterpretedOption * const * google_protobuf_MessageOptions_uninterpreted_option ( const google_protobuf_MessageOptions * msg , size_t * len ) { return ( const google_protobuf_UninterpretedOption * const * ) _upb_array_accessor ( msg , UPB_SIZE ( 8 , 8 ) , len ) ; }
UPB_INLINE void google_protobuf_MessageOptions_set_message_set_wire_format ( google_protobuf_MessageOptions * msg , bool value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_MessageOptions_set_no_standard_descriptor_accessor ( google_protobuf_MessageOptions * msg , bool value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 2 , 2 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 2 , 2 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_MessageOptions_set_deprecated ( google_protobuf_MessageOptions * msg , bool value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 3 , 3 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 3 , 3 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_MessageOptions_set_map_entry ( google_protobuf_MessageOptions * msg , bool value ) {
_upb_sethas ( msg , 4 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 4 , 4 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , bool ) = value ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_MessageOptions_mutable_uninterpreted_option ( google_protobuf_MessageOptions * msg , size_t * len ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 8 , 8 ) , len ) ;
@ -1183,42 +1183,42 @@ 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_has_field ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_FieldOptions_ctype ( const google_protobuf_FieldOptions * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) ; }
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 bool google_protobuf_FieldOptions_has_packed ( const google_protobuf_FieldOptions * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_packed ( const google_protobuf_FieldOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 24 , 24 ) ) ; }
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_has_deprecated ( const google_protobuf_FieldOptions * msg ) { return _upb_has_field ( msg , 4 ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_deprecated ( const google_protobuf_FieldOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 25 , 25 ) ) ; }
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_has_lazy ( const google_protobuf_FieldOptions * msg ) { return _upb_has_field ( msg , 5 ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_lazy ( const google_protobuf_FieldOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 26 , 26 ) ) ; }
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_has_jstype ( const google_protobuf_FieldOptions * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE int32_t google_protobuf_FieldOptions_jstype ( const google_protobuf_FieldOptions * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 16 , 16 ) ) ; }
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 bool google_protobuf_FieldOptions_has_weak ( const google_protobuf_FieldOptions * msg ) { return _upb_has_field ( msg , 6 ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_weak ( const google_protobuf_FieldOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 27 , 27 ) ) ; }
UPB_INLINE bool google_protobuf_FieldOptions_weak ( const google_protobuf_FieldOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 27 , 27 ) , bool ) ; }
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 void google_protobuf_FieldOptions_set_ctype ( google_protobuf_FieldOptions * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldOptions_set_packed ( google_protobuf_FieldOptions * msg , bool value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 24 , 24 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FieldOptions_set_deprecated ( google_protobuf_FieldOptions * msg , bool value ) {
_upb_sethas ( msg , 4 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 25 , 25 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 25 , 25 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FieldOptions_set_lazy ( google_protobuf_FieldOptions * msg , bool value ) {
_upb_sethas ( msg , 5 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 26 , 26 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 26 , 26 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_FieldOptions_set_jstype ( google_protobuf_FieldOptions * msg , int32_t value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 16 , 16 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_FieldOptions_set_weak ( google_protobuf_FieldOptions * msg , bool value ) {
_upb_sethas ( msg , 6 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 27 , 27 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 27 , 27 ) , 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 ) ;
@ -1279,18 +1279,18 @@ UPB_INLINE char *google_protobuf_EnumOptions_serialize(const google_protobuf_Enu
}
UPB_INLINE bool google_protobuf_EnumOptions_has_allow_alias ( const google_protobuf_EnumOptions * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE bool google_protobuf_EnumOptions_allow_alias ( const google_protobuf_EnumOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) ; }
UPB_INLINE bool google_protobuf_EnumOptions_allow_alias ( const google_protobuf_EnumOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) ; }
UPB_INLINE bool google_protobuf_EnumOptions_has_deprecated ( const google_protobuf_EnumOptions * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE bool google_protobuf_EnumOptions_deprecated ( const google_protobuf_EnumOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 2 , 2 ) ) ; }
UPB_INLINE bool google_protobuf_EnumOptions_deprecated ( const google_protobuf_EnumOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 2 , 2 ) , bool ) ; }
UPB_INLINE const google_protobuf_UninterpretedOption * const * google_protobuf_EnumOptions_uninterpreted_option ( const google_protobuf_EnumOptions * msg , size_t * len ) { return ( const google_protobuf_UninterpretedOption * const * ) _upb_array_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len ) ; }
UPB_INLINE void google_protobuf_EnumOptions_set_allow_alias ( google_protobuf_EnumOptions * msg , bool value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_EnumOptions_set_deprecated ( google_protobuf_EnumOptions * msg , bool value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 2 , 2 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 2 , 2 ) , bool ) = value ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_EnumOptions_mutable_uninterpreted_option ( google_protobuf_EnumOptions * msg , size_t * len ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len ) ;
@ -1321,12 +1321,12 @@ UPB_INLINE char *google_protobuf_EnumValueOptions_serialize(const google_protobu
}
UPB_INLINE bool google_protobuf_EnumValueOptions_has_deprecated ( const google_protobuf_EnumValueOptions * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE bool google_protobuf_EnumValueOptions_deprecated ( const google_protobuf_EnumValueOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) ; }
UPB_INLINE bool google_protobuf_EnumValueOptions_deprecated ( const google_protobuf_EnumValueOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) ; }
UPB_INLINE const google_protobuf_UninterpretedOption * const * google_protobuf_EnumValueOptions_uninterpreted_option ( const google_protobuf_EnumValueOptions * msg , size_t * len ) { return ( const google_protobuf_UninterpretedOption * const * ) _upb_array_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len ) ; }
UPB_INLINE void google_protobuf_EnumValueOptions_set_deprecated ( google_protobuf_EnumValueOptions * msg , bool value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) = value ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_EnumValueOptions_mutable_uninterpreted_option ( google_protobuf_EnumValueOptions * msg , size_t * len ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len ) ;
@ -1357,12 +1357,12 @@ UPB_INLINE char *google_protobuf_ServiceOptions_serialize(const google_protobuf_
}
UPB_INLINE bool google_protobuf_ServiceOptions_has_deprecated ( const google_protobuf_ServiceOptions * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE bool google_protobuf_ServiceOptions_deprecated ( const google_protobuf_ServiceOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) ; }
UPB_INLINE bool google_protobuf_ServiceOptions_deprecated ( const google_protobuf_ServiceOptions * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) ; }
UPB_INLINE const google_protobuf_UninterpretedOption * const * google_protobuf_ServiceOptions_uninterpreted_option ( const google_protobuf_ServiceOptions * msg , size_t * len ) { return ( const google_protobuf_UninterpretedOption * const * ) _upb_array_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len ) ; }
UPB_INLINE void google_protobuf_ServiceOptions_set_deprecated ( google_protobuf_ServiceOptions * msg , bool value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) = value ;
}
UPB_INLINE google_protobuf_UninterpretedOption * * google_protobuf_ServiceOptions_mutable_uninterpreted_option ( google_protobuf_ServiceOptions * msg , size_t * len ) {
return ( google_protobuf_UninterpretedOption * * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 4 , 8 ) , len ) ;
@ -1393,18 +1393,18 @@ 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_has_field ( msg , 2 ) ; }
UPB_INLINE bool google_protobuf_MethodOptions_deprecated ( const google_protobuf_MethodOptions * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 16 , 16 ) ) ; }
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_has_idempotency_level ( const google_protobuf_MethodOptions * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_MethodOptions_idempotency_level ( const google_protobuf_MethodOptions * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) ; }
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 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 void google_protobuf_MethodOptions_set_deprecated ( google_protobuf_MethodOptions * msg , bool value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 16 , 16 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , bool ) = value ;
}
UPB_INLINE void google_protobuf_MethodOptions_set_idempotency_level ( google_protobuf_MethodOptions * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , 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 ) ;
@ -1436,17 +1436,17 @@ UPB_INLINE char *google_protobuf_UninterpretedOption_serialize(const google_prot
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_identifier_value ( const google_protobuf_UninterpretedOption * msg ) { return _upb_has_field ( msg , 4 ) ; }
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_identifier_value ( const google_protobuf_UninterpretedOption * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 32 , 32 ) ) ; }
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_identifier_value ( const google_protobuf_UninterpretedOption * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 32 , 32 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_UninterpretedOption_has_positive_int_value ( const google_protobuf_UninterpretedOption * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE uint64_t google_protobuf_UninterpretedOption_positive_int_value ( const google_protobuf_UninterpretedOption * msg ) { return UPB_FIELD_AT ( msg , uint64_t , UPB_SIZE ( 8 , 8 ) ) ; }
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 ) ; }
UPB_INLINE bool google_protobuf_UninterpretedOption_has_negative_int_value ( const google_protobuf_UninterpretedOption * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE int64_t google_protobuf_UninterpretedOption_negative_int_value ( const google_protobuf_UninterpretedOption * msg ) { return UPB_FIELD_AT ( msg , int64_t , UPB_SIZE ( 16 , 16 ) ) ; }
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 ) ; }
UPB_INLINE bool google_protobuf_UninterpretedOption_has_double_value ( const google_protobuf_UninterpretedOption * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE double google_protobuf_UninterpretedOption_double_value ( const google_protobuf_UninterpretedOption * msg ) { return UPB_FIELD_AT ( msg , double , UPB_SIZE ( 24 , 24 ) ) ; }
UPB_INLINE double google_protobuf_UninterpretedOption_double_value ( const google_protobuf_UninterpretedOption * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , double ) ; }
UPB_INLINE bool google_protobuf_UninterpretedOption_has_string_value ( const google_protobuf_UninterpretedOption * msg ) { return _upb_has_field ( msg , 5 ) ; }
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_string_value ( const google_protobuf_UninterpretedOption * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 40 , 48 ) ) ; }
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_string_value ( const google_protobuf_UninterpretedOption * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 40 , 48 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_UninterpretedOption_has_aggregate_value ( const google_protobuf_UninterpretedOption * msg ) { return _upb_has_field ( msg , 6 ) ; }
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_aggregate_value ( const google_protobuf_UninterpretedOption * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 48 , 64 ) ) ; }
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_aggregate_value ( const google_protobuf_UninterpretedOption * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 48 , 64 ) , upb_strview ) ; }
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 ) ;
@ -1463,27 +1463,27 @@ UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart* google_protobuf_
}
UPB_INLINE void google_protobuf_UninterpretedOption_set_identifier_value ( google_protobuf_UninterpretedOption * msg , upb_strview value ) {
_upb_sethas ( msg , 4 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 32 , 32 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 32 , 32 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_UninterpretedOption_set_positive_int_value ( google_protobuf_UninterpretedOption * msg , uint64_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , uint64_t , UPB_SIZE ( 8 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , uint64_t ) = value ;
}
UPB_INLINE void google_protobuf_UninterpretedOption_set_negative_int_value ( google_protobuf_UninterpretedOption * msg , int64_t value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , int64_t , UPB_SIZE ( 16 , 16 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 16 , 16 ) , int64_t ) = value ;
}
UPB_INLINE void google_protobuf_UninterpretedOption_set_double_value ( google_protobuf_UninterpretedOption * msg , double value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD_AT ( msg , double , UPB_SIZE ( 24 , 24 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 24 , 24 ) , double ) = value ;
}
UPB_INLINE void google_protobuf_UninterpretedOption_set_string_value ( google_protobuf_UninterpretedOption * msg , upb_strview value ) {
_upb_sethas ( msg , 5 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 40 , 48 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 40 , 48 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_UninterpretedOption_set_aggregate_value ( google_protobuf_UninterpretedOption * msg , upb_strview value ) {
_upb_sethas ( msg , 6 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 48 , 64 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 48 , 64 ) , upb_strview ) = value ;
}
/* google.protobuf.UninterpretedOption.NamePart */
@ -1501,17 +1501,17 @@ UPB_INLINE char *google_protobuf_UninterpretedOption_NamePart_serialize(const go
}
UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_name_part ( const google_protobuf_UninterpretedOption_NamePart * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_NamePart_name_part ( const google_protobuf_UninterpretedOption_NamePart * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) ; }
UPB_INLINE upb_strview google_protobuf_UninterpretedOption_NamePart_name_part ( const google_protobuf_UninterpretedOption_NamePart * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_is_extension ( const google_protobuf_UninterpretedOption_NamePart * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_is_extension ( const google_protobuf_UninterpretedOption_NamePart * msg ) { return UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) ; }
UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_is_extension ( const google_protobuf_UninterpretedOption_NamePart * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) ; }
UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_name_part ( google_protobuf_UninterpretedOption_NamePart * msg , upb_strview value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_is_extension ( google_protobuf_UninterpretedOption_NamePart * msg , bool value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , bool , UPB_SIZE ( 1 , 1 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 1 , 1 ) , bool ) = value ;
}
/* google.protobuf.SourceCodeInfo */
@ -1561,9 +1561,9 @@ UPB_INLINE char *google_protobuf_SourceCodeInfo_Location_serialize(const google_
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 bool google_protobuf_SourceCodeInfo_Location_has_leading_comments ( const google_protobuf_SourceCodeInfo_Location * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE upb_strview google_protobuf_SourceCodeInfo_Location_leading_comments ( const google_protobuf_SourceCodeInfo_Location * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) ; }
UPB_INLINE upb_strview google_protobuf_SourceCodeInfo_Location_leading_comments ( const google_protobuf_SourceCodeInfo_Location * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_trailing_comments ( const google_protobuf_SourceCodeInfo_Location * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE upb_strview google_protobuf_SourceCodeInfo_Location_trailing_comments ( const google_protobuf_SourceCodeInfo_Location * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 12 , 24 ) ) ; }
UPB_INLINE upb_strview google_protobuf_SourceCodeInfo_Location_trailing_comments ( const google_protobuf_SourceCodeInfo_Location * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 24 ) , upb_strview ) ; }
UPB_INLINE upb_strview const * google_protobuf_SourceCodeInfo_Location_leading_detached_comments ( const google_protobuf_SourceCodeInfo_Location * msg , size_t * len ) { return ( upb_strview 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 ) {
@ -1588,11 +1588,11 @@ UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_span(google_protobuf
}
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_leading_comments ( google_protobuf_SourceCodeInfo_Location * msg , upb_strview value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 4 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 8 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_trailing_comments ( google_protobuf_SourceCodeInfo_Location * msg , upb_strview value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 12 , 24 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 24 ) , upb_strview ) = value ;
}
UPB_INLINE upb_strview * google_protobuf_SourceCodeInfo_Location_mutable_leading_detached_comments ( google_protobuf_SourceCodeInfo_Location * msg , size_t * len ) {
return ( upb_strview * ) _upb_array_mutable_accessor ( msg , UPB_SIZE ( 28 , 56 ) , len ) ;
@ -1651,11 +1651,11 @@ UPB_INLINE char *google_protobuf_GeneratedCodeInfo_Annotation_serialize(const go
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 bool google_protobuf_GeneratedCodeInfo_Annotation_has_source_file ( const google_protobuf_GeneratedCodeInfo_Annotation * msg ) { return _upb_has_field ( msg , 3 ) ; }
UPB_INLINE upb_strview google_protobuf_GeneratedCodeInfo_Annotation_source_file ( const google_protobuf_GeneratedCodeInfo_Annotation * msg ) { return UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 12 , 16 ) ) ; }
UPB_INLINE upb_strview google_protobuf_GeneratedCodeInfo_Annotation_source_file ( const google_protobuf_GeneratedCodeInfo_Annotation * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 16 ) , upb_strview ) ; }
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_begin ( const google_protobuf_GeneratedCodeInfo_Annotation * msg ) { return _upb_has_field ( msg , 1 ) ; }
UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_begin ( const google_protobuf_GeneratedCodeInfo_Annotation * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) ; }
UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_begin ( const google_protobuf_GeneratedCodeInfo_Annotation * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) ; }
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_end ( const google_protobuf_GeneratedCodeInfo_Annotation * msg ) { return _upb_has_field ( msg , 2 ) ; }
UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_end ( const google_protobuf_GeneratedCodeInfo_Annotation * msg ) { return UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) ; }
UPB_INLINE int32_t google_protobuf_GeneratedCodeInfo_Annotation_end ( const google_protobuf_GeneratedCodeInfo_Annotation * msg ) { return * UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) ; }
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 ) ;
@ -1669,15 +1669,15 @@ UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_add_path(google_pro
}
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_source_file ( google_protobuf_GeneratedCodeInfo_Annotation * msg , upb_strview value ) {
_upb_sethas ( msg , 3 ) ;
UPB_FIELD_AT ( msg , upb_strview , UPB_SIZE ( 12 , 16 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 12 , 16 ) , upb_strview ) = value ;
}
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_begin ( google_protobuf_GeneratedCodeInfo_Annotation * msg , int32_t value ) {
_upb_sethas ( msg , 1 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 4 , 4 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 4 , 4 ) , int32_t ) = value ;
}
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_end ( google_protobuf_GeneratedCodeInfo_Annotation * msg , int32_t value ) {
_upb_sethas ( msg , 2 ) ;
UPB_FIELD_AT ( msg , int32_t , UPB_SIZE ( 8 , 8 ) ) = value ;
* UPB_PTR_AT ( msg , UPB_SIZE ( 8 , 8 ) , int32_t ) = value ;
}
# ifdef __cplusplus