public static String getDescriptiveNameFromRegionStateForDisplay(RegionState state,
    Configuration conf) {
    if (conf.getBoolean(DISPLAY_KEYS_KEY, true)) return state.toDescriptiveString();
    String descriptiveStringFromState = state.toDescriptiveString();
    int idx = descriptiveStringFromState.lastIndexOf(" state=");
    String regionName = getRegionNameAsStringForDisplay(
      RegionInfoBuilder.newBuilder(state.getRegion()).build(), conf);
    return regionName + descriptiveStringFromState.substring(idx);
  }
Get the descriptive name as {@link RegionState} does it but with hidden startkey optionally
@return descriptive string
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfoDisplay.java