JsonFormat.Printer |
JsonFormat.Printer.alwaysPrintFieldsWithNoPresence() |
Creates a new JsonFormat.Printer that will print any field that does not support presence even
if it would not otherwise be printed (empty repeated fields, empty map fields, and implicit
presence scalars set to their default value).
|
JsonFormat.Printer |
JsonFormat.Printer.includingDefaultValueFields() |
Deprecated.
|
JsonFormat.Printer |
JsonFormat.Printer.includingDefaultValueFields(java.util.Set<Descriptors.FieldDescriptor> fieldsToAlwaysOutput) |
Creates a new JsonFormat.Printer that will also print default-valued fields if their
FieldDescriptors are found in the supplied set.
|
JsonFormat.Printer |
JsonFormat.Printer.omittingInsignificantWhitespace() |
|
JsonFormat.Printer |
JsonFormat.Printer.preservingProtoFieldNames() |
Creates a new JsonFormat.Printer that is configured to use the original proto
field names as defined in the .proto file rather than converting them to
lowerCamelCase.
|
static JsonFormat.Printer |
JsonFormat.printer() |
|
JsonFormat.Printer |
JsonFormat.Printer.printingEnumsAsInts() |
Creates a new JsonFormat.Printer that prints enum field values as integers instead of as string.
|
JsonFormat.Printer |
JsonFormat.Printer.sortingMapKeys() |
|
JsonFormat.Printer |
JsonFormat.Printer.usingTypeRegistry(TypeRegistry registry) |
|
JsonFormat.Printer |
JsonFormat.Printer.usingTypeRegistry(JsonFormat.TypeRegistry oldRegistry) |
|