Package com.google.cloud.translate.v3
Class TranslationServiceGrpc
- java.lang.Object
-
- com.google.cloud.translate.v3.TranslationServiceGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/translate/v3/translation_service.proto") public final class TranslationServiceGrpc extends Object
Provides natural language translation operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTranslationServiceGrpc.AsyncServiceProvides natural language translation operations.static classTranslationServiceGrpc.TranslationServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service TranslationService.static classTranslationServiceGrpc.TranslationServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service TranslationService.static classTranslationServiceGrpc.TranslationServiceImplBaseBase class for the server implementation of the service TranslationService.static classTranslationServiceGrpc.TranslationServiceStubA stub to allow clients to do asynchronous rpc calls to service TranslationService.
-
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(TranslationServiceGrpc.AsyncService service)static io.grpc.MethodDescriptor<BatchTranslateDocumentRequest,com.google.longrunning.Operation>getBatchTranslateDocumentMethod()static io.grpc.MethodDescriptor<BatchTranslateTextRequest,com.google.longrunning.Operation>getBatchTranslateTextMethod()static io.grpc.MethodDescriptor<CreateGlossaryRequest,com.google.longrunning.Operation>getCreateGlossaryMethod()static io.grpc.MethodDescriptor<DeleteGlossaryRequest,com.google.longrunning.Operation>getDeleteGlossaryMethod()static io.grpc.MethodDescriptor<DetectLanguageRequest,DetectLanguageResponse>getDetectLanguageMethod()static io.grpc.MethodDescriptor<GetGlossaryRequest,Glossary>getGetGlossaryMethod()static io.grpc.MethodDescriptor<GetSupportedLanguagesRequest,SupportedLanguages>getGetSupportedLanguagesMethod()static io.grpc.MethodDescriptor<ListGlossariesRequest,ListGlossariesResponse>getListGlossariesMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<TranslateDocumentRequest,TranslateDocumentResponse>getTranslateDocumentMethod()static io.grpc.MethodDescriptor<TranslateTextRequest,TranslateTextResponse>getTranslateTextMethod()static TranslationServiceGrpc.TranslationServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic TranslationServiceGrpc.TranslationServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic TranslationServiceGrpc.TranslationServiceStubnewStub(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
-
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,com.google.longrunning.Operation> getBatchTranslateTextMethod()
-
getBatchTranslateDocumentMethod
public static io.grpc.MethodDescriptor<BatchTranslateDocumentRequest,com.google.longrunning.Operation> getBatchTranslateDocumentMethod()
-
getCreateGlossaryMethod
public static io.grpc.MethodDescriptor<CreateGlossaryRequest,com.google.longrunning.Operation> getCreateGlossaryMethod()
-
getListGlossariesMethod
public static io.grpc.MethodDescriptor<ListGlossariesRequest,ListGlossariesResponse> getListGlossariesMethod()
-
getGetGlossaryMethod
public static io.grpc.MethodDescriptor<GetGlossaryRequest,Glossary> getGetGlossaryMethod()
-
getDeleteGlossaryMethod
public static io.grpc.MethodDescriptor<DeleteGlossaryRequest,com.google.longrunning.Operation> getDeleteGlossaryMethod()
-
newStub
public static TranslationServiceGrpc.TranslationServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for 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()
-
-