- 2.77.0 (latest)
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 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 SynthesizeLongAudioRequest.Builder extends GeneratedMessageV3.Builder<SynthesizeLongAudioRequest.Builder> implements SynthesizeLongAudioRequestOrBuilder The top-level message sent by the client for the
SynthesizeLongAudio method.
Protobuf type google.cloud.texttospeech.v1.SynthesizeLongAudioRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SynthesizeLongAudioRequest.BuilderImplements
SynthesizeLongAudioRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SynthesizeLongAudioRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
build()
public SynthesizeLongAudioRequest build()| Type | Description |
| SynthesizeLongAudioRequest |
buildPartial()
public SynthesizeLongAudioRequest buildPartial()| Type | Description |
| SynthesizeLongAudioRequest |
clear()
public SynthesizeLongAudioRequest.Builder clear()| Type | Description |
| SynthesizeLongAudioRequest.Builder |
clearAudioConfig()
public SynthesizeLongAudioRequest.Builder clearAudioConfig()Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public SynthesizeLongAudioRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
clearInput()
public SynthesizeLongAudioRequest.Builder clearInput()Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SynthesizeLongAudioRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
clearOutputGcsUri()
public SynthesizeLongAudioRequest.Builder clearOutputGcsUri() Specifies a Cloud Storage URI for the synthesis results. Must be
specified in the format: gs://bucket_name/object_name, and the bucket
must already exist.
string output_gcs_uri = 4;
| Type | Description |
| SynthesizeLongAudioRequest.Builder | This builder for chaining. |
clearParent()
public SynthesizeLongAudioRequest.Builder clearParent() The resource states of the request in the form of
projects/*/locations/*/voices/*.
string parent = 1;
| Type | Description |
| SynthesizeLongAudioRequest.Builder | This builder for chaining. |
clearVoice()
public SynthesizeLongAudioRequest.Builder clearVoice()The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 5;
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
clone()
public SynthesizeLongAudioRequest.Builder clone()| Type | Description |
| SynthesizeLongAudioRequest.Builder |
getAudioConfig()
public AudioConfig getAudioConfig()Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| AudioConfig | The audioConfig. |
getAudioConfigBuilder()
public AudioConfig.Builder getAudioConfigBuilder()Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| AudioConfig.Builder |
getAudioConfigOrBuilder()
public AudioConfigOrBuilder getAudioConfigOrBuilder()Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| AudioConfigOrBuilder |
getDefaultInstanceForType()
public SynthesizeLongAudioRequest getDefaultInstanceForType()| Type | Description |
| SynthesizeLongAudioRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getInput()
public SynthesisInput getInput()Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| SynthesisInput | The input. |
getInputBuilder()
public SynthesisInput.Builder getInputBuilder()Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| SynthesisInput.Builder |
getInputOrBuilder()
public SynthesisInputOrBuilder getInputOrBuilder()Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| SynthesisInputOrBuilder |
getOutputGcsUri()
public String getOutputGcsUri() Specifies a Cloud Storage URI for the synthesis results. Must be
specified in the format: gs://bucket_name/object_name, and the bucket
must already exist.
string output_gcs_uri = 4;
| Type | Description |
| String | The outputGcsUri. |
getOutputGcsUriBytes()
public ByteString getOutputGcsUriBytes() Specifies a Cloud Storage URI for the synthesis results. Must be
specified in the format: gs://bucket_name/object_name, and the bucket
must already exist.
string output_gcs_uri = 4;
| Type | Description |
| ByteString | The bytes for outputGcsUri. |
getParent()
public String getParent() The resource states of the request in the form of
projects/*/locations/*/voices/*.
string parent = 1;
| Type | Description |
| String | The parent. |
getParentBytes()
public ByteString getParentBytes() The resource states of the request in the form of
projects/*/locations/*/voices/*.
string parent = 1;
| Type | Description |
| ByteString | The bytes for parent. |
getVoice()
public VoiceSelectionParams getVoice()The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 5;
| Type | Description |
| VoiceSelectionParams | The voice. |
getVoiceBuilder()
public VoiceSelectionParams.Builder getVoiceBuilder()The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 5;
| Type | Description |
| VoiceSelectionParams.Builder |
getVoiceOrBuilder()
public VoiceSelectionParamsOrBuilder getVoiceOrBuilder()The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 5;
| Type | Description |
| VoiceSelectionParamsOrBuilder |
hasAudioConfig()
public boolean hasAudioConfig()Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the audioConfig field is set. |
hasInput()
public boolean hasInput()Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the input field is set. |
hasVoice()
public boolean hasVoice()The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 5;
| Type | Description |
| boolean | Whether the voice field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeAudioConfig(AudioConfig value)
public SynthesizeLongAudioRequest.Builder mergeAudioConfig(AudioConfig value)Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | AudioConfig |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
mergeFrom(SynthesizeLongAudioRequest other)
public SynthesizeLongAudioRequest.Builder mergeFrom(SynthesizeLongAudioRequest other)| Name | Description |
| other | SynthesizeLongAudioRequest |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SynthesizeLongAudioRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public SynthesizeLongAudioRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
mergeInput(SynthesisInput value)
public SynthesizeLongAudioRequest.Builder mergeInput(SynthesisInput value)Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | SynthesisInput |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SynthesizeLongAudioRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
mergeVoice(VoiceSelectionParams value)
public SynthesizeLongAudioRequest.Builder mergeVoice(VoiceSelectionParams value)The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 5;
| Name | Description |
| value | VoiceSelectionParams |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
setAudioConfig(AudioConfig value)
public SynthesizeLongAudioRequest.Builder setAudioConfig(AudioConfig value)Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | AudioConfig |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
setAudioConfig(AudioConfig.Builder builderForValue)
public SynthesizeLongAudioRequest.Builder setAudioConfig(AudioConfig.Builder builderForValue)Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| builderForValue | AudioConfig.Builder |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SynthesizeLongAudioRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
setInput(SynthesisInput value)
public SynthesizeLongAudioRequest.Builder setInput(SynthesisInput value)Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | SynthesisInput |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
setInput(SynthesisInput.Builder builderForValue)
public SynthesizeLongAudioRequest.Builder setInput(SynthesisInput.Builder builderForValue)Required. The Synthesizer requires either plain text or SSML as input.
.google.cloud.texttospeech.v1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| builderForValue | SynthesisInput.Builder |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
setOutputGcsUri(String value)
public SynthesizeLongAudioRequest.Builder setOutputGcsUri(String value) Specifies a Cloud Storage URI for the synthesis results. Must be
specified in the format: gs://bucket_name/object_name, and the bucket
must already exist.
string output_gcs_uri = 4;
| Name | Description |
| value | StringThe outputGcsUri to set. |
| Type | Description |
| SynthesizeLongAudioRequest.Builder | This builder for chaining. |
setOutputGcsUriBytes(ByteString value)
public SynthesizeLongAudioRequest.Builder setOutputGcsUriBytes(ByteString value) Specifies a Cloud Storage URI for the synthesis results. Must be
specified in the format: gs://bucket_name/object_name, and the bucket
must already exist.
string output_gcs_uri = 4;
| Name | Description |
| value | ByteStringThe bytes for outputGcsUri to set. |
| Type | Description |
| SynthesizeLongAudioRequest.Builder | This builder for chaining. |
setParent(String value)
public SynthesizeLongAudioRequest.Builder setParent(String value) The resource states of the request in the form of
projects/*/locations/*/voices/*.
string parent = 1;
| Name | Description |
| value | StringThe parent to set. |
| Type | Description |
| SynthesizeLongAudioRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public SynthesizeLongAudioRequest.Builder setParentBytes(ByteString value) The resource states of the request in the form of
projects/*/locations/*/voices/*.
string parent = 1;
| Name | Description |
| value | ByteStringThe bytes for parent to set. |
| Type | Description |
| SynthesizeLongAudioRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SynthesizeLongAudioRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SynthesizeLongAudioRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
setVoice(VoiceSelectionParams value)
public SynthesizeLongAudioRequest.Builder setVoice(VoiceSelectionParams value)The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 5;
| Name | Description |
| value | VoiceSelectionParams |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |
setVoice(VoiceSelectionParams.Builder builderForValue)
public SynthesizeLongAudioRequest.Builder setVoice(VoiceSelectionParams.Builder builderForValue)The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 5;
| Name | Description |
| builderForValue | VoiceSelectionParams.Builder |
| Type | Description |
| SynthesizeLongAudioRequest.Builder |