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

com.google.cloud.vision.v1.AnnotateFileResponseOrBuilder 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/vision/v1/image_annotator.proto

// Protobuf Java Version: 3.25.2
package com.google.cloud.vision.v1;

public interface AnnotateFileResponseOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.AnnotateFileResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Information about the file for which this response is generated.
   * 
* * .google.cloud.vision.v1.InputConfig input_config = 1; * * @return Whether the inputConfig field is set. */ boolean hasInputConfig(); /** * * *
   * Information about the file for which this response is generated.
   * 
* * .google.cloud.vision.v1.InputConfig input_config = 1; * * @return The inputConfig. */ com.google.cloud.vision.v1.InputConfig getInputConfig(); /** * * *
   * Information about the file for which this response is generated.
   * 
* * .google.cloud.vision.v1.InputConfig input_config = 1; */ com.google.cloud.vision.v1.InputConfigOrBuilder getInputConfigOrBuilder(); /** * * *
   * Individual responses to images found within the file. This field will be
   * empty if the `error` field is set.
   * 
* * repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 2; */ java.util.List getResponsesList(); /** * * *
   * Individual responses to images found within the file. This field will be
   * empty if the `error` field is set.
   * 
* * repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 2; */ com.google.cloud.vision.v1.AnnotateImageResponse getResponses(int index); /** * * *
   * Individual responses to images found within the file. This field will be
   * empty if the `error` field is set.
   * 
* * repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 2; */ int getResponsesCount(); /** * * *
   * Individual responses to images found within the file. This field will be
   * empty if the `error` field is set.
   * 
* * repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 2; */ java.util.List getResponsesOrBuilderList(); /** * * *
   * Individual responses to images found within the file. This field will be
   * empty if the `error` field is set.
   * 
* * repeated .google.cloud.vision.v1.AnnotateImageResponse responses = 2; */ com.google.cloud.vision.v1.AnnotateImageResponseOrBuilder getResponsesOrBuilder(int index); /** * * *
   * This field gives the total number of pages in the file.
   * 
* * int32 total_pages = 3; * * @return The totalPages. */ int getTotalPages(); /** * * *
   * If set, represents the error message for the failed request. The
   * `responses` field will not be set in this case.
   * 
* * .google.rpc.Status error = 4; * * @return Whether the error field is set. */ boolean hasError(); /** * * *
   * If set, represents the error message for the failed request. The
   * `responses` field will not be set in this case.
   * 
* * .google.rpc.Status error = 4; * * @return The error. */ com.google.rpc.Status getError(); /** * * *
   * If set, represents the error message for the failed request. The
   * `responses` field will not be set in this case.
   * 
* * .google.rpc.Status error = 4; */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy