Class SpeechAnnotation
java.lang.Object
com.google.genai.gaos.models.interactions.SpeechAnnotation
- All Implemented Interfaces:
Annotation
SpeechAnnotation
Speech annotation for text content.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSpeechAnnotation(Integer endIndex, String speaker, Integer startIndex, String style) -
Method Summary
Modifier and TypeMethodDescriptionstatic SpeechAnnotation.Builderbuilder()endIndex()End of the attributed segment, exclusive.booleaninthashCode()speaker()The speaker to associate with this turn.Start of segment of the response that is attributed to this source.style()Style instruction for the speech synthesis.toString()type()withEndIndex(Integer endIndex) End of the attributed segment, exclusive.withSpeaker(String speaker) The speaker to associate with this turn.withStartIndex(Integer startIndex) Start of segment of the response that is attributed to this source.Style instruction for the speech synthesis.
-
Constructor Details
-
SpeechAnnotation
-
SpeechAnnotation
public SpeechAnnotation()
-
-
Method Details
-
endIndex
End of the attributed segment, exclusive. -
speaker
The speaker to associate with this turn. -
startIndex
Start of segment of the response that is attributed to this source.Index indicates the start of the segment, measured in bytes.
-
style
Style instruction for the speech synthesis. -
type
- Specified by:
typein interfaceAnnotation
-
builder
-
withEndIndex
End of the attributed segment, exclusive. -
withSpeaker
The speaker to associate with this turn. -
withStartIndex
Start of segment of the response that is attributed to this source.Index indicates the start of the segment, measured in bytes.
-
withStyle
Style instruction for the speech synthesis. -
equals
-
hashCode
public int hashCode() -
toString
-