Interface V1ServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface V1ServiceAsync.WithRawResponseA view of V1ServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract V1ServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
detect
CompletableFuture<HttpResponseFor<V1DetectResponse>> detect(V1DetectParams params)
Returns a raw HTTP response for
post /translate/v1/detect, but is otherwise the same as V1ServiceAsync.detect.
-
detect
abstract CompletableFuture<HttpResponseFor<V1DetectResponse>> detect(V1DetectParams params, RequestOptions requestOptions)
-
listLanguages
CompletableFuture<HttpResponseFor<V1ListLanguagesResponse>> listLanguages()
Returns a raw HTTP response for
get /translate/v1/languages, but is otherwise the same as V1ServiceAsync.listLanguages.
-
listLanguages
abstract CompletableFuture<HttpResponseFor<V1ListLanguagesResponse>> listLanguages(V1ListLanguagesParams params, RequestOptions requestOptions)
-
listLanguages
CompletableFuture<HttpResponseFor<V1ListLanguagesResponse>> listLanguages(V1ListLanguagesParams params)
-
listLanguages
CompletableFuture<HttpResponseFor<V1ListLanguagesResponse>> listLanguages(RequestOptions requestOptions)
-
translate
CompletableFuture<HttpResponseFor<V1TranslateResponse>> translate(V1TranslateParams params)
Returns a raw HTTP response for
post /translate/v1/translate, but is otherwise the same as V1ServiceAsync.translate.
-
translate
abstract CompletableFuture<HttpResponseFor<V1TranslateResponse>> translate(V1TranslateParams params, RequestOptions requestOptions)
-
-
-
-