@@ -22,6 +22,8 @@ grpc.web = require('grpc-web');
2222
2323var common_v1_common_pb = require ( '../../../common/v1/common_pb.js' )
2424
25+ var component_camera_v1_camera_pb = require ( '../../../component/camera/v1/camera_pb.js' )
26+
2527var google_api_annotations_pb = require ( '../../../google/api/annotations_pb.js' )
2628
2729var google_protobuf_struct_pb = require ( 'google-protobuf/google/protobuf/struct_pb.js' )
@@ -449,6 +451,67 @@ proto.viam.service.vision.v1.VisionServicePromiseClient.prototype.getProperties
449451} ;
450452
451453
454+ /**
455+ * @const
456+ * @type {!grpc.web.MethodDescriptor<
457+ * !proto.viam.service.vision.v1.CaptureAllFromCameraRequest,
458+ * !proto.viam.service.vision.v1.CaptureAllFromCameraResponse>}
459+ */
460+ const methodDescriptor_VisionService_CaptureAllFromCamera = new grpc . web . MethodDescriptor (
461+ '/viam.service.vision.v1.VisionService/CaptureAllFromCamera' ,
462+ grpc . web . MethodType . UNARY ,
463+ proto . viam . service . vision . v1 . CaptureAllFromCameraRequest ,
464+ proto . viam . service . vision . v1 . CaptureAllFromCameraResponse ,
465+ /**
466+ * @param {!proto.viam.service.vision.v1.CaptureAllFromCameraRequest } request
467+ * @return {!Uint8Array }
468+ */
469+ function ( request ) {
470+ return request . serializeBinary ( ) ;
471+ } ,
472+ proto . viam . service . vision . v1 . CaptureAllFromCameraResponse . deserializeBinary
473+ ) ;
474+
475+
476+ /**
477+ * @param {!proto.viam.service.vision.v1.CaptureAllFromCameraRequest } request The
478+ * request proto
479+ * @param {?Object<string, string> } metadata User defined
480+ * call metadata
481+ * @param {function(?grpc.web.RpcError, ?proto.viam.service.vision.v1.CaptureAllFromCameraResponse) }
482+ * callback The callback function(error, response)
483+ * @return {!grpc.web.ClientReadableStream<!proto.viam.service.vision.v1.CaptureAllFromCameraResponse>|undefined }
484+ * The XHR Node Readable Stream
485+ */
486+ proto . viam . service . vision . v1 . VisionServiceClient . prototype . captureAllFromCamera =
487+ function ( request , metadata , callback ) {
488+ return this . client_ . rpcCall ( this . hostname_ +
489+ '/viam.service.vision.v1.VisionService/CaptureAllFromCamera' ,
490+ request ,
491+ metadata || { } ,
492+ methodDescriptor_VisionService_CaptureAllFromCamera ,
493+ callback ) ;
494+ } ;
495+
496+
497+ /**
498+ * @param {!proto.viam.service.vision.v1.CaptureAllFromCameraRequest } request The
499+ * request proto
500+ * @param {?Object<string, string>= } metadata User defined
501+ * call metadata
502+ * @return {!Promise<!proto.viam.service.vision.v1.CaptureAllFromCameraResponse> }
503+ * Promise that resolves to the response
504+ */
505+ proto . viam . service . vision . v1 . VisionServicePromiseClient . prototype . captureAllFromCamera =
506+ function ( request , metadata ) {
507+ return this . client_ . unaryCall ( this . hostname_ +
508+ '/viam.service.vision.v1.VisionService/CaptureAllFromCamera' ,
509+ request ,
510+ metadata || { } ,
511+ methodDescriptor_VisionService_CaptureAllFromCamera ) ;
512+ } ;
513+
514+
452515/**
453516 * @const
454517 * @type {!grpc.web.MethodDescriptor<
0 commit comments