public static MoveRegionRequest buildMoveRegionRequest(byte[] encodedRegionName,
    ServerName destServerName) {
    MoveRegionRequest.Builder builder = MoveRegionRequest.newBuilder();
    builder
      .setRegion(buildRegionSpecifier(RegionSpecifierType.ENCODED_REGION_NAME, encodedRegionName));
    if (destServerName != null) {
      builder.setDestServerName(ProtobufUtil.toServerName(destServerName));
    }
    return builder.build();
  }
Create a protocol buffer MoveRegionRequest
@return A MoveRegionRequest
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java