public static OfflineRegionRequest buildOfflineRegionRequest(final byte[] regionName) {
    OfflineRegionRequest.Builder builder = OfflineRegionRequest.newBuilder();
    builder.setRegion(buildRegionSpecifier(RegionSpecifierType.REGION_NAME, regionName));
    return builder.build();
  }
Creates a protocol buffer OfflineRegionRequest
@return an OfflineRegionRequest
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java