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 …]
1043 TextFormatParseInfoTree.Builder treeBuilder = TextFormatParseInfoTree.builder(); in testParseInfoTreeBuilding()1067 TextFormatParseInfoTree tree = treeBuilder.build(); in testParseInfoTreeBuilding()1088 TextFormatParseInfoTree nestedTree = tree.getNestedTrees(nestedField).get(0); in testParseInfoTreeBuilding()1109 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 …]
1270 private TextFormatParseInfoTree.Builder parseInfoTreeBuilder;1274 TextFormatParseInfoTree.Builder parseInfoTreeBuilder) { in Parser()1294 private TextFormatParseInfoTree.Builder parseInfoTreeBuilder = null;1306 TextFormatParseInfoTree.Builder parseInfoTreeBuilder) { in setParseInfoTreeBuilder()1414 TextFormatParseInfoTree.Builder parseTreeBuilder) in mergeField()1511 TextFormatParseInfoTree.Builder childParseTreeBuilder = in mergeField()1547 final TextFormatParseInfoTree.Builder parseTreeBuilder) in consumeFieldValues()1577 final TextFormatParseInfoTree.Builder parseTreeBuilder) in consumeFieldValue()
253 java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java \