NavigationServiceBase constructor
Implementation
NavigationServiceBase() {
$addMethod($grpc.ServiceMethod<$41.GetModeRequest, $41.GetModeResponse>(
'GetMode',
getMode_Pre,
false,
false,
($core.List<$core.int> value) => $41.GetModeRequest.fromBuffer(value),
($41.GetModeResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$41.SetModeRequest, $41.SetModeResponse>(
'SetMode',
setMode_Pre,
false,
false,
($core.List<$core.int> value) => $41.SetModeRequest.fromBuffer(value),
($41.SetModeResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$41.GetLocationRequest, $41.GetLocationResponse>(
'GetLocation',
getLocation_Pre,
false,
false,
($core.List<$core.int> value) => $41.GetLocationRequest.fromBuffer(value),
($41.GetLocationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$41.GetWaypointsRequest, $41.GetWaypointsResponse>(
'GetWaypoints',
getWaypoints_Pre,
false,
false,
($core.List<$core.int> value) => $41.GetWaypointsRequest.fromBuffer(value),
($41.GetWaypointsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$41.AddWaypointRequest, $41.AddWaypointResponse>(
'AddWaypoint',
addWaypoint_Pre,
false,
false,
($core.List<$core.int> value) => $41.AddWaypointRequest.fromBuffer(value),
($41.AddWaypointResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$41.RemoveWaypointRequest, $41.RemoveWaypointResponse>(
'RemoveWaypoint',
removeWaypoint_Pre,
false,
false,
($core.List<$core.int> value) => $41.RemoveWaypointRequest.fromBuffer(value),
($41.RemoveWaypointResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$41.GetObstaclesRequest, $41.GetObstaclesResponse>(
'GetObstacles',
getObstacles_Pre,
false,
false,
($core.List<$core.int> value) => $41.GetObstaclesRequest.fromBuffer(value),
($41.GetObstaclesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$41.GetPathsRequest, $41.GetPathsResponse>(
'GetPaths',
getPaths_Pre,
false,
false,
($core.List<$core.int> value) => $41.GetPathsRequest.fromBuffer(value),
($41.GetPathsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$41.GetPropertiesRequest, $41.GetPropertiesResponse>(
'GetProperties',
getProperties_Pre,
false,
false,
($core.List<$core.int> value) => $41.GetPropertiesRequest.fromBuffer(value),
($41.GetPropertiesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$16.DoCommandRequest, $16.DoCommandResponse>(
'DoCommand',
doCommand_Pre,
false,
false,
($core.List<$core.int> value) => $16.DoCommandRequest.fromBuffer(value),
($16.DoCommandResponse value) => value.writeToBuffer()));
}