MLTrainingServiceBase constructor

MLTrainingServiceBase()

Implementation

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