Package com.google.cloud.texttospeech.v1
Interface SynthesizeSpeechRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SynthesizeSpeechRequest,SynthesizeSpeechRequest.Builder
@Generated
public interface SynthesizeSpeechRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInput
boolean hasInput()Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the input field is set.
-
getInput
SynthesisInput getInput()Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The input.
-
getInputOrBuilder
SynthesisInputOrBuilder getInputOrBuilder()Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasVoice
boolean hasVoice()Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the voice field is set.
-
getVoice
VoiceSelectionParams getVoice()Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The voice.
-
getVoiceOrBuilder
VoiceSelectionParamsOrBuilder getVoiceOrBuilder()Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 2 [(.google.api.field_behavior) = REQUIRED]; -
hasAudioConfig
boolean hasAudioConfig()Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the audioConfig field is set.
-
getAudioConfig
AudioConfig getAudioConfig()Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The audioConfig.
-
getAudioConfigOrBuilder
AudioConfigOrBuilder getAudioConfigOrBuilder()Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED]; -
hasAdvancedVoiceOptions
boolean hasAdvancedVoiceOptions()Optional. Advanced voice options.
optional .google.cloud.texttospeech.v1.AdvancedVoiceOptions advanced_voice_options = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the advancedVoiceOptions field is set.
-
getAdvancedVoiceOptions
AdvancedVoiceOptions getAdvancedVoiceOptions()Optional. Advanced voice options.
optional .google.cloud.texttospeech.v1.AdvancedVoiceOptions advanced_voice_options = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The advancedVoiceOptions.
-
getAdvancedVoiceOptionsOrBuilder
AdvancedVoiceOptionsOrBuilder getAdvancedVoiceOptionsOrBuilder()Optional. Advanced voice options.
optional .google.cloud.texttospeech.v1.AdvancedVoiceOptions advanced_voice_options = 8 [(.google.api.field_behavior) = OPTIONAL];
-