Interface AsyncBatchAnnotateFilesRequestOrBuilder

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

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

    • getRequestsList

      List<AsyncAnnotateFileRequest> getRequestsList()
       Required. Individual async file annotation requests for this batch.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequests

      AsyncAnnotateFileRequest getRequests(int index)
       Required. Individual async file annotation requests for this batch.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsCount

      int getRequestsCount()
       Required. Individual async file annotation requests for this batch.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilderList

      List<? extends AsyncAnnotateFileRequestOrBuilder> getRequestsOrBuilderList()
       Required. Individual async file annotation requests for this batch.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      AsyncAnnotateFileRequestOrBuilder getRequestsOrBuilder(int index)
       Required. Individual async file annotation requests for this batch.
       
      repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest 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 = 4;
      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 = 4;
      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];