Interface BatchRecognizeResponseOrBuilder

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

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

    • getResultsCount

      int getResultsCount()
       Map from filename to the final result for that file.
       
      map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
    • containsResults

      boolean containsResults(String key)
       Map from filename to the final result for that file.
       
      map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
    • getResults

      Deprecated.
      Use getResultsMap() instead.
    • getResultsMap

       Map from filename to the final result for that file.
       
      map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
    • getResultsOrDefault

      BatchRecognizeFileResult getResultsOrDefault(String key, BatchRecognizeFileResult defaultValue)
       Map from filename to the final result for that file.
       
      map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
    • getResultsOrThrow

      BatchRecognizeFileResult getResultsOrThrow(String key)
       Map from filename to the final result for that file.
       
      map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
    • hasTotalBilledDuration

      boolean hasTotalBilledDuration()
       When available, billed audio seconds for the corresponding request.
       
      .google.protobuf.Duration total_billed_duration = 2;
      Returns:
      Whether the totalBilledDuration field is set.
    • getTotalBilledDuration

      com.google.protobuf.Duration getTotalBilledDuration()
       When available, billed audio seconds for the corresponding request.
       
      .google.protobuf.Duration total_billed_duration = 2;
      Returns:
      The totalBilledDuration.
    • getTotalBilledDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getTotalBilledDurationOrBuilder()
       When available, billed audio seconds for the corresponding request.
       
      .google.protobuf.Duration total_billed_duration = 2;