Package com.google.cloud.language.v1
Class LanguageServiceGrpc
- java.lang.Object
-
- com.google.cloud.language.v1.LanguageServiceGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/language/v1/language_service.proto") public final class LanguageServiceGrpc extends Object
Provides text analysis operations such as sentiment analysis and entity recognition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLanguageServiceGrpc.AsyncServiceProvides text analysis operations such as sentiment analysis and entity recognition.static classLanguageServiceGrpc.LanguageServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service LanguageService.static classLanguageServiceGrpc.LanguageServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service LanguageService.static classLanguageServiceGrpc.LanguageServiceImplBaseBase class for the server implementation of the service LanguageService.static classLanguageServiceGrpc.LanguageServiceStubA stub to allow clients to do asynchronous rpc calls to service LanguageService.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(LanguageServiceGrpc.AsyncService service)static io.grpc.MethodDescriptor<AnalyzeEntitiesRequest,AnalyzeEntitiesResponse>getAnalyzeEntitiesMethod()static io.grpc.MethodDescriptor<AnalyzeEntitySentimentRequest,AnalyzeEntitySentimentResponse>getAnalyzeEntitySentimentMethod()static io.grpc.MethodDescriptor<AnalyzeSentimentRequest,AnalyzeSentimentResponse>getAnalyzeSentimentMethod()static io.grpc.MethodDescriptor<AnalyzeSyntaxRequest,AnalyzeSyntaxResponse>getAnalyzeSyntaxMethod()static io.grpc.MethodDescriptor<AnnotateTextRequest,AnnotateTextResponse>getAnnotateTextMethod()static io.grpc.MethodDescriptor<ClassifyTextRequest,ClassifyTextResponse>getClassifyTextMethod()static io.grpc.MethodDescriptor<ModerateTextRequest,ModerateTextResponse>getModerateTextMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static LanguageServiceGrpc.LanguageServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic LanguageServiceGrpc.LanguageServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic LanguageServiceGrpc.LanguageServiceStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public static LanguageServiceGrpc.LanguageServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for 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
public static LanguageServiceGrpc.LanguageServiceFutureStub newFutureStub(io.grpc.Channel channel)
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()
-
-