@Generated(value="by gapic-generator") @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.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallable<AnnotateVideoRequest,com.google.longrunning.Operation> |
annotateVideoCallable() |
com.google.api.gax.rpc.OperationCallable<AnnotateVideoRequest,AnnotateVideoResponse,AnnotateVideoProgress> |
annotateVideoOperationCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcVideoIntelligenceServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcVideoIntelligenceServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcVideoIntelligenceServiceStub |
create(VideoIntelligenceServiceStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcVideoIntelligenceServiceStub(VideoIntelligenceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcVideoIntelligenceServiceStub(VideoIntelligenceServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcVideoIntelligenceServiceStub create(VideoIntelligenceServiceStubSettings settings) throws IOException
IOException
public static final GrpcVideoIntelligenceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcVideoIntelligenceServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub
in class VideoIntelligenceServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<AnnotateVideoRequest,AnnotateVideoResponse,AnnotateVideoProgress> annotateVideoOperationCallable()
annotateVideoOperationCallable
in class VideoIntelligenceServiceStub
public com.google.api.gax.rpc.UnaryCallable<AnnotateVideoRequest,com.google.longrunning.Operation> annotateVideoCallable()
annotateVideoCallable
in class VideoIntelligenceServiceStub
public final void close()
close
in interface AutoCloseable
close
in class VideoIntelligenceServiceStub
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.