Interface PhraseOrBuilder (0.52.0)

public interface PhraseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getText()

public abstract String getText()

Required. Text input which can be used for prompt or banned phrases.

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

Returns
TypeDescription
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Required. Text input which can be used for prompt or banned phrases.

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

Returns
TypeDescription
ByteString

The bytes for text.