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