public Class<?> getClassFromName(String entityName) {
return serCtx.canMarshall(entityName) ? ProtobufValueWrapper.class : null;
}
};
FieldBridgeProvider fieldBridgeProvider = new FieldBridgeProvider() {
@Override
public FieldBridge getFieldBridge(String type, String propertyPath) {
Descriptors.Descriptor md = serCtx.getMessageDescriptor(type);
Descriptors.FieldDescriptor fd = getFieldDescriptor(md, propertyPath);
switch (fd.getType()) {