Interface TextInputOrBuilder (0.41.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
Type Description
ConversationContext

The context.

getContextOrBuilder()

public abstract ConversationContextOrBuilder getContextOrBuilder()

Conversation context of the input.

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

Returns
Type Description
ConversationContextOrBuilder

getInput()

public abstract String getInput()

Text input.

string input = 1;

Returns
Type Description
String

The input.

getInputBytes()

public abstract ByteString getInputBytes()

Text input.

string input = 1;

Returns
Type Description
ByteString

The bytes for input.

hasContext()

public abstract boolean hasContext()

Conversation context of the input.

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

Returns
Type Description
boolean

Whether the context field is set.