Package com.google.cloud.aiplatform.v1
Interface SpeechConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SpeechConfig,SpeechConfig.Builder
@Generated
public interface SpeechConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.The configuration for a multi-speaker text-to-speech request.The configuration for a multi-speaker text-to-speech request.The configuration for the voice to use.The configuration for the voice to use.booleanThe configuration for a multi-speaker text-to-speech request.booleanThe configuration for the voice to use.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
-
hasVoiceConfig
boolean hasVoiceConfig()The configuration for the voice to use.
.google.cloud.aiplatform.v1.VoiceConfig voice_config = 1;- Returns:
- Whether the voiceConfig field is set.
-
getVoiceConfig
VoiceConfig getVoiceConfig()The configuration for the voice to use.
.google.cloud.aiplatform.v1.VoiceConfig voice_config = 1;- Returns:
- The voiceConfig.
-
getVoiceConfigOrBuilder
VoiceConfigOrBuilder getVoiceConfigOrBuilder()The configuration for the voice to use.
.google.cloud.aiplatform.v1.VoiceConfig voice_config = 1; -
getLanguageCode
String getLanguageCode()Optional. The language code (ISO 639-1) for the speech synthesis.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()Optional. The language code (ISO 639-1) for the speech synthesis.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for languageCode.
-
hasMultiSpeakerVoiceConfig
boolean hasMultiSpeakerVoiceConfig()The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
.google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 3;- Returns:
- Whether the multiSpeakerVoiceConfig field is set.
-
getMultiSpeakerVoiceConfig
MultiSpeakerVoiceConfig getMultiSpeakerVoiceConfig()The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
.google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 3;- Returns:
- The multiSpeakerVoiceConfig.
-
getMultiSpeakerVoiceConfigOrBuilder
MultiSpeakerVoiceConfigOrBuilder getMultiSpeakerVoiceConfigOrBuilder()The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`.
.google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig multi_speaker_voice_config = 3;
-