Interface AnswerQueryResponseOrBuilder (0.42.0)

public interface AnswerQueryResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnswer()

public abstract Answer getAnswer()

Answer resource object. If [AnswerQueryRequest.StepSpec.max_step_count][] is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.

.google.cloud.discoveryengine.v1.Answer answer = 1;

Returns
Type Description
Answer

The answer.

getAnswerOrBuilder()

public abstract AnswerOrBuilder getAnswerOrBuilder()

Answer resource object. If [AnswerQueryRequest.StepSpec.max_step_count][] is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.

.google.cloud.discoveryengine.v1.Answer answer = 1;

Returns
Type Description
AnswerOrBuilder

getAnswerQueryToken()

public abstract String getAnswerQueryToken()

A global unique ID used for logging.

string answer_query_token = 3;

Returns
Type Description
String

The answerQueryToken.

getAnswerQueryTokenBytes()

public abstract ByteString getAnswerQueryTokenBytes()

A global unique ID used for logging.

string answer_query_token = 3;

Returns
Type Description
ByteString

The bytes for answerQueryToken.

getSession()

public abstract Session getSession()

Session resource object. It will be only available when session field is set and valid in the AnswerQueryRequest request.

.google.cloud.discoveryengine.v1.Session session = 2;

Returns
Type Description
Session

The session.

getSessionOrBuilder()

public abstract SessionOrBuilder getSessionOrBuilder()

Session resource object. It will be only available when session field is set and valid in the AnswerQueryRequest request.

.google.cloud.discoveryengine.v1.Session session = 2;

Returns
Type Description
SessionOrBuilder

hasAnswer()

public abstract boolean hasAnswer()

Answer resource object. If [AnswerQueryRequest.StepSpec.max_step_count][] is greater than 1, use Answer.name to fetch answer information using ConversationalSearchService.GetAnswer API.

.google.cloud.discoveryengine.v1.Answer answer = 1;

Returns
Type Description
boolean

Whether the answer field is set.

hasSession()

public abstract boolean hasSession()

Session resource object. It will be only available when session field is set and valid in the AnswerQueryRequest request.

.google.cloud.discoveryengine.v1.Session session = 2;

Returns
Type Description
boolean

Whether the session field is set.