All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.vision.v1p1beta1.ImageContextOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.141.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/vision/v1p1beta1/image_annotator.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.vision.v1p1beta1;

public interface ImageContextOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p1beta1.ImageContext)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * lat/long rectangle that specifies the location of the image.
   * 
* * .google.cloud.vision.v1p1beta1.LatLongRect lat_long_rect = 1; * * @return Whether the latLongRect field is set. */ boolean hasLatLongRect(); /** * * *
   * lat/long rectangle that specifies the location of the image.
   * 
* * .google.cloud.vision.v1p1beta1.LatLongRect lat_long_rect = 1; * * @return The latLongRect. */ com.google.cloud.vision.v1p1beta1.LatLongRect getLatLongRect(); /** * * *
   * lat/long rectangle that specifies the location of the image.
   * 
* * .google.cloud.vision.v1p1beta1.LatLongRect lat_long_rect = 1; */ com.google.cloud.vision.v1p1beta1.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](https://cloud.google.com/vision/docs/languages).
   * 
* * repeated string language_hints = 2; * * @return A list containing the languageHints. */ 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](https://cloud.google.com/vision/docs/languages).
   * 
* * repeated string language_hints = 2; * * @return The count of languageHints. */ 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; * * @param index The index of the element to return. * @return The languageHints at the given index. */ 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](https://cloud.google.com/vision/docs/languages).
   * 
* * repeated string language_hints = 2; * * @param index The index of the value to return. * @return The bytes of the languageHints at the given index. */ com.google.protobuf.ByteString getLanguageHintsBytes(int index); /** * * *
   * Parameters for crop hints annotation request.
   * 
* * .google.cloud.vision.v1p1beta1.CropHintsParams crop_hints_params = 4; * * @return Whether the cropHintsParams field is set. */ boolean hasCropHintsParams(); /** * * *
   * Parameters for crop hints annotation request.
   * 
* * .google.cloud.vision.v1p1beta1.CropHintsParams crop_hints_params = 4; * * @return The cropHintsParams. */ com.google.cloud.vision.v1p1beta1.CropHintsParams getCropHintsParams(); /** * * *
   * Parameters for crop hints annotation request.
   * 
* * .google.cloud.vision.v1p1beta1.CropHintsParams crop_hints_params = 4; */ com.google.cloud.vision.v1p1beta1.CropHintsParamsOrBuilder getCropHintsParamsOrBuilder(); /** * * *
   * Parameters for web detection.
   * 
* * .google.cloud.vision.v1p1beta1.WebDetectionParams web_detection_params = 6; * * @return Whether the webDetectionParams field is set. */ boolean hasWebDetectionParams(); /** * * *
   * Parameters for web detection.
   * 
* * .google.cloud.vision.v1p1beta1.WebDetectionParams web_detection_params = 6; * * @return The webDetectionParams. */ com.google.cloud.vision.v1p1beta1.WebDetectionParams getWebDetectionParams(); /** * * *
   * Parameters for web detection.
   * 
* * .google.cloud.vision.v1p1beta1.WebDetectionParams web_detection_params = 6; */ com.google.cloud.vision.v1p1beta1.WebDetectionParamsOrBuilder getWebDetectionParamsOrBuilder(); /** * * *
   * Parameters for text detection and document text detection.
   * 
* * .google.cloud.vision.v1p1beta1.TextDetectionParams text_detection_params = 12; * * @return Whether the textDetectionParams field is set. */ boolean hasTextDetectionParams(); /** * * *
   * Parameters for text detection and document text detection.
   * 
* * .google.cloud.vision.v1p1beta1.TextDetectionParams text_detection_params = 12; * * @return The textDetectionParams. */ com.google.cloud.vision.v1p1beta1.TextDetectionParams getTextDetectionParams(); /** * * *
   * Parameters for text detection and document text detection.
   * 
* * .google.cloud.vision.v1p1beta1.TextDetectionParams text_detection_params = 12; */ com.google.cloud.vision.v1p1beta1.TextDetectionParamsOrBuilder getTextDetectionParamsOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy