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