Interface TextInputOrBuilder (0.39.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
Type Description
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
Type Description
ByteString

The bytes for text.