Interface QueryExtensionResponseOrBuilder (3.42.0)

public interface QueryExtensionResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFailureMessage()

public abstract String getFailureMessage()

Failure message if any.

string failure_message = 2;

Returns
TypeDescription
String

The failureMessage.

getFailureMessageBytes()

public abstract ByteString getFailureMessageBytes()

Failure message if any.

string failure_message = 2;

Returns
TypeDescription
ByteString

The bytes for failureMessage.

getSteps(int index)

public abstract Content getSteps(int index)

Steps of extension or LLM interaction, can contain function call, function response, or text response. The last step contains the final response to the query.

repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Content

getStepsCount()

public abstract int getStepsCount()

Steps of extension or LLM interaction, can contain function call, function response, or text response. The last step contains the final response to the query.

repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;

Returns
TypeDescription
int

getStepsList()

public abstract List<Content> getStepsList()

Steps of extension or LLM interaction, can contain function call, function response, or text response. The last step contains the final response to the query.

repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;

Returns
TypeDescription
List<Content>

getStepsOrBuilder(int index)

public abstract ContentOrBuilder getStepsOrBuilder(int index)

Steps of extension or LLM interaction, can contain function call, function response, or text response. The last step contains the final response to the query.

repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ContentOrBuilder

getStepsOrBuilderList()

public abstract List<? extends ContentOrBuilder> getStepsOrBuilderList()

Steps of extension or LLM interaction, can contain function call, function response, or text response. The last step contains the final response to the query.

repeated .google.cloud.aiplatform.v1beta1.Content steps = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder>