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