Interface TextInputOrBuilder (4.7.2)

public interface TextInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLanguageCode()

public abstract String getLanguageCode()

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.

string language_code = 2;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.

string language_code = 2;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getText()

public abstract String getText()

Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.

string text = 1;

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.

string text = 1;

Returns
TypeDescription
ByteString

The bytes for text.