Interface EvaluationPersona.SpeechConfigOrBuilder (0.3.0)

public static interface EvaluationPersona.SpeechConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnvironment()

public abstract EvaluationPersona.SpeechConfig.BackgroundEnvironment getEnvironment()

Optional. The simulated audio environment.

.google.cloud.ces.v1beta.EvaluationPersona.SpeechConfig.BackgroundEnvironment environment = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationPersona.SpeechConfig.BackgroundEnvironment

The environment.

getEnvironmentValue()

public abstract int getEnvironmentValue()

Optional. The simulated audio environment.

.google.cloud.ces.v1beta.EvaluationPersona.SpeechConfig.BackgroundEnvironment environment = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for environment.

getSpeakingRate()

public abstract double getSpeakingRate()

Optional. The speaking rate. 1.0 is normal. Lower is slower (e.g., 0.8), higher is faster (e.g., 1.5). Useful for testing how the agent handles fast talkers.

double speaking_rate = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The speakingRate.

getVoiceId()

public abstract String getVoiceId()

Optional. The specific voice identifier/accent to use. Example: "en-US-Wavenet-D" or "en-GB-Standard-A"

string voice_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The voiceId.

getVoiceIdBytes()

public abstract ByteString getVoiceIdBytes()

Optional. The specific voice identifier/accent to use. Example: "en-US-Wavenet-D" or "en-GB-Standard-A"

string voice_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for voiceId.