Home
last modified time | relevance | path

Searched refs:LazyField (Results 1 – 12 of 12) sorted by relevance

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DLazyField.java46 public class LazyField extends LazyFieldLite { class
54 public LazyField( in LazyField() method in LazyField
92 private Entry<K, LazyField> entry;
94 private LazyEntry(Entry<K, LazyField> entry) { in LazyEntry()
105 LazyField field = entry.getValue(); in getValue()
112 public LazyField getField() { in getField()
143 if (entry.getValue() instanceof LazyField) { in next()
144 return new LazyEntry<K>((Entry<K, LazyField>) entry); in next()
DFieldSet.java35 import com.google.protobuf.LazyField.LazyIterator;
219 if (value instanceof LazyField) { in cloneFieldEntry()
220 map.put(key, ((LazyField) value).getValue()); in cloneFieldEntry()
267 if (o instanceof LazyField) { in getField()
268 return ((LazyField) o).getValue(); in getField()
296 if (value instanceof LazyField) { in setField()
429 return (value instanceof MessageLite) || (value instanceof LazyField); in isValidType()
473 } else if (value instanceof LazyField) { in isInitialized()
522 if (otherValue instanceof LazyField) { in mergeFromField()
523 otherValue = ((LazyField) otherValue).getValue(); in mergeFromField()
[all …]
DMessageSetSchema.java111 if (extension instanceof LazyField.LazyEntry) { in writeTo()
113 fd.getNumber(), ((LazyField.LazyEntry) extension).getField().toByteString()); in writeTo()
DExtensionSchemaFull.java519 new LazyField(extensionInfo.defaultInstance, extensionRegistry, reader.readBytes())); in parseLengthPrefixedMessageSetItem()
544 new LazyField(extensionInfo.defaultInstance, extensionRegistry, data)); in parseMessageSetItem()
DMessageReflection.java976 LazyField lazyField = new LazyField(extension.defaultInstance, extensionRegistry, rawBytes); in mergeMessageSetExtensionFromBytes()
DGeneratedMessage.java1020 if (next instanceof LazyField.LazyEntry<?>) {
1022 ((LazyField.LazyEntry<?>) next).getField().toByteString());
DGeneratedMessageV3.java1188 if (next instanceof LazyField.LazyEntry<?>) {
1190 ((LazyField.LazyEntry<?>) next).getField().toByteString());
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyFieldTest.java45 LazyField lazyField = createLazyFieldFromMessage(message); in testHashCode()
56 LazyField lazyField = createLazyFieldFromMessage(message); in testHashCodeEx()
67 LazyField lazyField = createLazyFieldFromMessage(message); in testGetValue()
75 LazyField lazyField = createLazyFieldFromMessage(message); in testGetValueEx()
83 LazyField lazyField = createLazyFieldFromMessage(message); in testEqualsObject()
93 LazyField lazyField = createLazyFieldFromMessage(message); in testEqualsObjectEx()
102 private LazyField createLazyFieldFromMessage(MessageLite message) { in createLazyFieldFromMessage()
104 return new LazyField( in createLazyFieldFromMessage()
108 private void changeValue(LazyField lazyField) { in changeValue()
/third_party/protobuf/src/google/protobuf/
Darena.h90 class LazyField; // defined in lazy_field.h variable
721 friend class internal::LazyField; // For CreateMaybeMessage.
Dgenerated_message_reflection.cc67 using google::protobuf::internal::LazyField;
/third_party/protobuf/java/core/
DBUILD42 "src/main/java/com/google/protobuf/LazyField.java",
/third_party/protobuf/
DMakefile.am328 java/core/src/main/java/com/google/protobuf/LazyField.java \