private static void writeObjectTypeConfiguration( MarshallerWriteContext context,
ObjectTypeConfigurationRegistry otcr,
org.drools.marshalling.impl.ProtobufMessages.EntryPoint.Builder _epb) {
for (ObjectTypeConf otc : otcr.values()) {
final ObjectTypeNodeMemory memory = (ObjectTypeNodeMemory) context.wm
.getNodeMemory(otc.getConcreteObjectTypeNode());
if (memory != null && !memory.memory.isEmpty()) {
ObjectTypeConfiguration _otc = ObjectTypeConfiguration
.newBuilder().setType(otc.getTypeName())
.setTmsEnabled(otc.isTMSEnabled()).build();