Package com.google.cloud.language.v1
Class LanguageServiceGrpc
java.lang.Object
com.google.cloud.language.v1.LanguageServiceGrpc
Provides text analysis operations such as sentiment analysis and entity recognition.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceProvides text analysis operations such as sentiment analysis and entity recognition.static final classA stub to allow clients to do limited synchronous rpc calls to service LanguageService.static final classA stub to allow clients to do synchronous rpc calls to service LanguageService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service LanguageService.static classBase class for the server implementation of the service LanguageService.static final classA stub to allow clients to do asynchronous rpc calls to service LanguageService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<AnalyzeEntitiesRequest,AnalyzeEntitiesResponse> static io.grpc.MethodDescriptor<AnalyzeEntitySentimentRequest,AnalyzeEntitySentimentResponse> static io.grpc.MethodDescriptor<AnalyzeSentimentRequest,AnalyzeSentimentResponse> static io.grpc.MethodDescriptor<AnalyzeSyntaxRequest,AnalyzeSyntaxResponse> static io.grpc.MethodDescriptor<AnnotateTextRequest,AnnotateTextResponse> static io.grpc.MethodDescriptor<ClassifyTextRequest,ClassifyTextResponse> static io.grpc.MethodDescriptor<ModerateTextRequest,ModerateTextResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getAnalyzeSentimentMethod
public static io.grpc.MethodDescriptor<AnalyzeSentimentRequest,AnalyzeSentimentResponse> getAnalyzeSentimentMethod() -
getAnalyzeEntitiesMethod
public static io.grpc.MethodDescriptor<AnalyzeEntitiesRequest,AnalyzeEntitiesResponse> getAnalyzeEntitiesMethod() -
getAnalyzeEntitySentimentMethod
public static io.grpc.MethodDescriptor<AnalyzeEntitySentimentRequest,AnalyzeEntitySentimentResponse> getAnalyzeEntitySentimentMethod() -
getAnalyzeSyntaxMethod
public static io.grpc.MethodDescriptor<AnalyzeSyntaxRequest,AnalyzeSyntaxResponse> getAnalyzeSyntaxMethod() -
getClassifyTextMethod
public static io.grpc.MethodDescriptor<ClassifyTextRequest,ClassifyTextResponse> getClassifyTextMethod() -
getModerateTextMethod
public static io.grpc.MethodDescriptor<ModerateTextRequest,ModerateTextResponse> getModerateTextMethod() -
getAnnotateTextMethod
public static io.grpc.MethodDescriptor<AnnotateTextRequest,AnnotateTextResponse> getAnnotateTextMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static LanguageServiceGrpc.LanguageServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static LanguageServiceGrpc.LanguageServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(LanguageServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-