Home
last modified time | relevance | path

Searched refs:fieldDef (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyFieldDescriptor.java213 if (message.getDescriptor() != fieldDef.getContainingType()) { in getValue()
216 return message.getField(context, fieldDef); in getValue()
230 if (message.getDescriptor() != fieldDef.getContainingType()) { in setValue()
233 message.setField(context, fieldDef, value); in setValue()
242 this.fieldDef = fieldDescriptor; in setFieldDef()
259 return fieldDef; in getFieldDef()
274 private Descriptors.FieldDescriptor fieldDef; field in RubyFieldDescriptor
DUtils.java236 …RubyFieldDescriptor fieldDef = (RubyFieldDescriptor) cFieldDescriptor.newInstance(context, Block.N… in msgdefCreateField() local
237 fieldDef.setLabel(context, runtime.newString(label)); in msgdefCreateField()
238 fieldDef.setName(context, name); in msgdefCreateField()
239 fieldDef.setType(context, type); in msgdefCreateField()
240 fieldDef.setNumber(context, number); in msgdefCreateField()
246 fieldDef.setSubmsgName(context, typeClass); in msgdefCreateField()
248 return fieldDef; in msgdefCreateField()
DRubyDescriptor.java121 RubyFieldDescriptor fieldDef = (RubyFieldDescriptor) obj; in addField() local
122 this.fieldDefMap.put(fieldDef.getName(context).asJavaString(), fieldDef); in addField() local
123 this.builder.addField(fieldDef.build()); in addField()