Go to the documentation of this file.
36 #include "upb/port_def.inc"
97 #define kUpb_MaxFieldNumber ((1 << 29) - 1)
160 #define kUpb_MapEntry_KeyFieldNumber 1
161 #define kUpb_MapEntry_ValueFieldNumber 2
164 #define kUpb_Any_TypeFieldNumber 1
165 #define kUpb_Any_ValueFieldNumber 2
168 #define kUpb_Duration_SecondsFieldNumber 1
169 #define kUpb_Duration_NanosFieldNumber 2
172 #define kUpb_Timestamp_SecondsFieldNumber 1
173 #define kUpb_Timestamp_NanosFieldNumber 2
396 bool rebuild_minitable);
403 #include "upb/port_undef.inc"
const char * upb_FieldDef_Name(const upb_FieldDef *f)
@ kUpb_WellKnown_StringValue
const char * upb_FileDef_Name(const upb_FileDef *f)
const upb_ExtensionRegistry * upb_DefPool_ExtensionRegistry(const upb_DefPool *s)
bool upb_EnumDef_HasOptions(const upb_EnumDef *e)
upb_Label upb_FieldDef_Label(const upb_FieldDef *f)
const upb_EnumValueDef * upb_DefPool_FindEnumByNameval(const upb_DefPool *s, const char *sym)
bool upb_FieldDef_IsPrimitive(const upb_FieldDef *f)
UPB_INLINE bool _upb_DefPool_LoadDefInit(upb_DefPool *s, const _upb_DefPool_Init *init)
const upb_MessageDef * upb_EnumDef_ContainingType(const upb_EnumDef *e)
const upb_ServiceDef * upb_FileDef_Service(const upb_FileDef *f, int i)
const google_protobuf_MethodOptions * upb_MethodDef_Options(const upb_MethodDef *m)
const upb_MiniTable * upb_MessageDef_MiniTable(const upb_MessageDef *m)
int upb_FileDef_TopLevelEnumCount(const upb_FileDef *f)
uint32_t upb_FieldDef_Number(const upb_FieldDef *f)
const upb_MessageDef * upb_OneofDef_ContainingType(const upb_OneofDef *o)
const upb_OneofDef * upb_MessageDef_Oneof(const upb_MessageDef *m, int i)
bool upb_MethodDef_HasOptions(const upb_MethodDef *m)
int32_t upb_ExtensionRange_End(const upb_ExtensionRange *r)
bool upb_FieldDef_HasOptions(const upb_FieldDef *f)
const upb_EnumValueDef * upb_EnumDef_FindValueByNameWithSize(const upb_EnumDef *e, const char *name, size_t len)
const google_protobuf_FileOptions * upb_FileDef_Options(const upb_FileDef *f)
const upb_EnumDef * upb_MessageDef_NestedEnum(const upb_MessageDef *m, int i)
const upb_EnumValueDef * upb_EnumDef_Value(const upb_EnumDef *e, int i)
const int32_t * _upb_FileDef_PublicDependencyIndexes(const upb_FileDef *f)
int upb_FileDef_TopLevelMessageCount(const upb_FileDef *f)
const char * upb_MethodDef_FullName(const upb_MethodDef *m)
const upb_MessageDef * upb_FileDef_TopLevelMessage(const upb_FileDef *f, int i)
upb_DefPool * upb_DefPool_New(void)
const char * upb_EnumDef_FullName(const upb_EnumDef *e)
UPB_INLINE bool upb_MessageDef_FindByName(const upb_MessageDef *m, const char *name, const upb_FieldDef **f, const upb_OneofDef **o)
struct _upb_DefPool_Init ** deps
const upb_MiniTable_File * layout
int upb_FileDef_ServiceCount(const upb_FileDef *f)
void upb_DefPool_Free(upb_DefPool *s)
const upb_EnumDef * upb_EnumValueDef_Enum(const upb_EnumValueDef *e)
const upb_MiniTable_Field * upb_FieldDef_MiniTable(const upb_FieldDef *f)
bool upb_MethodDef_ServerStreaming(const upb_MethodDef *m)
int upb_MessageDef_NestedExtensionCount(const upb_MessageDef *m)
bool upb_OneofDef_HasOptions(const upb_OneofDef *o)
const char * upb_EnumValueDef_Name(const upb_EnumValueDef *e)
bool upb_FieldDef_HasSubDef(const upb_FieldDef *f)
const upb_FieldDef * upb_MessageDef_FindByJsonNameWithSize(const upb_MessageDef *m, const char *name, size_t len)
struct google_protobuf_EnumOptions google_protobuf_EnumOptions
int upb_EnumDef_ValueCount(const upb_EnumDef *e)
bool upb_FieldDef_IsString(const upb_FieldDef *f)
int upb_MessageDef_OneofCount(const upb_MessageDef *m)
bool _upb_DefPool_LoadDefInitEx(upb_DefPool *s, const _upb_DefPool_Init *init, bool rebuild_minitable)
upb_Syntax upb_MessageDef_Syntax(const upb_MessageDef *m)
const upb_FieldDef * upb_MessageDef_FindFieldByNumber(const upb_MessageDef *m, uint32_t i)
bool upb_EnumDef_CheckNumber(const upb_EnumDef *e, int32_t num)
const char * upb_EnumValueDef_FullName(const upb_EnumValueDef *e)
uint32_t upb_FieldDef_Index(const upb_FieldDef *f)
const upb_ServiceDef * upb_DefPool_FindServiceByName(const upb_DefPool *s, const char *name)
int upb_FileDef_TopLevelExtensionCount(const upb_FileDef *f)
const upb_FieldDef * upb_OneofDef_LookupNameWithSize(const upb_OneofDef *o, const char *name, size_t length)
int upb_OneofDef_FieldCount(const upb_OneofDef *o)
const upb_OneofDef * upb_MessageDef_FindOneofByNameWithSize(const upb_MessageDef *m, const char *name, size_t len)
@ kUpb_WellKnown_FloatValue
bool upb_FieldDef_IsPacked(const upb_FieldDef *f)
bool upb_OneofDef_IsSynthetic(const upb_OneofDef *o)
bool upb_FieldDef_HasPresence(const upb_FieldDef *f)
int32_t upb_ExtensionRange_Start(const upb_ExtensionRange *r)
UPB_INLINE bool upb_MessageDef_IsMapEntry(const upb_MessageDef *m)
const upb_FieldDef * upb_DefPool_FindExtensionByNameWithSize(const upb_DefPool *s, const char *sym, size_t len)
const UPB_INLINE upb_FieldDef * upb_OneofDef_LookupName(const upb_OneofDef *o, const char *name)
int upb_MessageDef_FieldCount(const upb_MessageDef *m)
const upb_DefPool * upb_FileDef_Pool(const upb_FileDef *f)
@ kUpb_WellKnown_BytesValue
@ kUpb_WellKnown_Unspecified
const google_protobuf_ServiceOptions * upb_ServiceDef_Options(const upb_ServiceDef *s)
struct google_protobuf_FieldOptions google_protobuf_FieldOptions
const upb_MessageDef * upb_FieldDef_ExtensionScope(const upb_FieldDef *f)
@ kUpb_WellKnown_Timestamp
bool upb_FieldDef_HasJsonName(const upb_FieldDef *f)
bool _upb_FieldDef_IsProto3Optional(const upb_FieldDef *f)
const upb_FileDef * upb_DefPool_FindFileByNameWithSize(const upb_DefPool *s, const char *name, size_t len)
const upb_EnumValueDef * upb_EnumDef_FindValueByNumber(const upb_EnumDef *e, int32_t num)
int upb_FileDef_WeakDependencyCount(const upb_FileDef *f)
bool upb_FieldDef_IsExtension(const upb_FieldDef *f)
const upb_MessageDef * upb_DefPool_FindMessageByName(const upb_DefPool *s, const char *sym)
bool upb_FileDef_HasOptions(const upb_FileDef *f)
const char * upb_MethodDef_Name(const upb_MethodDef *m)
const int32_t * _upb_FileDef_WeakDependencyIndexes(const upb_FileDef *f)
int upb_MessageDef_ExtensionRangeCount(const upb_MessageDef *m)
@ kUpb_WellKnown_UInt32Value
const upb_MethodDef * upb_ServiceDef_FindMethodByName(const upb_ServiceDef *s, const char *name)
const upb_FileDef * upb_FileDef_Dependency(const upb_FileDef *f, int i)
const upb_MiniTable_Extension * _upb_FieldDef_ExtensionMiniTable(const upb_FieldDef *f)
const upb_FileDef * upb_DefPool_FindFileByName(const upb_DefPool *s, const char *name)
int upb_FileDef_DependencyCount(const upb_FileDef *f)
@ kUpb_WellKnown_BoolValue
const upb_FileDef * upb_FieldDef_File(const upb_FieldDef *f)
const UPB_INLINE upb_FieldDef * upb_MessageDef_FindFieldByName(const upb_MessageDef *m, const char *name)
const google_protobuf_EnumOptions * upb_EnumDef_Options(const upb_EnumDef *e)
const upb_ServiceDef * upb_DefPool_FindServiceByNameWithSize(const upb_DefPool *s, const char *name, size_t size)
bool upb_ExtensionRange_HasOptions(const upb_ExtensionRange *r)
int upb_ServiceDef_Index(const upb_ServiceDef *s)
const upb_MessageDef * upb_MessageDef_NestedMessage(const upb_MessageDef *m, int i)
const upb_EnumDef * upb_DefPool_FindEnumByName(const upb_DefPool *s, const char *sym)
const upb_FieldDef * upb_OneofDef_Field(const upb_OneofDef *o, int i)
const upb_FileDef * upb_EnumDef_File(const upb_EnumDef *e)
const upb_ExtensionRange * upb_MessageDef_ExtensionRange(const upb_MessageDef *m, int i)
int upb_MethodDef_Index(const upb_MethodDef *m)
const char * upb_FileDef_Package(const upb_FileDef *f)
int32_t upb_EnumDef_Default(const upb_EnumDef *e)
const upb_MessageDef * upb_DefPool_FindMessageByNameWithSize(const upb_DefPool *s, const char *sym, size_t len)
const google_protobuf_MessageOptions * upb_MessageDef_Options(const upb_MessageDef *m)
const google_protobuf_FieldOptions * upb_FieldDef_Options(const upb_FieldDef *f)
upb_Syntax upb_FileDef_Syntax(const upb_FileDef *f)
const upb_FileDef * upb_ServiceDef_File(const upb_ServiceDef *s)
int upb_MessageDef_NestedMessageCount(const upb_MessageDef *m)
const upb_MessageDef * upb_MethodDef_InputType(const upb_MethodDef *m)
const upb_FieldDef * upb_OneofDef_LookupNumber(const upb_OneofDef *o, uint32_t num)
const UPB_INLINE upb_FieldDef * upb_MessageDef_FindByJsonName(const upb_MessageDef *m, const char *name)
size_t _upb_DefPool_BytesLoaded(const upb_DefPool *s)
const upb_ServiceDef * upb_MethodDef_Service(const upb_MethodDef *m)
bool upb_MessageDef_FindByNameWithSize(const upb_MessageDef *m, const char *name, size_t len, const upb_FieldDef **f, const upb_OneofDef **o)
const char * upb_MessageDef_FullName(const upb_MessageDef *m)
bool upb_MessageDef_HasOptions(const upb_MessageDef *m)
@ kUpb_WellKnown_UInt64Value
const upb_FileDef * upb_MessageDef_File(const upb_MessageDef *m)
@ kUpb_WellKnown_Duration
const char * upb_EnumDef_Name(const upb_EnumDef *e)
upb_WellKnown upb_MessageDef_WellKnownType(const upb_MessageDef *m)
const UPB_INLINE upb_OneofDef * upb_MessageDef_FindOneofByName(const upb_MessageDef *m, const char *name)
const upb_FieldDef * upb_FileDef_TopLevelExtension(const upb_FileDef *f, int i)
bool upb_FieldDef_HasDefault(const upb_FieldDef *f)
const upb_MessageDef * upb_FieldDef_ContainingType(const upb_FieldDef *f)
const upb_FileDef * upb_DefPool_AddFile(upb_DefPool *s, const google_protobuf_FileDescriptorProto *file, upb_Status *status)
const upb_MessageDef * upb_FieldDef_MessageSubDef(const upb_FieldDef *f)
const upb_MessageDef * upb_MethodDef_OutputType(const upb_MethodDef *m)
upb_StringView descriptor
struct google_protobuf_ExtensionRangeOptions google_protobuf_ExtensionRangeOptions
const upb_FieldDef * upb_DefPool_FindExtensionByNumber(const upb_DefPool *s, const upb_MessageDef *m, int32_t fieldnum)
bool upb_EnumValueDef_HasOptions(const upb_EnumValueDef *e)
const upb_MessageDef * upb_MessageDef_ContainingType(const upb_MessageDef *m)
struct google_protobuf_OneofOptions google_protobuf_OneofOptions
const upb_FileDef * upb_DefPool_FindFileContainingSymbol(const upb_DefPool *s, const char *name)
const upb_FieldDef * upb_MessageDef_Field(const upb_MessageDef *m, int i)
struct upb_streamdef upb_streamdef
const upb_OneofDef * upb_FieldDef_RealContainingOneof(const upb_FieldDef *f)
const upb_OneofDef * upb_FieldDef_ContainingOneof(const upb_FieldDef *f)
@ kUpb_WellKnown_ListValue
const upb_EnumDef * upb_FileDef_TopLevelEnum(const upb_FileDef *f, int i)
@ kUpb_WellKnown_Int64Value
@ kUpb_WellKnown_DoubleValue
struct google_protobuf_MethodOptions google_protobuf_MethodOptions
const upb_FieldDef * upb_MessageDef_FindFieldByNameWithSize(const upb_MessageDef *m, const char *name, size_t len)
@ kUpb_WellKnown_Int32Value
const char * upb_FieldDef_JsonName(const upb_FieldDef *f)
struct google_protobuf_EnumValueOptions google_protobuf_EnumValueOptions
UPB_INLINE bool google_protobuf_MessageOptions_map_entry(const google_protobuf_MessageOptions *msg)
const char * upb_ServiceDef_Name(const upb_ServiceDef *s)
const upb_FieldDef * upb_MessageDef_NestedExtension(const upb_MessageDef *m, int i)
bool upb_FieldDef_IsRepeated(const upb_FieldDef *f)
const google_protobuf_EnumValueOptions * upb_EnumValueDef_Options(const upb_EnumValueDef *e)
upb_CType upb_FieldDef_CType(const upb_FieldDef *f)
upb_Arena * _upb_DefPool_Arena(const upb_DefPool *s)
const char * upb_MessageDef_Name(const upb_MessageDef *m)
upb_FieldType upb_FieldDef_Type(const upb_FieldDef *f)
const google_protobuf_OneofOptions * upb_OneofDef_Options(const upb_OneofDef *o)
struct google_protobuf_ServiceOptions google_protobuf_ServiceOptions
const upb_FieldDef * _upb_DefPool_FindExtensionByMiniTable(const upb_DefPool *s, const upb_MiniTable_Extension *ext)
int upb_FileDef_PublicDependencyCount(const upb_FileDef *f)
const google_protobuf_ExtensionRangeOptions * upb_ExtensionRange_Options(const upb_ExtensionRange *r)
bool upb_FieldDef_IsMap(const upb_FieldDef *f)
int upb_MessageDef_NestedEnumCount(const upb_MessageDef *m)
const upb_EnumDef * upb_FieldDef_EnumSubDef(const upb_FieldDef *f)
const char * upb_FieldDef_FullName(const upb_FieldDef *f)
const upb_FieldDef * upb_DefPool_FindExtensionByName(const upb_DefPool *s, const char *sym)
const upb_MethodDef * upb_ServiceDef_Method(const upb_ServiceDef *s, int i)
const upb_FieldDef ** upb_DefPool_GetAllExtensions(const upb_DefPool *s, const upb_MessageDef *m, size_t *count)
struct _upb_DefPool_Init _upb_DefPool_Init
struct google_protobuf_FileDescriptorProto google_protobuf_FileDescriptorProto
@ kUpb_WellKnown_FieldMask
struct google_protobuf_FileOptions google_protobuf_FileOptions
struct google_protobuf_MessageOptions google_protobuf_MessageOptions
uint32_t upb_EnumValueDef_Index(const upb_EnumValueDef *e)
bool upb_MethodDef_ClientStreaming(const upb_MethodDef *m)
const char * upb_OneofDef_Name(const upb_OneofDef *o)
const upb_FileDef * upb_FileDef_WeakDependency(const upb_FileDef *f, int i)
bool upb_FieldDef_IsSubMessage(const upb_FieldDef *f)
int upb_ServiceDef_MethodCount(const upb_ServiceDef *s)
int32_t upb_EnumValueDef_Number(const upb_EnumValueDef *e)
const upb_FileDef * upb_FileDef_PublicDependency(const upb_FileDef *f, int i)
const UPB_INLINE upb_EnumValueDef * upb_EnumDef_FindValueByName(const upb_EnumDef *e, const char *name)
const char * upb_ServiceDef_FullName(const upb_ServiceDef *s)
uint32_t upb_OneofDef_Index(const upb_OneofDef *o)
bool upb_ServiceDef_HasOptions(const upb_ServiceDef *s)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:09