Home
last modified time | relevance | path

Searched refs:addRepeatedField (Results 1 – 25 of 26) sorted by relevance

12

/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestUtil.java2087 message.addRepeatedField(f("repeated_int32" ), 201 ); in setAllFieldsViaReflection()
2088 message.addRepeatedField(f("repeated_int64" ), 202L); in setAllFieldsViaReflection()
2089 message.addRepeatedField(f("repeated_uint32" ), 203 ); in setAllFieldsViaReflection()
2090 message.addRepeatedField(f("repeated_uint64" ), 204L); in setAllFieldsViaReflection()
2091 message.addRepeatedField(f("repeated_sint32" ), 205 ); in setAllFieldsViaReflection()
2092 message.addRepeatedField(f("repeated_sint64" ), 206L); in setAllFieldsViaReflection()
2093 message.addRepeatedField(f("repeated_fixed32" ), 207 ); in setAllFieldsViaReflection()
2094 message.addRepeatedField(f("repeated_fixed64" ), 208L); in setAllFieldsViaReflection()
2095 message.addRepeatedField(f("repeated_sfixed32"), 209 ); in setAllFieldsViaReflection()
2096 message.addRepeatedField(f("repeated_sfixed64"), 210L); in setAllFieldsViaReflection()
[all …]
DAbstractMessageTest.java160 public Builder addRepeatedField( in addRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper.Builder
162 wrappedBuilder.addRepeatedField(field, value); in addRepeatedField()
DMessageTest.java195 builder.addRepeatedField(descriptor.findFieldByName("repeated_message"), in testRequiredDynamicForeign()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTestUtil.java2863 message.addRepeatedField(f("repeated_int32"), 201); in setAllFieldsViaReflection()
2864 message.addRepeatedField(f("repeated_int64"), 202L); in setAllFieldsViaReflection()
2865 message.addRepeatedField(f("repeated_uint32"), 203); in setAllFieldsViaReflection()
2866 message.addRepeatedField(f("repeated_uint64"), 204L); in setAllFieldsViaReflection()
2867 message.addRepeatedField(f("repeated_sint32"), 205); in setAllFieldsViaReflection()
2868 message.addRepeatedField(f("repeated_sint64"), 206L); in setAllFieldsViaReflection()
2869 message.addRepeatedField(f("repeated_fixed32"), 207); in setAllFieldsViaReflection()
2870 message.addRepeatedField(f("repeated_fixed64"), 208L); in setAllFieldsViaReflection()
2871 message.addRepeatedField(f("repeated_sfixed32"), 209); in setAllFieldsViaReflection()
2872 message.addRepeatedField(f("repeated_sfixed64"), 210L); in setAllFieldsViaReflection()
[all …]
DUnknownEnumValueTest.java140 builder.addRepeatedField( in testUnknownEnumValueInReflectionApi()
142 builder.addRepeatedField( in testUnknownEnumValueInReflectionApi()
188 builder.addRepeatedField( in testUnknownEnumValueWithDynamicMessage()
190 builder.addRepeatedField( in testUnknownEnumValueWithDynamicMessage()
217 builder.addRepeatedField( in testUnknownEnumValueWithDynamicMessage()
219 builder.addRepeatedField( in testUnknownEnumValueWithDynamicMessage()
DMapTest.java682 testMapBuilder.addRepeatedField(intMapField, entryBuilder.getRepeatedField(intMapField, 0)); in testNestedBuilderOnChangeEventPropagationReflection()
810 builder.addRepeatedField( in testReflectionApi()
812 builder.addRepeatedField( in testReflectionApi()
824 builder.addRepeatedField( in testReflectionApi()
826 builder.addRepeatedField( in testReflectionApi()
890 builder.addRepeatedField(field, builder.newBuilderForField(field).build()); in testDynamicMessageUnsetKeyAndValue()
908 b1.addRepeatedField(field, newMapEntry(b1, "int32_to_int32_field", 1, 2)); in testReflectionEqualsAndHashCode()
909 b1.addRepeatedField(field, newMapEntry(b1, "int32_to_int32_field", 3, 4)); in testReflectionEqualsAndHashCode()
910 b1.addRepeatedField(field, newMapEntry(b1, "int32_to_int32_field", 5, 6)); in testReflectionEqualsAndHashCode()
914 b2.addRepeatedField(field, newMapEntry(b2, "int32_to_int32_field", 5, 6)); in testReflectionEqualsAndHashCode()
[all …]
DMapForProto2Test.java719 builder.addRepeatedField( in testReflectionApi()
721 builder.addRepeatedField( in testReflectionApi()
733 builder.addRepeatedField( in testReflectionApi()
735 builder.addRepeatedField( in testReflectionApi()
799 builder.addRepeatedField(field, builder.newBuilderForField(field).build()); in testDynamicMessageUnsetKeyAndValue()
817 b1.addRepeatedField(field, newMapEntry(b1, "int32_to_int32_field", 1, 2)); in testReflectionEqualsAndHashCode()
818 b1.addRepeatedField(field, newMapEntry(b1, "int32_to_int32_field", 3, 4)); in testReflectionEqualsAndHashCode()
819 b1.addRepeatedField(field, newMapEntry(b1, "int32_to_int32_field", 5, 6)); in testReflectionEqualsAndHashCode()
823 b2.addRepeatedField(field, newMapEntry(b2, "int32_to_int32_field", 5, 6)); in testReflectionEqualsAndHashCode()
824 b2.addRepeatedField(field, newMapEntry(b2, "int32_to_int32_field", 1, 2)); in testReflectionEqualsAndHashCode()
[all …]
DAbstractMessageTest.java204 public Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) { in addRepeatedField() method in AbstractMessageTest.AbstractMessageWrapper.Builder
205 wrappedBuilder.addRepeatedField(field, value); in addRepeatedField()
DGeneratedMessageTest.java188 builder.addRepeatedField( in testGetRepeatedFieldBuilderForExistingBuilder()
1680 builder1.addRepeatedField(fieldDescriptor, fieldBuilder1.build()); in testGetRepeatedFieldBuilder()
1687 builder1.addRepeatedField(foreignFieldDescriptor, foreignFieldBuilder1.build()); in testGetRepeatedFieldBuilder()
1694 builder1.addRepeatedField(importFieldDescriptor, importFieldBuilder1.build()); in testGetRepeatedFieldBuilder()
1712 builder2.addRepeatedField(foreignFieldDescriptor, foreignFieldBuilder2.build()); in testGetRepeatedFieldBuilder()
1719 builder2.addRepeatedField(importFieldDescriptor, importFieldBuilder2.build()); in testGetRepeatedFieldBuilder()
DMessageTest.java194 builder.addRepeatedField( in testRequiredDynamicForeign()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java273 MergeTarget addRepeatedField(Descriptors.FieldDescriptor field, Object value); in addRepeatedField() method
392 public MergeTarget addRepeatedField(Descriptors.FieldDescriptor field, Object value) { in addRepeatedField() method in MessageReflection.BuilderAdapter
393 builder.addRepeatedField(field, value); in addRepeatedField()
594 public MergeTarget addRepeatedField(Descriptors.FieldDescriptor field, Object value) { in addRepeatedField() method in MessageReflection.ExtensionAdapter
595 extensions.addRepeatedField(field, value); in addRepeatedField()
803 target.addRepeatedField( in mergeFieldFrom()
814 target.addRepeatedField(field, value); in mergeFieldFrom()
823 target.addRepeatedField(field, value); in mergeFieldFrom()
864 target.addRepeatedField(field, value); in mergeFieldFrom()
DMessage.java232 Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value); in addRepeatedField() method
DDynamicMessage.java591 public Builder addRepeatedField(FieldDescriptor field, Object value) {
594 fields.addRepeatedField(field, value);
DGeneratedMessageLite.java586 extensions.addRepeatedField( in parseExtension()
594 extensions.addRepeatedField(extension.descriptor, value); in parseExtension()
639 extensions.addRepeatedField( in parseExtension()
1025 .addRepeatedField(extensionLite.descriptor, extensionLite.singularToFieldSetType(value)); in addExtension()
DGeneratedMessage.java598 public BuilderType addRepeatedField(final FieldDescriptor field, final Object value) {
1331 extensions.addRepeatedField(
1576 public BuilderType addRepeatedField(final FieldDescriptor field,
1581 extensions.addRepeatedField(field, value);
1585 return super.addRepeatedField(field, value);
DMapEntry.java376 public Builder<K, V> addRepeatedField(FieldDescriptor field, Object value) { in addRepeatedField() method in MapEntry.Builder
DGeneratedMessageV3.java754 public BuilderType addRepeatedField(final FieldDescriptor field, final Object value) {
1494 extensions.addRepeatedField(
1788 public BuilderType addRepeatedField(final FieldDescriptor field,
1793 extensions.addRepeatedField(field, value);
1797 return super.addRepeatedField(field, value);
DAbstractMessage.java393 addRepeatedField(field, element); in mergeFrom()
DFieldSet.java366 public void addRepeatedField(final T descriptor, final Object value) { in addRepeatedField() method in FieldSet
1184 public void addRepeatedField(final T descriptor, final Object value) { in addRepeatedField() method in FieldSet.Builder
DExtensionSchemaLite.java272 extensions.addRepeatedField(extension.descriptor, value); in parseExtension()
DExtensionSchemaFull.java288 extensions.addRepeatedField(extension.descriptor, value); in parseExtension()
DArrayDecoders.java963 extensions.addRepeatedField(extension.descriptor, value); in decodeExtension()
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java102 addRepeatedField(fieldDescriptor, repeatedField); in initialize()
281 … dup.addRepeatedField(fieldDescriptor, this.getRepeatedField(context, fieldDescriptor)); in dup()
413 this.builder.addRepeatedField(fieldDescriptor, kv); in build()
421 this.builder.addRepeatedField(fieldDescriptor, item); in build()
440 copy.addRepeatedField(fdef, this.getRepeatedField(context, fdef).deepCopy(context)); in deepCopy()
459 addRepeatedField(fieldDescriptor, ret); in getRepeatedField()
463 …private void addRepeatedField(Descriptors.FieldDescriptor fieldDescriptor, RubyRepeatedField repea… in addRepeatedField() method in RubyMessage
687 addRepeatedField(fieldDescriptor, (RubyRepeatedField) value); in setField()
691 addRepeatedField(fieldDescriptor, repeatedField); in setField()
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java302 destination.addRepeatedField(field, element); in merge()
DJsonFormat.java1698 builder.addRepeatedField(field, entryBuilder.build()); in mergeMapField()
1737 builder.addRepeatedField(field, value); in mergeRepeatedField()

12