Home
last modified time | relevance | path

Searched refs:getDefaultInstanceForType (Results 1 – 20 of 20) sorted by relevance

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DSingleFieldBuilder.java176 if (builder == null && message == message.getDefaultInstanceForType()) { in mergeFrom()
195 ? message.getDefaultInstanceForType() in clear()
196 : builder.getDefaultInstanceForType()); in clear()
DSingleFieldBuilderV3.java176 if (builder == null && message == message.getDefaultInstanceForType()) { in mergeFrom()
195 ? message.getDefaultInstanceForType() in clear()
196 : builder.getDefaultInstanceForType()); in clear()
DMessageLiteOrBuilder.java48 MessageLite getDefaultInstanceForType(); in getDefaultInstanceForType() method
DLazyFieldLite.java160 return value1.equals(other.getValue(value1.getDefaultInstanceForType())); in equals()
162 return getValue(value2.getDefaultInstanceForType()).equals(value2); in equals()
DMessageOrBuilder.java46 Message getDefaultInstanceForType(); in getDefaultInstanceForType() method
DGeneratedMessageLite.java79 public final MessageType getDefaultInstanceForType() { in getDefaultInstanceForType() method in GeneratedMessageLite
306 result = (T) UnsafeUtil.allocateInstance(clazz).getDefaultInstanceForType(); in getDefaultInstance()
384 BuilderType builder = (BuilderType) getDefaultInstanceForType().newBuilderForType(); in clone()
427 public MessageType getDefaultInstanceForType() { in getDefaultInstanceForType() method in GeneratedMessageLite.Builder
796 if (extension.getContainingTypeDefaultInstance() != getDefaultInstanceForType()) { in verifyExtensionContainingType()
956 if (extension.getContainingTypeDefaultInstance() != getDefaultInstanceForType()) { in verifyExtensionContainingType()
DMapEntry.java178 public MapEntry<K, V> getDefaultInstanceForType() { in getDefaultInstanceForType() method in MapEntry
387 public MapEntry<K, V> getDefaultInstanceForType() { in getDefaultInstanceForType() method in MapEntry.Builder
DDynamicMessage.java161 public DynamicMessage getDefaultInstanceForType() { in getDefaultInstanceForType() method in DynamicMessage
453 public DynamicMessage getDefaultInstanceForType() {
DMessageLiteToString.java202 return o == ((MessageLite) o).getDefaultInstanceForType(); in isDefaultValue()
DUnknownFieldSet.java85 public UnknownFieldSet getDefaultInstanceForType() { in getDefaultInstanceForType() method in UnknownFieldSet
366 public UnknownFieldSet getDefaultInstanceForType() { in getDefaultInstanceForType() method in UnknownFieldSet.Builder
DAbstractMessageLite.java348 if (!getDefaultInstanceForType().getClass().isInstance(other)) { in mergeFrom()
DAbstractMessage.java397 if (existingValue == existingValue.getDefaultInstanceForType()) { in mergeFrom()
DGeneratedMessage.java440 (BuilderType) getDefaultInstanceForType().newBuilderForType();
741 Message getDefaultInstanceForType();
DGeneratedMessageV3.java596 (BuilderType) getDefaultInstanceForType().newBuilderForType();
896 Message getDefaultInstanceForType();
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DAbstractMessageTest.java72 public AbstractMessageWrapper getDefaultInstanceForType() { in getDefaultInstanceForType() method in AbstractMessageTest.AbstractMessageWrapper
74 wrappedMessage.getDefaultInstanceForType()); in getDefaultInstanceForType()
124 public AbstractMessageWrapper getDefaultInstanceForType() { in getDefaultInstanceForType() method in AbstractMessageTest.AbstractMessageWrapper.Builder
126 wrappedBuilder.getDefaultInstanceForType()); in getDefaultInstanceForType()
DGeneratedMessageTest.java82 TestAllTypes.getDefaultInstance().getDefaultInstanceForType()); in testDefaultInstance()
84 TestAllTypes.newBuilder().getDefaultInstanceForType()); in testDefaultInstance()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DAbstractMessageTest.java74 public AbstractMessageWrapper getDefaultInstanceForType() { in getDefaultInstanceForType() method in AbstractMessageTest.AbstractMessageWrapper
75 return new AbstractMessageWrapper(wrappedMessage.getDefaultInstanceForType()); in getDefaultInstanceForType()
151 public AbstractMessageWrapper getDefaultInstanceForType() { in getDefaultInstanceForType() method in AbstractMessageTest.AbstractMessageWrapper.Builder
152 return new AbstractMessageWrapper(wrappedBuilder.getDefaultInstanceForType()); in getDefaultInstanceForType()
DLazyFieldTest.java105 message.getDefaultInstanceForType(), TestUtil.getExtensionRegistry(), bytes); in createLazyFieldFromMessage()
DGeneratedMessageTest.java245 TestAllTypes.getDefaultInstance().getDefaultInstanceForType()); in testDefaultInstance()
247 TestAllTypes.getDefaultInstance(), TestAllTypes.newBuilder().getDefaultInstanceForType()); in testDefaultInstance()
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java396 public com.google.protobuf.jruby.SentinelOuterClass.Sentinel getDefaultInstanceForType() { in getDefaultInstanceForType() method in SentinelOuterClass.Sentinel.Builder
727 public com.google.protobuf.jruby.SentinelOuterClass.Sentinel getDefaultInstanceForType() { in getDefaultInstanceForType() method in SentinelOuterClass.Sentinel