com.google.cloud.dialogflow.cx.v3beta1.ToolCallResultOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-cx-v3beta1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3beta1/tool_call.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dialogflow.cx.v3beta1;
public interface ToolCallResultOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ToolCallResult)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The [tool][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) = { ... }
*
*
* @return The tool.
*/
java.lang.String getTool();
/**
*
*
*
* The [tool][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) = { ... }
*
*
* @return The bytes for tool.
*/
com.google.protobuf.ByteString getToolBytes();
/**
*
*
*
* The name of the tool's action associated with this call.
*
*
* string action = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The action.
*/
java.lang.String getAction();
/**
*
*
*
* The name of the tool's action associated with this call.
*
*
* string action = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for action.
*/
com.google.protobuf.ByteString getActionBytes();
/**
*
*
*
* The tool call's error.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
*
* @return Whether the error field is set.
*/
boolean hasError();
/**
*
*
*
* The tool call's error.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
*
* @return The error.
*/
com.google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error getError();
/**
*
*
*
* The tool call's error.
*
*
* .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
*/
com.google.cloud.dialogflow.cx.v3beta1.ToolCallResult.ErrorOrBuilder getErrorOrBuilder();
/**
*
*
*
* The tool call's output parameters.
*
*
* .google.protobuf.Struct output_parameters = 4;
*
* @return Whether the outputParameters field is set.
*/
boolean hasOutputParameters();
/**
*
*
*
* The tool call's output parameters.
*
*
* .google.protobuf.Struct output_parameters = 4;
*
* @return The outputParameters.
*/
com.google.protobuf.Struct getOutputParameters();
/**
*
*
*
* The tool call's output parameters.
*
*
* .google.protobuf.Struct output_parameters = 4;
*/
com.google.protobuf.StructOrBuilder getOutputParametersOrBuilder();
com.google.cloud.dialogflow.cx.v3beta1.ToolCallResult.ResultCase getResultCase();
}