Interface AsyncBatchAnnotateImagesRequestOrBuilder

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

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

    • getRequestsList

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

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

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

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

      AnnotateImageRequestOrBuilder getRequestsOrBuilder(int index)
       Required. Individual image annotation requests for this batch.
       
      repeated .google.cloud.vision.v1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasOutputConfig

      boolean hasOutputConfig()
       Required. The desired output location and metadata (e.g. format).
       
      .google.cloud.vision.v1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the outputConfig field is set.
    • getOutputConfig

      OutputConfig getOutputConfig()
       Required. The desired output location and metadata (e.g. format).
       
      .google.cloud.vision.v1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The outputConfig.
    • getOutputConfigOrBuilder

      OutputConfigOrBuilder getOutputConfigOrBuilder()
       Required. The desired output location and metadata (e.g. format).
       
      .google.cloud.vision.v1.OutputConfig output_config = 2 [(.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];