public class GpbWellKnownHelper
extends Object
Helper methods for dealing with Protobuf "well-known types".
-
Constructor Summary
Constructors
-
Method Summary
toJava(com.google.protobuf.ListValue value)
toJava(com.google.protobuf.Struct struct)
Converts a Protobuf struct to Java Map where all elements are converted to equivalent Java types.
toJava(com.google.protobuf.Value value)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GpbWellKnownHelper
public GpbWellKnownHelper()
-
Method Details
-
toJava
Converts a Protobuf struct to Java Map where all elements are converted to equivalent Java types.
-
toJava
public static List<Object> toJava(com.google.protobuf.ListValue value)
-
toJava
public static Object toJava(com.google.protobuf.Value value)