public class WrapperFactory
extends java.lang.Object
Constructor and Description |
---|
WrapperFactory() |
Modifier and Type | Method and Description |
---|---|
static WrapperFactory |
getInstance() |
Message |
wrap(com.google.protobuf.GeneratedMessageV3 apiObject)
Method to wrap an GRPC object to it's wrapped object.
|
public static WrapperFactory getInstance()
public Message wrap(com.google.protobuf.GeneratedMessageV3 apiObject) throws ClientSideException
apiObject
- the GRPC object to wrapClientSideException
- if problems occurred constructing the wrapped object.