@Override
  public void toData(DataOutput out,
      SerializationContext context) throws IOException {
    super.toData(out, context);
    out.writeBoolean(removeSingleIndex);
    if (removeSingleIndex) {
      out.writeUTF(indexName);
    }
  }
Sends this RemoveIndexesMessage to all the participating members in the system.

@param pr prartitioned region to remove the index on.
@return PartitionResponse indicating sucessful remove index
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RemoveIndexesMessage.java