@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonLanguageServiceStub extends LanguageServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonLanguageServiceStub(LanguageServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonLanguageServiceStub, using the given settings.
|
protected |
HttpJsonLanguageServiceStub(LanguageServiceStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonLanguageServiceStub, using the given settings.
|
protected HttpJsonLanguageServiceStub(LanguageServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonLanguageServiceStub(LanguageServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonLanguageServiceStub create(LanguageServiceStubSettings settings) throws IOException
IOException
public static final HttpJsonLanguageServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonLanguageServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public UnaryCallable<AnalyzeSentimentRequest,AnalyzeSentimentResponse> analyzeSentimentCallable()
analyzeSentimentCallable
in class LanguageServiceStub
public UnaryCallable<AnalyzeEntitiesRequest,AnalyzeEntitiesResponse> analyzeEntitiesCallable()
analyzeEntitiesCallable
in class LanguageServiceStub
public UnaryCallable<AnalyzeEntitySentimentRequest,AnalyzeEntitySentimentResponse> analyzeEntitySentimentCallable()
analyzeEntitySentimentCallable
in class LanguageServiceStub
public UnaryCallable<AnalyzeSyntaxRequest,AnalyzeSyntaxResponse> analyzeSyntaxCallable()
analyzeSyntaxCallable
in class LanguageServiceStub
public UnaryCallable<ClassifyTextRequest,ClassifyTextResponse> classifyTextCallable()
classifyTextCallable
in class LanguageServiceStub
public UnaryCallable<AnnotateTextRequest,AnnotateTextResponse> annotateTextCallable()
annotateTextCallable
in class LanguageServiceStub
public final void close()
close
in interface AutoCloseable
close
in class LanguageServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.