Package io.temporal.internal.common
Class ProtoUtils
- java.lang.Object
-
- io.temporal.internal.common.ProtoUtils
-
public class ProtoUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProtoUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends com.google.protobuf.Message>
com.google.protobuf.AnypackAny(T details, com.google.protobuf.Descriptors.Descriptor descriptor)This method does exactly whatAny.pack(Message)does.
-
-
-
Method Detail
-
packAny
public static <T extends com.google.protobuf.Message> com.google.protobuf.Any packAny(T details, com.google.protobuf.Descriptors.Descriptor descriptor)This method does exactly whatAny.pack(Message)does. But it doesn't go into reflection to fetch thedescriptor, which allows us to avoid a bunch of Graal reflection configs.
-
-