Interface BatchRecognizeFileResultOrBuilder

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

    public interface BatchRecognizeFileResultOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getUri

        String getUri()
         The Cloud Storage URI to which recognition results were written.
         
        string uri = 1;
        Returns:
        The uri.
      • getUriBytes

        com.google.protobuf.ByteString getUriBytes()
         The Cloud Storage URI to which recognition results were written.
         
        string uri = 1;
        Returns:
        The bytes for uri.
      • hasError

        boolean hasError()
         Error if one was encountered.
         
        .google.rpc.Status error = 2;
        Returns:
        Whether the error field is set.
      • getError

        com.google.rpc.Status getError()
         Error if one was encountered.
         
        .google.rpc.Status error = 2;
        Returns:
        The error.
      • getErrorOrBuilder

        com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         Error if one was encountered.
         
        .google.rpc.Status error = 2;
      • hasMetadata

        boolean hasMetadata()
        .google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
        Returns:
        Whether the metadata field is set.
      • getMetadata

        RecognitionResponseMetadata getMetadata()
        .google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;
        Returns:
        The metadata.
      • hasTranscript

        boolean hasTranscript()
         The transcript for the audio file. This is populated only when
         [InlineOutputConfig][google.cloud.speech.v2.InlineOutputConfig] is set in
         the
         [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
         
        .google.cloud.speech.v2.BatchRecognizeResults transcript = 4;
        Returns:
        Whether the transcript field is set.
      • getTranscript

        BatchRecognizeResults getTranscript()
         The transcript for the audio file. This is populated only when
         [InlineOutputConfig][google.cloud.speech.v2.InlineOutputConfig] is set in
         the
         [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
         
        .google.cloud.speech.v2.BatchRecognizeResults transcript = 4;
        Returns:
        The transcript.
      • getTranscriptOrBuilder

        BatchRecognizeResultsOrBuilder getTranscriptOrBuilder()
         The transcript for the audio file. This is populated only when
         [InlineOutputConfig][google.cloud.speech.v2.InlineOutputConfig] is set in
         the
         [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
         
        .google.cloud.speech.v2.BatchRecognizeResults transcript = 4;