public static MasterProtos.TruncateRegionRequest
    buildTruncateRegionRequest(final RegionInfo regionInfo, final long nonceGroup, final long nonce)
      throws DeserializationException {
    MasterProtos.TruncateRegionRequest.Builder builder =
      MasterProtos.TruncateRegionRequest.newBuilder();
    builder.setRegionInfo(ProtobufUtil.toRegionInfo(regionInfo));
    builder.setNonceGroup(nonceGroup);
    builder.setNonce(nonce);
    return builder.build();
  }
Create a protocol buffer MoveRegionRequest
@return A MoveRegionRequest
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java