Interface UserUtteranceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserUtterance,UserUtterance.Builder
@Generated
public interface UserUtteranceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetAudio()Optional.intgetAudioTokens(int index) Optional.intOptional.Optional.getText()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getText
String getText()Required. Message content in text.
string text = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Required. Message content in text.
string text = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for text.
-
getAudioTokensList
Optional. Tokens of the audio input.
repeated int32 audio_tokens = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the audioTokens.
-
getAudioTokensCount
int getAudioTokensCount()Optional. Tokens of the audio input.
repeated int32 audio_tokens = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of audioTokens.
-
getAudioTokens
int getAudioTokens(int index) Optional. Tokens of the audio input.
repeated int32 audio_tokens = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The audioTokens at the given index.
-
getAudio
com.google.protobuf.ByteString getAudio()Optional. Audio input.
bytes audio = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The audio.
-