Class HttpJsonCompletionStub

  • All Implemented Interfaces:
    com.google.api.gax.core.BackgroundResource, AutoCloseable

    @Generated("by gapic-generator-java")
    @BetaApi
    public class HttpJsonCompletionStub
    extends CompletionStub
    REST stub implementation for the Completion service API.

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

    • Constructor Detail

      • HttpJsonCompletionStub

        protected HttpJsonCompletionStub​(CompletionStubSettings settings,
                                         com.google.api.gax.rpc.ClientContext clientContext)
                                  throws IOException
        Constructs an instance of HttpJsonCompletionStub, 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.
        Throws:
        IOException
      • HttpJsonCompletionStub

        protected HttpJsonCompletionStub​(CompletionStubSettings settings,
                                         com.google.api.gax.rpc.ClientContext clientContext,
                                         com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
                                  throws IOException
        Constructs an instance of HttpJsonCompletionStub, 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.
        Throws:
        IOException