com.google.cloud.vision.v1p4beta1.AnnotateFileResponseOrBuilder 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-v1p4beta1 Show documentation
Show all versions of proto-google-cloud-vision-v1p4beta1 Show documentation
PROTO library for proto-google-cloud-vision-v1p4beta1
/*
* Copyright 2020 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/v1p4beta1/image_annotator.proto
package com.google.cloud.vision.v1p4beta1;
public interface AnnotateFileResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p4beta1.AnnotateFileResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Information about the file for which this response is generated.
*
*
* .google.cloud.vision.v1p4beta1.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.v1p4beta1.InputConfig input_config = 1;
*
* @return The inputConfig.
*/
com.google.cloud.vision.v1p4beta1.InputConfig getInputConfig();
/**
*
*
*
* Information about the file for which this response is generated.
*
*
* .google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
*/
com.google.cloud.vision.v1p4beta1.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.v1p4beta1.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.v1p4beta1.AnnotateImageResponse responses = 2;
*/
com.google.cloud.vision.v1p4beta1.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.v1p4beta1.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.v1p4beta1.AnnotateImageResponse responses = 2;
*/
java.util.List extends com.google.cloud.vision.v1p4beta1.AnnotateImageResponseOrBuilder>
getResponsesOrBuilderList();
/**
*
*
*
* Individual responses to images found within the file. This field will be
* empty if the `error` field is set.
*
*
* repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 2;
*/
com.google.cloud.vision.v1p4beta1.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