Interface ToolCallResultOrBuilder (0.47.0)

public interface ToolCallResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAction()

public abstract String getAction()

The name of the tool's action associated with this call.

string action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The action.

getActionBytes()

public abstract ByteString getActionBytes()

The name of the tool's action associated with this call.

string action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for action.

getError()

public abstract ToolCallResult.Error getError()

The tool call's error.

.google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;

Returns
TypeDescription
ToolCallResult.Error

The error.

getErrorOrBuilder()

public abstract ToolCallResult.ErrorOrBuilder getErrorOrBuilder()

The tool call's error.

.google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;

Returns
TypeDescription
ToolCallResult.ErrorOrBuilder

getOutputParameters()

public abstract Struct getOutputParameters()

The tool call's output parameters.

.google.protobuf.Struct output_parameters = 4;

Returns
TypeDescription
Struct

The outputParameters.

getOutputParametersOrBuilder()

public abstract StructOrBuilder getOutputParametersOrBuilder()

The tool call's output parameters.

.google.protobuf.Struct output_parameters = 4;

Returns
TypeDescription
StructOrBuilder

getResultCase()

public abstract ToolCallResult.ResultCase getResultCase()
Returns
TypeDescription
ToolCallResult.ResultCase

getTool()

public abstract String getTool()

The tool associated with this call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/tools/<Tool ID>.

string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The tool.

getToolBytes()

public abstract ByteString getToolBytes()

The tool associated with this call. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/tools/<Tool ID>.

string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for tool.

hasError()

public abstract boolean hasError()

The tool call's error.

.google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;

Returns
TypeDescription
boolean

Whether the error field is set.

hasOutputParameters()

public abstract boolean hasOutputParameters()

The tool call's output parameters.

.google.protobuf.Struct output_parameters = 4;

Returns
TypeDescription
boolean

Whether the outputParameters field is set.