-public class CloseTransactionReply implements SerializableMessage {
- public static final Class<ShardTransactionMessages.CloseTransactionReply> SERIALIZABLE_CLASS =
- ShardTransactionMessages.CloseTransactionReply.class;
- @Override
- public Object toSerializable() {
- return ShardTransactionMessages.CloseTransactionReply.newBuilder().build();
- }
+ public CloseTransactionReply() {
+ }
+
+ @Override
+ protected Object newLegacySerializedInstance() {
+ // no legacy serialized type for this class; return self
+ return this;
+ }