Interface MultiSpeakerMarkup.TurnOrBuilder (2.56.0)

public static interface MultiSpeakerMarkup.TurnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSpeaker()

public abstract String getSpeaker()

Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.

string speaker = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The speaker.

getSpeakerBytes()

public abstract ByteString getSpeakerBytes()

Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.

string speaker = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for speaker.

getText()

public abstract String getText()

Required. The text to speak.

string text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Required. The text to speak.

string text = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for text.