public static final class SynthesizeSpeechRequest.Builder extends GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder> implements SynthesizeSpeechRequestOrBuilder
The top-level message sent by the client for the `SynthesizeSpeech` method.Protobuf type
google.cloud.texttospeech.v1beta1.SynthesizeSpeechRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic SynthesizeSpeechRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic SynthesizeSpeechRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic SynthesizeSpeechRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest.Builder mergeFrom(SynthesizeSpeechRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public SynthesizeSpeechRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<SynthesizeSpeechRequest.Builder>java.io.IOExceptionpublic boolean hasInput()
Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 1;hasInput in interface SynthesizeSpeechRequestOrBuilderpublic SynthesisInput getInput()
Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 1;getInput in interface SynthesizeSpeechRequestOrBuilderpublic SynthesizeSpeechRequest.Builder setInput(SynthesisInput value)
Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 1;public SynthesizeSpeechRequest.Builder setInput(SynthesisInput.Builder builderForValue)
Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 1;public SynthesizeSpeechRequest.Builder mergeInput(SynthesisInput value)
Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 1;public SynthesizeSpeechRequest.Builder clearInput()
Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 1;public SynthesisInput.Builder getInputBuilder()
Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 1;public SynthesisInputOrBuilder getInputOrBuilder()
Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 1;getInputOrBuilder in interface SynthesizeSpeechRequestOrBuilderpublic boolean hasVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 2;hasVoice in interface SynthesizeSpeechRequestOrBuilderpublic VoiceSelectionParams getVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 2;getVoice in interface SynthesizeSpeechRequestOrBuilderpublic SynthesizeSpeechRequest.Builder setVoice(VoiceSelectionParams value)
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 2;public SynthesizeSpeechRequest.Builder setVoice(VoiceSelectionParams.Builder builderForValue)
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 2;public SynthesizeSpeechRequest.Builder mergeVoice(VoiceSelectionParams value)
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 2;public SynthesizeSpeechRequest.Builder clearVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 2;public VoiceSelectionParams.Builder getVoiceBuilder()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 2;public VoiceSelectionParamsOrBuilder getVoiceOrBuilder()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 2;getVoiceOrBuilder in interface SynthesizeSpeechRequestOrBuilderpublic boolean hasAudioConfig()
Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 3;hasAudioConfig in interface SynthesizeSpeechRequestOrBuilderpublic AudioConfig getAudioConfig()
Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 3;getAudioConfig in interface SynthesizeSpeechRequestOrBuilderpublic SynthesizeSpeechRequest.Builder setAudioConfig(AudioConfig value)
Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 3;public SynthesizeSpeechRequest.Builder setAudioConfig(AudioConfig.Builder builderForValue)
Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 3;public SynthesizeSpeechRequest.Builder mergeAudioConfig(AudioConfig value)
Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 3;public SynthesizeSpeechRequest.Builder clearAudioConfig()
Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 3;public AudioConfig.Builder getAudioConfigBuilder()
Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 3;public AudioConfigOrBuilder getAudioConfigOrBuilder()
Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1beta1.AudioConfig audio_config = 3;getAudioConfigOrBuilder in interface SynthesizeSpeechRequestOrBuilderpublic final SynthesizeSpeechRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>public final SynthesizeSpeechRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<SynthesizeSpeechRequest.Builder>