- Common ways to obtain AdminProtos$StopServerRequest$Builder
private void myMethod () {AdminProtos$StopServerRequest$Builder a =
new Builder()
AdminProtos.StopServerRequest adminProtosStopServerRequest;AdminProtos.StopServerRequest other;adminProtosStopServerRequest.newBuilder().mergeFrom(other)
- Smart code suggestions by Codota
}
/** * Create a new StopServerRequest * * @param reason the reason to stop the server * @return a StopServerRequest */ public static StopServerRequest buildStopServerRequest(final String reason) { StopServerRequest.Builder builder = StopServerRequest.newBuilder(); builder.setReason(reason); return builder.build(); }