Lines Matching defs:value
1083 * FieldDescriptor.get(message) => value
1085 * Returns the value set for this field on the given message. Raises an
1102 * Returns whether the value is set on the given message. Raises an
1138 * FieldDescriptor.set(message, value)
1140 * Sets the value corresponding to this field to the given value on the given
1144 VALUE FieldDescriptor_set(VALUE _self, VALUE msg_rb, VALUE value) {
1151 layout_set(msg->descriptor->layout, Message_data(msg), self->fielddef, value);
1335 * EnumDescriptor.lookup_name(name) => value
1337 * Returns the numeric value corresponding to the given key name (as a Ruby
1353 * EnumDescriptor.lookup_value(name) => value
1355 * Returns the key name (as a Ruby symbol) corresponding to the integer value,
1373 * Iterates over key => value mappings in this enum's definition, yielding to
1374 * the block with (key, value) arguments for each one.
1546 // optional <type> value = 2;
1549 ID2SYM(rb_intern("value")), rb_ary_entry(types, 1), INT2NUM(2));
1552 ID2SYM(rb_intern("value")), rb_ary_entry(types, 1), INT2NUM(2),
1683 * Defines a new map field on this message type with the given key and value
1684 * types, tag number, and type class (for message and enum value types). The key
1685 * type must be :int32/:uint32/:int64/:uint64, :bool, or :string. The value type
1954 rb_define_method(klass, "value", EnumBuilderContext_value, 2);