Package com.google.cloud.speech.v2
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 Summary
Modifier and TypeMethodDescriptionaddAllFiles(Iterable<? extends BatchRecognizeFileMetadata> values) Audio files with file metadata for ASR.addFiles(int index, BatchRecognizeFileMetadata value) Audio files with file metadata for ASR.addFiles(int index, BatchRecognizeFileMetadata.Builder builderForValue) Audio files with file metadata for ASR.Audio files with file metadata for ASR.addFiles(BatchRecognizeFileMetadata.Builder builderForValue) Audio files with file metadata for ASR.Audio files with file metadata for ASR.addFilesBuilder(int index) Audio files with file metadata for ASR.build()clear()Features and audio metadata to use for the Automatic Speech Recognition.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.Audio files with file metadata for ASR.Processing strategy to use for this request.Configuration options for where to output the transcripts of each file.Required.Features and audio metadata to use for the Automatic Speech Recognition.Features and audio metadata to use for the Automatic Speech Recognition.com.google.protobuf.FieldMaskThe 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.com.google.protobuf.FieldMask.BuilderThe 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.com.google.protobuf.FieldMaskOrBuilderThe 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.Features and audio metadata to use for the Automatic Speech Recognition.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFiles(int index) Audio files with file metadata for ASR.getFilesBuilder(int index) Audio files with file metadata for ASR.Audio files with file metadata for ASR.intAudio files with file metadata for ASR.Audio files with file metadata for ASR.getFilesOrBuilder(int index) Audio files with file metadata for ASR.List<? extends BatchRecognizeFileMetadataOrBuilder>Audio files with file metadata for ASR.Processing strategy to use for this request.intProcessing strategy to use for this request.Configuration options for where to output the transcripts of each file.Configuration options for where to output the transcripts of each file.Configuration options for where to output the transcripts of each file.Required.com.google.protobuf.ByteStringRequired.booleanFeatures and audio metadata to use for the Automatic Speech Recognition.booleanThe 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.booleanConfiguration options for where to output the transcripts of each file.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeConfig(RecognitionConfig value) Features and audio metadata to use for the Automatic Speech Recognition.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.mergeFrom(BatchRecognizeRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Configuration options for where to output the transcripts of each file.removeFiles(int index) Audio files with file metadata for ASR.setConfig(RecognitionConfig value) Features and audio metadata to use for the Automatic Speech Recognition.setConfig(RecognitionConfig.Builder builderForValue) Features and audio metadata to use for the Automatic Speech Recognition.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.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.setFiles(int index, BatchRecognizeFileMetadata value) Audio files with file metadata for ASR.setFiles(int index, BatchRecognizeFileMetadata.Builder builderForValue) Audio files with file metadata for ASR.Processing strategy to use for this request.setProcessingStrategyValue(int value) Processing strategy to use for this request.Configuration options for where to output the transcripts of each file.setRecognitionOutputConfig(RecognitionOutputConfig.Builder builderForValue) Configuration options for where to output the transcripts of each file.setRecognizer(String value) Required.setRecognizerBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchRecognizeRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchRecognizeRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BatchRecognizeRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchRecognizeRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchRecognizeRequest.Builder>- Throws:
IOException
-
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:
getRecognizerin interfaceBatchRecognizeRequestOrBuilder- 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:
getRecognizerBytesin interfaceBatchRecognizeRequestOrBuilder- Returns:
- The bytes for recognizer.
-
setRecognizer
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
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
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:
hasConfigin interfaceBatchRecognizeRequestOrBuilder- Returns:
- Whether the config field is set.
-
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:
getConfigin interfaceBatchRecognizeRequestOrBuilder- 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
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
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
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
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:
getConfigOrBuilderin interfaceBatchRecognizeRequestOrBuilder
-
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:
hasConfigMaskin interfaceBatchRecognizeRequestOrBuilder- 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:
getConfigMaskin interfaceBatchRecognizeRequestOrBuilder- Returns:
- The configMask.
-
setConfigMask
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
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
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:
getConfigMaskOrBuilderin interfaceBatchRecognizeRequestOrBuilder
-
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:
getFilesListin interfaceBatchRecognizeRequestOrBuilder
-
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:
getFilesCountin interfaceBatchRecognizeRequestOrBuilder
-
getFiles
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:
getFilesin interfaceBatchRecognizeRequestOrBuilder
-
setFiles
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
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
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
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
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
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:
getFilesOrBuilderin interfaceBatchRecognizeRequestOrBuilder
-
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:
getFilesOrBuilderListin interfaceBatchRecognizeRequestOrBuilder
-
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
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
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:
hasRecognitionOutputConfigin interfaceBatchRecognizeRequestOrBuilder- Returns:
- Whether the recognitionOutputConfig field is set.
-
getRecognitionOutputConfig
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;- Specified by:
getRecognitionOutputConfigin interfaceBatchRecognizeRequestOrBuilder- Returns:
- The recognitionOutputConfig.
-
setRecognitionOutputConfig
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
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6; -
clearRecognitionOutputConfig
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6; -
getRecognitionOutputConfigBuilder
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6; -
getRecognitionOutputConfigOrBuilder
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;- Specified by:
getRecognitionOutputConfigOrBuilderin interfaceBatchRecognizeRequestOrBuilder
-
getProcessingStrategyValue
public int getProcessingStrategyValue()Processing strategy to use for this request.
.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;- Specified by:
getProcessingStrategyValuein interfaceBatchRecognizeRequestOrBuilder- Returns:
- The enum numeric value on the wire for processingStrategy.
-
setProcessingStrategyValue
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
Processing strategy to use for this request.
.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;- Specified by:
getProcessingStrategyin interfaceBatchRecognizeRequestOrBuilder- Returns:
- The processingStrategy.
-
setProcessingStrategy
public BatchRecognizeRequest.Builder setProcessingStrategy(BatchRecognizeRequest.ProcessingStrategy value) 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
Processing strategy to use for this request.
.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;- Returns:
- This builder for chaining.
-