Searched refs:hasField (Results 1 – 14 of 14) sorted by relevance
3281 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 …]
254 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()
78 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in AbstractMessageTest.AbstractMessageWrapper79 return wrappedMessage.hasField(field); in hasField()133 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in AbstractMessageTest.AbstractMessageWrapper.Builder134 return wrappedBuilder.hasField(field); in hasField()
141 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup()215 assertFalse(fields.hasField(fieldNumber)); in testClearField()
444 assertTrue(unknownFields.hasField(UNKNOWN_TYPE_ID)); in testParseMessageSetWithFlag()
564 assertTrue(builder.hasField(field)); in testReflectionClearOneof()567 assertFalse(builder.hasField(field)); in testReflectionClearOneof()
131 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() method385 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in MessageReflection.BuilderAdapter386 return builder.hasField(field); in hasField()546 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() method in MessageReflection.ExtensionAdapter547 return extensions.hasField(field); in hasField()906 boolean hasOriginalValue = target.hasField(field); in mergeMessageSetExtensionFromBytes()
115 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 GeneratedMessage342 if (hasField(field)) { in getAllFieldsMutable()371 public boolean hasField(final FieldDescriptor field) { in hasField() method in GeneratedMessage.Builder454 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 …]
185 public boolean hasField(FieldDescriptor field) { in hasField() method in DynamicMessage187 return fields.hasField(field); in hasField()224 if (!fields.hasField(field)) { in isInitialized()464 public boolean hasField(FieldDescriptor field) {466 return fields.hasField(field);
111 boolean hasField(Descriptors.FieldDescriptor field); in hasField() method
115 public boolean hasField(final int number) { in hasField() method in UnknownFieldSet410 if (hasField(number)) { in mergeField()435 public boolean hasField(final int number) { in hasField() method in UnknownFieldSet.Builder
195 return extensions.hasField(extension.descriptor); in hasExtension()382 return extensions.hasField(extension.descriptor); in hasExtension()
208 public boolean hasField(final FieldDescriptorType descriptor) { in hasField() method in FieldSet
1536 && target.hasField(field)) { in consumeFieldValue()