Home
last modified time | relevance | path

Searched refs:hasField (Results 1 – 16 of 16) sorted by relevance

/external/protobuf/java/src/test/java/com/google/protobuf/
DTestUtil.java3281 Assert.assertTrue(message.hasField(f("optional_int32" ))); in assertAllFieldsSetViaReflection()
3282 Assert.assertTrue(message.hasField(f("optional_int64" ))); in assertAllFieldsSetViaReflection()
3283 Assert.assertTrue(message.hasField(f("optional_uint32" ))); in assertAllFieldsSetViaReflection()
3284 Assert.assertTrue(message.hasField(f("optional_uint64" ))); in assertAllFieldsSetViaReflection()
3285 Assert.assertTrue(message.hasField(f("optional_sint32" ))); in assertAllFieldsSetViaReflection()
3286 Assert.assertTrue(message.hasField(f("optional_sint64" ))); in assertAllFieldsSetViaReflection()
3287 Assert.assertTrue(message.hasField(f("optional_fixed32" ))); in assertAllFieldsSetViaReflection()
3288 Assert.assertTrue(message.hasField(f("optional_fixed64" ))); in assertAllFieldsSetViaReflection()
3289 Assert.assertTrue(message.hasField(f("optional_sfixed32"))); in assertAllFieldsSetViaReflection()
3290 Assert.assertTrue(message.hasField(f("optional_sfixed64"))); in assertAllFieldsSetViaReflection()
[all …]
DDynamicMessageTest.java254 assertTrue(copy.hasField(bytesField)); in testDynamicMessageCopy()
255 assertFalse(copy.hasField(uint32Field)); in testDynamicMessageCopy()
258 assertFalse(copy2.hasField(bytesField)); in testDynamicMessageCopy()
259 assertTrue(copy2.hasField(uint32Field)); in testDynamicMessageCopy()
301 assertTrue(mergedBuilder.hasField(mergedField)); in testDynamicOneofMessage()
303 assertTrue(mergedBuilder.hasField(field)); in testDynamicOneofMessage()
304 assertFalse(mergedBuilder.hasField(mergedField)); in testDynamicOneofMessage()
DAbstractMessageTest.java78 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in AbstractMessageTest.AbstractMessageWrapper
79 return wrappedMessage.hasField(field); in hasField()
133 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in AbstractMessageTest.AbstractMessageWrapper.Builder
134 return wrappedBuilder.hasField(field); in hasField()
DUnknownFieldSetTest.java141 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup()
215 assertFalse(fields.hasField(fieldNumber)); in testClearField()
DWireFormatTest.java444 assertTrue(unknownFields.hasField(UNKNOWN_TYPE_ID)); in testParseMessageSetWithFlag()
DGeneratedMessageTest.java564 assertTrue(builder.hasField(field)); in testReflectionClearOneof()
567 assertFalse(builder.hasField(field)); in testReflectionClearOneof()
/external/protobuf/java/src/main/java/com/google/protobuf/
DMessageReflection.java131 if (!message.hasField(field)) { in isInitialized()
185 if (field.isRequired() && !message.hasField(field)) { in findMissingFields()
204 if (message.hasField(field)) { in findMissingFields()
260 boolean hasField(Descriptors.FieldDescriptor field); in hasField() method
385 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in MessageReflection.BuilderAdapter
386 return builder.hasField(field); in hasField()
546 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in MessageReflection.ExtensionAdapter
547 return extensions.hasField(field); in hasField()
906 boolean hasOriginalValue = target.hasField(field); in mergeMessageSetExtensionFromBytes()
DGeneratedMessage.java115 if (hasField(field)) { in getAllFieldsMutable()
128 if (!hasField(field)) { in isInitialized()
143 if (hasField(field) && !((Message) getField(field)).isInitialized()) { in isInitialized()
169 public boolean hasField(final FieldDescriptor field) { in hasField() method in GeneratedMessage
342 if (hasField(field)) { in getAllFieldsMutable()
371 public boolean hasField(final FieldDescriptor field) { in hasField() method in GeneratedMessage.Builder
454 if (!hasField(field)) { in isInitialized()
469 if (hasField(field) && in isInitialized()
630 return extensions.hasField(extension.getDescriptor()); in hasExtension()
792 public boolean hasField(final FieldDescriptor field) { in hasField() method in GeneratedMessage.ExtendableMessage
[all …]
DDynamicMessage.java185 public boolean hasField(FieldDescriptor field) { in hasField() method in DynamicMessage
187 return fields.hasField(field); in hasField()
224 if (!fields.hasField(field)) { in isInitialized()
464 public boolean hasField(FieldDescriptor field) {
466 return fields.hasField(field);
DMessageOrBuilder.java111 boolean hasField(Descriptors.FieldDescriptor field); in hasField() method
DUnknownFieldSet.java115 public boolean hasField(final int number) { in hasField() method in UnknownFieldSet
410 if (hasField(number)) { in mergeField()
435 public boolean hasField(final int number) { in hasField() method in UnknownFieldSet.Builder
DGeneratedMessageLite.java195 return extensions.hasField(extension.descriptor); in hasExtension()
382 return extensions.hasField(extension.descriptor); in hasExtension()
DFieldSet.java208 public boolean hasField(final FieldDescriptorType descriptor) { in hasField() method in FieldSet
DTextFormat.java1536 && target.hasField(field)) { in consumeFieldValue()
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...