Searched refs:findFieldByName (Results 1 – 12 of 12) sorted by relevance
172 builder.setField(descriptor.findFieldByName("a"), 1); in testRequiredDynamic()174 builder.setField(descriptor.findFieldByName("b"), 1); in testRequiredDynamic()176 builder.setField(descriptor.findFieldByName("c"), 1); in testRequiredDynamic()186 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign()190 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign()194 builder.addRepeatedField(descriptor.findFieldByName("repeated_message"), in testRequiredDynamicForeign()198 builder.setRepeatedField(descriptor.findFieldByName("repeated_message"), 0, in testRequiredDynamicForeign()325 .findFieldByName("repeated_foreign_message")) instanceof List<?>); in testDynamicRepeatedMessageNull()327 .findFieldByName("repeated_foreign_message")), 0); in testDynamicRepeatedMessageNull()349 .findFieldByName("repeated_foreign_message")) instanceof List<?>); in testDynamicRepeatedMessageNotNull()[all …]
173 assertEquals(field, messageType.findFieldByName("optional_int32")); in testDescriptor()174 assertNull(messageType.findFieldByName("no_such_field")); in testDescriptor()200 messageType.findFieldByName("optional_int32"); in testFieldDescriptor()202 messageType.findFieldByName("optional_nested_enum"); in testFieldDescriptor()204 messageType.findFieldByName("optional_foreign_message"); in testFieldDescriptor()206 messageType.findFieldByName("optional_cord"); in testFieldDescriptor()265 TestRequired.getDescriptor().findFieldByName("a"); in testFieldDescriptorLabel()267 TestAllTypes.getDescriptor().findFieldByName("optional_int32"); in testFieldDescriptorLabel()269 TestAllTypes.getDescriptor().findFieldByName("repeated_int32"); in testFieldDescriptorLabel()281 assertFalse(d.findFieldByName("optional_int32").hasDefaultValue()); in testFieldDescriptorDefault()[all …]
548 TestAllTypes.getDescriptor().findFieldByName("oneof_bytes"); in testReflectionGetOneof()561 TestAllTypes.getDescriptor().findFieldByName("oneof_bytes"); in testReflectionClearOneof()795 MessageWithNoOuter.getDescriptor().findFieldByName("foreign_enum"); in testMultipleFilesOption()1095 descriptor.findFieldByName("optional_nested_message"); in testGetFieldBuilder()1097 descriptor.findFieldByName("optional_foreign_message"); in testGetFieldBuilder()1099 descriptor.findFieldByName("optional_import_message"); in testGetFieldBuilder()1107 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()1116 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder()1125 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder()1136 fieldBuilder2.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder()[all …]
278 .setField(descriptor.findFieldByName("my_int"), 1L) in testInterleavedFieldsAndExtensions()279 .setField(descriptor.findFieldByName("my_string"), "foo") in testInterleavedFieldsAndExtensions()280 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testInterleavedFieldsAndExtensions()316 .setField(descriptor.findFieldByName("my_int"), 1L) in testParseMultipleExtensionRangesDynamic()317 .setField(descriptor.findFieldByName("my_string"), "foo") in testParseMultipleExtensionRangesDynamic()318 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testParseMultipleExtensionRangesDynamic()
62 Descriptors.FieldDescriptor field = descriptor.findFieldByName(name); in getField()133 TestAllTypes.OptionalGroup.getDescriptor().findFieldByName("a"); in testGroup()281 TestAllTypes.getDescriptor().findFieldByName("optional_nested_enum"); in testParseUnknownEnumValue()283 TestAllTypes.getDescriptor().findFieldByName("repeated_nested_enum"); in testParseUnknownEnumValue()579 TestAllTypes.getDescriptor().findFieldByName("optional_nested_enum"); in testParseUnknownEnumValueLite()581 TestAllTypes.getDescriptor().findFieldByName("repeated_nested_enum"); in testParseUnknownEnumValueLite()
251 TestAllTypes.getDescriptor().findFieldByName("oneof_bytes"); in testDynamicMessageCopy()253 TestAllTypes.getDescriptor().findFieldByName("oneof_uint32"); in testDynamicMessageCopy()318 TestAllTypes.getDescriptor().findFieldByName( in testSettersForRepeatedEnumField()
226 OneString.getDescriptor().findFieldByName("data"); in testPrintField()232 TestAllTypes.getDescriptor().findFieldByName("optional_nested_message"); in testPrintField()815 TestAllTypes.getDescriptor().findFieldByName(fieldName), in assertPrintFieldValue()
2994 this.nestedB = nestedMessage .findFieldByName("bb"); in ReflectionTester()2995 this.foreignC = foreignMessage.findFieldByName("c"); in ReflectionTester()2996 this.importD = importMessage .findFieldByName("d"); in ReflectionTester()2997 this.importE = publicImportMessage.findFieldByName("e"); in ReflectionTester()3008 this.groupA = optionalGroup.findFieldByName("a"); in ReflectionTester()3009 this.repeatedGroupA = repeatedGroup.findFieldByName("a"); in ReflectionTester()3034 result = baseDescriptor.findFieldByName(name); in f()
1350 field = type.findFieldByName(name); in mergeField()1359 field = type.findFieldByName(lowerName); in mergeField()
640 public FieldDescriptor findFieldByName(final String name) { in findFieldByName() method in Descriptors.Descriptor
1290 return scope.getDescriptorForType().findFieldByName(name);
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...