Go to the documentation of this file.
56 explicit operator bool()
const {
return ptr_ !=
nullptr; }
131 explicit operator bool()
const {
return ptr_ !=
nullptr; }
174 explicit operator bool()
const {
return ptr_ !=
nullptr; }
313 explicit operator bool()
const {
return ptr_ !=
nullptr; }
354 explicit operator bool()
const {
return ptr_ !=
nullptr; }
438 #endif // UPB_DEF_HPP_
bool upb_FieldDef_IsPrimitive(const upb_FieldDef *f)
const char * upb_OneofDef_Name(const upb_OneofDef *o)
const upb_OneofDef * upb_MessageDef_FindOneofByNameWithSize(const upb_MessageDef *m, const char *name, size_t len)
upb_FieldType upb_FieldDef_Type(const upb_FieldDef *f)
uint32_t upb_FieldDef_Number(const upb_FieldDef *f)
const char * name() const
bool upb_FieldDef_IsPacked(const upb_FieldDef *f)
FieldDefPtr FindFieldByName(const char *name) const
const char * name() const
OneofDefPtr(const upb_OneofDef *ptr)
const upb_EnumDef * upb_DefPool_FindEnumByName(const upb_DefPool *s, const char *sym)
FieldDefPtr FindFieldByName(const char *name, size_t len) const
OneofDefPtr FindOneofByName(const T &str) const
bool operator!=(const FieldIter &other)
EnumValDefPtr(const upb_EnumValueDef *ptr)
const upb_FileDef * ptr() const
const char * upb_FileDef_Package(const upb_FileDef *f)
bool operator!=(const OneofIter &other)
DescriptorType descriptor_type() const
const upb_OneofDef * ptr() const
upb_Syntax upb_MessageDef_Syntax(const upb_MessageDef *m)
const char * name() const
const upb_MessageDef * md_
const upb_FieldDef * upb_OneofDef_LookupNumber(const upb_OneofDef *o, uint32_t num)
const char * upb_EnumValueDef_Name(const upb_EnumValueDef *ev)
int32_t default_value() const
const upb_FileDef * upb_FileDef_Dependency(const upb_FileDef *f, int i)
const upb_MessageDef * ptr() const
FieldIter(const upb_MessageDef *m, int i)
FieldDefPtr FindFieldByName(const T &str) const
FieldDefPtr(const upb_FieldDef *ptr)
FileDefPtr AddFile(const google_protobuf_FileDescriptorProto *file_proto, Status *status)
const upb_MessageDef * upb_OneofDef_ContainingType(const upb_OneofDef *o)
EnumDefPtr enum_subdef() const
EnumDefPtr FindEnumByName(const char *sym) const
upb_FieldType DescriptorType
OneofDefPtr containing_oneof() const
FieldAccessor(const upb_MessageDef *md)
const upb_EnumDef * ptr() const
MessageDefPtr containing_type() const
#define T(upbtypeconst, upbtype, ctype, default_value)
FieldDefPtr FindFieldByName(const char *name, size_t len) const
upb_Syntax upb_FileDef_Syntax(const upb_FileDef *f)
MessageDefPtr(const upb_MessageDef *ptr)
struct upb_DefPool upb_DefPool
const upb_EnumValueDef * upb_EnumDef_FindValueByNumber(const upb_EnumDef *def, int32_t num)
uint32_t upb_FieldDef_Index(const upb_FieldDef *f)
upb_Label upb_FieldDef_Label(const upb_FieldDef *f)
const upb_FieldDef * ptr() const
UPB_INLINE bool upb_MessageDef_IsMapEntry(const upb_MessageDef *m)
upb_WellKnown upb_MessageDef_WellKnownType(const upb_MessageDef *m)
const char * upb_MessageDef_Name(const upb_MessageDef *m)
const UPB_INLINE upb_FieldDef * upb_OneofDef_LookupName(const upb_OneofDef *o, const char *name)
bool upb_FieldDef_IsMap(const upb_FieldDef *f)
const upb_FieldDef * ptr_
const upb_MessageDef * m_
const char * json_name() const
const char * name() const
const upb_EnumValueDef * ptr_
FieldDefPtr field(int i) const
FieldDefPtr FindFieldByName(const char *name) const
FieldDefPtr field(int i) const
std::unique_ptr< upb_DefPool, decltype(&upb_DefPool_Free)> ptr_
const upb_MessageDef * m_
int upb_OneofDef_FieldCount(const upb_OneofDef *o)
upb_DefPool * upb_DefPool_New(void)
const char * upb_EnumDef_FullName(const upb_EnumDef *e)
upb_MessageValue upb_FieldDef_Default(const upb_FieldDef *f)
OneofIter(const upb_MessageDef *m, int i)
bool upb_FieldDef_IsExtension(const upb_FieldDef *f)
const upb_DefPool * ptr() const
const char * upb_FileDef_Name(const upb_FileDef *f)
const UPB_INLINE upb_FieldDef * upb_MessageDef_FindFieldByName(const upb_MessageDef *m, const char *name)
OneofDefPtr FindOneofByName(const char *name, size_t len) const
FieldDefPtr FindFieldByNumber(uint32_t num) const
const upb_MessageDef * ptr_
OneofDefPtr FindOneofByName(const char *name) const
upb_CType upb_FieldDef_CType(const upb_FieldDef *f)
int upb_EnumDef_ValueCount(const upb_EnumDef *e)
const upb_OneofDef * upb_MessageDef_Oneof(const upb_MessageDef *m, int i)
const upb_MessageDef * upb_FieldDef_MessageSubDef(const upb_FieldDef *f)
const upb_EnumDef * upb_FieldDef_EnumSubDef(const upb_FieldDef *f)
MessageDefPtr containing_type() const
const char * name() const
const upb_FieldDef * upb_OneofDef_LookupNameWithSize(const upb_OneofDef *o, const char *name, size_t length)
const char * upb_EnumValueDef_FullName(const upb_EnumValueDef *ev)
int32_t upb_EnumDef_Default(const upb_EnumDef *e)
SymbolTable(upb_DefPool *s)
const upb_MessageDef * upb_FieldDef_ContainingType(const upb_FieldDef *f)
bool operator==(const OneofIter &other)
void upb_DefPool_Free(upb_DefPool *s)
const char * upb_FieldDef_JsonName(const upb_FieldDef *f)
const UPB_INLINE upb_OneofDef * upb_MessageDef_FindOneofByName(const upb_MessageDef *m, const char *name)
const char * full_name() const
FileDefPtr(const upb_FileDef *ptr)
MessageValue default_value() const
const upb_FieldDef * upb_OneofDef_Field(const upb_OneofDef *o, int i)
const char * full_name() const
const char * package() const
const char * full_name() const
upb_WellKnown wellknowntype() const
bool upb_FieldDef_IsRepeated(const upb_FieldDef *f)
const char * upb_EnumDef_Name(const upb_EnumDef *e)
const upb_MessageDef * md_
bool upb_FieldDef_IsString(const upb_FieldDef *f)
int upb_MessageDef_OneofCount(const upb_MessageDef *m)
FieldDefPtr FindFieldByNumber(uint32_t number) const
bool IsSubMessage() const
const FileDefPtr dependency(int index) const
const char * full_name() const
EnumDefPtr(const upb_EnumDef *ptr)
MessageDefPtr FindMessageByName(const char *sym) const
upb_Syntax syntax() const
const char * upb_MessageDef_FullName(const upb_MessageDef *m)
const upb_FileDef * upb_MessageDef_File(const upb_MessageDef *m)
const upb_FileDef * upb_DefPool_AddFile(upb_DefPool *s, const google_protobuf_FileDescriptorProto *file_proto, upb_Status *status)
FileDefPtr FindFileByName(const char *name) const
bool upb_FieldDef_IsSubMessage(const upb_FieldDef *f)
FieldAccessor fields() const
const upb_OneofDef * upb_FieldDef_ContainingOneof(const upb_FieldDef *f)
upb_Syntax syntax() const
OneofDefPtr oneof(int i) const
const char * upb_FieldDef_Name(const upb_FieldDef *f)
bool is_extension() const
EnumValDefPtr FindValueByNumber(int32_t num) const
int upb_MessageDef_FieldCount(const upb_MessageDef *m)
FieldDefPtr FindFieldByName(const T &str) const
MessageDefPtr message_subdef() const
EnumValDefPtr FindValueByName(const char *name) const
upb_MessageValue MessageValue
const upb_FieldDef * upb_MessageDef_Field(const upb_MessageDef *m, int i)
OneofAccessor(const upb_MessageDef *md)
const char * name() const
struct google_protobuf_FileDescriptorProto google_protobuf_FileDescriptorProto
const upb_FieldDef * upb_MessageDef_FindFieldByNumber(const upb_MessageDef *m, uint32_t i)
int32_t upb_EnumValueDef_Number(const upb_EnumValueDef *ev)
const upb_MessageDef * upb_DefPool_FindMessageByName(const upb_DefPool *s, const char *sym)
const upb_FieldDef * upb_MessageDef_FindFieldByNameWithSize(const upb_MessageDef *m, const char *name, size_t len)
bool operator==(const FieldIter &other)
const char * upb_FieldDef_FullName(const upb_FieldDef *f)
int dependency_count() const
const upb_OneofDef * ptr_
const UPB_INLINE upb_EnumValueDef * upb_EnumDef_FindValueByName(const upb_EnumDef *e, const char *name)
OneofAccessor oneofs() const
int upb_FileDef_DependencyCount(const upb_FileDef *f)
const upb_FileDef * upb_DefPool_FindFileByName(const upb_DefPool *s, const char *name)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:03