@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") 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.
|
| Modifier and Type | Method and Description |
|---|---|
UnaryCallable<com.google.cloud.language.v1beta2.AnalyzeEntitiesRequest,com.google.cloud.language.v1beta2.AnalyzeEntitiesResponse> |
analyzeEntitiesCallable() |
UnaryCallable<com.google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest,com.google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse> |
analyzeEntitySentimentCallable() |
UnaryCallable<com.google.cloud.language.v1beta2.AnalyzeSentimentRequest,com.google.cloud.language.v1beta2.AnalyzeSentimentResponse> |
analyzeSentimentCallable() |
UnaryCallable<com.google.cloud.language.v1beta2.AnalyzeSyntaxRequest,com.google.cloud.language.v1beta2.AnalyzeSyntaxResponse> |
analyzeSyntaxCallable() |
UnaryCallable<com.google.cloud.language.v1beta2.AnnotateTextRequest,com.google.cloud.language.v1beta2.AnnotateTextResponse> |
annotateTextCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
UnaryCallable<com.google.cloud.language.v1beta2.ClassifyTextRequest,com.google.cloud.language.v1beta2.ClassifyTextResponse> |
classifyTextCallable() |
void |
close() |
static GrpcLanguageServiceStub |
create(ClientContext clientContext) |
static GrpcLanguageServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcLanguageServiceStub |
create(LanguageServiceStubSettings settings) |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcLanguageServiceStub(LanguageServiceStubSettings settings, ClientContext clientContext) throws IOException
IOExceptionprotected GrpcLanguageServiceStub(LanguageServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcLanguageServiceStub create(LanguageServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcLanguageServiceStub create(ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcLanguageServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic UnaryCallable<com.google.cloud.language.v1beta2.AnalyzeSentimentRequest,com.google.cloud.language.v1beta2.AnalyzeSentimentResponse> analyzeSentimentCallable()
analyzeSentimentCallable in class LanguageServiceStubpublic UnaryCallable<com.google.cloud.language.v1beta2.AnalyzeEntitiesRequest,com.google.cloud.language.v1beta2.AnalyzeEntitiesResponse> analyzeEntitiesCallable()
analyzeEntitiesCallable in class LanguageServiceStubpublic UnaryCallable<com.google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest,com.google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse> analyzeEntitySentimentCallable()
analyzeEntitySentimentCallable in class LanguageServiceStubpublic UnaryCallable<com.google.cloud.language.v1beta2.AnalyzeSyntaxRequest,com.google.cloud.language.v1beta2.AnalyzeSyntaxResponse> analyzeSyntaxCallable()
analyzeSyntaxCallable in class LanguageServiceStubpublic UnaryCallable<com.google.cloud.language.v1beta2.ClassifyTextRequest,com.google.cloud.language.v1beta2.ClassifyTextResponse> classifyTextCallable()
classifyTextCallable in class LanguageServiceStubpublic UnaryCallable<com.google.cloud.language.v1beta2.AnnotateTextRequest,com.google.cloud.language.v1beta2.AnnotateTextResponse> annotateTextCallable()
annotateTextCallable in class LanguageServiceStubpublic final void close()
close in interface AutoCloseableclose in class LanguageServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.