Interface ResponseMessage.OutputAudioTextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResponseMessage.OutputAudioText
,ResponseMessage.OutputAudioText.Builder
- Enclosing class:
- ResponseMessage
public static interface ResponseMessage.OutputAudioTextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowPlaybackInterruption()
Output only.ResponseMessage.OutputAudioText.SourceCase
getSourceCase()
String
getSsml()
The SSML text to be synthesized.com.google.protobuf.ByteString
getSsmlBytes()
The SSML text to be synthesized.String
getText()
The raw text to be synthesized.com.google.protobuf.ByteString
getTextBytes()
The raw text to be synthesized.boolean
hasSsml()
The SSML text to be synthesized.boolean
hasText()
The raw text to be synthesized.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasText
boolean hasText()
The raw text to be synthesized.
string text = 1;
- Returns:
- Whether the text field is set.
-
getText
String getText()
The raw text to be synthesized.
string text = 1;
- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()
The raw text to be synthesized.
string text = 1;
- Returns:
- The bytes for text.
-
hasSsml
boolean hasSsml()
The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).
string ssml = 2;
- Returns:
- Whether the ssml field is set.
-
getSsml
String getSsml()
The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).
string ssml = 2;
- Returns:
- The ssml.
-
getSsmlBytes
com.google.protobuf.ByteString getSsmlBytes()
The SSML text to be synthesized. For more information, see [SSML](/speech/text-to-speech/docs/ssml).
string ssml = 2;
- Returns:
- The bytes for ssml.
-
getAllowPlaybackInterruption
boolean getAllowPlaybackInterruption()
Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.
bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The allowPlaybackInterruption.
-
getSourceCase
ResponseMessage.OutputAudioText.SourceCase getSourceCase()
-
-