public AsyncServerRequest(RequestType type,GeneratedMessage req,boolean requireCommonRequest){
  Request.Builder reqBuilder=Request.newBuilder();
  reqBuilder.setRequestMessage(req.toByteString());
  reqBuilder.setRequestType(type);
  this.type=type;
  this.request=reqBuilder.build();
  this.requireCommonRequest=requireCommonRequest;
}

public AsyncServerRequest ( RequestType type , GeneratedMessage req , boolean requireCommonRequest ) { Request . Builder reqBuilder = Request . newBuilder ( ) ; reqBuilder . setRequestMessage ( req . toByteString ( ) ) ; reqBuilder . setRequestType ( type ) ; this . type = type ; this . request = reqBuilder . build ( ) ; this . requireCommonRequest = requireCommonRequest ; }
instantiates a new server request .
