Interface AssistAnswerOrBuilder (0.66.0)

public interface AssistAnswerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssistSkippedReasons(int index)

public abstract AssistAnswer.AssistSkippedReason getAssistSkippedReasons(int index)

Reasons for not answering the assist call.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
AssistAnswer.AssistSkippedReason

The assistSkippedReasons at the given index.

getAssistSkippedReasonsCount()

public abstract int getAssistSkippedReasonsCount()

Reasons for not answering the assist call.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;

Returns
Type Description
int

The count of assistSkippedReasons.

getAssistSkippedReasonsList()

public abstract List<AssistAnswer.AssistSkippedReason> getAssistSkippedReasonsList()

Reasons for not answering the assist call.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;

Returns
Type Description
List<AssistSkippedReason>

A list containing the assistSkippedReasons.

getAssistSkippedReasonsValue(int index)

public abstract int getAssistSkippedReasonsValue(int index)

Reasons for not answering the assist call.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of assistSkippedReasons at the given index.

getAssistSkippedReasonsValueList()

public abstract List<Integer> getAssistSkippedReasonsValueList()

Reasons for not answering the assist call.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.AssistSkippedReason assist_skipped_reasons = 5;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for assistSkippedReasons.

getName()

public abstract String getName()

Immutable. Resource name of the AssistAnswer. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Immutable. Resource name of the AssistAnswer. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}

This field must be a UTF-8 encoded string with a length limit of 1024 characters.

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

getReplies(int index)

public abstract AssistAnswer.Reply getReplies(int index)

Replies of the assistant.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;

Parameter
Name Description
index int
Returns
Type Description
AssistAnswer.Reply

getRepliesCount()

public abstract int getRepliesCount()

Replies of the assistant.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;

Returns
Type Description
int

getRepliesList()

public abstract List<AssistAnswer.Reply> getRepliesList()

Replies of the assistant.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;

Returns
Type Description
List<Reply>

getRepliesOrBuilder(int index)

public abstract AssistAnswer.ReplyOrBuilder getRepliesOrBuilder(int index)

Replies of the assistant.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;

Parameter
Name Description
index int
Returns
Type Description
AssistAnswer.ReplyOrBuilder

getRepliesOrBuilderList()

public abstract List<? extends AssistAnswer.ReplyOrBuilder> getRepliesOrBuilderList()

Replies of the assistant.

repeated .google.cloud.discoveryengine.v1.AssistAnswer.Reply replies = 3;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.AssistAnswer.ReplyOrBuilder>

getState()

public abstract AssistAnswer.State getState()

State of the answer generation.

.google.cloud.discoveryengine.v1.AssistAnswer.State state = 2;

Returns
Type Description
AssistAnswer.State

The state.

getStateValue()

public abstract int getStateValue()

State of the answer generation.

.google.cloud.discoveryengine.v1.AssistAnswer.State state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.