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