public static StopServerRequest buildStopServerRequest(final String reason) {
    StopServerRequest.Builder builder = StopServerRequest.newBuilder();
    builder.setReason(reason);
    return builder.build();
  }
Create a new StopServerRequest
@param reason the reason to stop the server
@return a StopServerRequest
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java