Interface AnnotateFileResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AnnotateFileResponse, AnnotateFileResponse.Builder

@Generated public interface AnnotateFileResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasInputConfig

      boolean hasInputConfig()
       Information about the file for which this response is generated.
       
      .google.cloud.vision.v1.InputConfig input_config = 1;
      Returns:
      Whether the inputConfig field is set.
    • getInputConfig

      InputConfig getInputConfig()
       Information about the file for which this response is generated.
       
      .google.cloud.vision.v1.InputConfig input_config = 1;
      Returns:
      The inputConfig.
    • getInputConfigOrBuilder

      InputConfigOrBuilder getInputConfigOrBuilder()
       Information about the file for which this response is generated.
       
      .google.cloud.vision.v1.InputConfig input_config = 1;
    • getResponsesList

      List<AnnotateImageResponse> 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;
    • getResponses

      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;
    • getResponsesCount

      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;
    • getResponsesOrBuilderList

      List<? extends 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.v1.AnnotateImageResponse responses = 2;
    • getResponsesOrBuilder

      AnnotateImageResponseOrBuilder getResponsesOrBuilder(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;
    • getTotalPages

      int getTotalPages()
       This field gives the total number of pages in the file.
       
      int32 total_pages = 3;
      Returns:
      The totalPages.
    • hasError

      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;
      Returns:
      Whether the error field is set.
    • getError

      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;
      Returns:
      The error.
    • getErrorOrBuilder

      StatusOrBuilder getErrorOrBuilder()
       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;