Interface ImageContextOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ImageContext, ImageContext.Builder

@Generated public interface ImageContextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasLatLongRect

      boolean hasLatLongRect()
       Not used.
       
      .google.cloud.vision.v1.LatLongRect lat_long_rect = 1;
      Returns:
      Whether the latLongRect field is set.
    • getLatLongRect

      LatLongRect getLatLongRect()
       Not used.
       
      .google.cloud.vision.v1.LatLongRect lat_long_rect = 1;
      Returns:
      The latLongRect.
    • getLatLongRectOrBuilder

      LatLongRectOrBuilder getLatLongRectOrBuilder()
       Not used.
       
      .google.cloud.vision.v1.LatLongRect lat_long_rect = 1;
    • getLanguageHintsList

      List<String> getLanguageHintsList()
       List of languages to use for TEXT_DETECTION. In most cases, an empty value
       yields the best results since it enables automatic language detection. For
       languages based on the Latin alphabet, setting `language_hints` is not
       needed. In rare cases, when the language of the text in the image is known,
       setting a hint will help get better results (although it will be a
       significant hindrance if the hint is wrong). Text detection returns an
       error if one or more of the specified languages is not one of the
       [supported languages](https://cloud.google.com/vision/docs/languages).
       
      repeated string language_hints = 2;
      Returns:
      A list containing the languageHints.
    • getLanguageHintsCount

      int getLanguageHintsCount()
       List of languages to use for TEXT_DETECTION. In most cases, an empty value
       yields the best results since it enables automatic language detection. For
       languages based on the Latin alphabet, setting `language_hints` is not
       needed. In rare cases, when the language of the text in the image is known,
       setting a hint will help get better results (although it will be a
       significant hindrance if the hint is wrong). Text detection returns an
       error if one or more of the specified languages is not one of the
       [supported languages](https://cloud.google.com/vision/docs/languages).
       
      repeated string language_hints = 2;
      Returns:
      The count of languageHints.
    • getLanguageHints

      String getLanguageHints(int index)
       List of languages to use for TEXT_DETECTION. In most cases, an empty value
       yields the best results since it enables automatic language detection. For
       languages based on the Latin alphabet, setting `language_hints` is not
       needed. In rare cases, when the language of the text in the image is known,
       setting a hint will help get better results (although it will be a
       significant hindrance if the hint is wrong). Text detection returns an
       error if one or more of the specified languages is not one of the
       [supported languages](https://cloud.google.com/vision/docs/languages).
       
      repeated string language_hints = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The languageHints at the given index.
    • getLanguageHintsBytes

      com.google.protobuf.ByteString getLanguageHintsBytes(int index)
       List of languages to use for TEXT_DETECTION. In most cases, an empty value
       yields the best results since it enables automatic language detection. For
       languages based on the Latin alphabet, setting `language_hints` is not
       needed. In rare cases, when the language of the text in the image is known,
       setting a hint will help get better results (although it will be a
       significant hindrance if the hint is wrong). Text detection returns an
       error if one or more of the specified languages is not one of the
       [supported languages](https://cloud.google.com/vision/docs/languages).
       
      repeated string language_hints = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the languageHints at the given index.
    • hasCropHintsParams

      boolean hasCropHintsParams()
       Parameters for crop hints annotation request.
       
      .google.cloud.vision.v1.CropHintsParams crop_hints_params = 4;
      Returns:
      Whether the cropHintsParams field is set.
    • getCropHintsParams

      CropHintsParams getCropHintsParams()
       Parameters for crop hints annotation request.
       
      .google.cloud.vision.v1.CropHintsParams crop_hints_params = 4;
      Returns:
      The cropHintsParams.
    • getCropHintsParamsOrBuilder

      CropHintsParamsOrBuilder getCropHintsParamsOrBuilder()
       Parameters for crop hints annotation request.
       
      .google.cloud.vision.v1.CropHintsParams crop_hints_params = 4;
    • hasProductSearchParams

      boolean hasProductSearchParams()
       Parameters for product search.
       
      .google.cloud.vision.v1.ProductSearchParams product_search_params = 5;
      Returns:
      Whether the productSearchParams field is set.
    • getProductSearchParams

      ProductSearchParams getProductSearchParams()
       Parameters for product search.
       
      .google.cloud.vision.v1.ProductSearchParams product_search_params = 5;
      Returns:
      The productSearchParams.
    • getProductSearchParamsOrBuilder

      ProductSearchParamsOrBuilder getProductSearchParamsOrBuilder()
       Parameters for product search.
       
      .google.cloud.vision.v1.ProductSearchParams product_search_params = 5;
    • hasWebDetectionParams

      boolean hasWebDetectionParams()
       Parameters for web detection.
       
      .google.cloud.vision.v1.WebDetectionParams web_detection_params = 6;
      Returns:
      Whether the webDetectionParams field is set.
    • getWebDetectionParams

      WebDetectionParams getWebDetectionParams()
       Parameters for web detection.
       
      .google.cloud.vision.v1.WebDetectionParams web_detection_params = 6;
      Returns:
      The webDetectionParams.
    • getWebDetectionParamsOrBuilder

      WebDetectionParamsOrBuilder getWebDetectionParamsOrBuilder()
       Parameters for web detection.
       
      .google.cloud.vision.v1.WebDetectionParams web_detection_params = 6;
    • hasTextDetectionParams

      boolean hasTextDetectionParams()
       Parameters for text detection and document text detection.
       
      .google.cloud.vision.v1.TextDetectionParams text_detection_params = 12;
      Returns:
      Whether the textDetectionParams field is set.
    • getTextDetectionParams

      TextDetectionParams getTextDetectionParams()
       Parameters for text detection and document text detection.
       
      .google.cloud.vision.v1.TextDetectionParams text_detection_params = 12;
      Returns:
      The textDetectionParams.
    • getTextDetectionParamsOrBuilder

      TextDetectionParamsOrBuilder getTextDetectionParamsOrBuilder()
       Parameters for text detection and document text detection.
       
      .google.cloud.vision.v1.TextDetectionParams text_detection_params = 12;