- 4.48.0 (latest)
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
public static final class BatchRecognizeRequest.Builder extends GeneratedMessageV3.Builder<BatchRecognizeRequest.Builder> implements BatchRecognizeRequestOrBuilder
Request message for the BatchRecognize method.
Protobuf type google.cloud.speech.v2.BatchRecognizeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchRecognizeRequest.BuilderImplements
BatchRecognizeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllFiles(Iterable<? extends BatchRecognizeFileMetadata> values)
public BatchRecognizeRequest.Builder addAllFiles(Iterable<? extends BatchRecognizeFileMetadata> values)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
values | Iterable<? extends com.google.cloud.speech.v2.BatchRecognizeFileMetadata> |
Type | Description |
BatchRecognizeRequest.Builder |
addFiles(BatchRecognizeFileMetadata value)
public BatchRecognizeRequest.Builder addFiles(BatchRecognizeFileMetadata value)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
value | BatchRecognizeFileMetadata |
Type | Description |
BatchRecognizeRequest.Builder |
addFiles(BatchRecognizeFileMetadata.Builder builderForValue)
public BatchRecognizeRequest.Builder addFiles(BatchRecognizeFileMetadata.Builder builderForValue)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
builderForValue | BatchRecognizeFileMetadata.Builder |
Type | Description |
BatchRecognizeRequest.Builder |
addFiles(int index, BatchRecognizeFileMetadata value)
public BatchRecognizeRequest.Builder addFiles(int index, BatchRecognizeFileMetadata value)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
index | int |
value | BatchRecognizeFileMetadata |
Type | Description |
BatchRecognizeRequest.Builder |
addFiles(int index, BatchRecognizeFileMetadata.Builder builderForValue)
public BatchRecognizeRequest.Builder addFiles(int index, BatchRecognizeFileMetadata.Builder builderForValue)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
index | int |
builderForValue | BatchRecognizeFileMetadata.Builder |
Type | Description |
BatchRecognizeRequest.Builder |
addFilesBuilder()
public BatchRecognizeFileMetadata.Builder addFilesBuilder()
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Type | Description |
BatchRecognizeFileMetadata.Builder |
addFilesBuilder(int index)
public BatchRecognizeFileMetadata.Builder addFilesBuilder(int index)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
index | int |
Type | Description |
BatchRecognizeFileMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchRecognizeRequest.Builder |
build()
public BatchRecognizeRequest build()
Type | Description |
BatchRecognizeRequest |
buildPartial()
public BatchRecognizeRequest buildPartial()
Type | Description |
BatchRecognizeRequest |
clear()
public BatchRecognizeRequest.Builder clear()
Type | Description |
BatchRecognizeRequest.Builder |
clearConfig()
public BatchRecognizeRequest.Builder clearConfig()
Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the config_mask field can be used to override parts of the default_recognition_config of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 4;
Type | Description |
BatchRecognizeRequest.Builder |
clearConfigMask()
public BatchRecognizeRequest.Builder clearConfigMask()
The list of fields in
config that override
the values in the
default_recognition_config
of the recognizer during this recognition request. If no mask is provided,
all given fields in
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 completely
overrides and replaces the config in the recognizer for this recognition
request.
.google.protobuf.FieldMask config_mask = 5;
Type | Description |
BatchRecognizeRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchRecognizeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BatchRecognizeRequest.Builder |
clearFiles()
public BatchRecognizeRequest.Builder clearFiles()
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Type | Description |
BatchRecognizeRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchRecognizeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BatchRecognizeRequest.Builder |
clearRecognizer()
public BatchRecognizeRequest.Builder clearRecognizer()
Required. Resource name of the recognizer to be used for ASR.
string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
BatchRecognizeRequest.Builder | This builder for chaining. |
clone()
public BatchRecognizeRequest.Builder clone()
Type | Description |
BatchRecognizeRequest.Builder |
getConfig()
public RecognitionConfig getConfig()
Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the config_mask field can be used to override parts of the default_recognition_config of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 4;
Type | Description |
RecognitionConfig | The config. |
getConfigBuilder()
public RecognitionConfig.Builder getConfigBuilder()
Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the config_mask field can be used to override parts of the default_recognition_config of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 4;
Type | Description |
RecognitionConfig.Builder |
getConfigMask()
public FieldMask getConfigMask()
The list of fields in
config that override
the values in the
default_recognition_config
of the recognizer during this recognition request. If no mask is provided,
all given fields in
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 completely
overrides and replaces the config in the recognizer for this recognition
request.
.google.protobuf.FieldMask config_mask = 5;
Type | Description |
FieldMask | The configMask. |
getConfigMaskBuilder()
public FieldMask.Builder getConfigMaskBuilder()
The list of fields in
config that override
the values in the
default_recognition_config
of the recognizer during this recognition request. If no mask is provided,
all given fields in
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 completely
overrides and replaces the config in the recognizer for this recognition
request.
.google.protobuf.FieldMask config_mask = 5;
Type | Description |
Builder |
getConfigMaskOrBuilder()
public FieldMaskOrBuilder getConfigMaskOrBuilder()
The list of fields in
config that override
the values in the
default_recognition_config
of the recognizer during this recognition request. If no mask is provided,
all given fields in
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 completely
overrides and replaces the config in the recognizer for this recognition
request.
.google.protobuf.FieldMask config_mask = 5;
Type | Description |
FieldMaskOrBuilder |
getConfigOrBuilder()
public RecognitionConfigOrBuilder getConfigOrBuilder()
Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the config_mask field can be used to override parts of the default_recognition_config of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 4;
Type | Description |
RecognitionConfigOrBuilder |
getDefaultInstanceForType()
public BatchRecognizeRequest getDefaultInstanceForType()
Type | Description |
BatchRecognizeRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFiles(int index)
public BatchRecognizeFileMetadata getFiles(int index)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
index | int |
Type | Description |
BatchRecognizeFileMetadata |
getFilesBuilder(int index)
public BatchRecognizeFileMetadata.Builder getFilesBuilder(int index)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
index | int |
Type | Description |
BatchRecognizeFileMetadata.Builder |
getFilesBuilderList()
public List<BatchRecognizeFileMetadata.Builder> getFilesBuilderList()
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Type | Description |
List<Builder> |
getFilesCount()
public int getFilesCount()
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Type | Description |
int |
getFilesList()
public List<BatchRecognizeFileMetadata> getFilesList()
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Type | Description |
List<BatchRecognizeFileMetadata> |
getFilesOrBuilder(int index)
public BatchRecognizeFileMetadataOrBuilder getFilesOrBuilder(int index)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
index | int |
Type | Description |
BatchRecognizeFileMetadataOrBuilder |
getFilesOrBuilderList()
public List<? extends BatchRecognizeFileMetadataOrBuilder> getFilesOrBuilderList()
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Type | Description |
List<? extends com.google.cloud.speech.v2.BatchRecognizeFileMetadataOrBuilder> |
getRecognizer()
public String getRecognizer()
Required. Resource name of the recognizer to be used for ASR.
string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The recognizer. |
getRecognizerBytes()
public ByteString getRecognizerBytes()
Required. Resource name of the recognizer to be used for ASR.
string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for recognizer. |
hasConfig()
public boolean hasConfig()
Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the config_mask field can be used to override parts of the default_recognition_config of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 4;
Type | Description |
boolean | Whether the config field is set. |
hasConfigMask()
public boolean hasConfigMask()
The list of fields in
config that override
the values in the
default_recognition_config
of the recognizer during this recognition request. If no mask is provided,
all given fields in
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 completely
overrides and replaces the config in the recognizer for this recognition
request.
.google.protobuf.FieldMask config_mask = 5;
Type | Description |
boolean | Whether the configMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeConfig(RecognitionConfig value)
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 field can be used to override parts of the default_recognition_config of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 4;
Name | Description |
value | RecognitionConfig |
Type | Description |
BatchRecognizeRequest.Builder |
mergeConfigMask(FieldMask value)
public BatchRecognizeRequest.Builder mergeConfigMask(FieldMask value)
The list of fields in
config that override
the values in the
default_recognition_config
of the recognizer during this recognition request. If no mask is provided,
all given fields in
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 completely
overrides and replaces the config in the recognizer for this recognition
request.
.google.protobuf.FieldMask config_mask = 5;
Name | Description |
value | FieldMask |
Type | Description |
BatchRecognizeRequest.Builder |
mergeFrom(BatchRecognizeRequest other)
public BatchRecognizeRequest.Builder mergeFrom(BatchRecognizeRequest other)
Name | Description |
other | BatchRecognizeRequest |
Type | Description |
BatchRecognizeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchRecognizeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchRecognizeRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BatchRecognizeRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BatchRecognizeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchRecognizeRequest.Builder |
removeFiles(int index)
public BatchRecognizeRequest.Builder removeFiles(int index)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
index | int |
Type | Description |
BatchRecognizeRequest.Builder |
setConfig(RecognitionConfig value)
public BatchRecognizeRequest.Builder setConfig(RecognitionConfig value)
Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the config_mask field can be used to override parts of the default_recognition_config of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 4;
Name | Description |
value | RecognitionConfig |
Type | Description |
BatchRecognizeRequest.Builder |
setConfig(RecognitionConfig.Builder builderForValue)
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 field can be used to override parts of the default_recognition_config of the Recognizer resource.
.google.cloud.speech.v2.RecognitionConfig config = 4;
Name | Description |
builderForValue | RecognitionConfig.Builder |
Type | Description |
BatchRecognizeRequest.Builder |
setConfigMask(FieldMask value)
public BatchRecognizeRequest.Builder setConfigMask(FieldMask value)
The list of fields in
config that override
the values in the
default_recognition_config
of the recognizer during this recognition request. If no mask is provided,
all given fields in
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 completely
overrides and replaces the config in the recognizer for this recognition
request.
.google.protobuf.FieldMask config_mask = 5;
Name | Description |
value | FieldMask |
Type | Description |
BatchRecognizeRequest.Builder |
setConfigMask(FieldMask.Builder builderForValue)
public BatchRecognizeRequest.Builder setConfigMask(FieldMask.Builder builderForValue)
The list of fields in
config that override
the values in the
default_recognition_config
of the recognizer during this recognition request. If no mask is provided,
all given fields in
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 completely
overrides and replaces the config in the recognizer for this recognition
request.
.google.protobuf.FieldMask config_mask = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
BatchRecognizeRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BatchRecognizeRequest.Builder |
setFiles(int index, BatchRecognizeFileMetadata value)
public BatchRecognizeRequest.Builder setFiles(int index, BatchRecognizeFileMetadata value)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
index | int |
value | BatchRecognizeFileMetadata |
Type | Description |
BatchRecognizeRequest.Builder |
setFiles(int index, BatchRecognizeFileMetadata.Builder builderForValue)
public BatchRecognizeRequest.Builder setFiles(int index, BatchRecognizeFileMetadata.Builder builderForValue)
Audio files with file metadata for ASR.
repeated .google.cloud.speech.v2.BatchRecognizeFileMetadata files = 3;
Name | Description |
index | int |
builderForValue | BatchRecognizeFileMetadata.Builder |
Type | Description |
BatchRecognizeRequest.Builder |
setRecognizer(String value)
public BatchRecognizeRequest.Builder setRecognizer(String value)
Required. Resource name of the recognizer to be used for ASR.
string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The recognizer to set. |
Type | Description |
BatchRecognizeRequest.Builder | This builder for chaining. |
setRecognizerBytes(ByteString value)
public BatchRecognizeRequest.Builder setRecognizerBytes(ByteString value)
Required. Resource name of the recognizer to be used for ASR.
string recognizer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for recognizer to set. |
Type | Description |
BatchRecognizeRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchRecognizeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BatchRecognizeRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BatchRecognizeRequest.Builder |