ProcessorConfig constructor

ProcessorConfig({
  1. VideoStreamInputConfig? videoStreamInputConfig,
  2. MediaWarehouseConfig? mediaWarehouseConfig,
  3. PersonBlurConfig? personBlurConfig,
  4. OccupancyCountConfig? occupancyCountConfig,
  5. VertexAutoMLVisionConfig? vertexAutomlVisionConfig,
  6. VertexAutoMLVideoConfig? vertexAutomlVideoConfig,
  7. PersonVehicleDetectionConfig? personVehicleDetectionConfig,
  8. VertexCustomConfig? vertexCustomConfig,
  9. GeneralObjectDetectionConfig? generalObjectDetectionConfig,
  10. BigQueryConfig? bigQueryConfig,
  11. AIEnabledDevicesInputConfig? aiEnabledDevicesInputConfig,
  12. PersonalProtectiveEquipmentDetectionConfig? personalProtectiveEquipmentDetectionConfig,
})

Implementation

factory ProcessorConfig({
  VideoStreamInputConfig? videoStreamInputConfig,
  MediaWarehouseConfig? mediaWarehouseConfig,
  PersonBlurConfig? personBlurConfig,
  OccupancyCountConfig? occupancyCountConfig,
  VertexAutoMLVisionConfig? vertexAutomlVisionConfig,
  VertexAutoMLVideoConfig? vertexAutomlVideoConfig,
  PersonVehicleDetectionConfig? personVehicleDetectionConfig,
  VertexCustomConfig? vertexCustomConfig,
  GeneralObjectDetectionConfig? generalObjectDetectionConfig,
  BigQueryConfig? bigQueryConfig,
  AIEnabledDevicesInputConfig? aiEnabledDevicesInputConfig,
  PersonalProtectiveEquipmentDetectionConfig? personalProtectiveEquipmentDetectionConfig,
}) {
  final $result = create();
  if (videoStreamInputConfig != null) {
    $result.videoStreamInputConfig = videoStreamInputConfig;
  }
  if (mediaWarehouseConfig != null) {
    $result.mediaWarehouseConfig = mediaWarehouseConfig;
  }
  if (personBlurConfig != null) {
    $result.personBlurConfig = personBlurConfig;
  }
  if (occupancyCountConfig != null) {
    $result.occupancyCountConfig = occupancyCountConfig;
  }
  if (vertexAutomlVisionConfig != null) {
    $result.vertexAutomlVisionConfig = vertexAutomlVisionConfig;
  }
  if (vertexAutomlVideoConfig != null) {
    $result.vertexAutomlVideoConfig = vertexAutomlVideoConfig;
  }
  if (personVehicleDetectionConfig != null) {
    $result.personVehicleDetectionConfig = personVehicleDetectionConfig;
  }
  if (vertexCustomConfig != null) {
    $result.vertexCustomConfig = vertexCustomConfig;
  }
  if (generalObjectDetectionConfig != null) {
    $result.generalObjectDetectionConfig = generalObjectDetectionConfig;
  }
  if (bigQueryConfig != null) {
    $result.bigQueryConfig = bigQueryConfig;
  }
  if (aiEnabledDevicesInputConfig != null) {
    $result.aiEnabledDevicesInputConfig = aiEnabledDevicesInputConfig;
  }
  if (personalProtectiveEquipmentDetectionConfig != null) {
    $result.personalProtectiveEquipmentDetectionConfig = personalProtectiveEquipmentDetectionConfig;
  }
  return $result;
}