Interface V1Service.WithRawResponse
-
- All Implemented Interfaces:
public interface V1Service.WithRawResponseA view of V1Service that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract V1Service.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
@MustBeClosed() HttpResponseFor<V1DetectResponse> detect(V1DetectParams params)
Returns a raw HTTP response for
post /translate/v1/detect, but is otherwise the same as V1Service.detect.
-
detect
@MustBeClosed() abstract HttpResponseFor<V1DetectResponse> detect(V1DetectParams params, RequestOptions requestOptions)
-
listLanguages
@MustBeClosed() HttpResponseFor<V1ListLanguagesResponse> listLanguages()
Returns a raw HTTP response for
get /translate/v1/languages, but is otherwise the same as V1Service.listLanguages.
-
listLanguages
@MustBeClosed() abstract HttpResponseFor<V1ListLanguagesResponse> listLanguages(V1ListLanguagesParams params, RequestOptions requestOptions)
-
listLanguages
@MustBeClosed() HttpResponseFor<V1ListLanguagesResponse> listLanguages(V1ListLanguagesParams params)
-
listLanguages
@MustBeClosed() HttpResponseFor<V1ListLanguagesResponse> listLanguages(RequestOptions requestOptions)
-
translate
@MustBeClosed() HttpResponseFor<V1TranslateResponse> translate(V1TranslateParams params)
Returns a raw HTTP response for
post /translate/v1/translate, but is otherwise the same as V1Service.translate.
-
translate
@MustBeClosed() abstract HttpResponseFor<V1TranslateResponse> translate(V1TranslateParams params, RequestOptions requestOptions)
-
-
-
-