@Generated(value="by GAPIC v0.0.5") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcVideoIntelligenceServiceStub extends VideoIntelligenceServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcVideoIntelligenceServiceStub(VideoIntelligenceServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcVideoIntelligenceServiceStub, using the given settings.
|
protected |
GrpcVideoIntelligenceServiceStub(VideoIntelligenceServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcVideoIntelligenceServiceStub, using the given settings.
|
protected GrpcVideoIntelligenceServiceStub(VideoIntelligenceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcVideoIntelligenceServiceStub(VideoIntelligenceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcVideoIntelligenceServiceStub create(VideoIntelligenceServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcVideoIntelligenceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcVideoIntelligenceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class VideoIntelligenceServiceStubpublic com.google.api.gax.rpc.OperationCallable<com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest,com.google.cloud.videointelligence.v1beta1.AnnotateVideoResponse,com.google.cloud.videointelligence.v1beta1.AnnotateVideoProgress> annotateVideoOperationCallable()
annotateVideoOperationCallable in class VideoIntelligenceServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest,com.google.longrunning.Operation> annotateVideoCallable()
annotateVideoCallable in class VideoIntelligenceServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2018 Google. All rights reserved.