Builder

public abstract class Builder

Builder for AutomaticActivityDetection.

Constructors

Functions

Link copied to clipboard
Link copied to clipboard
@CanIgnoreReturnValue()
public AutomaticActivityDetection.Builder clearDisabled()
Clears the value of disabled field.
Link copied to clipboard
Clears the value of endOfSpeechSensitivity field.
Link copied to clipboard
Clears the value of prefixPaddingMs field.
Link copied to clipboard
Clears the value of silenceDurationMs field.
Link copied to clipboard
Clears the value of startOfSpeechSensitivity field.
Link copied to clipboard
public abstract AutomaticActivityDetection.Builder disabled(boolean disabled)
Setter for disabled.
Link copied to clipboard
Setter for endOfSpeechSensitivity.
Setter for endOfSpeechSensitivity given a known enum.
@CanIgnoreReturnValue()
public AutomaticActivityDetection.Builder endOfSpeechSensitivity(String endOfSpeechSensitivity)
Setter for endOfSpeechSensitivity given a string.
Link copied to clipboard
Setter for prefixPaddingMs.
Link copied to clipboard
public abstract AutomaticActivityDetection.Builder silenceDurationMs(Integer silenceDurationMs)
Setter for silenceDurationMs.
Link copied to clipboard
Setter for startOfSpeechSensitivity.
Setter for startOfSpeechSensitivity given a known enum.
@CanIgnoreReturnValue()
public AutomaticActivityDetection.Builder startOfSpeechSensitivity(String startOfSpeechSensitivity)
Setter for startOfSpeechSensitivity given a string.