createRequest method
Creates a message object that can deserialize a request.
Implementation
$pb.GeneratedMessage createRequest($core.String methodName) {
switch (methodName) {
case 'GetStockHistoryTick': return $0.StockNumArrWithDate();
case 'GetStockHistoryKbar': return $0.StockNumArrWithDate();
case 'GetStockHistoryClose': return $0.StockNumArrWithDate();
case 'GetFutureHistoryKbar': return $0.FutureCodeArrWithDate();
default: throw $core.ArgumentError('Unknown method: $methodName');
}
}