public static final class BatchRecognizeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder> implements BatchRecognizeRequestOrBuilder
Request message for the [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] method.Protobuf type
google.cloud.speech.v2.BatchRecognizeRequest| Modifier and Type | Method and Description |
|---|---|
BatchRecognizeRequest.Builder |
addAllFiles(Iterable<? extends BatchRecognizeFileMetadata> values)
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.Builder |
addFiles(BatchRecognizeFileMetadata.Builder builderForValue)
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.Builder |
addFiles(BatchRecognizeFileMetadata value)
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.Builder |
addFiles(int index,
BatchRecognizeFileMetadata.Builder builderForValue)
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.Builder |
addFiles(int index,
BatchRecognizeFileMetadata value)
Audio files with file metadata for ASR.
|
BatchRecognizeFileMetadata.Builder |
addFilesBuilder()
Audio files with file metadata for ASR.
|
BatchRecognizeFileMetadata.Builder |
addFilesBuilder(int index)
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchRecognizeRequest |
build() |
BatchRecognizeRequest |
buildPartial() |
BatchRecognizeRequest.Builder |
clear() |
BatchRecognizeRequest.Builder |
clearConfig()
Features and audio metadata to use for the Automatic Speech Recognition.
|
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.
|
BatchRecognizeRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BatchRecognizeRequest.Builder |
clearFiles()
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BatchRecognizeRequest.Builder |
clearProcessingStrategy()
Processing strategy to use for this request.
|
BatchRecognizeRequest.Builder |
clearRecognitionOutputConfig()
Configuration options for where to output the transcripts of each file.
|
BatchRecognizeRequest.Builder |
clearRecognizer()
Required.
|
BatchRecognizeRequest.Builder |
clone() |
RecognitionConfig |
getConfig()
Features and audio metadata to use for the Automatic Speech Recognition.
|
RecognitionConfig.Builder |
getConfigBuilder()
Features and audio metadata to use for the Automatic Speech Recognition.
|
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.
|
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.
|
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.
|
RecognitionConfigOrBuilder |
getConfigOrBuilder()
Features and audio metadata to use for the Automatic Speech Recognition.
|
BatchRecognizeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
BatchRecognizeFileMetadata |
getFiles(int index)
Audio files with file metadata for ASR.
|
BatchRecognizeFileMetadata.Builder |
getFilesBuilder(int index)
Audio files with file metadata for ASR.
|
List<BatchRecognizeFileMetadata.Builder> |
getFilesBuilderList()
Audio files with file metadata for ASR.
|
int |
getFilesCount()
Audio files with file metadata for ASR.
|
List<BatchRecognizeFileMetadata> |
getFilesList()
Audio files with file metadata for ASR.
|
BatchRecognizeFileMetadataOrBuilder |
getFilesOrBuilder(int index)
Audio files with file metadata for ASR.
|
List<? extends BatchRecognizeFileMetadataOrBuilder> |
getFilesOrBuilderList()
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.ProcessingStrategy |
getProcessingStrategy()
Processing strategy to use for this request.
|
int |
getProcessingStrategyValue()
Processing strategy to use for this request.
|
RecognitionOutputConfig |
getRecognitionOutputConfig()
Configuration options for where to output the transcripts of each file.
|
RecognitionOutputConfig.Builder |
getRecognitionOutputConfigBuilder()
Configuration options for where to output the transcripts of each file.
|
RecognitionOutputConfigOrBuilder |
getRecognitionOutputConfigOrBuilder()
Configuration options for where to output the transcripts of each file.
|
String |
getRecognizer()
Required.
|
com.google.protobuf.ByteString |
getRecognizerBytes()
Required.
|
boolean |
hasConfig()
Features and audio metadata to use for the Automatic Speech Recognition.
|
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.
|
boolean |
hasRecognitionOutputConfig()
Configuration options for where to output the transcripts of each file.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BatchRecognizeRequest.Builder |
mergeConfig(RecognitionConfig value)
Features and audio metadata to use for the Automatic Speech Recognition.
|
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.
|
BatchRecognizeRequest.Builder |
mergeFrom(BatchRecognizeRequest other) |
BatchRecognizeRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchRecognizeRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BatchRecognizeRequest.Builder |
mergeRecognitionOutputConfig(RecognitionOutputConfig value)
Configuration options for where to output the transcripts of each file.
|
BatchRecognizeRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BatchRecognizeRequest.Builder |
removeFiles(int index)
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.Builder |
setConfig(RecognitionConfig.Builder builderForValue)
Features and audio metadata to use for the Automatic Speech Recognition.
|
BatchRecognizeRequest.Builder |
setConfig(RecognitionConfig value)
Features and audio metadata to use for the Automatic Speech Recognition.
|
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.
|
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.
|
BatchRecognizeRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BatchRecognizeRequest.Builder |
setFiles(int index,
BatchRecognizeFileMetadata.Builder builderForValue)
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.Builder |
setFiles(int index,
BatchRecognizeFileMetadata value)
Audio files with file metadata for ASR.
|
BatchRecognizeRequest.Builder |
setProcessingStrategy(BatchRecognizeRequest.ProcessingStrategy value)
Processing strategy to use for this request.
|
BatchRecognizeRequest.Builder |
setProcessingStrategyValue(int value)
Processing strategy to use for this request.
|
BatchRecognizeRequest.Builder |
setRecognitionOutputConfig(RecognitionOutputConfig.Builder builderForValue)
Configuration options for where to output the transcripts of each file.
|
BatchRecognizeRequest.Builder |
setRecognitionOutputConfig(RecognitionOutputConfig value)
Configuration options for where to output the transcripts of each file.
|
BatchRecognizeRequest.Builder |
setRecognizer(String value)
Required.
|
BatchRecognizeRequest.Builder |
setRecognizerBytes(com.google.protobuf.ByteString value)
Required.
|
BatchRecognizeRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BatchRecognizeRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BatchRecognizeRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BatchRecognizeRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BatchRecognizeRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest.Builder mergeFrom(BatchRecognizeRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public BatchRecognizeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchRecognizeRequest.Builder>IOExceptionpublic 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) = { ... }
getRecognizer in interface BatchRecognizeRequestOrBuilderpublic 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) = { ... }
getRecognizerBytes in interface BatchRecognizeRequestOrBuilderpublic 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) = { ... }
value - The recognizer to set.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) = { ... }
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) = { ... }
value - The bytes for recognizer to set.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;hasConfig in interface BatchRecognizeRequestOrBuilderpublic 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;getConfig in interface BatchRecognizeRequestOrBuilderpublic BatchRecognizeRequest.Builder setConfig(RecognitionConfig value)
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;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;public BatchRecognizeRequest.Builder mergeConfig(RecognitionConfig value)
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;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;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;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;getConfigOrBuilder in interface BatchRecognizeRequestOrBuilderpublic 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;hasConfigMask in interface BatchRecognizeRequestOrBuilderpublic 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;getConfigMask in interface BatchRecognizeRequestOrBuilderpublic 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;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;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;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;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;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;getConfigMaskOrBuilder in interface BatchRecognizeRequestOrBuilderpublic 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;getFilesList in interface BatchRecognizeRequestOrBuilderpublic 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;getFilesCount in interface BatchRecognizeRequestOrBuilderpublic 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;getFiles in interface BatchRecognizeRequestOrBuilderpublic BatchRecognizeRequest.Builder setFiles(int index, BatchRecognizeFileMetadata value)
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;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 5.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;public BatchRecognizeRequest.Builder addFiles(BatchRecognizeFileMetadata value)
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;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 5.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;public BatchRecognizeRequest.Builder addFiles(BatchRecognizeFileMetadata.Builder builderForValue)
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;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 5.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;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 5.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;public BatchRecognizeRequest.Builder clearFiles()
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;public BatchRecognizeRequest.Builder removeFiles(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;public BatchRecognizeFileMetadata.Builder getFilesBuilder(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;public 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;getFilesOrBuilder in interface BatchRecognizeRequestOrBuilderpublic 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;getFilesOrBuilderList in interface BatchRecognizeRequestOrBuilderpublic BatchRecognizeFileMetadata.Builder addFilesBuilder()
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;public BatchRecognizeFileMetadata.Builder addFilesBuilder(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;public List<BatchRecognizeFileMetadata.Builder> getFilesBuilderList()
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;public boolean hasRecognitionOutputConfig()
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;hasRecognitionOutputConfig in interface BatchRecognizeRequestOrBuilderpublic RecognitionOutputConfig getRecognitionOutputConfig()
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;getRecognitionOutputConfig in interface BatchRecognizeRequestOrBuilderpublic 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;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;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;public BatchRecognizeRequest.Builder clearRecognitionOutputConfig()
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;public RecognitionOutputConfig.Builder getRecognitionOutputConfigBuilder()
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;public RecognitionOutputConfigOrBuilder getRecognitionOutputConfigOrBuilder()
Configuration options for where to output the transcripts of each file.
.google.cloud.speech.v2.RecognitionOutputConfig recognition_output_config = 6;getRecognitionOutputConfigOrBuilder in interface BatchRecognizeRequestOrBuilderpublic int getProcessingStrategyValue()
Processing strategy to use for this request.
.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
getProcessingStrategyValue in interface BatchRecognizeRequestOrBuilderpublic BatchRecognizeRequest.Builder setProcessingStrategyValue(int value)
Processing strategy to use for this request.
.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
value - The enum numeric value on the wire for processingStrategy to set.public BatchRecognizeRequest.ProcessingStrategy getProcessingStrategy()
Processing strategy to use for this request.
.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
getProcessingStrategy in interface BatchRecognizeRequestOrBuilderpublic BatchRecognizeRequest.Builder setProcessingStrategy(BatchRecognizeRequest.ProcessingStrategy value)
Processing strategy to use for this request.
.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
value - The processingStrategy to set.public BatchRecognizeRequest.Builder clearProcessingStrategy()
Processing strategy to use for this request.
.google.cloud.speech.v2.BatchRecognizeRequest.ProcessingStrategy processing_strategy = 7;
public final BatchRecognizeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>public final BatchRecognizeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.