Interface RecognitionOutputConfigOrBuilder

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

    public interface RecognitionOutputConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      GcsOutputConfig getGcsOutputConfig()
      If this message is populated, recognition results are written to the provided Google Cloud Storage URI.
      GcsOutputConfigOrBuilder getGcsOutputConfigOrBuilder()
      If this message is populated, recognition results are written to the provided Google Cloud Storage URI.
      InlineOutputConfig getInlineResponseConfig()
      If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.
      InlineOutputConfigOrBuilder getInlineResponseConfigOrBuilder()
      If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.
      RecognitionOutputConfig.OutputCase getOutputCase()  
      boolean hasGcsOutputConfig()
      If this message is populated, recognition results are written to the provided Google Cloud Storage URI.
      boolean hasInlineResponseConfig()
      If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasGcsOutputConfig

        boolean hasGcsOutputConfig()
         If this message is populated, recognition results are written to the
         provided Google Cloud Storage URI.
         
        .google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;
        Returns:
        Whether the gcsOutputConfig field is set.
      • getGcsOutputConfig

        GcsOutputConfig getGcsOutputConfig()
         If this message is populated, recognition results are written to the
         provided Google Cloud Storage URI.
         
        .google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;
        Returns:
        The gcsOutputConfig.
      • getGcsOutputConfigOrBuilder

        GcsOutputConfigOrBuilder getGcsOutputConfigOrBuilder()
         If this message is populated, recognition results are written to the
         provided Google Cloud Storage URI.
         
        .google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;
      • hasInlineResponseConfig

        boolean hasInlineResponseConfig()
         If this message is populated, recognition results are provided in the
         [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
         message of the Operation when completed. This is only supported when
         calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize]
         with just one audio file.
         
        .google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
        Returns:
        Whether the inlineResponseConfig field is set.
      • getInlineResponseConfig

        InlineOutputConfig getInlineResponseConfig()
         If this message is populated, recognition results are provided in the
         [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
         message of the Operation when completed. This is only supported when
         calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize]
         with just one audio file.
         
        .google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;
        Returns:
        The inlineResponseConfig.
      • getInlineResponseConfigOrBuilder

        InlineOutputConfigOrBuilder getInlineResponseConfigOrBuilder()
         If this message is populated, recognition results are provided in the
         [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse]
         message of the Operation when completed. This is only supported when
         calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize]
         with just one audio file.
         
        .google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;