VAdminProto.RebalanceStateChangeRequest.Builder getRebalanceStateChangeRequestBuilder = VAdminProto.RebalanceStateChangeRequest.newBuilder();
if(rebalanceTaskPlanList != null) {
List<RebalanceTaskInfoMap> map = Lists.newArrayList();
for(RebalanceTaskInfo stealInfo: rebalanceTaskPlanList) {
RebalanceTaskInfoMap infoMap = ProtoUtils.encodeRebalanceTaskInfoMap(stealInfo);
map.add(infoMap);
}
getRebalanceStateChangeRequestBuilder.addAllRebalanceTaskList(map);
}