code: public Observable<ServiceResponse<OCR>> oCRFileInputWithServiceResponseAsync(String language, byte[] imageStream, OCRFileInputOptionalParameter oCRFileInputOptionalParameter) {
          if (this.client.baseUrl() == null) {
              throw new IllegalArgumentException("Parameter this.client.baseUrl() is required and cannot be null.");
          }
          if (language == null) {
              throw new IllegalArgumentException("Parameter language is required and cannot be null.");
          }
          if (imageStream == null) {
              throw new IllegalArgumentException("Parameter imageStream is required and cannot be null.");
          }
          final Boolean cacheImage = oCRFileInputOptionalParameter != null ? oCRFileInputOptionalParameter.cacheImage() : null;
          final Boolean enhanced = oCRFileInputOptionalParameter != null ? oCRFileInputOptionalParameter.enhanced() : null;
  
          return oCRFileInputWithServiceResponseAsync(language, imageStream, cacheImage, enhanced);
      }
docs: Returns any text found in the image for the language specified. If no language is specified in input then the detection defaults to English.
  
  @param language Language of the terms.
  @param imageStream The image file.
  @param oCRFileInputOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the OCR object