Class BatchRecognizeRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchRecognizeRequest.Builder>
com.google.cloud.speech.v2.BatchRecognizeRequest.Builder
All Implemented Interfaces:
BatchRecognizeRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchRecognizeRequest

public static final class BatchRecognizeRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchRecognizeRequest.Builder> implements BatchRecognizeRequestOrBuilder
 Request message for the
 [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize]
 method.
 
Protobuf type google.cloud.speech.v2.BatchRecognizeRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BatchRecognizeRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BatchRecognizeRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BatchRecognizeRequest.Builder>
    • getDefaultInstanceForType

      public BatchRecognizeRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BatchRecognizeRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BatchRecognizeRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BatchRecognizeRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchRecognizeRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BatchRecognizeRequest.Builder>
    • mergeFrom

      public BatchRecognizeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchRecognizeRequest.Builder>
      Throws:
      IOException
    • getRecognizer

      public 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) = { ... }
      Specified by:
      getRecognizer in interface BatchRecognizeRequestOrBuilder
      Returns:
      The recognizer.
    • getRecognizerBytes

      public 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) = { ... }
      Specified by:
      getRecognizerBytes in interface BatchRecognizeRequestOrBuilder
      Returns:
      The bytes for recognizer.
    • setRecognizer

      public BatchRecognizeRequest.Builder setRecognizer(String value)
       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) = { ... }
      Parameters:
      value - The recognizer to set.
      Returns:
      This builder for chaining.
    • clearRecognizer

      public BatchRecognizeRequest.Builder clearRecognizer()
       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:
      This builder for chaining.
    • setRecognizerBytes

      public BatchRecognizeRequest.Builder setRecognizerBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for recognizer to set.
      Returns:
      This builder for chaining.
    • hasConfig

      public 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;
      Specified by:
      hasConfig in interface BatchRecognizeRequestOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public 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;
      Specified by:
      getConfig in interface BatchRecognizeRequestOrBuilder
      Returns:
      The config.
    • setConfig

       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;
    • setConfig

      public BatchRecognizeRequest.Builder setConfig(RecognitionConfig.Builder builderForValue)
       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;
    • mergeConfig

       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;
    • clearConfig

      public BatchRecognizeRequest.Builder clearConfig()
       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;
    • getConfigBuilder

      public RecognitionConfig.Builder getConfigBuilder()
       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;
    • getConfigOrBuilder

      public 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;
      Specified by:
      getConfigOrBuilder in interface BatchRecognizeRequestOrBuilder
    • hasConfigMask

      public 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;
      Specified by:
      hasConfigMask in interface BatchRecognizeRequestOrBuilder
      Returns:
      Whether the configMask field is set.
    • getConfigMask

      public 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;
      Specified by:
      getConfigMask in interface BatchRecognizeRequestOrBuilder
      Returns:
      The configMask.
    • setConfigMask

      public BatchRecognizeRequest.Builder setConfigMask(com.google.protobuf.FieldMask value)
       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;
    • setConfigMask

      public BatchRecognizeRequest.Builder setConfigMask(com.google.protobuf.FieldMask.Builder builderForValue)
       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;
    • mergeConfigMask

      public BatchRecognizeRequest.Builder mergeConfigMask(com.google.protobuf.FieldMask value)
       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;
    • clearConfigMask

      public BatchRecognizeRequest.Builder clearConfigMask()
       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;
    • getConfigMaskBuilder

      public com.google.protobuf.FieldMask.Builder getConfigMaskBuilder()
       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;
    • getConfigMaskOrBuilder

      public 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;
      Specified by:
      getConfigMaskOrBuilder in interface BatchRecognizeRequestOrBuilder
    • getFilesList

      public List<BatchRecognizeFileMetadata> getFilesList()
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      Specified by:
      getFilesList in interface BatchRecognizeRequestOrBuilder
    • getFilesCount

      public int getFilesCount()
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      Specified by:
      getFilesCount in interface BatchRecognizeRequestOrBuilder
    • getFiles

      public BatchRecognizeFileMetadata getFiles(int index)
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      Specified by:
      getFiles in interface BatchRecognizeRequestOrBuilder
    • setFiles

      public BatchRecognizeRequest.Builder setFiles(int index, BatchRecognizeFileMetadata value)
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • setFiles

      public BatchRecognizeRequest.Builder setFiles(int index, BatchRecognizeFileMetadata.Builder builderForValue)
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • addFiles

       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • addFiles

      public BatchRecognizeRequest.Builder addFiles(int index, BatchRecognizeFileMetadata value)
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • addFiles

       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • addFiles

      public BatchRecognizeRequest.Builder addFiles(int index, BatchRecognizeFileMetadata.Builder builderForValue)
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • addAllFiles

      public BatchRecognizeRequest.Builder addAllFiles(Iterable<? extends BatchRecognizeFileMetadata> values)
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • clearFiles

      public BatchRecognizeRequest.Builder clearFiles()
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • removeFiles

      public BatchRecognizeRequest.Builder removeFiles(int index)
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • getFilesBuilder

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

      public BatchRecognizeFileMetadataOrBuilder getFilesOrBuilder(int index)
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      Specified by:
      getFilesOrBuilder in interface BatchRecognizeRequestOrBuilder
    • getFilesOrBuilderList

      public List<? extends BatchRecognizeFileMetadataOrBuilder> getFilesOrBuilderList()
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
      Specified by:
      getFilesOrBuilderList in interface BatchRecognizeRequestOrBuilder
    • addFilesBuilder

      public BatchRecognizeFileMetadata.Builder addFilesBuilder()
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • addFilesBuilder

      public BatchRecognizeFileMetadata.Builder addFilesBuilder(int index)
       Audio files with file metadata for ASR.
       The maximum number of files allowed to be specified is 15.
       
      repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
    • getFilesBuilderList

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

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

      public RecognitionOutputConfig getRecognitionOutputConfig()
       Configuration options for where to output the transcripts of each file.
       
      .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
      Specified by:
      getRecognitionOutputConfig in interface BatchRecognizeRequestOrBuilder
      Returns:
      The recognitionOutputConfig.
    • setRecognitionOutputConfig

      public BatchRecognizeRequest.Builder setRecognitionOutputConfig(RecognitionOutputConfig value)
       Configuration options for where to output the transcripts of each file.
       
      .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
    • setRecognitionOutputConfig

      public BatchRecognizeRequest.Builder setRecognitionOutputConfig(RecognitionOutputConfig.Builder builderForValue)
       Configuration options for where to output the transcripts of each file.
       
      .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
    • mergeRecognitionOutputConfig

      public BatchRecognizeRequest.Builder mergeRecognitionOutputConfig(RecognitionOutputConfig value)
       Configuration options for where to output the transcripts of each file.
       
      .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
    • clearRecognitionOutputConfig

      public BatchRecognizeRequest.Builder clearRecognitionOutputConfig()
       Configuration options for where to output the transcripts of each file.
       
      .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
    • getRecognitionOutputConfigBuilder

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

      public RecognitionOutputConfigOrBuilder getRecognitionOutputConfigOrBuilder()
       Configuration options for where to output the transcripts of each file.
       
      .google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;
      Specified by:
      getRecognitionOutputConfigOrBuilder in interface BatchRecognizeRequestOrBuilder
    • getProcessingStrategyValue

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

      public BatchRecognizeRequest.Builder setProcessingStrategyValue(int value)
       Processing strategy to use for this request.
       
      .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
      Parameters:
      value - The enum numeric value on the wire for processingStrategy to set.
      Returns:
      This builder for chaining.
    • getProcessingStrategy

      public BatchRecognizeRequest.ProcessingStrategy getProcessingStrategy()
       Processing strategy to use for this request.
       
      .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
      Specified by:
      getProcessingStrategy in interface BatchRecognizeRequestOrBuilder
      Returns:
      The processingStrategy.
    • setProcessingStrategy

       Processing strategy to use for this request.
       
      .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
      Parameters:
      value - The processingStrategy to set.
      Returns:
      This builder for chaining.
    • clearProcessingStrategy

      public BatchRecognizeRequest.Builder clearProcessingStrategy()
       Processing strategy to use for this request.
       
      .google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
      Returns:
      This builder for chaining.