ExperimentsServiceBase constructor

ExperimentsServiceBase()

Implementation

ExperimentsServiceBase() {
  $addMethod($grpc.ServiceMethod<$13.ListExperimentsRequest,
          $13.ListExperimentsResponse>(
      'ListExperiments',
      listExperiments_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $13.ListExperimentsRequest.fromBuffer(value),
      ($13.ListExperimentsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$13.GetExperimentRequest, $13.Experiment>(
      'GetExperiment',
      getExperiment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $13.GetExperimentRequest.fromBuffer(value),
      ($13.Experiment value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$13.CreateExperimentRequest, $13.Experiment>(
      'CreateExperiment',
      createExperiment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $13.CreateExperimentRequest.fromBuffer(value),
      ($13.Experiment value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$13.UpdateExperimentRequest, $13.Experiment>(
      'UpdateExperiment',
      updateExperiment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $13.UpdateExperimentRequest.fromBuffer(value),
      ($13.Experiment value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$13.DeleteExperimentRequest, $1.Empty>(
      'DeleteExperiment',
      deleteExperiment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $13.DeleteExperimentRequest.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$13.StartExperimentRequest, $13.Experiment>(
      'StartExperiment',
      startExperiment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $13.StartExperimentRequest.fromBuffer(value),
      ($13.Experiment value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$13.StopExperimentRequest, $13.Experiment>(
      'StopExperiment',
      stopExperiment_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $13.StopExperimentRequest.fromBuffer(value),
      ($13.Experiment value) => value.writeToBuffer()));
}