Interface AdvancedVoiceOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AdvancedVoiceOptions, AdvancedVoiceOptions.Builder

@Generated public interface AdvancedVoiceOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasLowLatencyJourneySynthesis

      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:
      Whether the lowLatencyJourneySynthesis field is set.
    • getLowLatencyJourneySynthesis

      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:
      The lowLatencyJourneySynthesis.
    • getRelaxSafetyFilters

      @Deprecated boolean getRelaxSafetyFilters()
      Deprecated.
      google.cloud.texttospeech.v1.AdvancedVoiceOptions.relax_safety_filters is deprecated. See google/cloud/texttospeech/v1/cloud_tts.proto;l=224
       Optional. Input only. Deprecated, use safety_settings instead.
       If true, relaxes safety filters for Gemini TTS.
       
      bool relax_safety_filters = 8 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The relaxSafetyFilters.
    • hasSafetySettings

      boolean hasSafetySettings()
       Optional. Input only. This applies to Gemini TTS only. If set, the category
       specified in the safety setting will be blocked if the harm probability is
       above the threshold. Otherwise, the safety filter will be disabled by
       default.
       
      .google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySettings safety_settings = 9 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the safetySettings field is set.
    • getSafetySettings

       Optional. Input only. This applies to Gemini TTS only. If set, the category
       specified in the safety setting will be blocked if the harm probability is
       above the threshold. Otherwise, the safety filter will be disabled by
       default.
       
      .google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySettings safety_settings = 9 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The safetySettings.
    • getSafetySettingsOrBuilder

      AdvancedVoiceOptions.SafetySettingsOrBuilder getSafetySettingsOrBuilder()
       Optional. Input only. This applies to Gemini TTS only. If set, the category
       specified in the safety setting will be blocked if the harm probability is
       above the threshold. Otherwise, the safety filter will be disabled by
       default.
       
      .google.cloud.texttospeech.v1.AdvancedVoiceOptions.SafetySettings safety_settings = 9 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
    • hasEnableTextnorm

      boolean hasEnableTextnorm()
       Optional. If true, textnorm will be applied to text input. This feature is
       enabled by default. Only applies for Gemini TTS.
       
      optional bool enable_textnorm = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the enableTextnorm field is set.
    • getEnableTextnorm

      boolean getEnableTextnorm()
       Optional. If true, textnorm will be applied to text input. This feature is
       enabled by default. Only applies for Gemini TTS.
       
      optional bool enable_textnorm = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enableTextnorm.