Interface BatchRecognizeRequestOrBuilder

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

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

      • getRecognizer

        String getRecognizer()
         Required. The name of the Recognizer to use during recognition. The
         expected format is
         `projects/{project}/locations/{location}/recognizers/{recognizer}`. The
         {recognizer} segment may be set to `_` to use an empty implicit Recognizer.
         
        string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The recognizer.
      • getRecognizerBytes

        com.google.protobuf.ByteString getRecognizerBytes()
         Required. The name of the Recognizer to use during recognition. The
         expected format is
         `projects/{project}/locations/{location}/recognizers/{recognizer}`. The
         {recognizer} segment may be set to `_` to use an empty implicit Recognizer.
         
        string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for recognizer.
      • hasConfig

        boolean hasConfig()
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.config_mask]
         field can be used to override parts of the
         [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
         of the Recognizer resource.
         
        .google.cloud.speech.v2.RecognitionConfig config = 4;
        Returns:
        Whether the config field is set.
      • getConfig

        RecognitionConfig getConfig()
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.config_mask]
         field can be used to override parts of the
         [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
         of the Recognizer resource.
         
        .google.cloud.speech.v2.RecognitionConfig config = 4;
        Returns:
        The config.
      • getConfigOrBuilder

        RecognitionConfigOrBuilder getConfigOrBuilder()
         Features and audio metadata to use for the Automatic Speech Recognition.
         This field in combination with the
         [config_mask][google.cloud.speech.v2.BatchRecognizeRequest.config_mask]
         field can be used to override parts of the
         [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
         of the Recognizer resource.
         
        .google.cloud.speech.v2.RecognitionConfig config = 4;
      • hasConfigMask

        boolean hasConfigMask()
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.config] that override
         the values in the
         [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
         of the recognizer during this recognition request. If no mask is provided,
         all given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.config] override the
         values in the recognizer for this recognition request. If a mask is
         provided, only the fields listed in the mask override the config in the
         recognizer for this recognition request. If a wildcard (`*`) is provided,
         [config][google.cloud.speech.v2.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
        Returns:
        Whether the configMask field is set.
      • getConfigMask

        com.google.protobuf.FieldMask getConfigMask()
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.config] that override
         the values in the
         [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
         of the recognizer during this recognition request. If no mask is provided,
         all given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.config] override the
         values in the recognizer for this recognition request. If a mask is
         provided, only the fields listed in the mask override the config in the
         recognizer for this recognition request. If a wildcard (`*`) is provided,
         [config][google.cloud.speech.v2.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
        Returns:
        The configMask.
      • getConfigMaskOrBuilder

        com.google.protobuf.FieldMaskOrBuilder getConfigMaskOrBuilder()
         The list of fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.config] that override
         the values in the
         [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
         of the recognizer during this recognition request. If no mask is provided,
         all given fields in
         [config][google.cloud.speech.v2.BatchRecognizeRequest.config] override the
         values in the recognizer for this recognition request. If a mask is
         provided, only the fields listed in the mask override the config in the
         recognizer for this recognition request. If a wildcard (`*`) is provided,
         [config][google.cloud.speech.v2.BatchRecognizeRequest.config] completely
         overrides and replaces the config in the recognizer for this recognition
         request.
         
        .google.protobuf.FieldMask config_mask = 5;
      • getFilesList

        List<BatchRecognizeFileMetadata> getFilesList()
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • getFiles

        BatchRecognizeFileMetadata getFiles​(int index)
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • getFilesCount

        int getFilesCount()
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • getFilesOrBuilderList

        List<? extends BatchRecognizeFileMetadataOrBuilder> getFilesOrBuilderList()
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • getFilesOrBuilder

        BatchRecognizeFileMetadataOrBuilder getFilesOrBuilder​(int index)
         Audio files with file metadata for ASR.
         The maximum number of files allowed to be specified is 5.
         
        repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      • hasRecognitionOutputConfig

        boolean hasRecognitionOutputConfig()
         Configuration options for where to output the transcripts of each file.
         
        .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
        Returns:
        Whether the recognitionOutputConfig field is set.
      • getRecognitionOutputConfig

        RecognitionOutputConfig getRecognitionOutputConfig()
         Configuration options for where to output the transcripts of each file.
         
        .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
        Returns:
        The recognitionOutputConfig.
      • getRecognitionOutputConfigOrBuilder

        RecognitionOutputConfigOrBuilder getRecognitionOutputConfigOrBuilder()
         Configuration options for where to output the transcripts of each file.
         
        .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
      • getProcessingStrategyValue

        int getProcessingStrategyValue()
         Processing strategy to use for this request.
         
        .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
        Returns:
        The enum numeric value on the wire for processingStrategy.
      • getProcessingStrategy

        BatchRecognizeRequest.ProcessingStrategy getProcessingStrategy()
         Processing strategy to use for this request.
         
        .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
        Returns:
        The processingStrategy.