public String getId() {
    byte[] attr = getAttribute(ID_ATRIBUTE);
    return attr == null ? null : Bytes.toString(attr);
  }
This method allows you to retrieve the identifier for the operation if one was set.
@return the id or null if not set
hbase-client/src/main/java/org/apache/hadoop/hbase/client/OperationWithAttributes.java