Interface TextInputOrBuilder (0.17.0)

public interface TextInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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 [(.google.api.field_behavior) = REQUIRED];

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 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for text.