Interface UserUtteranceOrBuilder (0.89.0)

public interface UserUtteranceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAudio()

public abstract ByteString getAudio()

Optional. Audio input.

bytes audio = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The audio.

getAudioTokens(int index)

public abstract int getAudioTokens(int index)

Optional. Tokens of the audio input.

repeated int32 audio_tokens = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The audioTokens at the given index.

getAudioTokensCount()

public abstract int getAudioTokensCount()

Optional. Tokens of the audio input.

repeated int32 audio_tokens = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of audioTokens.

getAudioTokensList()

public abstract List<Integer> getAudioTokensList()

Optional. Tokens of the audio input.

repeated int32 audio_tokens = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

A list containing the audioTokens.

getText()

public abstract String getText()

Required. Message content in text.

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

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Required. Message content in text.

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

Returns
Type Description
ByteString

The bytes for text.