Interface TextInputOrBuilder (0.35.0)

public interface TextInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContext()

public abstract ConversationContext getContext()

Conversation context of the input.

.google.cloud.discoveryengine.v1.ConversationContext context = 2;

Returns
TypeDescription
ConversationContext

The context.

getContextOrBuilder()

public abstract ConversationContextOrBuilder getContextOrBuilder()

Conversation context of the input.

.google.cloud.discoveryengine.v1.ConversationContext context = 2;

Returns
TypeDescription
ConversationContextOrBuilder

getInput()

public abstract String getInput()

Text input.

string input = 1;

Returns
TypeDescription
String

The input.

getInputBytes()

public abstract ByteString getInputBytes()

Text input.

string input = 1;

Returns
TypeDescription
ByteString

The bytes for input.

hasContext()

public abstract boolean hasContext()

Conversation context of the input.

.google.cloud.discoveryengine.v1.ConversationContext context = 2;

Returns
TypeDescription
boolean

Whether the context field is set.