Interface BatchAnnotateFilesRequestOrBuilder

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

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

    • getRequestsList

      List<AnnotateFileRequest> getRequestsList()
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequests

      AnnotateFileRequest getRequests(int index)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsCount

      int getRequestsCount()
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilderList

      List<? extends AnnotateFileRequestOrBuilder> getRequestsOrBuilderList()
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      AnnotateFileRequestOrBuilder getRequestsOrBuilder(int index)
       Required. The list of file annotation requests. Right now we support only
       one AnnotateFileRequest in BatchAnnotateFilesRequest.
       
      repeated .google.cloud.vision.v1.AnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getParent

      String getParent()
       Optional. Target project and location to make a call.
      
       Format: `projects/{project-id}/locations/{location-id}`.
      
       If no parent is specified, a region will be chosen automatically.
      
       Supported location-ids:
       `us`: USA country only,
       `asia`: East asia areas, like Japan, Taiwan,
       `eu`: The European Union.
      
       Example: `projects/project-A/locations/eu`.
       
      string parent = 3;
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Optional. Target project and location to make a call.
      
       Format: `projects/{project-id}/locations/{location-id}`.
      
       If no parent is specified, a region will be chosen automatically.
      
       Supported location-ids:
       `us`: USA country only,
       `asia`: East asia areas, like Japan, Taiwan,
       `eu`: The European Union.
      
       Example: `projects/project-A/locations/eu`.
       
      string parent = 3;
      Returns:
      The bytes for parent.
    • getLabelsCount

      int getLabelsCount()
       Optional. The labels with user-defined metadata for the request.
      
       Label keys and values can be no longer than 63 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
       Label values are optional. Label keys must start with a letter.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. The labels with user-defined metadata for the request.
      
       Label keys and values can be no longer than 63 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
       Label values are optional. Label keys must start with a letter.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. The labels with user-defined metadata for the request.
      
       Label keys and values can be no longer than 63 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
       Label values are optional. Label keys must start with a letter.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels with user-defined metadata for the request.
      
       Label keys and values can be no longer than 63 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
       Label values are optional. Label keys must start with a letter.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. The labels with user-defined metadata for the request.
      
       Label keys and values can be no longer than 63 characters
       (Unicode codepoints), can only contain lowercase letters, numeric
       characters, underscores and dashes. International characters are allowed.
       Label values are optional. Label keys must start with a letter.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];