Package com.google.cloud.translate.v3
Class TranslationServiceGrpc
java.lang.Object
com.google.cloud.translate.v3.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<AdaptiveMtTranslateRequest,AdaptiveMtTranslateResponse> static io.grpc.MethodDescriptor<BatchTranslateDocumentRequest,Operation> static io.grpc.MethodDescriptor<BatchTranslateTextRequest,Operation> static io.grpc.MethodDescriptor<CreateAdaptiveMtDatasetRequest,AdaptiveMtDataset> static io.grpc.MethodDescriptor<CreateDatasetRequest,Operation> static io.grpc.MethodDescriptor<CreateGlossaryEntryRequest,GlossaryEntry> static io.grpc.MethodDescriptor<CreateGlossaryRequest,Operation> static io.grpc.MethodDescriptor<CreateModelRequest,Operation> static io.grpc.MethodDescriptor<DeleteAdaptiveMtDatasetRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteAdaptiveMtFileRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteDatasetRequest,Operation> static io.grpc.MethodDescriptor<DeleteGlossaryEntryRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteGlossaryRequest,Operation> static io.grpc.MethodDescriptor<DeleteModelRequest,Operation> static io.grpc.MethodDescriptor<DetectLanguageRequest,DetectLanguageResponse> static io.grpc.MethodDescriptor<ExportDataRequest,Operation> static io.grpc.MethodDescriptor<GetAdaptiveMtDatasetRequest,AdaptiveMtDataset> static io.grpc.MethodDescriptor<GetAdaptiveMtFileRequest,AdaptiveMtFile> static io.grpc.MethodDescriptor<GetDatasetRequest,Dataset> static io.grpc.MethodDescriptor<GetGlossaryEntryRequest,GlossaryEntry> static io.grpc.MethodDescriptor<GetGlossaryRequest,Glossary> static io.grpc.MethodDescriptor<GetModelRequest,Model> static io.grpc.MethodDescriptor<GetSupportedLanguagesRequest,SupportedLanguages> static io.grpc.MethodDescriptor<ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileResponse> static io.grpc.MethodDescriptor<ImportDataRequest,Operation> static io.grpc.MethodDescriptor<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsResponse> static io.grpc.MethodDescriptor<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesResponse> static io.grpc.MethodDescriptor<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse> static io.grpc.MethodDescriptor<ListDatasetsRequest,ListDatasetsResponse> static io.grpc.MethodDescriptor<ListExamplesRequest,ListExamplesResponse> static io.grpc.MethodDescriptor<ListGlossariesRequest,ListGlossariesResponse> static io.grpc.MethodDescriptor<ListGlossaryEntriesRequest,ListGlossaryEntriesResponse> static io.grpc.MethodDescriptor<ListModelsRequest,ListModelsResponse> static io.grpc.MethodDescriptor<RomanizeTextRequest,RomanizeTextResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<TranslateDocumentRequest,TranslateDocumentResponse> static io.grpc.MethodDescriptor<TranslateTextRequest,TranslateTextResponse> static io.grpc.MethodDescriptor<UpdateGlossaryEntryRequest,GlossaryEntry> static io.grpc.MethodDescriptor<UpdateGlossaryRequest,Operation> 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() -
getRomanizeTextMethod
public static io.grpc.MethodDescriptor<RomanizeTextRequest,RomanizeTextResponse> getRomanizeTextMethod() -
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
-
getUpdateGlossaryMethod
-
getListGlossariesMethod
public static io.grpc.MethodDescriptor<ListGlossariesRequest,ListGlossariesResponse> getListGlossariesMethod() -
getGetGlossaryMethod
-
getDeleteGlossaryMethod
-
getGetGlossaryEntryMethod
public static io.grpc.MethodDescriptor<GetGlossaryEntryRequest,GlossaryEntry> getGetGlossaryEntryMethod() -
getListGlossaryEntriesMethod
public static io.grpc.MethodDescriptor<ListGlossaryEntriesRequest,ListGlossaryEntriesResponse> getListGlossaryEntriesMethod() -
getCreateGlossaryEntryMethod
public static io.grpc.MethodDescriptor<CreateGlossaryEntryRequest,GlossaryEntry> getCreateGlossaryEntryMethod() -
getUpdateGlossaryEntryMethod
public static io.grpc.MethodDescriptor<UpdateGlossaryEntryRequest,GlossaryEntry> getUpdateGlossaryEntryMethod() -
getDeleteGlossaryEntryMethod
public static io.grpc.MethodDescriptor<DeleteGlossaryEntryRequest,com.google.protobuf.Empty> getDeleteGlossaryEntryMethod() -
getCreateDatasetMethod
-
getGetDatasetMethod
-
getListDatasetsMethod
public static io.grpc.MethodDescriptor<ListDatasetsRequest,ListDatasetsResponse> getListDatasetsMethod() -
getDeleteDatasetMethod
-
getCreateAdaptiveMtDatasetMethod
public static io.grpc.MethodDescriptor<CreateAdaptiveMtDatasetRequest,AdaptiveMtDataset> getCreateAdaptiveMtDatasetMethod() -
getDeleteAdaptiveMtDatasetMethod
public static io.grpc.MethodDescriptor<DeleteAdaptiveMtDatasetRequest,com.google.protobuf.Empty> getDeleteAdaptiveMtDatasetMethod() -
getGetAdaptiveMtDatasetMethod
public static io.grpc.MethodDescriptor<GetAdaptiveMtDatasetRequest,AdaptiveMtDataset> getGetAdaptiveMtDatasetMethod() -
getListAdaptiveMtDatasetsMethod
public static io.grpc.MethodDescriptor<ListAdaptiveMtDatasetsRequest,ListAdaptiveMtDatasetsResponse> getListAdaptiveMtDatasetsMethod() -
getAdaptiveMtTranslateMethod
public static io.grpc.MethodDescriptor<AdaptiveMtTranslateRequest,AdaptiveMtTranslateResponse> getAdaptiveMtTranslateMethod() -
getGetAdaptiveMtFileMethod
public static io.grpc.MethodDescriptor<GetAdaptiveMtFileRequest,AdaptiveMtFile> getGetAdaptiveMtFileMethod() -
getDeleteAdaptiveMtFileMethod
public static io.grpc.MethodDescriptor<DeleteAdaptiveMtFileRequest,com.google.protobuf.Empty> getDeleteAdaptiveMtFileMethod() -
getImportAdaptiveMtFileMethod
public static io.grpc.MethodDescriptor<ImportAdaptiveMtFileRequest,ImportAdaptiveMtFileResponse> getImportAdaptiveMtFileMethod() -
getListAdaptiveMtFilesMethod
public static io.grpc.MethodDescriptor<ListAdaptiveMtFilesRequest,ListAdaptiveMtFilesResponse> getListAdaptiveMtFilesMethod() -
getListAdaptiveMtSentencesMethod
public static io.grpc.MethodDescriptor<ListAdaptiveMtSentencesRequest,ListAdaptiveMtSentencesResponse> getListAdaptiveMtSentencesMethod() -
getImportDataMethod
-
getExportDataMethod
-
getListExamplesMethod
public static io.grpc.MethodDescriptor<ListExamplesRequest,ListExamplesResponse> getListExamplesMethod() -
getCreateModelMethod
-
getListModelsMethod
-
getGetModelMethod
-
getDeleteModelMethod
-
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()
-