@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcStreamingVideoIntelligenceServiceStub extends StreamingVideoIntelligenceServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcStreamingVideoIntelligenceServiceStub(StreamingVideoIntelligenceServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcStreamingVideoIntelligenceServiceStub, using the given settings.
|
protected |
GrpcStreamingVideoIntelligenceServiceStub(StreamingVideoIntelligenceServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcStreamingVideoIntelligenceServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcStreamingVideoIntelligenceServiceStub |
create(ClientContext clientContext) |
static GrpcStreamingVideoIntelligenceServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcStreamingVideoIntelligenceServiceStub |
create(StreamingVideoIntelligenceServiceStubSettings settings) |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
BidiStreamingCallable<com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest,com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> |
streamingAnnotateVideoCallable() |
protected GrpcStreamingVideoIntelligenceServiceStub(StreamingVideoIntelligenceServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcStreamingVideoIntelligenceServiceStub(StreamingVideoIntelligenceServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcStreamingVideoIntelligenceServiceStub create(StreamingVideoIntelligenceServiceStubSettings settings) throws IOException
IOException
public static final GrpcStreamingVideoIntelligenceServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcStreamingVideoIntelligenceServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public BidiStreamingCallable<com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest,com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse> streamingAnnotateVideoCallable()
streamingAnnotateVideoCallable
in class StreamingVideoIntelligenceServiceStub
public final void close()
close
in interface AutoCloseable
close
in class StreamingVideoIntelligenceServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.