- 2.63.0 (latest)
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.9
- 2.3.0
- 2.2.1
- 2.1.5
public static final class StreamingSynthesizeConfig.Builder extends GeneratedMessageV3.Builder<StreamingSynthesizeConfig.Builder> implements StreamingSynthesizeConfigOrBuilder
Provides configuration information for the StreamingSynthesize request.
Protobuf type google.cloud.texttospeech.v1.StreamingSynthesizeConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StreamingSynthesizeConfig.BuilderImplements
StreamingSynthesizeConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingSynthesizeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
build()
public StreamingSynthesizeConfig build()
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig |
buildPartial()
public StreamingSynthesizeConfig buildPartial()
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig |
clear()
public StreamingSynthesizeConfig.Builder clear()
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
clearCustomPronunciations()
public StreamingSynthesizeConfig.Builder clearCustomPronunciations()
Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.
The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public StreamingSynthesizeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingSynthesizeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
clearStreamingAudioConfig()
public StreamingSynthesizeConfig.Builder clearStreamingAudioConfig()
Optional. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
clearVoice()
public StreamingSynthesizeConfig.Builder clearVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
clone()
public StreamingSynthesizeConfig.Builder clone()
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
getCustomPronunciations()
public CustomPronunciations getCustomPronunciations()
Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.
The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CustomPronunciations |
The customPronunciations. |
getCustomPronunciationsBuilder()
public CustomPronunciations.Builder getCustomPronunciationsBuilder()
Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.
The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CustomPronunciations.Builder |
getCustomPronunciationsOrBuilder()
public CustomPronunciationsOrBuilder getCustomPronunciationsOrBuilder()
Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.
The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CustomPronunciationsOrBuilder |
getDefaultInstanceForType()
public StreamingSynthesizeConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getStreamingAudioConfig()
public StreamingAudioConfig getStreamingAudioConfig()
Optional. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamingAudioConfig |
The streamingAudioConfig. |
getStreamingAudioConfigBuilder()
public StreamingAudioConfig.Builder getStreamingAudioConfigBuilder()
Optional. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamingAudioConfig.Builder |
getStreamingAudioConfigOrBuilder()
public StreamingAudioConfigOrBuilder getStreamingAudioConfigOrBuilder()
Optional. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamingAudioConfigOrBuilder |
getVoice()
public VoiceSelectionParams getVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
VoiceSelectionParams |
The voice. |
getVoiceBuilder()
public VoiceSelectionParams.Builder getVoiceBuilder()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
VoiceSelectionParams.Builder |
getVoiceOrBuilder()
public VoiceSelectionParamsOrBuilder getVoiceOrBuilder()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
VoiceSelectionParamsOrBuilder |
hasCustomPronunciations()
public boolean hasCustomPronunciations()
Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.
The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the customPronunciations field is set. |
hasStreamingAudioConfig()
public boolean hasStreamingAudioConfig()
Optional. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the streamingAudioConfig field is set. |
hasVoice()
public boolean hasVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the voice field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCustomPronunciations(CustomPronunciations value)
public StreamingSynthesizeConfig.Builder mergeCustomPronunciations(CustomPronunciations value)
Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.
The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CustomPronunciations |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
mergeFrom(StreamingSynthesizeConfig other)
public StreamingSynthesizeConfig.Builder mergeFrom(StreamingSynthesizeConfig other)
Parameter | |
---|---|
Name | Description |
other |
StreamingSynthesizeConfig |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingSynthesizeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StreamingSynthesizeConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
mergeStreamingAudioConfig(StreamingAudioConfig value)
public StreamingSynthesizeConfig.Builder mergeStreamingAudioConfig(StreamingAudioConfig value)
Optional. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
StreamingAudioConfig |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingSynthesizeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
mergeVoice(VoiceSelectionParams value)
public StreamingSynthesizeConfig.Builder mergeVoice(VoiceSelectionParams value)
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
VoiceSelectionParams |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
setCustomPronunciations(CustomPronunciations value)
public StreamingSynthesizeConfig.Builder setCustomPronunciations(CustomPronunciations value)
Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.
The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
CustomPronunciations |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
setCustomPronunciations(CustomPronunciations.Builder builderForValue)
public StreamingSynthesizeConfig.Builder setCustomPronunciations(CustomPronunciations.Builder builderForValue)
Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.
The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.
In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.
.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
CustomPronunciations.Builder |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingSynthesizeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingSynthesizeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
setStreamingAudioConfig(StreamingAudioConfig value)
public StreamingSynthesizeConfig.Builder setStreamingAudioConfig(StreamingAudioConfig value)
Optional. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
StreamingAudioConfig |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
setStreamingAudioConfig(StreamingAudioConfig.Builder builderForValue)
public StreamingSynthesizeConfig.Builder setStreamingAudioConfig(StreamingAudioConfig.Builder builderForValue)
Optional. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
StreamingAudioConfig.Builder |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingSynthesizeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
setVoice(VoiceSelectionParams value)
public StreamingSynthesizeConfig.Builder setVoice(VoiceSelectionParams value)
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
VoiceSelectionParams |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |
setVoice(VoiceSelectionParams.Builder builderForValue)
public StreamingSynthesizeConfig.Builder setVoice(VoiceSelectionParams.Builder builderForValue)
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
VoiceSelectionParams.Builder |
Returns | |
---|---|
Type | Description |
StreamingSynthesizeConfig.Builder |