Interface AdvancedVoiceOptionsOrBuilder (2.79.0)

public interface AdvancedVoiceOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLowLatencyJourneySynthesis()

public abstract boolean getLowLatencyJourneySynthesis()

Only for Journey voices. If false, the synthesis is context aware and has a higher latency.

optional bool low_latency_journey_synthesis = 1;

Returns
Type Description
boolean

The lowLatencyJourneySynthesis.

getRelaxSafetyFilters()

public abstract boolean getRelaxSafetyFilters()

Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.

bool relax_safety_filters = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The relaxSafetyFilters.

hasLowLatencyJourneySynthesis()

public abstract boolean hasLowLatencyJourneySynthesis()

Only for Journey voices. If false, the synthesis is context aware and has a higher latency.

optional bool low_latency_journey_synthesis = 1;

Returns
Type Description
boolean

Whether the lowLatencyJourneySynthesis field is set.