public class MultipartRecognition extends GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
MultipartRecognition.Builder
Builder.
|
static interface |
MultipartRecognition.PartContentType
The audio format (MIME type) of the audio in the following parts:
* `audio/basic` (Use only with narrowband models.)
* `audio/flac`
* `audio/l16` (Specify the sampling rate (`rate`) and optionally the number of channels (`channels`) and
endianness (`endianness`) of the audio.)
* `audio/mp3`
* `audio/mpeg`
* `audio/mulaw` (Specify the sampling rate of the audio.)
* `audio/ogg` (The service automatically detects the codec of the input audio.)
* `audio/ogg;codecs=opus`
* `audio/ogg;codecs=vorbis`
* `audio/wav` (Provide audio with a maximum of nine channels.)
* `audio/webm` (The service automatically detects the codec of the input audio.)
* `audio/webm;codecs=opus`
* `audio/webm;codecs=vorbis`
All data parts must have the same audio format.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
dataPartsCount()
Gets the dataPartsCount.
|
java.lang.Long |
inactivityTimeout()
Gets the inactivityTimeout.
|
java.util.List<java.lang.String> |
keywords()
Gets the keywords.
|
java.lang.Float |
keywordsThreshold()
Gets the keywordsThreshold.
|
java.lang.Long |
maxAlternatives()
Gets the maxAlternatives.
|
MultipartRecognition.Builder |
newBuilder()
New builder.
|
java.lang.String |
partContentType()
Gets the partContentType.
|
java.lang.Boolean |
profanityFilter()
Gets the profanityFilter.
|
java.lang.Long |
sequenceId()
Gets the sequenceId.
|
java.lang.Boolean |
smartFormatting()
Gets the smartFormatting.
|
java.lang.Boolean |
speakerLabels()
Gets the speakerLabels.
|
java.lang.Boolean |
timestamps()
Gets the timestamps.
|
java.lang.Float |
wordAlternativesThreshold()
Gets the wordAlternativesThreshold.
|
java.lang.Boolean |
wordConfidence()
Gets the wordConfidence.
|
equals, hashCode, toString
public MultipartRecognition.Builder newBuilder()
public java.lang.String partContentType()
public java.lang.Long dataPartsCount()
public java.lang.Long sequenceId()
public java.lang.Long inactivityTimeout()
public java.util.List<java.lang.String> keywords()
public java.lang.Float keywordsThreshold()
public java.lang.Long maxAlternatives()
public java.lang.Float wordAlternativesThreshold()
public java.lang.Boolean wordConfidence()
public java.lang.Boolean timestamps()
public java.lang.Boolean profanityFilter()
public java.lang.Boolean smartFormatting()
public java.lang.Boolean speakerLabels()