Interface SynthesizeLongAudioRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SynthesizeLongAudioRequest
,SynthesizeLongAudioRequest.Builder
public interface SynthesizeLongAudioRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AudioConfig
getAudioConfig()
Required.AudioConfigOrBuilder
getAudioConfigOrBuilder()
Required.SynthesisInput
getInput()
Required.SynthesisInputOrBuilder
getInputOrBuilder()
Required.String
getOutputGcsUri()
Required.com.google.protobuf.ByteString
getOutputGcsUriBytes()
Required.String
getParent()
The resource states of the request in the form of `projects/*/locations/*`.com.google.protobuf.ByteString
getParentBytes()
The resource states of the request in the form of `projects/*/locations/*`.VoiceSelectionParams
getVoice()
Required.VoiceSelectionParamsOrBuilder
getVoiceOrBuilder()
Required.boolean
hasAudioConfig()
Required.boolean
hasInput()
Required.boolean
hasVoice()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
The resource states of the request in the form of `projects/*/locations/*`.
string parent = 1;
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
The resource states of the request in the form of `projects/*/locations/*`.
string parent = 1;
- Returns:
- The bytes for parent.
-
hasInput
boolean hasInput()
Required. The Synthesizer requires either plain text or SSML as input. While Long Audio is in preview, SSML is temporarily unsupported.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 2 [(.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. While Long Audio is in preview, SSML is temporarily unsupported.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The input.
-
getInputOrBuilder
SynthesisInputOrBuilder getInputOrBuilder()
Required. The Synthesizer requires either plain text or SSML as input. While Long Audio is in preview, SSML is temporarily unsupported.
.google.cloud.texttospeech.v1beta1.SynthesisInput input = 2 [(.google.api.field_behavior) = REQUIRED];
-
hasAudioConfig
boolean hasAudioConfig()
Required. The configuration of the synthesized audio.
.google.cloud.texttospeech.v1beta1.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.v1beta1.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.v1beta1.AudioConfig audio_config = 3 [(.google.api.field_behavior) = REQUIRED];
-
getOutputGcsUri
String getOutputGcsUri()
Required. 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 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The outputGcsUri.
-
getOutputGcsUriBytes
com.google.protobuf.ByteString getOutputGcsUriBytes()
Required. 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 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for outputGcsUri.
-
hasVoice
boolean hasVoice()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 5 [(.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.v1beta1.VoiceSelectionParams voice = 5 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The voice.
-
getVoiceOrBuilder
VoiceSelectionParamsOrBuilder getVoiceOrBuilder()
Required. The desired voice of the synthesized audio.
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 5 [(.google.api.field_behavior) = REQUIRED];
-
-