
com.google.cloud.vision.v1.ImageContextOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1/image_annotator.proto
package com.google.cloud.vision.v1;
public interface ImageContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.ImageContext)
com.google.protobuf.MessageOrBuilder {
/**
*
* Lat/long rectangle that specifies the location of the image.
*
*
* optional .google.cloud.vision.v1.LatLongRect lat_long_rect = 1;
*/
boolean hasLatLongRect();
/**
*
* Lat/long rectangle that specifies the location of the image.
*
*
* optional .google.cloud.vision.v1.LatLongRect lat_long_rect = 1;
*/
com.google.cloud.vision.v1.LatLongRect getLatLongRect();
/**
*
* Lat/long rectangle that specifies the location of the image.
*
*
* optional .google.cloud.vision.v1.LatLongRect lat_long_rect = 1;
*/
com.google.cloud.vision.v1.LatLongRectOrBuilder getLatLongRectOrBuilder();
/**
*
* 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](/translate/v2/translate-reference#supported_languages).
*
*
* repeated string language_hints = 2;
*/
java.util.List
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](/translate/v2/translate-reference#supported_languages).
*
*
* repeated string language_hints = 2;
*/
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](/translate/v2/translate-reference#supported_languages).
*
*
* repeated string language_hints = 2;
*/
java.lang.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](/translate/v2/translate-reference#supported_languages).
*
*
* repeated string language_hints = 2;
*/
com.google.protobuf.ByteString
getLanguageHintsBytes(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy