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