Class TranslationServiceGrpc
java.lang.Object
com.google.cloud.translate.v3beta1.TranslationServiceGrpc
Provides natural language translation operations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceProvides natural language translation operations.static final classA stub to allow clients to do limited synchronous rpc calls to service TranslationService.static final classA stub to allow clients to do synchronous rpc calls to service TranslationService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service TranslationService.static classBase class for the server implementation of the service TranslationService.static final classA stub to allow clients to do asynchronous rpc calls to service TranslationService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<BatchTranslateDocumentRequest,Operation> static io.grpc.MethodDescriptor<BatchTranslateTextRequest,Operation> static io.grpc.MethodDescriptor<CreateGlossaryRequest,Operation> static io.grpc.MethodDescriptor<DeleteGlossaryRequest,Operation> static io.grpc.MethodDescriptor<DetectLanguageRequest,DetectLanguageResponse> static io.grpc.MethodDescriptor<GetGlossaryRequest,Glossary> static io.grpc.MethodDescriptor<GetSupportedLanguagesRequest,SupportedLanguages> static io.grpc.MethodDescriptor<ListGlossariesRequest,ListGlossariesResponse> static io.grpc.MethodDescriptor<RefineTextRequest,RefineTextResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<TranslateDocumentRequest,TranslateDocumentResponse> static io.grpc.MethodDescriptor<TranslateTextRequest,TranslateTextResponse> newBlockingStub(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
-
getTranslateTextMethod
public static io.grpc.MethodDescriptor<TranslateTextRequest,TranslateTextResponse> getTranslateTextMethod() -
getDetectLanguageMethod
public static io.grpc.MethodDescriptor<DetectLanguageRequest,DetectLanguageResponse> getDetectLanguageMethod() -
getGetSupportedLanguagesMethod
public static io.grpc.MethodDescriptor<GetSupportedLanguagesRequest,SupportedLanguages> getGetSupportedLanguagesMethod() -
getTranslateDocumentMethod
public static io.grpc.MethodDescriptor<TranslateDocumentRequest,TranslateDocumentResponse> getTranslateDocumentMethod() -
getBatchTranslateTextMethod
public static io.grpc.MethodDescriptor<BatchTranslateTextRequest,Operation> getBatchTranslateTextMethod() -
getBatchTranslateDocumentMethod
public static io.grpc.MethodDescriptor<BatchTranslateDocumentRequest,Operation> getBatchTranslateDocumentMethod() -
getCreateGlossaryMethod
-
getListGlossariesMethod
public static io.grpc.MethodDescriptor<ListGlossariesRequest,ListGlossariesResponse> getListGlossariesMethod() -
getGetGlossaryMethod
-
getDeleteGlossaryMethod
-
getRefineTextMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static TranslationServiceGrpc.TranslationServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static TranslationServiceGrpc.TranslationServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static TranslationServiceGrpc.TranslationServiceFutureStub 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(TranslationServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-