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

com.google.cloud.visionai.v1.ImageObjectDetectionPredictionResultOrBuilder Maven / Gradle / Ivy

/*
 * 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/visionai/v1/annotations.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.visionai.v1;

public interface ImageObjectDetectionPredictionResultOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.ImageObjectDetectionPredictionResult)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The resource IDs of the AnnotationSpecs that had been identified, ordered
   * by the confidence score descendingly. It is the id segment instead of full
   * resource name.
   * 
* * repeated int64 ids = 1; * * @return A list containing the ids. */ java.util.List getIdsList(); /** * * *
   * The resource IDs of the AnnotationSpecs that had been identified, ordered
   * by the confidence score descendingly. It is the id segment instead of full
   * resource name.
   * 
* * repeated int64 ids = 1; * * @return The count of ids. */ int getIdsCount(); /** * * *
   * The resource IDs of the AnnotationSpecs that had been identified, ordered
   * by the confidence score descendingly. It is the id segment instead of full
   * resource name.
   * 
* * repeated int64 ids = 1; * * @param index The index of the element to return. * @return The ids at the given index. */ long getIds(int index); /** * * *
   * The display names of the AnnotationSpecs that had been identified, order
   * matches the IDs.
   * 
* * repeated string display_names = 2; * * @return A list containing the displayNames. */ java.util.List getDisplayNamesList(); /** * * *
   * The display names of the AnnotationSpecs that had been identified, order
   * matches the IDs.
   * 
* * repeated string display_names = 2; * * @return The count of displayNames. */ int getDisplayNamesCount(); /** * * *
   * The display names of the AnnotationSpecs that had been identified, order
   * matches the IDs.
   * 
* * repeated string display_names = 2; * * @param index The index of the element to return. * @return The displayNames at the given index. */ java.lang.String getDisplayNames(int index); /** * * *
   * The display names of the AnnotationSpecs that had been identified, order
   * matches the IDs.
   * 
* * repeated string display_names = 2; * * @param index The index of the value to return. * @return The bytes of the displayNames at the given index. */ com.google.protobuf.ByteString getDisplayNamesBytes(int index); /** * * *
   * The Model's confidences in correctness of the predicted IDs, higher value
   * means higher confidence. Order matches the Ids.
   * 
* * repeated float confidences = 3; * * @return A list containing the confidences. */ java.util.List getConfidencesList(); /** * * *
   * The Model's confidences in correctness of the predicted IDs, higher value
   * means higher confidence. Order matches the Ids.
   * 
* * repeated float confidences = 3; * * @return The count of confidences. */ int getConfidencesCount(); /** * * *
   * The Model's confidences in correctness of the predicted IDs, higher value
   * means higher confidence. Order matches the Ids.
   * 
* * repeated float confidences = 3; * * @param index The index of the element to return. * @return The confidences at the given index. */ float getConfidences(int index); /** * * *
   * Bounding boxes, i.e. the rectangles over the image, that pinpoint
   * the found AnnotationSpecs. Given in order that matches the IDs. Each
   * bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and
   * `yMax`, which represent the extremal coordinates of the box. They are
   * relative to the image size, and the point 0,0 is in the top left
   * of the image.
   * 
* * repeated .google.protobuf.ListValue bboxes = 4; */ java.util.List getBboxesList(); /** * * *
   * Bounding boxes, i.e. the rectangles over the image, that pinpoint
   * the found AnnotationSpecs. Given in order that matches the IDs. Each
   * bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and
   * `yMax`, which represent the extremal coordinates of the box. They are
   * relative to the image size, and the point 0,0 is in the top left
   * of the image.
   * 
* * repeated .google.protobuf.ListValue bboxes = 4; */ com.google.protobuf.ListValue getBboxes(int index); /** * * *
   * Bounding boxes, i.e. the rectangles over the image, that pinpoint
   * the found AnnotationSpecs. Given in order that matches the IDs. Each
   * bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and
   * `yMax`, which represent the extremal coordinates of the box. They are
   * relative to the image size, and the point 0,0 is in the top left
   * of the image.
   * 
* * repeated .google.protobuf.ListValue bboxes = 4; */ int getBboxesCount(); /** * * *
   * Bounding boxes, i.e. the rectangles over the image, that pinpoint
   * the found AnnotationSpecs. Given in order that matches the IDs. Each
   * bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and
   * `yMax`, which represent the extremal coordinates of the box. They are
   * relative to the image size, and the point 0,0 is in the top left
   * of the image.
   * 
* * repeated .google.protobuf.ListValue bboxes = 4; */ java.util.List getBboxesOrBuilderList(); /** * * *
   * Bounding boxes, i.e. the rectangles over the image, that pinpoint
   * the found AnnotationSpecs. Given in order that matches the IDs. Each
   * bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and
   * `yMax`, which represent the extremal coordinates of the box. They are
   * relative to the image size, and the point 0,0 is in the top left
   * of the image.
   * 
* * repeated .google.protobuf.ListValue bboxes = 4; */ com.google.protobuf.ListValueOrBuilder getBboxesOrBuilder(int index); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy