@Deprecated public class TranscriptionParam extends HalfDuplexServiceParam
Deprecated.
  • Constructor Details

  • Method Details

    • getHttpBody

      public com.google.gson.JsonObject getHttpBody()
      Deprecated.
      Description copied from class: HalfDuplexParamBase
      Get the batch request data. Http body include {"model": "model_name", "input": "input data", "parameters": "The request parameters"}
      Specified by:
      getHttpBody in class HalfDuplexParamBase
      Returns:
      The http request body
    • getInput

      public Object getInput()
      Deprecated.
      Description copied from class: HalfDuplexParamBase
      Get the request input data.
      Specified by:
      getInput in class HalfDuplexParamBase
      Returns:
      The input data object.
    • getBinaryData

      public ByteBuffer getBinaryData()
      Deprecated.
      Description copied from class: HalfDuplexParamBase
      Get the binary data, only websocket, if no binary data, return null.
      Specified by:
      getBinaryData in class HalfDuplexParamBase
      Returns:
      The binary data
    • validate

      public void validate() throws InputRequiredException
      Deprecated.
      Description copied from class: HalfDuplexParamBase
      Validate the input and parameters.
      Specified by:
      validate in class HalfDuplexParamBase
      Throws:
      InputRequiredException - Missing input fields.
    • builder

      public static TranscriptionParam.TranscriptionParamBuilder<?,?> builder()
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class HalfDuplexServiceParam
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
      Overrides:
      canEqual in class HalfDuplexServiceParam
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class HalfDuplexServiceParam
    • getFileUrls

      @NonNull public @NonNull List<String> getFileUrls()
      Deprecated.
    • getPhraseId

      public String getPhraseId()
      Deprecated.
    • getChannelId

      public List<Integer> getChannelId()
      Deprecated.
    • getDiarizationEnabled

      public Boolean getDiarizationEnabled()
      Deprecated.
    • getSpeakerCount

      public Integer getSpeakerCount()
      Deprecated.
    • getDisfluencyRemovalEnabled

      public Boolean getDisfluencyRemovalEnabled()
      Deprecated.
    • getTimestampAlignmentEnabled

      public Boolean getTimestampAlignmentEnabled()
      Deprecated.
    • getSpecialWordFilter

      public String getSpecialWordFilter()
      Deprecated.
    • getAudioEventDetectionEnabled

      public Boolean getAudioEventDetectionEnabled()
      Deprecated.
    • getVocabularyId

      public String getVocabularyId()
      Deprecated.
    • setFileUrls

      public void setFileUrls(@NonNull @NonNull List<String> fileUrls)
      Deprecated.
    • setPhraseId

      public void setPhraseId(String phraseId)
      Deprecated.
    • setChannelId

      public void setChannelId(List<Integer> channelId)
      Deprecated.
    • setDiarizationEnabled

      public void setDiarizationEnabled(Boolean diarizationEnabled)
      Deprecated.
    • setSpeakerCount

      public void setSpeakerCount(Integer speakerCount)
      Deprecated.
    • setDisfluencyRemovalEnabled

      public void setDisfluencyRemovalEnabled(Boolean disfluencyRemovalEnabled)
      Deprecated.
    • setTimestampAlignmentEnabled

      public void setTimestampAlignmentEnabled(Boolean timestampAlignmentEnabled)
      Deprecated.
    • setSpecialWordFilter

      public void setSpecialWordFilter(String specialWordFilter)
      Deprecated.
    • setAudioEventDetectionEnabled

      public void setAudioEventDetectionEnabled(Boolean audioEventDetectionEnabled)
      Deprecated.
    • setVocabularyId

      public void setVocabularyId(String vocabularyId)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class HalfDuplexParamBase