VisionServiceBase constructor

VisionServiceBase()

Implementation

VisionServiceBase() {
  $addMethod($grpc.ServiceMethod<$47.GetDetectionsFromCameraRequest, $47.GetDetectionsFromCameraResponse>(
      'GetDetectionsFromCamera',
      getDetectionsFromCamera_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $47.GetDetectionsFromCameraRequest.fromBuffer(value),
      ($47.GetDetectionsFromCameraResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$47.GetDetectionsRequest, $47.GetDetectionsResponse>(
      'GetDetections',
      getDetections_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $47.GetDetectionsRequest.fromBuffer(value),
      ($47.GetDetectionsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$47.GetClassificationsFromCameraRequest, $47.GetClassificationsFromCameraResponse>(
      'GetClassificationsFromCamera',
      getClassificationsFromCamera_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $47.GetClassificationsFromCameraRequest.fromBuffer(value),
      ($47.GetClassificationsFromCameraResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$47.GetClassificationsRequest, $47.GetClassificationsResponse>(
      'GetClassifications',
      getClassifications_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $47.GetClassificationsRequest.fromBuffer(value),
      ($47.GetClassificationsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$47.GetObjectPointCloudsRequest, $47.GetObjectPointCloudsResponse>(
      'GetObjectPointClouds',
      getObjectPointClouds_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $47.GetObjectPointCloudsRequest.fromBuffer(value),
      ($47.GetObjectPointCloudsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$47.GetPropertiesRequest, $47.GetPropertiesResponse>(
      'GetProperties',
      getProperties_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $47.GetPropertiesRequest.fromBuffer(value),
      ($47.GetPropertiesResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$47.CaptureAllFromCameraRequest, $47.CaptureAllFromCameraResponse>(
      'CaptureAllFromCamera',
      captureAllFromCamera_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $47.CaptureAllFromCameraRequest.fromBuffer(value),
      ($47.CaptureAllFromCameraResponse 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()));
}