Home
last modified time | relevance | path

Searched refs:usingTypeRegistry (Results 1 – 5 of 5) sorted by relevance

/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java148 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()
/third_party/protobuf/conformance/
DConformanceJava.java269 JsonFormat.Parser parser = JsonFormat.parser().usingTypeRegistry(typeRegistry); in doTest()
341 JsonFormat.printer().usingTypeRegistry(typeRegistry).print(testMessage)).build(); in doTest()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatTest.java547 .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()
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java167 public Printer usingTypeRegistry(TypeRegistry oldRegistry) { in usingTypeRegistry() method in JsonFormat.Printer
189 public Printer usingTypeRegistry(com.google.protobuf.TypeRegistry registry) { in usingTypeRegistry() method in JsonFormat.Printer
433 public Parser usingTypeRegistry(TypeRegistry oldRegistry) { in usingTypeRegistry() method in JsonFormat.Parser
451 public Parser usingTypeRegistry(com.google.protobuf.TypeRegistry registry) { in usingTypeRegistry() method in JsonFormat.Parser
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormat.java323 public Printer usingTypeRegistry(TypeRegistry typeRegistry) { in usingTypeRegistry() method in TextFormat.Printer