Home
last modified time | relevance | path

Searched refs:getRepeatedField (Results 1 – 18 of 18) sorted by relevance

/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestUtil.java2359 Assert.assertEquals(201 , message.getRepeatedField(f("repeated_int32" ), 0)); in assertAllFieldsSetViaReflection()
2360 Assert.assertEquals(202L , message.getRepeatedField(f("repeated_int64" ), 0)); in assertAllFieldsSetViaReflection()
2361 Assert.assertEquals(203 , message.getRepeatedField(f("repeated_uint32" ), 0)); in assertAllFieldsSetViaReflection()
2362 Assert.assertEquals(204L , message.getRepeatedField(f("repeated_uint64" ), 0)); in assertAllFieldsSetViaReflection()
2363 Assert.assertEquals(205 , message.getRepeatedField(f("repeated_sint32" ), 0)); in assertAllFieldsSetViaReflection()
2364 Assert.assertEquals(206L , message.getRepeatedField(f("repeated_sint64" ), 0)); in assertAllFieldsSetViaReflection()
2365 Assert.assertEquals(207 , message.getRepeatedField(f("repeated_fixed32" ), 0)); in assertAllFieldsSetViaReflection()
2366 Assert.assertEquals(208L , message.getRepeatedField(f("repeated_fixed64" ), 0)); in assertAllFieldsSetViaReflection()
2367 Assert.assertEquals(209 , message.getRepeatedField(f("repeated_sfixed32"), 0)); in assertAllFieldsSetViaReflection()
2368 Assert.assertEquals(210L , message.getRepeatedField(f("repeated_sfixed64"), 0)); in assertAllFieldsSetViaReflection()
[all …]
DAbstractMessageTest.java88 public Object getRepeatedField( in getRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper
90 return wrappedMessage.getRepeatedField(field, index); in getRepeatedField()
151 public Object getRepeatedField( in getRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper.Builder
153 return wrappedBuilder.getRepeatedField(field, index); in getRepeatedField()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTestUtil.java3141 Assert.assertEquals(201, message.getRepeatedField(f("repeated_int32"), 0)); in assertAllFieldsSetViaReflection()
3142 Assert.assertEquals(202L, message.getRepeatedField(f("repeated_int64"), 0)); in assertAllFieldsSetViaReflection()
3143 Assert.assertEquals(203, message.getRepeatedField(f("repeated_uint32"), 0)); in assertAllFieldsSetViaReflection()
3144 Assert.assertEquals(204L, message.getRepeatedField(f("repeated_uint64"), 0)); in assertAllFieldsSetViaReflection()
3145 Assert.assertEquals(205, message.getRepeatedField(f("repeated_sint32"), 0)); in assertAllFieldsSetViaReflection()
3146 Assert.assertEquals(206L, message.getRepeatedField(f("repeated_sint64"), 0)); in assertAllFieldsSetViaReflection()
3147 Assert.assertEquals(207, message.getRepeatedField(f("repeated_fixed32"), 0)); in assertAllFieldsSetViaReflection()
3148 Assert.assertEquals(208L, message.getRepeatedField(f("repeated_fixed64"), 0)); in assertAllFieldsSetViaReflection()
3149 Assert.assertEquals(209, message.getRepeatedField(f("repeated_sfixed32"), 0)); in assertAllFieldsSetViaReflection()
3150 Assert.assertEquals(210L, message.getRepeatedField(f("repeated_sfixed64"), 0)); in assertAllFieldsSetViaReflection()
[all …]
DUnknownEnumValueTest.java150 (EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0); in testUnknownEnumValueInReflectionApi()
152 (EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0); in testUnknownEnumValueInReflectionApi()
173 assertSame(message.getRepeatedField(repeatedNestedEnumField, 0), unknown4321); in testUnknownEnumValueInReflectionApi()
174 assertSame(message.getRepeatedField(packedNestedEnumField, 0), unknown5432); in testUnknownEnumValueInReflectionApi()
197 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
200 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
209 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
212 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
297 (EnumValueDescriptor) message.getRepeatedField(repeatedPackedField, 0); in testUnknownEnumValuesInProto2WithDynamicMessage()
299 (EnumValueDescriptor) message.getRepeatedField(repeatedPackedField, 1); in testUnknownEnumValuesInProto2WithDynamicMessage()
DAbstractMessageTest.java99 public Object getRepeatedField(Descriptors.FieldDescriptor field, int index) { in getRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper
100 return wrappedMessage.getRepeatedField(field, index); in getRepeatedField()
193 public Object getRepeatedField(Descriptors.FieldDescriptor field, int index) { in getRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper.Builder
194 return wrappedBuilder.getRepeatedField(field, index); in getRepeatedField()
DMapTest.java682 testMapBuilder.addRepeatedField(intMapField, entryBuilder.getRepeatedField(intMapField, 0)); in testNestedBuilderOnChangeEventPropagationReflection()
691 testMapBuilder.setRepeatedField(intMapField, 0, entryBuilder.getRepeatedField(intMapField, 0)); in testNestedBuilderOnChangeEventPropagationReflection()
735 Message mapEntry = (Message) message.getRepeatedField(field, i); in assertHasMapValues()
839 Message mapEntry = (Message) builder.getRepeatedField(f("int32_to_int32_field"), i); in testReflectionApi()
981 Message mapEntry = (Message) builder.getRepeatedField(field, i); in testUnknownEnumValuesInReflectionApi()
DMapForProto2Test.java644 Message mapEntry = (Message) message.getRepeatedField(field, i); in assertHasMapValues()
748 Message mapEntry = (Message) builder.getRepeatedField(f("int32_to_int32_field"), i); in testReflectionApi()
1160 message.getRepeatedField( in testMapInitializationOrder()
DGeneratedMessageTest.java219 builder.getRepeatedField(UnittestProto.repeatedNestedMessageExtension.getDescriptor(), 0); in testGetExtensionFieldOutOfBound()
230 extensionsMessage.getRepeatedField( in testGetExtensionFieldOutOfBound()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageOrBuilder.java129 Object getRepeatedField(Descriptors.FieldDescriptor field, int index); in getRepeatedField() method
DDynamicMessage.java215 public Object getRepeatedField(FieldDescriptor field, int index) { in getRepeatedField() method in DynamicMessage
217 return fields.getRepeatedField(field, index); in getRepeatedField()
577 public Object getRepeatedField(FieldDescriptor field, int index) {
579 return fields.getRepeatedField(field, index);
DGeneratedMessage.java255 public Object getRepeatedField(final FieldDescriptor field, final int index) { in getRepeatedField() method in GeneratedMessage
584 public Object getRepeatedField(final FieldDescriptor field, final int index) {
911 extensions.getRepeatedField(descriptor, index));
1128 public Object getRepeatedField(final FieldDescriptor field,
1132 return extensions.getRepeatedField(field, index);
1134 return super.getRepeatedField(field, index);
1289 extensions.getRepeatedField(descriptor, index));
1514 public Object getRepeatedField(final FieldDescriptor field,
1518 return extensions.getRepeatedField(field, index);
1520 return super.getRepeatedField(field, index);
DMapEntry.java233 public Object getRepeatedField(FieldDescriptor field, int index) { in getRepeatedField() method in MapEntry
430 public Object getRepeatedField(FieldDescriptor field, int index) { in getRepeatedField() method in MapEntry.Builder
DGeneratedMessageV3.java295 public Object getRepeatedField(final FieldDescriptor field, final int index) { in getRepeatedField() method in GeneratedMessageV3
740 public Object getRepeatedField(final FieldDescriptor field, final int index) {
1066 extensions.getRepeatedField(descriptor, index));
1296 public Object getRepeatedField(final FieldDescriptor field,
1300 return extensions.getRepeatedField(field, index);
1302 return super.getRepeatedField(field, index);
1452 extension.singularFromReflectionType(extensions.getRepeatedField(descriptor, index));
1697 public Object getRepeatedField(final FieldDescriptor field,
1704 return extensions.getRepeatedField(field, index);
1706 return super.getRepeatedField(field, index);
DFieldSet.java326 public Object getRepeatedField(final T descriptor, final int index) { in getRepeatedField() method in FieldSet
1129 public Object getRepeatedField(final T descriptor, final int index) { in getRepeatedField() method in FieldSet.Builder
DGeneratedMessageLite.java848 extensions.getRepeatedField(extensionLite.descriptor, index)); in getExtension()
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java281 … dup.addRepeatedField(fieldDescriptor, this.getRepeatedField(context, fieldDescriptor)); in dup()
440 copy.addRepeatedField(fdef, this.getRepeatedField(context, fdef).deepCopy(context)); in deepCopy()
450 …private RubyRepeatedField getRepeatedField(ThreadContext context, Descriptors.FieldDescriptor fiel… in getRepeatedField() method in RubyMessage
457 …ret.push(context, wrapField(context, fieldDescriptor, this.builder.getRepeatedField(fieldDescripto… in getRepeatedField()
651 … DynamicMessage message = (DynamicMessage) this.builder.getRepeatedField(fieldDescriptor, i); in getField()
660 return getRepeatedField(context, fieldDescriptor); in getField()
/third_party/protobuf/js/
Dmessage.js696 jspb.Message.getRepeatedField = function(msg, fieldNumber) { function in jspb.Message
737 var values = jspb.Message.getRepeatedField(msg, fieldNumber);
760 var values = jspb.Message.getRepeatedField(msg, fieldNumber);
1138 var arr = jspb.Message.getRepeatedField(msg, fieldNumber);
1272 var data = jspb.Message.getRepeatedField(msg, fieldNumber);
1380 var array = jspb.Message.getRepeatedField(msg, fieldNumber);
/third_party/protobuf/php/tests/
DEncodeDecodeTest.php111 $this->assertSame(12345, $m->getRepeatedField()[0]->getValue());
188 $this->assertSame("a", $m->getRepeatedField()[0]->getValue());
1331 $repeatedWrapper = $m->getRepeatedField();
1337 $repeatedWrapper = $m->getRepeatedField();
1344 $repeatedWrapper = $m->getRepeatedField();