#include "protobuf.h"
Go to the source code of this file.
Enumerations | |
| enum | { METHOD_UNKNOWN = 0, METHOD_GETTER = 1, METHOD_SETTER = 2, METHOD_CLEAR = 3, METHOD_PRESENCE = 4, METHOD_ENUM_GETTER = 5, METHOD_WRAPPER_GETTER = 6, METHOD_WRAPPER_SETTER = 7 } |
Functions | |
| VALUE | build_class_from_descriptor (Descriptor *desc) |
| VALUE | build_module_from_enumdesc (EnumDescriptor *enumdesc) |
| VALUE | create_submsg_from_hash (const upb_fielddef *f, VALUE hash) |
| VALUE | enum_descriptor (VALUE self) |
| VALUE | enum_lookup (VALUE self, VALUE number) |
| VALUE | enum_resolve (VALUE self, VALUE sym) |
| static int | extract_method_call (VALUE method_name, MessageHeader *self, const upb_fielddef **f, const upb_oneofdef **o) |
| VALUE | Google_Protobuf_deep_copy (VALUE self, VALUE obj) |
| static bool | is_wrapper_type_field (const upb_fielddef *field) |
| VALUE | Message_alloc (VALUE klass) |
| void * | Message_data (void *msg) |
| VALUE | Message_deep_copy (VALUE _self) |
| VALUE | Message_descriptor (VALUE klass) |
| VALUE | Message_dup (VALUE _self) |
| VALUE | Message_eq (VALUE _self, VALUE _other) |
| void | Message_free (void *self) |
| VALUE | Message_hash (VALUE _self) |
| VALUE | Message_index (VALUE _self, VALUE field_name) |
| VALUE | Message_index_set (VALUE _self, VALUE field_name, VALUE value) |
| VALUE | Message_initialize (int argc, VALUE *argv, VALUE _self) |
| int | Message_initialize_kwarg (VALUE key, VALUE val, VALUE _self) |
| VALUE | Message_inspect (VALUE _self) |
| void | Message_mark (void *_self) |
| VALUE | Message_method_missing (int argc, VALUE *argv, VALUE _self) |
| VALUE | Message_respond_to_missing (int argc, VALUE *argv, VALUE _self) |
| VALUE | Message_to_h (VALUE _self) |
| static VALUE | ruby_wrapper_type (const upb_fielddef *field, const VALUE *value) |
| static const upb_fielddef * | which_oneof_field (MessageHeader *self, const upb_oneofdef *o) |
Variables | |
| rb_data_type_t | Message_type |
| anonymous enum |
| Enumerator | |
|---|---|
| METHOD_UNKNOWN | |
| METHOD_GETTER | |
| METHOD_SETTER | |
| METHOD_CLEAR | |
| METHOD_PRESENCE | |
| METHOD_ENUM_GETTER | |
| METHOD_WRAPPER_GETTER | |
| METHOD_WRAPPER_SETTER | |
Definition at line 116 of file ruby/ext/google/protobuf_c/message.c.
| VALUE build_class_from_descriptor | ( | Descriptor * | desc | ) |
Definition at line 699 of file ruby/ext/google/protobuf_c/message.c.
| VALUE build_module_from_enumdesc | ( | EnumDescriptor * | enumdesc | ) |
Definition at line 805 of file ruby/ext/google/protobuf_c/message.c.
| VALUE create_submsg_from_hash | ( | const upb_fielddef * | f, |
| VALUE | hash | ||
| ) |
Definition at line 389 of file ruby/ext/google/protobuf_c/message.c.
| VALUE enum_descriptor | ( | VALUE | self | ) |
Definition at line 801 of file ruby/ext/google/protobuf_c/message.c.
| VALUE enum_lookup | ( | VALUE | self, |
| VALUE | number | ||
| ) |
Definition at line 760 of file ruby/ext/google/protobuf_c/message.c.
| VALUE enum_resolve | ( | VALUE | self, |
| VALUE | sym | ||
| ) |
Definition at line 780 of file ruby/ext/google/protobuf_c/message.c.
|
static |
Definition at line 153 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Google_Protobuf_deep_copy | ( | VALUE | self, |
| VALUE | obj | ||
| ) |
Definition at line 839 of file ruby/ext/google/protobuf_c/message.c.
|
static |
Definition at line 128 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_alloc | ( | VALUE | klass | ) |
Definition at line 60 of file ruby/ext/google/protobuf_c/message.c.
Definition at line 37 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_deep_copy | ( | VALUE | _self | ) |
Definition at line 515 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_descriptor | ( | VALUE | klass | ) |
Definition at line 695 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_dup | ( | VALUE | _self | ) |
Definition at line 498 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_eq | ( | VALUE | _self, |
| VALUE | _other | ||
| ) |
Definition at line 540 of file ruby/ext/google/protobuf_c/message.c.
Definition at line 46 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_hash | ( | VALUE | _self | ) |
Definition at line 564 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_index | ( | VALUE | _self, |
| VALUE | field_name | ||
| ) |
Definition at line 656 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_index_set | ( | VALUE | _self, |
| VALUE | field_name, | ||
| VALUE | value | ||
| ) |
Definition at line 675 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_initialize | ( | int | argc, |
| VALUE * | argv, | ||
| VALUE | _self | ||
| ) |
Definition at line 474 of file ruby/ext/google/protobuf_c/message.c.
| int Message_initialize_kwarg | ( | VALUE | key, |
| VALUE | val, | ||
| VALUE | _self | ||
| ) |
Definition at line 400 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_inspect | ( | VALUE | _self | ) |
Definition at line 579 of file ruby/ext/google/protobuf_c/message.c.
Definition at line 41 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_method_missing | ( | int | argc, |
| VALUE * | argv, | ||
| VALUE | _self | ||
| ) |
Definition at line 284 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_respond_to_missing | ( | int | argc, |
| VALUE * | argv, | ||
| VALUE | _self | ||
| ) |
Definition at line 369 of file ruby/ext/google/protobuf_c/message.c.
| VALUE Message_to_h | ( | VALUE | _self | ) |
Definition at line 599 of file ruby/ext/google/protobuf_c/message.c.
|
static |
Definition at line 143 of file ruby/ext/google/protobuf_c/message.c.
|
static |
Definition at line 82 of file ruby/ext/google/protobuf_c/message.c.
| rb_data_type_t Message_type |
Definition at line 55 of file ruby/ext/google/protobuf_c/message.c.