Tabnine Logo
GrpcOperationsStub
Code IndexAdd Tabnine to your IDE (free)

How to use
GrpcOperationsStub
in
com.google.longrunning.stub

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

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: com.google.api/gax-grpc

public static final GrpcOperationsStub create(OperationsStubSettings settings)
  throws IOException {
 return new GrpcOperationsStub(settings, ClientContext.create(settings));
}
origin: com.google.api/gax-grpc

@Override
public final void close() {
 shutdown();
}
origin: googleapis/gax-java

public static final GrpcOperationsStub create(OperationsStubSettings settings)
  throws IOException {
 return new GrpcOperationsStub(settings, ClientContext.create(settings));
}
origin: googleapis/gax-java

@Override
public final void close() {
 shutdown();
}
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: com.google.api/gax-grpc

public static final GrpcOperationsStub create(
  ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException {
 return new GrpcOperationsStub(
   OperationsStubSettings.newBuilder().build(), clientContext, callableFactory);
}
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/gax-java

public static final GrpcOperationsStub create(
  ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException {
 return new GrpcOperationsStub(
   OperationsStubSettings.newBuilder().build(), clientContext, callableFactory);
}
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: com.google.api/gax-grpc

public static final GrpcOperationsStub create(ClientContext clientContext) throws IOException {
 return new GrpcOperationsStub(OperationsStubSettings.newBuilder().build(), clientContext);
}
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/gax-java

public static final GrpcOperationsStub create(ClientContext clientContext) throws IOException {
 return new GrpcOperationsStub(OperationsStubSettings.newBuilder().build(), clientContext);
}
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.stubGrpcOperationsStub

Javadoc

gRPC stub implementation for Google Long Running Operations API.

This class is for advanced usage and reflects the underlying API directly.

Most used methods

  • create
  • <init>
    Constructs an instance of GrpcOperationsStub, using the given settings. This is protected so that it
  • shutdown

Popular in Java

  • Making http requests using okhttp
  • startActivity (Activity)
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • From CI to AI: The AI layer in your organization
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