Interface TextInputOrBuilder (0.52.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.

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.

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

Returns
TypeDescription
ByteString

The bytes for text.