Class protos.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService (5.0.2)

Represents a StreamingVideoIntelligenceService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService

Package

@google-cloud/video-intelligence

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new StreamingVideoIntelligenceService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): StreamingVideoIntelligenceService;

Creates new StreamingVideoIntelligenceService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
StreamingVideoIntelligenceService

RPC service. Useful where requests and/or responses are streamed.

streamingAnnotateVideo(request, callback)

public streamingAnnotateVideo(request: google.cloud.videointelligence.v1p3beta1.IStreamingAnnotateVideoRequest, callback: google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService.StreamingAnnotateVideoCallback): void;

Calls StreamingAnnotateVideo.

Parameters
NameDescription
request IStreamingAnnotateVideoRequest

StreamingAnnotateVideoRequest message or plain object

callback StreamingAnnotateVideoCallback

Node-style callback called with the error, if any, and StreamingAnnotateVideoResponse

Returns
TypeDescription
void

streamingAnnotateVideo(request)

public streamingAnnotateVideo(request: google.cloud.videointelligence.v1p3beta1.IStreamingAnnotateVideoRequest): Promise<google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>;

Calls StreamingAnnotateVideo.

Parameter
NameDescription
request IStreamingAnnotateVideoRequest

StreamingAnnotateVideoRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>

Promise