HomeSort by relevance Sort by last modified time
    Searched defs:repeatedField (Results 1 - 4 of 4) sorted by null

  /external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
RubyMessage.java 68 this.cRepeatedField = (RubyClass) runtime.getClassFromPath("Google::Protobuf::RepeatedField");
97 RubyRepeatedField repeatedField = rubyToRepeatedField(context, fieldDescriptor, value);
98 addRepeatedField(fieldDescriptor, repeatedField);
382 RubyRepeatedField repeatedField = repeatedFields.get(fieldDescriptor);
384 for (int i = 0; i < repeatedField.size(); i++) {
385 Object item = convert(context, fieldDescriptor, repeatedField.get(i), depth);
428 private void addRepeatedField(Descriptors.FieldDescriptor fieldDescriptor, RubyRepeatedField repeatedField) {
429 this.repeatedFields.put(fieldDescriptor, repeatedField);
658 RubyRepeatedField repeatedField = rubyToRepeatedField(context, fieldDescriptor, ary);
659 addRepeatedField(fieldDescriptor, repeatedField);
    [all...]
RubyRepeatedField.java 49 RubyClass cRepeatedField = mProtobuf.defineClassUnder("RepeatedField", runtime.getObject(),
105 * RepeatedField.[]=(index, value)
124 * RepeatedField.[](index) => value
161 * RepeatedField.push(value)
176 * private Ruby method used by RepeatedField.pop
187 * RepeatedField.replace(list)
201 * RepeatedField.clear
213 * RepeatedField.length
224 * RepeatedField.+(other) => repeated field
237 RubyRepeatedField repeatedField = (RubyRepeatedField) list
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
DescriptorsTest.java 266 FieldDescriptor repeatedField =
273 assertFalse(repeatedField.isRequired());
274 assertTrue(repeatedField.isRepeated());
280 FieldDescriptor repeatedField = TestAllTypes.getDescriptor().findFieldByName("repeated_int32");
283 assertEquals("repeatedInt32", repeatedField.getJsonName());
    [all...]
UnknownFieldSetTest.java 283 Descriptors.FieldDescriptor repeatedField =
286 assertNotNull(repeatedField);
295 .addField(repeatedField.getNumber(),
318 .getField(repeatedField.getNumber())
336 .getField(repeatedField.getNumber())
581 Descriptors.FieldDescriptor repeatedField =
584 assertNotNull(repeatedField);
593 .addField(repeatedField.getNumber(),
620 .getField(repeatedField.getNumber())
638 .getField(repeatedField.getNumber()
    [all...]

Completed in 49 milliseconds