Home
last modified time | relevance | path

Searched refs:MessageValue (Results 1 – 11 of 11) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DMapForProto2Test.java35 import map_test.MapForProto2TestProto.TestMap.MessageValue;
69 1, MessageValue.newBuilder().setValue(11).build()); in setMapValues()
71 2, MessageValue.newBuilder().setValue(22).build()); in setMapValues()
73 3, MessageValue.newBuilder().setValue(33).build()); in setMapValues()
140 1, MessageValue.newBuilder().setValue(111).build()); in updateMapValues()
143 4, MessageValue.newBuilder().setValue(44).build()); in updateMapValues()
236 Map<Integer, TestMap.MessageValue> messageMap = builder.getMutableInt32ToMessageField(); in testMutableMapLifecycle()
237 messageMap.put(1, TestMap.MessageValue.getDefaultInstance()); in testMutableMapLifecycle()
238 assertEquals(newMap(1, TestMap.MessageValue.getDefaultInstance()), in testMutableMapLifecycle()
241 messageMap.put(2, TestMap.MessageValue.getDefaultInstance()); in testMutableMapLifecycle()
[all …]
DMapForProto2LiteTest.java34 import map_lite_test.MapForProto2TestProto.TestMap.MessageValue;
66 1, MessageValue.newBuilder().setValue(11).build()); in setMapValues()
68 2, MessageValue.newBuilder().setValue(22).build()); in setMapValues()
70 3, MessageValue.newBuilder().setValue(33).build()); in setMapValues()
137 1, MessageValue.newBuilder().setValue(111).build()); in updateMapValues()
140 4, MessageValue.newBuilder().setValue(44).build()); in updateMapValues()
257 Map<Integer, TestMap.MessageValue> messageMap = builder.getMutableInt32ToMessageField(); in testMutableMapLifecycle()
258 messageMap.put(1, TestMap.MessageValue.getDefaultInstance()); in testMutableMapLifecycle()
259 assertEquals(newMap(1, TestMap.MessageValue.getDefaultInstance()), in testMutableMapLifecycle()
262 messageMap.put(2, TestMap.MessageValue.getDefaultInstance()); in testMutableMapLifecycle()
[all …]
DMapTest.java38 import map_test.MapTestProto.TestMap.MessageValue;
70 1, MessageValue.newBuilder().setValue(11).build()); in setMapValues()
72 2, MessageValue.newBuilder().setValue(22).build()); in setMapValues()
74 3, MessageValue.newBuilder().setValue(33).build()); in setMapValues()
141 1, MessageValue.newBuilder().setValue(111).build()); in updateMapValues()
144 4, MessageValue.newBuilder().setValue(44).build()); in updateMapValues()
237 Map<Integer, TestMap.MessageValue> messageMap = builder.getMutableInt32ToMessageField(); in testMutableMapLifecycle()
238 messageMap.put(1, TestMap.MessageValue.getDefaultInstance()); in testMutableMapLifecycle()
239 assertEquals(newMap(1, TestMap.MessageValue.getDefaultInstance()), in testMutableMapLifecycle()
242 messageMap.put(2, TestMap.MessageValue.getDefaultInstance()); in testMutableMapLifecycle()
[all …]
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs569 MessageValue = other.messageValue_ != null ? other.MessageValue.Clone() : null; in DeprecatedFieldsMessage()
604 public global::UnitTest.Issues.TestProtos.DeprecatedChild MessageValue { property in UnitTest.Issues.TestProtos.DeprecatedFieldsMessage
655 if (!object.Equals(MessageValue, other.MessageValue)) return false; in Equals()
666 if (messageValue_ != null) hash ^= MessageValue.GetHashCode(); in GetHashCode()
685 output.WriteMessage(MessageValue); in WriteTo()
702 size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageValue); in CalculateSize()
724 MessageValue.MergeFrom(other.MessageValue); in MergeFrom()
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dmap_for_proto2_test.proto40 message MessageValue { message
54 map<int32, MessageValue> int32_to_message_field = 5;
Dmap_test.proto40 message MessageValue { message
54 map<int32, MessageValue> int32_to_message_field = 5;
Dmap_for_proto2_lite_test.proto38 message MessageValue { message
52 map<int32, MessageValue> int32_to_message_field = 5;
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
Dmap_test.proto39 message MessageValue { message
54 map<int32, MessageValue> int32_to_message_field = 5;
DNanoTest.java37 import com.google.protobuf.nano.MapTestProto.TestMap.MessageValue;
2797 MessageValue msgValues[] = new MessageValue[] { in testMessageNanoPrinterForMaps()
2798 new MessageValue(), new MessageValue() in testMessageNanoPrinterForMaps()
2808 msg.int32ToMessageField = new HashMap<Integer, MapTestProto.TestMap.MessageValue>(); in testMessageNanoPrinterForMaps()
4120 new HashMap<Integer, MapTestProto.TestMap.MessageValue>(); in testMapSerializeRejectNull()
4135 TestMap.MessageValue origValue = new TestMap.MessageValue(); in testMapMergeOverrideMessageValues()
4138 TestMap.MessageValue newValue = new TestMap.MessageValue(); in testMapMergeOverrideMessageValues()
4143 new HashMap<Integer, MapTestProto.TestMap.MessageValue>(); in testMapMergeOverrideMessageValues()
4148 new HashMap<Integer, MapTestProto.TestMap.MessageValue>(); in testMapMergeOverrideMessageValues()
4152 TestMap.MessageValue mergedValue = origMessage.int32ToMessageField.get(1); in testMapMergeOverrideMessageValues()
[all …]
/external/protobuf/csharp/protos/
Dunittest_issues.proto72 DeprecatedChild MessageValue = 3 [deprecated = true]; field
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/
Dtest_example.proto169 message MessageValue { message