All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.videointelligence.v1beta2.stub.GrpcVideoIntelligenceServiceCallableFactory Maven / Gradle / Ivy

There is a newer version: 2.48.0
Show newest version
/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.google.cloud.videointelligence.v1beta2.stub;

import com.google.api.core.BetaApi;
import com.google.api.gax.grpc.GrpcCallSettings;
import com.google.api.gax.grpc.GrpcCallableFactory;
import com.google.api.gax.grpc.GrpcStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.BidiStreamingCallable;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientStreamingCallable;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.ServerStreamingCallSettings;
import com.google.api.gax.rpc.ServerStreamingCallable;
import com.google.api.gax.rpc.StreamingCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.longrunning.stub.OperationsStub;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
 * gRPC callable factory implementation for Google Cloud Video Intelligence API.
 *
 * 

This class is for advanced usage. */ @Generated("by gapic-generator") @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public class GrpcVideoIntelligenceServiceCallableFactory implements GrpcStubCallableFactory { @Override public UnaryCallable createUnaryCallable( GrpcCallSettings grpcCallSettings, UnaryCallSettings callSettings, ClientContext clientContext) { return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); } @Override public UnaryCallable createPagedCallable( GrpcCallSettings grpcCallSettings, PagedCallSettings pagedCallSettings, ClientContext clientContext) { return GrpcCallableFactory.createPagedCallable( grpcCallSettings, pagedCallSettings, clientContext); } @Override public UnaryCallable createBatchingCallable( GrpcCallSettings grpcCallSettings, BatchingCallSettings batchingCallSettings, ClientContext clientContext) { return GrpcCallableFactory.createBatchingCallable( grpcCallSettings, batchingCallSettings, clientContext); } @BetaApi( "The surface for long-running operations is not stable yet and may change in the future.") @Override public OperationCallable createOperationCallable( GrpcCallSettings grpcCallSettings, OperationCallSettings operationCallSettings, ClientContext clientContext, OperationsStub operationsStub) { return GrpcCallableFactory.createOperationCallable( grpcCallSettings, operationCallSettings, clientContext, operationsStub); } @Override public BidiStreamingCallable createBidiStreamingCallable( GrpcCallSettings grpcCallSettings, StreamingCallSettings streamingCallSettings, ClientContext clientContext) { return GrpcCallableFactory.createBidiStreamingCallable( grpcCallSettings, streamingCallSettings, clientContext); } @Override public ServerStreamingCallable createServerStreamingCallable( GrpcCallSettings grpcCallSettings, ServerStreamingCallSettings streamingCallSettings, ClientContext clientContext) { return GrpcCallableFactory.createServerStreamingCallable( grpcCallSettings, streamingCallSettings, clientContext); } @Override public ClientStreamingCallable createClientStreamingCallable( GrpcCallSettings grpcCallSettings, StreamingCallSettings streamingCallSettings, ClientContext clientContext) { return GrpcCallableFactory.createClientStreamingCallable( grpcCallSettings, streamingCallSettings, clientContext); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy