code: public Observable<ServiceResponse<DetectedLanguage>> detectLanguageWithServiceResponseAsync(String textContentType, byte[] textContent) {
          if (this.client.baseUrl() == null) {
              throw new IllegalArgumentException("Parameter this.client.baseUrl() is required and cannot be null.");
          }
          if (textContentType == null) {
              throw new IllegalArgumentException("Parameter textContentType is required and cannot be null.");
          }
          if (textContent == null) {
              throw new IllegalArgumentException("Parameter textContent is required and cannot be null.");
          }
          String parameterizedHost = Joiner.on(", ").join("{baseUrl}", this.client.baseUrl());
          RequestBody textContentConverted = RequestBody.create(MediaType.parse("text/plain"), textContent);
          return service.detectLanguage(textContentType, textContentConverted, this.client.acceptLanguage(), parameterizedHost, this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<DetectedLanguage>>>() {
                  @Override
                  public Observable<ServiceResponse<DetectedLanguage>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<DetectedLanguage> clientResponse = detectLanguageDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: This operation will detect the language of given input content. Returns the &lt;a href="http://www-01.sil.org/iso639-3/codes.asp"&gt;ISO 639-3 code&lt;/a&gt; for the predominant language comprising the submitted text. Over 110 languages supported.
  
  @param textContentType The content type. Possible values include: 'text/plain', 'text/html', 'text/xml', 'text/markdown'
  @param textContent Content to screen.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the DetectedLanguage object