+
+ @Override
+ public Object toSerializable() {
+ return ShardManagerMessages.PrimaryNotFound.newBuilder().setShardName(shardName).build();
+ }
+
+ public static PrimaryNotFound fromSerializable(Object message){
+ return new PrimaryNotFound(((ShardManagerMessages.PrimaryNotFound)message).getShardName());
+ }