@Generated(value="by gapic-generator-java") public class GrpcLanguageServiceStub extends LanguageServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcLanguageServiceStub(LanguageServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcLanguageServiceStub, using the given settings.
|
protected |
GrpcLanguageServiceStub(LanguageServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcLanguageServiceStub, using the given settings.
|
protected GrpcLanguageServiceStub(LanguageServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcLanguageServiceStub(LanguageServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcLanguageServiceStub create(LanguageServiceStubSettings settings) throws IOException
IOException
public static final GrpcLanguageServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcLanguageServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
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.