com.google.cloud.dialogflow.cx.v3beta1.ToolUseOrBuilder 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/example.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.dialogflow.cx.v3beta1;
public interface ToolUseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.ToolUse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The [tool][google.cloud.dialogflow.cx.v3beta1.Tool] that should
* be used. 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();
/**
*
*
*
* Required. The [tool][google.cloud.dialogflow.cx.v3beta1.Tool] that should
* be used. 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();
/**
*
*
*
* Optional. Name of the action to be called during the tool use.
*
*
* string action = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The action.
*/
java.lang.String getAction();
/**
*
*
*
* Optional. Name of the action to be called during the tool use.
*
*
* string action = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for action.
*/
com.google.protobuf.ByteString getActionBytes();
/**
*
*
*
* Optional. A list of input parameters for the action.
*
*
*
* .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the inputActionParameters field is set.
*/
boolean hasInputActionParameters();
/**
*
*
*
* Optional. A list of input parameters for the action.
*
*
*
* .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The inputActionParameters.
*/
com.google.protobuf.Struct getInputActionParameters();
/**
*
*
*
* Optional. A list of input parameters for the action.
*
*
*
* .google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.protobuf.StructOrBuilder getInputActionParametersOrBuilder();
/**
*
*
*
* Optional. A list of output parameters generated by the action.
*
*
*
* .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the outputActionParameters field is set.
*/
boolean hasOutputActionParameters();
/**
*
*
*
* Optional. A list of output parameters generated by the action.
*
*
*
* .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The outputActionParameters.
*/
com.google.protobuf.Struct getOutputActionParameters();
/**
*
*
*
* Optional. A list of output parameters generated by the action.
*
*
*
* .google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.protobuf.StructOrBuilder getOutputActionParametersOrBuilder();
}