Tabnine Logo
com.google.longrunning.stub
Code IndexAdd Tabnine to your IDE (free)

How to use com.google.longrunning.stub

Best Java code snippets using com.google.longrunning.stub (Showing top 20 results out of 315)

origin: googleapis/google-cloud-java

@Override
public Operation getOperation(String name) throws SpannerException {
 GetOperationRequest request = GetOperationRequest.newBuilder().setName(name).build();
 GrpcCallContext context = newCallContext(null, name);
 return get(
   databaseAdminStub.getOperationsStub().getOperationCallable().futureCall(request, context));
}
origin: googleapis/google-cloud-java

/**
 * Constructs an instance of GrpcVideoIntelligenceServiceStub, using the given settings. This is
 * protected so that it is easy to make a subclass, but otherwise, the static factory methods
 * should be preferred.
 */
protected GrpcVideoIntelligenceServiceStub(
  VideoIntelligenceServiceStubSettings settings,
  ClientContext clientContext,
  GrpcStubCallableFactory callableFactory)
  throws IOException {
 this.callableFactory = callableFactory;
 this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
 GrpcCallSettings<AnnotateVideoRequest, Operation> annotateVideoTransportSettings =
   GrpcCallSettings.<AnnotateVideoRequest, Operation>newBuilder()
     .setMethodDescriptor(annotateVideoMethodDescriptor)
     .build();
 this.annotateVideoCallable =
   callableFactory.createUnaryCallable(
     annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext);
 this.annotateVideoOperationCallable =
   callableFactory.createOperationCallable(
     annotateVideoTransportSettings,
     settings.annotateVideoOperationSettings(),
     clientContext,
     this.operationsStub);
 backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
}
origin: googleapis/google-cloud-java

/**
 * Constructs an instance of GrpcVideoIntelligenceServiceStub, using the given settings. This is
 * protected so that it is easy to make a subclass, but otherwise, the static factory methods
 * should be preferred.
 */
protected GrpcVideoIntelligenceServiceStub(
  VideoIntelligenceServiceStubSettings settings,
  ClientContext clientContext,
  GrpcStubCallableFactory callableFactory)
  throws IOException {
 this.callableFactory = callableFactory;
 this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
 GrpcCallSettings<AnnotateVideoRequest, Operation> annotateVideoTransportSettings =
   GrpcCallSettings.<AnnotateVideoRequest, Operation>newBuilder()
     .setMethodDescriptor(annotateVideoMethodDescriptor)
     .build();
 this.annotateVideoCallable =
   callableFactory.createUnaryCallable(
     annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext);
 this.annotateVideoOperationCallable =
   callableFactory.createOperationCallable(
     annotateVideoTransportSettings,
     settings.annotateVideoOperationSettings(),
     clientContext,
     this.operationsStub);
 backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
}
origin: googleapis/google-cloud-java

/**
 * Constructs an instance of GrpcVideoIntelligenceServiceStub, using the given settings. This is
 * protected so that it is easy to make a subclass, but otherwise, the static factory methods
 * should be preferred.
 */
protected GrpcVideoIntelligenceServiceStub(
  VideoIntelligenceServiceStubSettings settings,
  ClientContext clientContext,
  GrpcStubCallableFactory callableFactory)
  throws IOException {
 this.callableFactory = callableFactory;
 this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
 GrpcCallSettings<AnnotateVideoRequest, Operation> annotateVideoTransportSettings =
   GrpcCallSettings.<AnnotateVideoRequest, Operation>newBuilder()
     .setMethodDescriptor(annotateVideoMethodDescriptor)
     .build();
 this.annotateVideoCallable =
   callableFactory.createUnaryCallable(
     annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext);
 this.annotateVideoOperationCallable =
   callableFactory.createOperationCallable(
     annotateVideoTransportSettings,
     settings.annotateVideoOperationSettings(),
     clientContext,
     this.operationsStub);
 backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
}
origin: googleapis/google-cloud-java

/**
 * Constructs an instance of GrpcVideoIntelligenceServiceStub, using the given settings. This is
 * protected so that it is easy to make a subclass, but otherwise, the static factory methods
 * should be preferred.
 */
protected GrpcVideoIntelligenceServiceStub(
  VideoIntelligenceServiceStubSettings settings,
  ClientContext clientContext,
  GrpcStubCallableFactory callableFactory)
  throws IOException {
 this.callableFactory = callableFactory;
 this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
 GrpcCallSettings<AnnotateVideoRequest, Operation> annotateVideoTransportSettings =
   GrpcCallSettings.<AnnotateVideoRequest, Operation>newBuilder()
     .setMethodDescriptor(annotateVideoMethodDescriptor)
     .build();
 this.annotateVideoCallable =
   callableFactory.createUnaryCallable(
     annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext);
 this.annotateVideoOperationCallable =
   callableFactory.createOperationCallable(
     annotateVideoTransportSettings,
     settings.annotateVideoOperationSettings(),
     clientContext,
     this.operationsStub);
 backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
}
origin: googleapis/google-cloud-java

/**
 * Constructs an instance of GrpcVideoIntelligenceServiceStub, using the given settings. This is
 * protected so that it is easy to make a subclass, but otherwise, the static factory methods
 * should be preferred.
 */
protected GrpcVideoIntelligenceServiceStub(
  VideoIntelligenceServiceStubSettings settings,
  ClientContext clientContext,
  GrpcStubCallableFactory callableFactory)
  throws IOException {
 this.callableFactory = callableFactory;
 this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
 GrpcCallSettings<AnnotateVideoRequest, Operation> annotateVideoTransportSettings =
   GrpcCallSettings.<AnnotateVideoRequest, Operation>newBuilder()
     .setMethodDescriptor(annotateVideoMethodDescriptor)
     .build();
 this.annotateVideoCallable =
   callableFactory.createUnaryCallable(
     annotateVideoTransportSettings, settings.annotateVideoSettings(), clientContext);
 this.annotateVideoOperationCallable =
   callableFactory.createOperationCallable(
     annotateVideoTransportSettings,
     settings.annotateVideoOperationSettings(),
     clientContext,
     this.operationsStub);
 backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
}
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
origin: googleapis/google-cloud-java

 throws IOException {
this.callableFactory = callableFactory;
this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
com.google.longrunning.stub

Most used classes

  • GrpcOperationsStub
    gRPC stub implementation for Google Long Running Operations API.This class is for advanced usage and
  • OperationsStub
    Base stub class for Google Long Running Operations API.This class is for advanced usage and reflects
  • GrpcOperationsCallableFactory
    gRPC callable factory implementation for Google Long Running Operations API.This class is for advanc
  • OperationsStubSettings$Builder
    Builder for OperationsStubSettings.
  • OperationsStubSettings
    Settings class to configure an instance of OperationsStub.
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now