Searched refs:TextFormatParseInfoTree (Results 1 – 5 of 5) sorted by relevance
61 private TextFormatParseInfoTree.Builder rootBuilder;65 rootBuilder = TextFormatParseInfoTree.builder(); in setUp()69 TextFormatParseInfoTree tree = rootBuilder.build(); in testBuildEmptyParseTree()75 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationReturnsSingleLocation()83 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsNoParseLocationsForUnknownField()90 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationThrowsIllegalArgumentExceptionForUnknownField()100 TextFormatParseInfoTree root = rootBuilder.setLocation(OPTIONAL_INT32, LOC0).build(); in testGetLocationThrowsIllegalArgumentExceptionForInvalidIndex()118 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsMultipleLocations()126 TextFormatParseInfoTree root = rootBuilder.build(); in testGetNestedTreeThrowsIllegalArgumentExceptionForUnknownField()137 TextFormatParseInfoTree root = rootBuilder.build(); in testGetNestedTreesReturnsNoParseInfoTreesForUnknownField()[all …]
1044 TextFormatParseInfoTree.Builder treeBuilder = TextFormatParseInfoTree.builder(); in testParseInfoTreeBuilding()1068 TextFormatParseInfoTree tree = treeBuilder.build(); in testParseInfoTreeBuilding()1089 TextFormatParseInfoTree nestedTree = tree.getNestedTrees(nestedField).get(0); in testParseInfoTreeBuilding()1110 TextFormatParseInfoTree tree, in assertLocation()
52 public class TextFormatParseInfoTree { class60 Map<FieldDescriptor, List<TextFormatParseInfoTree>> subtreesFromField;68 private TextFormatParseInfoTree( in TextFormatParseInfoTree() method in TextFormatParseInfoTree70 Map<FieldDescriptor, List<TextFormatParseInfoTree.Builder>> subtreeBuildersFromField) { in TextFormatParseInfoTree()80 Map<FieldDescriptor, List<TextFormatParseInfoTree>> subs = in TextFormatParseInfoTree()81 new HashMap<FieldDescriptor, List<TextFormatParseInfoTree>>(); in TextFormatParseInfoTree()83 List<TextFormatParseInfoTree> submessagesOfField = new ArrayList<TextFormatParseInfoTree>(); in TextFormatParseInfoTree()125 public List<TextFormatParseInfoTree> getNestedTrees(final FieldDescriptor fieldDescriptor) { in getNestedTrees()126 List<TextFormatParseInfoTree> result = subtreesFromField.get(fieldDescriptor); in getNestedTrees()127 return result == null ? Collections.<TextFormatParseInfoTree>emptyList() : result; in getNestedTrees()[all …]
1278 private TextFormatParseInfoTree.Builder parseInfoTreeBuilder;1282 TextFormatParseInfoTree.Builder parseInfoTreeBuilder) { in Parser()1302 private TextFormatParseInfoTree.Builder parseInfoTreeBuilder = null;1314 TextFormatParseInfoTree.Builder parseInfoTreeBuilder) { in setParseInfoTreeBuilder()1450 TextFormatParseInfoTree.Builder parseTreeBuilder, in mergeField()1537 TextFormatParseInfoTree.Builder childParseTreeBuilder = in mergeField()1573 final TextFormatParseInfoTree.Builder parseTreeBuilder, in consumeFieldValues()1604 final TextFormatParseInfoTree.Builder parseTreeBuilder, in consumeFieldValue()
258 java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java \