Constructor
new StreamingVideoIntelligenceService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new StreamingVideoIntelligenceService service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
streamingAnnotateVideo(request, callback) → {undefined}
Calls StreamingAnnotateVideo.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.videointelligence.v1p3beta1.IStreamingAnnotateVideoRequest |
StreamingAnnotateVideoRequest message or plain object |
callback |
google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService.StreamingAnnotateVideoCallback |
Node-style callback called with the error, if any, and StreamingAnnotateVideoResponse |
Returns:
Type | Description |
---|---|
undefined |
streamingAnnotateVideo(request) → {Promise.<google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>}
Calls StreamingAnnotateVideo.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.videointelligence.v1p3beta1.IStreamingAnnotateVideoRequest |
StreamingAnnotateVideoRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {StreamingVideoIntelligenceService}
Creates new StreamingVideoIntelligenceService service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
StreamingVideoIntelligenceService |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
StreamingAnnotateVideoCallback(error, responseopt)
Callback as used by streamingAnnotateVideo.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse |
<optional> |
StreamingAnnotateVideoResponse |