Home
last modified time | relevance | path

Searched refs:preservingProtoFieldNames (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java113 private final boolean preservingProtoFieldNames; field in JsonFormat.Printer
118 boolean preservingProtoFieldNames) { in Printer() argument
121 this.preservingProtoFieldNames = preservingProtoFieldNames; in Printer()
134 return new Printer(registry, includingDefaultValueFields, preservingProtoFieldNames); in usingTypeRegistry()
144 return new Printer(registry, true, preservingProtoFieldNames); in includingDefaultValueFields()
153 public Printer preservingProtoFieldNames() { in preservingProtoFieldNames() method in JsonFormat.Printer
168 new PrinterImpl(registry, includingDefaultValueFields, preservingProtoFieldNames, output) in appendTo()
431 private final boolean preservingProtoFieldNames; field in JsonFormat.PrinterImpl
443 boolean preservingProtoFieldNames, in PrinterImpl() argument
447 this.preservingProtoFieldNames = preservingProtoFieldNames; in PrinterImpl()
[all …]
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java1157 JsonFormat.printer().preservingProtoFieldNames().print(message)); in testPreservingProtoFieldNames()
1164 JsonFormat.printer().preservingProtoFieldNames().print(messageWithCustomJsonName)); in testPreservingProtoFieldNames()
/external/protobuf/
DCHANGES.txt161 - Added a new option “preservingProtoFieldNames” to JsonFormat.