Home
last modified time | relevance | path

Searched refs:hasDefaultValue (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/
DDescriptors.java906 public boolean hasDefaultValue() { return proto.hasDefaultValue(); } in hasDefaultValue() method in Descriptors.FieldDescriptor
1192 if (proto.hasDefaultValue()) { in crossLink()
1223 if (proto.hasDefaultValue()) { in crossLink()
/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java281 assertFalse(d.findFieldByName("optional_int32").hasDefaultValue()); in testFieldDescriptorDefault()
283 assertTrue(d.findFieldByName("default_int32").hasDefaultValue()); in testFieldDescriptorDefault()