com.google.cloud.dialogflow.cx.v3beta1.ToolProto 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.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.dialogflow.cx.v3beta1;
public final class ToolProto {
private ToolProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_CreateToolRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_CreateToolRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_ListToolsRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_ListToolsRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_ListToolsResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_ListToolsResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_GetToolRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_GetToolRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_ExportToolsRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_ExportToolsRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_ExportToolsResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_ExportToolsResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_UpdateToolRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_UpdateToolRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteToolRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_DeleteToolRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_OpenApiTool_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_OpenApiTool_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_DataStoreTool_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_DataStoreTool_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_DataStoreTool_FallbackPrompt_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_DataStoreTool_FallbackPrompt_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_ExtensionTool_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_ExtensionTool_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_FunctionTool_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_FunctionTool_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_Authentication_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_Authentication_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_Authentication_ApiKeyConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_Authentication_ApiKeyConfig_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_Authentication_OAuthConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_Authentication_OAuthConfig_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_Authentication_ServiceAgentAuthConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_Authentication_ServiceAgentAuthConfig_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_TLSConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_TLSConfig_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_TLSConfig_CACert_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_TLSConfig_CACert_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_ServiceDirectoryConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_ServiceDirectoryConfig_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_dialogflow_cx_v3beta1_ExportToolsMetadata_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3beta1_ExportToolsMetadata_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static {
java.lang.String[] descriptorData = {
"\n-google/cloud/dialogflow/cx/v3beta1/too"
+ "l.proto\022\"google.cloud.dialogflow.cx.v3be"
+ "ta1\032\034google/api/annotations.proto\032\027googl"
+ "e/api/client.proto\032\037google/api/field_beh"
+ "avior.proto\032\031google/api/resource.proto\032>"
+ "google/cloud/dialogflow/cx/v3beta1/data_"
+ "store_connection.proto\032/google/cloud/dia"
+ "logflow/cx/v3beta1/inline.proto\032#google/"
+ "longrunning/operations.proto\032\033google/pro"
+ "tobuf/empty.proto\032 google/protobuf/field"
+ "_mask.proto\032\034google/protobuf/struct.prot"
+ "o\"\210\001\n\021CreateToolRequest\0226\n\006parent\030\001 \001(\tB"
+ "&\340A\002\372A \022\036dialogflow.googleapis.com/Tool\022"
+ ";\n\004tool\030\002 \001(\0132(.google.cloud.dialogflow."
+ "cx.v3beta1.ToolB\003\340A\002\"q\n\020ListToolsRequest"
+ "\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogflow.goo"
+ "gleapis.com/Tool\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np"
+ "age_token\030\003 \001(\t\"e\n\021ListToolsResponse\0227\n\005"
+ "tools\030\001 \003(\0132(.google.cloud.dialogflow.cx"
+ ".v3beta1.Tool\022\027\n\017next_page_token\030\002 \001(\t\"F"
+ "\n\016GetToolRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036"
+ "dialogflow.googleapis.com/Tool\"\355\002\n\022Expor"
+ "tToolsRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036d"
+ "ialogflow.googleapis.com/Tool\0225\n\005tools\030\002"
+ " \003(\tB&\340A\002\372A \n\036dialogflow.googleapis.com/"
+ "Tool\022\030\n\ttools_uri\030\003 \001(\tB\003\340A\001H\000\022#\n\024tools_"
+ "content_inline\030\004 \001(\010B\003\340A\001H\000\022[\n\013data_form"
+ "at\030\005 \001(\0162A.google.cloud.dialogflow.cx.v3"
+ "beta1.ExportToolsRequest.DataFormatB\003\340A\001"
+ "\"=\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECIFIE"
+ "D\020\000\022\010\n\004BLOB\020\001\022\010\n\004JSON\020\002B\r\n\013destination\"\203"
+ "\001\n\023ExportToolsResponse\022\023\n\ttools_uri\030\001 \001("
+ "\tH\000\022N\n\rtools_content\030\002 \001(\01325.google.clou"
+ "d.dialogflow.cx.v3beta1.InlineDestinatio"
+ "nH\000B\007\n\005tools\"\201\001\n\021UpdateToolRequest\022;\n\004to"
+ "ol\030\001 \001(\0132(.google.cloud.dialogflow.cx.v3"
+ "beta1.ToolB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.g"
+ "oogle.protobuf.FieldMask\"X\n\021DeleteToolRe"
+ "quest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow."
+ "googleapis.com/Tool\022\r\n\005force\030\002 \001(\010\"\340\023\n\004T"
+ "ool\022\014\n\004name\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB"
+ "\003\340A\002\022\030\n\013description\030\003 \001(\tB\003\340A\002\022M\n\ropen_a"
+ "pi_spec\030\004 \001(\01324.google.cloud.dialogflow."
+ "cx.v3beta1.Tool.OpenApiToolH\000\022Q\n\017data_st"
+ "ore_spec\030\010 \001(\01326.google.cloud.dialogflow"
+ ".cx.v3beta1.Tool.DataStoreToolH\000\022P\n\016exte"
+ "nsion_spec\030\013 \001(\01326.google.cloud.dialogfl"
+ "ow.cx.v3beta1.Tool.ExtensionToolH\000\022N\n\rfu"
+ "nction_spec\030\r \001(\01325.google.cloud.dialogf"
+ "low.cx.v3beta1.Tool.FunctionToolH\000\022I\n\tto"
+ "ol_type\030\014 \001(\01621.google.cloud.dialogflow."
+ "cx.v3beta1.Tool.ToolTypeB\003\340A\003\032\276\002\n\013OpenAp"
+ "iTool\022\032\n\013text_schema\030\001 \001(\tB\003\340A\002H\000\022T\n\016aut"
+ "hentication\030\002 \001(\01327.google.cloud.dialogf"
+ "low.cx.v3beta1.Tool.AuthenticationB\003\340A\001\022"
+ "K\n\ntls_config\030\003 \001(\01322.google.cloud.dialo"
+ "gflow.cx.v3beta1.Tool.TLSConfigB\003\340A\001\022f\n\030"
+ "service_directory_config\030\004 \001(\0132?.google."
+ "cloud.dialogflow.cx.v3beta1.Tool.Service"
+ "DirectoryConfigB\003\340A\001B\010\n\006schema\032\344\001\n\rDataS"
+ "toreTool\022\\\n\026data_store_connections\030\001 \003(\013"
+ "27.google.cloud.dialogflow.cx.v3beta1.Da"
+ "taStoreConnectionB\003\340A\002\022c\n\017fallback_promp"
+ "t\030\003 \001(\0132E.google.cloud.dialogflow.cx.v3b"
+ "eta1.Tool.DataStoreTool.FallbackPromptB\003"
+ "\340A\002\032\020\n\016FallbackPrompt\032\"\n\rExtensionTool\022\021"
+ "\n\004name\030\001 \001(\tB\003\340A\002\032w\n\014FunctionTool\0222\n\014inp"
+ "ut_schema\030\001 \001(\0132\027.google.protobuf.Struct"
+ "B\003\340A\001\0223\n\routput_schema\030\002 \001(\0132\027.google.pr"
+ "otobuf.StructB\003\340A\001\032\203\007\n\016Authentication\022^\n"
+ "\016api_key_config\030\001 \001(\0132D.google.cloud.dia"
+ "logflow.cx.v3beta1.Tool.Authentication.A"
+ "piKeyConfigH\000\022[\n\014oauth_config\030\002 \001(\0132C.go"
+ "ogle.cloud.dialogflow.cx.v3beta1.Tool.Au"
+ "thentication.OAuthConfigH\000\022s\n\031service_ag"
+ "ent_auth_config\030\003 \001(\0132N.google.cloud.dia"
+ "logflow.cx.v3beta1.Tool.Authentication.S"
+ "erviceAgentAuthConfigH\000\032\243\001\n\014ApiKeyConfig"
+ "\022\025\n\010key_name\030\001 \001(\tB\003\340A\002\022\024\n\007api_key\030\002 \001(\t"
+ "B\003\340A\002\022f\n\020request_location\030\003 \001(\0162G.google"
+ ".cloud.dialogflow.cx.v3beta1.Tool.Authen"
+ "tication.RequestLocationB\003\340A\002\032\234\002\n\013OAuthC"
+ "onfig\022q\n\020oauth_grant_type\030\001 \001(\0162R.google"
+ ".cloud.dialogflow.cx.v3beta1.Tool.Authen"
+ "tication.OAuthConfig.OauthGrantTypeB\003\340A\002"
+ "\022\026\n\tclient_id\030\002 \001(\tB\003\340A\002\022\032\n\rclient_secre"
+ "t\030\003 \001(\tB\003\340A\002\022\033\n\016token_endpoint\030\004 \001(\tB\003\340A"
+ "\002\"I\n\016OauthGrantType\022 \n\034OAUTH_GRANT_TYPE_"
+ "UNSPECIFIED\020\000\022\025\n\021CLIENT_CREDENTIAL\020\001\032\030\n\026"
+ "ServiceAgentAuthConfig\"Q\n\017RequestLocatio"
+ "n\022 \n\034REQUEST_LOCATION_UNSPECIFIED\020\000\022\n\n\006H"
+ "EADER\020\001\022\020\n\014QUERY_STRING\020\002B\r\n\013auth_config"
+ "\032\225\001\n\tTLSConfig\022P\n\010ca_certs\030\001 \003(\01329.googl"
+ "e.cloud.dialogflow.cx.v3beta1.Tool.TLSCo"
+ "nfig.CACertB\003\340A\002\0326\n\006CACert\022\031\n\014display_na"
+ "me\030\001 \001(\tB\003\340A\002\022\021\n\004cert\030\002 \001(\014B\003\340A\002\032Z\n\026Serv"
+ "iceDirectoryConfig\022@\n\007service\030\001 \001(\tB/\340A\002"
+ "\372A)\n\'servicedirectory.googleapis.com/Ser"
+ "vice\"L\n\010ToolType\022\031\n\025TOOL_TYPE_UNSPECIFIE"
+ "D\020\000\022\023\n\017CUSTOMIZED_TOOL\020\001\022\020\n\014BUILTIN_TOOL"
+ "\020\002:h\352Ae\n\036dialogflow.googleapis.com/Tool\022"
+ "Cprojects/{project}/locations/{location}"
+ "/agents/{agent}/tools/{tool}B\017\n\rspecific"
+ "ation\"\025\n\023ExportToolsMetadata2\221\n\n\005Tools\022\302"
+ "\001\n\nCreateTool\0225.google.cloud.dialogflow."
+ "cx.v3beta1.CreateToolRequest\032(.google.cl"
+ "oud.dialogflow.cx.v3beta1.Tool\"S\332A\013paren"
+ "t,tool\202\323\344\223\002?\"7/v3beta1/{parent=projects/"
+ "*/locations/*/agents/*}/tools:\004tool\022\302\001\n\t"
+ "ListTools\0224.google.cloud.dialogflow.cx.v"
+ "3beta1.ListToolsRequest\0325.google.cloud.d"
+ "ialogflow.cx.v3beta1.ListToolsResponse\"H"
+ "\332A\006parent\202\323\344\223\0029\0227/v3beta1/{parent=projec"
+ "ts/*/locations/*/agents/*}/tools\022\334\001\n\013Exp"
+ "ortTools\0226.google.cloud.dialogflow.cx.v3"
+ "beta1.ExportToolsRequest\032\035.google.longru"
+ "nning.Operation\"v\312A*\n\023ExportToolsRespons"
+ "e\022\023ExportToolsMetadata\202\323\344\223\002C\">/v3beta1/{"
+ "parent=projects/*/locations/*/agents/*}/"
+ "tools:export:\001*\022\257\001\n\007GetTool\0222.google.clo"
+ "ud.dialogflow.cx.v3beta1.GetToolRequest\032"
+ "(.google.cloud.dialogflow.cx.v3beta1.Too"
+ "l\"F\332A\004name\202\323\344\223\0029\0227/v3beta1/{name=project"
+ "s/*/locations/*/agents/*/tools/*}\022\314\001\n\nUp"
+ "dateTool\0225.google.cloud.dialogflow.cx.v3"
+ "beta1.UpdateToolRequest\032(.google.cloud.d"
+ "ialogflow.cx.v3beta1.Tool\"]\332A\020tool,updat"
+ "e_mask\202\323\344\223\002D2