Searched refs:usingTypeRegistry (Results 1 – 5 of 5) sorted by relevance
148 JsonFormat.Printer printer = JsonFormat.printer().usingTypeRegistry(registry); in assertRoundTripEquals()149 JsonFormat.Parser parser = JsonFormat.parser().usingTypeRegistry(registry); in assertRoundTripEquals()158 JsonFormat.Printer printer = JsonFormat.printer().usingTypeRegistry(registry); in assertRoundTripEquals()159 JsonFormat.Parser parser = JsonFormat.parser().usingTypeRegistry(registry); in assertRoundTripEquals()870 JsonFormat.Printer printer = JsonFormat.printer().usingTypeRegistry(registry); in testAnyFieldsWithCustomAddedTypeRegistry()917 JsonFormat.Printer printer = JsonFormat.printer().usingTypeRegistry(registry); in testAnyFields()1098 JsonFormat.Printer printer = JsonFormat.printer().usingTypeRegistry(registry); in testAnyInMaps()1653 JsonFormat.Parser parser = JsonFormat.parser().usingTypeRegistry(registry); in testEmptyWrapperTypesInAny()
269 JsonFormat.Parser parser = JsonFormat.parser().usingTypeRegistry(typeRegistry); in doTest()341 JsonFormat.printer().usingTypeRegistry(typeRegistry).print(testMessage)).build(); in doTest()
547 .usingTypeRegistry(TypeRegistry.newBuilder().add(TestAllTypes.getDescriptor()).build()) in testPrintAny_customBuiltTypeRegistry()601 .usingTypeRegistry(TypeRegistry.newBuilder().add(TestAllTypes.getDescriptor()).build()) in testPrintAny_anyWithDynamicMessage()627 .usingTypeRegistry(TypeRegistry.newBuilder().add(TestAllTypes.getDescriptor()).build()) in testPrintAny_anyFromWithNoValueField()650 .usingTypeRegistry(TypeRegistry.newBuilder().add(TestAllTypes.getDescriptor()).build()) in testPrintAny_anyFromWithNoTypeUrlField()680 .usingTypeRegistry(TypeRegistry.newBuilder().add(TestAllTypes.getDescriptor()).build()) in testPrintAny_anyWithInvalidFieldType()
167 public Printer usingTypeRegistry(TypeRegistry oldRegistry) { in usingTypeRegistry() method in JsonFormat.Printer189 public Printer usingTypeRegistry(com.google.protobuf.TypeRegistry registry) { in usingTypeRegistry() method in JsonFormat.Printer433 public Parser usingTypeRegistry(TypeRegistry oldRegistry) { in usingTypeRegistry() method in JsonFormat.Parser451 public Parser usingTypeRegistry(com.google.protobuf.TypeRegistry registry) { in usingTypeRegistry() method in JsonFormat.Parser
323 public Printer usingTypeRegistry(TypeRegistry typeRegistry) { in usingTypeRegistry() method in TextFormat.Printer