/** * 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()); }
/** * 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()); }
/** * 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()); }
/** * 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()); }
/** * 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()); }
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);
throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory);