MCPcopy Create free account
hub / github.com/grpc/grpc-java / print

Method print

xds/src/main/java/io/grpc/xds/MessagePrinter.java:93–102  ·  view source on GitHub ↗
(MessageOrBuilder message)

Source from the content-addressed store, hash-verified

91 }
92
93 @Override
94 public String print(MessageOrBuilder message) {
95 String res;
96 try {
97 res = LazyHolder.printer.print(message);
98 } catch (InvalidProtocolBufferException e) {
99 res = message + " (failed to pretty-print: " + e + ")";
100 }
101 return res;
102 }
103}

Callers

nothing calls this directly

Calls 1

printMethod · 0.65

Tested by

no test coverage detected