All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dialogflow.cx.v3beta1.ToolProto Maven / Gradle / Ivy

The newest version!
/*
 * 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.5
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_Authentication_BearerTokenConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_dialogflow_cx_v3beta1_Tool_Authentication_BearerTokenConfig_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\"\344\026\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\207\n\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\022h\n\023bearer_token_"
          + "config\030\004 \001(\0132I.google.cloud.dialogflow.c"
          + "x.v3beta1.Tool.Authentication.BearerToke"
          + "nConfigH\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(\tB\003\340A\002\022f\n\020reque"
          + "st_location\030\003 \001(\0162G.google.cloud.dialogf"
          + "low.cx.v3beta1.Tool.Authentication.Reque"
          + "stLocationB\003\340A\002\032\261\002\n\013OAuthConfig\022q\n\020oauth"
          + "_grant_type\030\001 \001(\0162R.google.cloud.dialogf"
          + "low.cx.v3beta1.Tool.Authentication.OAuth"
          + "Config.OauthGrantTypeB\003\340A\002\022\026\n\tclient_id\030"
          + "\002 \001(\tB\003\340A\002\022\032\n\rclient_secret\030\003 \001(\tB\003\340A\002\022\033"
          + "\n\016token_endpoint\030\004 \001(\tB\003\340A\002\022\023\n\006scopes\030\005 "
          + "\003(\tB\003\340A\001\"I\n\016OauthGrantType\022 \n\034OAUTH_GRAN"
          + "T_TYPE_UNSPECIFIED\020\000\022\025\n\021CLIENT_CREDENTIA"
          + "L\020\001\032\363\001\n\026ServiceAgentAuthConfig\022\200\001\n\022servi"
          + "ce_agent_auth\030\001 \001(\0162_.google.cloud.dialo"
          + "gflow.cx.v3beta1.Tool.Authentication.Ser"
          + "viceAgentAuthConfig.ServiceAgentAuthB\003\340A"
          + "\001\"V\n\020ServiceAgentAuth\022\"\n\036SERVICE_AGENT_A"
          + "UTH_UNSPECIFIED\020\000\022\014\n\010ID_TOKEN\020\001\022\020\n\014ACCES"
          + "S_TOKEN\020\002\032\'\n\021BearerTokenConfig\022\022\n\005token\030"
          + "\001 \001(\tB\003\340A\002\"Q\n\017RequestLocation\022 \n\034REQUEST"
          + "_LOCATION_UNSPECIFIED\020\000\022\n\n\006HEADER\020\001\022\020\n\014Q"
          + "UERY_STRING\020\002B\r\n\013auth_config\032\225\001\n\tTLSConf"
          + "ig\022P\n\010ca_certs\030\001 \003(\01329.google.cloud.dial"
          + "ogflow.cx.v3beta1.Tool.TLSConfig.CACertB"
          + "\003\340A\002\0326\n\006CACert\022\031\n\014display_name\030\001 \001(\tB\003\340A"
          + "\002\022\021\n\004cert\030\002 \001(\014B\003\340A\002\032Z\n\026ServiceDirectory"
          + "Config\022@\n\007service\030\001 \001(\tB/\340A\002\372A)\n\'service"
          + "directory.googleapis.com/Service\"L\n\010Tool"
          + "Type\022\031\n\025TOOL_TYPE_UNSPECIFIED\020\000\022\023\n\017CUSTO"
          + "MIZED_TOOL\020\001\022\020\n\014BUILTIN_TOOL\020\002:h\352Ae\n\036dia"
          + "logflow.googleapis.com/Tool\022Cprojects/{p"
          + "roject}/locations/{location}/agents/{age"
          + "nt}/tools/{tool}B\017\n\rspecification\"\025\n\023Exp"
          + "ortToolsMetadata2\221\n\n\005Tools\022\302\001\n\nCreateToo"
          + "l\0225.google.cloud.dialogflow.cx.v3beta1.C"
          + "reateToolRequest\032(.google.cloud.dialogfl"
          + "ow.cx.v3beta1.Tool\"S\332A\013parent,tool\202\323\344\223\002?"
          + "\"7/v3beta1/{parent=projects/*/locations/"
          + "*/agents/*}/tools:\004tool\022\302\001\n\tListTools\0224."
          + "google.cloud.dialogflow.cx.v3beta1.ListT"
          + "oolsRequest\0325.google.cloud.dialogflow.cx"
          + ".v3beta1.ListToolsResponse\"H\332A\006parent\202\323\344"
          + "\223\0029\0227/v3beta1/{parent=projects/*/locatio"
          + "ns/*/agents/*}/tools\022\334\001\n\013ExportTools\0226.g"
          + "oogle.cloud.dialogflow.cx.v3beta1.Export"
          + "ToolsRequest\032\035.google.longrunning.Operat"
          + "ion\"v\312A*\n\023ExportToolsResponse\022\023ExportToo"
          + "lsMetadata\202\323\344\223\002C\">/v3beta1/{parent=proje"
          + "cts/*/locations/*/agents/*}/tools:export"
          + ":\001*\022\257\001\n\007GetTool\0222.google.cloud.dialogflo"
          + "w.cx.v3beta1.GetToolRequest\032(.google.clo"
          + "ud.dialogflow.cx.v3beta1.Tool\"F\332A\004name\202\323"
          + "\344\223\0029\0227/v3beta1/{name=projects/*/location"
          + "s/*/agents/*/tools/*}\022\314\001\n\nUpdateTool\0225.g"
          + "oogle.cloud.dialogflow.cx.v3beta1.Update"
          + "ToolRequest\032(.google.cloud.dialogflow.cx"
          + ".v3beta1.Tool\"]\332A\020tool,update_mask\202\323\344\223\002D"
          + "2




© 2015 - 2024 Weber Informatics LLC | Privacy Policy