com.google.cloud.vision.v1p3beta1.LocalizedObjectAnnotationOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-vision-v1p3beta1 Show documentation
Show all versions of proto-google-cloud-vision-v1p3beta1 Show documentation
PROTO library for proto-google-cloud-vision-v1p3beta1
/*
* 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/v1p3beta1/image_annotator.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.vision.v1p3beta1;
public interface LocalizedObjectAnnotationOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p3beta1.LocalizedObjectAnnotation)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Object ID that should align with EntityAnnotation mid.
*
*
* string mid = 1;
*
* @return The mid.
*/
java.lang.String getMid();
/**
*
*
*
* Object ID that should align with EntityAnnotation mid.
*
*
* string mid = 1;
*
* @return The bytes for mid.
*/
com.google.protobuf.ByteString getMidBytes();
/**
*
*
*
* The BCP-47 language code, such as "en-US" or "sr-Latn". For more
* information, see
* http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
*
*
* string language_code = 2;
*
* @return The languageCode.
*/
java.lang.String getLanguageCode();
/**
*
*
*
* The BCP-47 language code, such as "en-US" or "sr-Latn". For more
* information, see
* http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
*
*
* string language_code = 2;
*
* @return The bytes for languageCode.
*/
com.google.protobuf.ByteString getLanguageCodeBytes();
/**
*
*
*
* Object name, expressed in its `language_code` language.
*
*
* string name = 3;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Object name, expressed in its `language_code` language.
*
*
* string name = 3;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Score of the result. Range [0, 1].
*
*
* float score = 4;
*
* @return The score.
*/
float getScore();
/**
*
*
*
* Image region to which this object belongs. This must be populated.
*
*
* .google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 5;
*
* @return Whether the boundingPoly field is set.
*/
boolean hasBoundingPoly();
/**
*
*
*
* Image region to which this object belongs. This must be populated.
*
*
* .google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 5;
*
* @return The boundingPoly.
*/
com.google.cloud.vision.v1p3beta1.BoundingPoly getBoundingPoly();
/**
*
*
*
* Image region to which this object belongs. This must be populated.
*
*
* .google.cloud.vision.v1p3beta1.BoundingPoly bounding_poly = 5;
*/
com.google.cloud.vision.v1p3beta1.BoundingPolyOrBuilder getBoundingPolyOrBuilder();
}