MLTrainingServiceBase constructor
Implementation
MLTrainingServiceBase() {
$addMethod($grpc.ServiceMethod<$7.SubmitTrainingJobRequest, $7.SubmitTrainingJobResponse>(
'SubmitTrainingJob',
submitTrainingJob_Pre,
false,
false,
($core.List<$core.int> value) => $7.SubmitTrainingJobRequest.fromBuffer(value),
($7.SubmitTrainingJobResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.SubmitCustomTrainingJobRequest, $7.SubmitCustomTrainingJobResponse>(
'SubmitCustomTrainingJob',
submitCustomTrainingJob_Pre,
false,
false,
($core.List<$core.int> value) => $7.SubmitCustomTrainingJobRequest.fromBuffer(value),
($7.SubmitCustomTrainingJobResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.GetTrainingJobRequest, $7.GetTrainingJobResponse>(
'GetTrainingJob',
getTrainingJob_Pre,
false,
false,
($core.List<$core.int> value) => $7.GetTrainingJobRequest.fromBuffer(value),
($7.GetTrainingJobResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.ListTrainingJobsRequest, $7.ListTrainingJobsResponse>(
'ListTrainingJobs',
listTrainingJobs_Pre,
false,
false,
($core.List<$core.int> value) => $7.ListTrainingJobsRequest.fromBuffer(value),
($7.ListTrainingJobsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.CancelTrainingJobRequest, $7.CancelTrainingJobResponse>(
'CancelTrainingJob',
cancelTrainingJob_Pre,
false,
false,
($core.List<$core.int> value) => $7.CancelTrainingJobRequest.fromBuffer(value),
($7.CancelTrainingJobResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.DeleteCompletedTrainingJobRequest, $7.DeleteCompletedTrainingJobResponse>(
'DeleteCompletedTrainingJob',
deleteCompletedTrainingJob_Pre,
false,
false,
($core.List<$core.int> value) => $7.DeleteCompletedTrainingJobRequest.fromBuffer(value),
($7.DeleteCompletedTrainingJobResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.GetTrainingJobLogsRequest, $7.GetTrainingJobLogsResponse>(
'GetTrainingJobLogs',
getTrainingJobLogs_Pre,
false,
false,
($core.List<$core.int> value) => $7.GetTrainingJobLogsRequest.fromBuffer(value),
($7.GetTrainingJobLogsResponse value) => value.writeToBuffer()));
}