// Copyright 2026 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
//
//     http://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.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.2
// source: google/cloud/dialogflow/v2/tool_call.proto

package dialogflowpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	structpb "google.golang.org/protobuf/types/known/structpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Tool call states.
type ToolCall_State int32

const (
	// Default value.
	ToolCall_STATE_UNSPECIFIED ToolCall_State = 0
	// The tool call has been triggered.
	ToolCall_TRIGGERED ToolCall_State = 1
	// The tool call requires confirmation from a human.
	ToolCall_NEEDS_CONFIRMATION ToolCall_State = 2
)

// Enum value maps for ToolCall_State.
var (
	ToolCall_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "TRIGGERED",
		2: "NEEDS_CONFIRMATION",
	}
	ToolCall_State_value = map[string]int32{
		"STATE_UNSPECIFIED":  0,
		"TRIGGERED":          1,
		"NEEDS_CONFIRMATION": 2,
	}
)

func (x ToolCall_State) Enum() *ToolCall_State {
	p := new(ToolCall_State)
	*p = x
	return p
}

func (x ToolCall_State) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ToolCall_State) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_v2_tool_call_proto_enumTypes[0].Descriptor()
}

func (ToolCall_State) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_v2_tool_call_proto_enumTypes[0]
}

func (x ToolCall_State) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ToolCall_State.Descriptor instead.
func (ToolCall_State) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_tool_call_proto_rawDescGZIP(), []int{0, 0}
}

// Represents a call of a specific tool's action with the specified inputs.
type ToolCall struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Specifies the source of this tool call.
	//
	// Types that are valid to be assigned to Source:
	//
	//	*ToolCall_Tool
	//	*ToolCall_CesTool
	//	*ToolCall_CesToolset
	//	*ToolCall_CesApp
	Source isToolCall_Source `protobuf_oneof:"source"`
	// Optional. A human readable short name of the tool, to be shown on the UI.
	ToolDisplayName string `protobuf:"bytes,9,opt,name=tool_display_name,json=toolDisplayName,proto3" json:"tool_display_name,omitempty"`
	// Optional. A human readable description of the tool.
	ToolDisplayDetails string `protobuf:"bytes,10,opt,name=tool_display_details,json=toolDisplayDetails,proto3" json:"tool_display_details,omitempty"`
	// Optional. The name of the tool's action associated with this call.
	Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// Optional. The action's input parameters.
	InputParameters *structpb.Struct `protobuf:"bytes,3,opt,name=input_parameters,json=inputParameters,proto3" json:"input_parameters,omitempty"`
	// Output only. Create time of the tool call.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Optional. The answer record associated with this tool call.
	AnswerRecord string `protobuf:"bytes,6,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"`
	// Output only. State of the tool call.
	State         ToolCall_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.dialogflow.v2.ToolCall_State" json:"state,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ToolCall) Reset() {
	*x = ToolCall{}
	mi := &file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ToolCall) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ToolCall) ProtoMessage() {}

func (x *ToolCall) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ToolCall.ProtoReflect.Descriptor instead.
func (*ToolCall) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_tool_call_proto_rawDescGZIP(), []int{0}
}

func (x *ToolCall) GetSource() isToolCall_Source {
	if x != nil {
		return x.Source
	}
	return nil
}

func (x *ToolCall) GetTool() string {
	if x != nil {
		if x, ok := x.Source.(*ToolCall_Tool); ok {
			return x.Tool
		}
	}
	return ""
}

func (x *ToolCall) GetCesTool() string {
	if x != nil {
		if x, ok := x.Source.(*ToolCall_CesTool); ok {
			return x.CesTool
		}
	}
	return ""
}

func (x *ToolCall) GetCesToolset() string {
	if x != nil {
		if x, ok := x.Source.(*ToolCall_CesToolset); ok {
			return x.CesToolset
		}
	}
	return ""
}

func (x *ToolCall) GetCesApp() string {
	if x != nil {
		if x, ok := x.Source.(*ToolCall_CesApp); ok {
			return x.CesApp
		}
	}
	return ""
}

func (x *ToolCall) GetToolDisplayName() string {
	if x != nil {
		return x.ToolDisplayName
	}
	return ""
}

func (x *ToolCall) GetToolDisplayDetails() string {
	if x != nil {
		return x.ToolDisplayDetails
	}
	return ""
}

func (x *ToolCall) GetAction() string {
	if x != nil {
		return x.Action
	}
	return ""
}

func (x *ToolCall) GetInputParameters() *structpb.Struct {
	if x != nil {
		return x.InputParameters
	}
	return nil
}

func (x *ToolCall) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *ToolCall) GetAnswerRecord() string {
	if x != nil {
		return x.AnswerRecord
	}
	return ""
}

func (x *ToolCall) GetState() ToolCall_State {
	if x != nil {
		return x.State
	}
	return ToolCall_STATE_UNSPECIFIED
}

type isToolCall_Source interface {
	isToolCall_Source()
}

type ToolCall_Tool struct {
	// Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with
	// this call. Format:
	// `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
	Tool string `protobuf:"bytes,1,opt,name=tool,proto3,oneof"`
}

type ToolCall_CesTool struct {
	// Optional. CES tool name for this call.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
	CesTool string `protobuf:"bytes,11,opt,name=ces_tool,json=cesTool,proto3,oneof"`
}

type ToolCall_CesToolset struct {
	// Optional. CES toolset name for this call.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
	CesToolset string `protobuf:"bytes,12,opt,name=ces_toolset,json=cesToolset,proto3,oneof"`
}

type ToolCall_CesApp struct {
	// Optional. CES app name for this call.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
	CesApp string `protobuf:"bytes,8,opt,name=ces_app,json=cesApp,proto3,oneof"`
}

func (*ToolCall_Tool) isToolCall_Source() {}

func (*ToolCall_CesTool) isToolCall_Source() {}

func (*ToolCall_CesToolset) isToolCall_Source() {}

func (*ToolCall_CesApp) isToolCall_Source() {}

// The result of calling a tool's action.
type ToolCallResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Specifies the source of this tool call.
	//
	// Types that are valid to be assigned to Source:
	//
	//	*ToolCallResult_Tool
	//	*ToolCallResult_CesToolset
	//	*ToolCallResult_CesTool
	//	*ToolCallResult_CesApp
	Source isToolCallResult_Source `protobuf_oneof:"source"`
	// Optional. The name of the tool's action associated with this call.
	Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// The tool call's result.
	//
	// Types that are valid to be assigned to Result:
	//
	//	*ToolCallResult_Error_
	//	*ToolCallResult_RawContent
	//	*ToolCallResult_Content
	Result isToolCallResult_Result `protobuf_oneof:"result"`
	// Output only. Create time of the tool call result.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Optional. The answer record associated with this tool call result.
	AnswerRecord  string `protobuf:"bytes,9,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ToolCallResult) Reset() {
	*x = ToolCallResult{}
	mi := &file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ToolCallResult) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ToolCallResult) ProtoMessage() {}

func (x *ToolCallResult) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ToolCallResult.ProtoReflect.Descriptor instead.
func (*ToolCallResult) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_tool_call_proto_rawDescGZIP(), []int{1}
}

func (x *ToolCallResult) GetSource() isToolCallResult_Source {
	if x != nil {
		return x.Source
	}
	return nil
}

func (x *ToolCallResult) GetTool() string {
	if x != nil {
		if x, ok := x.Source.(*ToolCallResult_Tool); ok {
			return x.Tool
		}
	}
	return ""
}

func (x *ToolCallResult) GetCesToolset() string {
	if x != nil {
		if x, ok := x.Source.(*ToolCallResult_CesToolset); ok {
			return x.CesToolset
		}
	}
	return ""
}

func (x *ToolCallResult) GetCesTool() string {
	if x != nil {
		if x, ok := x.Source.(*ToolCallResult_CesTool); ok {
			return x.CesTool
		}
	}
	return ""
}

func (x *ToolCallResult) GetCesApp() string {
	if x != nil {
		if x, ok := x.Source.(*ToolCallResult_CesApp); ok {
			return x.CesApp
		}
	}
	return ""
}

func (x *ToolCallResult) GetAction() string {
	if x != nil {
		return x.Action
	}
	return ""
}

func (x *ToolCallResult) GetResult() isToolCallResult_Result {
	if x != nil {
		return x.Result
	}
	return nil
}

func (x *ToolCallResult) GetError() *ToolCallResult_Error {
	if x != nil {
		if x, ok := x.Result.(*ToolCallResult_Error_); ok {
			return x.Error
		}
	}
	return nil
}

func (x *ToolCallResult) GetRawContent() []byte {
	if x != nil {
		if x, ok := x.Result.(*ToolCallResult_RawContent); ok {
			return x.RawContent
		}
	}
	return nil
}

func (x *ToolCallResult) GetContent() string {
	if x != nil {
		if x, ok := x.Result.(*ToolCallResult_Content); ok {
			return x.Content
		}
	}
	return ""
}

func (x *ToolCallResult) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

func (x *ToolCallResult) GetAnswerRecord() string {
	if x != nil {
		return x.AnswerRecord
	}
	return ""
}

type isToolCallResult_Source interface {
	isToolCallResult_Source()
}

type ToolCallResult_Tool struct {
	// Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with
	// this call. Format:
	// `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
	Tool string `protobuf:"bytes,1,opt,name=tool,proto3,oneof"`
}

type ToolCallResult_CesToolset struct {
	// Optional. CES toolset name for this call.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
	CesToolset string `protobuf:"bytes,13,opt,name=ces_toolset,json=cesToolset,proto3,oneof"`
}

type ToolCallResult_CesTool struct {
	// Optional. CES tool name for this call.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
	CesTool string `protobuf:"bytes,12,opt,name=ces_tool,json=cesTool,proto3,oneof"`
}

type ToolCallResult_CesApp struct {
	// Optional. CES app name for this call.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
	CesApp string `protobuf:"bytes,11,opt,name=ces_app,json=cesApp,proto3,oneof"`
}

func (*ToolCallResult_Tool) isToolCallResult_Source() {}

func (*ToolCallResult_CesToolset) isToolCallResult_Source() {}

func (*ToolCallResult_CesTool) isToolCallResult_Source() {}

func (*ToolCallResult_CesApp) isToolCallResult_Source() {}

type isToolCallResult_Result interface {
	isToolCallResult_Result()
}

type ToolCallResult_Error_ struct {
	// The tool call's error.
	Error *ToolCallResult_Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ToolCallResult_RawContent struct {
	// Only populated if the response content is not utf-8 encoded.
	// (by definition byte fields are base64 encoded).
	RawContent []byte `protobuf:"bytes,5,opt,name=raw_content,json=rawContent,proto3,oneof"`
}

type ToolCallResult_Content struct {
	// Only populated if the response content is utf-8 encoded.
	Content string `protobuf:"bytes,6,opt,name=content,proto3,oneof"`
}

func (*ToolCallResult_Error_) isToolCallResult_Result() {}

func (*ToolCallResult_RawContent) isToolCallResult_Result() {}

func (*ToolCallResult_Content) isToolCallResult_Result() {}

// An error produced by the tool call.
type ToolCallResult_Error struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. The error message of the function.
	Message       string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ToolCallResult_Error) Reset() {
	*x = ToolCallResult_Error{}
	mi := &file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ToolCallResult_Error) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ToolCallResult_Error) ProtoMessage() {}

func (x *ToolCallResult_Error) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ToolCallResult_Error.ProtoReflect.Descriptor instead.
func (*ToolCallResult_Error) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2_tool_call_proto_rawDescGZIP(), []int{1, 0}
}

func (x *ToolCallResult_Error) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

var File_google_cloud_dialogflow_v2_tool_call_proto protoreflect.FileDescriptor

const file_google_cloud_dialogflow_v2_tool_call_proto_rawDesc = "" +
	"\n" +
	"*google/cloud/dialogflow/v2/tool_call.proto\x12\x1agoogle.cloud.dialogflow.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xda\x05\n" +
	"\bToolCall\x12<\n" +
	"\x04tool\x18\x01 \x01(\tB&\xe0A\x01\xfaA \n" +
	"\x1edialogflow.googleapis.com/ToolH\x00R\x04tool\x12<\n" +
	"\bces_tool\x18\v \x01(\tB\x1f\xe0A\x01\xfaA\x19\n" +
	"\x17ces.googleapis.com/ToolH\x00R\acesTool\x12E\n" +
	"\vces_toolset\x18\f \x01(\tB\"\xe0A\x01\xfaA\x1c\n" +
	"\x1aces.googleapis.com/ToolsetH\x00R\n" +
	"cesToolset\x129\n" +
	"\aces_app\x18\b \x01(\tB\x1e\xe0A\x01\xfaA\x18\n" +
	"\x16ces.googleapis.com/AppH\x00R\x06cesApp\x12/\n" +
	"\x11tool_display_name\x18\t \x01(\tB\x03\xe0A\x01R\x0ftoolDisplayName\x125\n" +
	"\x14tool_display_details\x18\n" +
	" \x01(\tB\x03\xe0A\x01R\x12toolDisplayDetails\x12\x1b\n" +
	"\x06action\x18\x02 \x01(\tB\x03\xe0A\x01R\x06action\x12G\n" +
	"\x10input_parameters\x18\x03 \x01(\v2\x17.google.protobuf.StructB\x03\xe0A\x01R\x0finputParameters\x12@\n" +
	"\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12(\n" +
	"\ranswer_record\x18\x06 \x01(\tB\x03\xe0A\x01R\fanswerRecord\x12E\n" +
	"\x05state\x18\a \x01(\x0e2*.google.cloud.dialogflow.v2.ToolCall.StateB\x03\xe0A\x03R\x05state\"E\n" +
	"\x05State\x12\x15\n" +
	"\x11STATE_UNSPECIFIED\x10\x00\x12\r\n" +
	"\tTRIGGERED\x10\x01\x12\x16\n" +
	"\x12NEEDS_CONFIRMATION\x10\x02B\b\n" +
	"\x06source\"\xdc\x04\n" +
	"\x0eToolCallResult\x12<\n" +
	"\x04tool\x18\x01 \x01(\tB&\xe0A\x01\xfaA \n" +
	"\x1edialogflow.googleapis.com/ToolH\x00R\x04tool\x12E\n" +
	"\vces_toolset\x18\r \x01(\tB\"\xe0A\x01\xfaA\x1c\n" +
	"\x1aces.googleapis.com/ToolsetH\x00R\n" +
	"cesToolset\x12<\n" +
	"\bces_tool\x18\f \x01(\tB\x1f\xe0A\x01\xfaA\x19\n" +
	"\x17ces.googleapis.com/ToolH\x00R\acesTool\x129\n" +
	"\aces_app\x18\v \x01(\tB\x1e\xe0A\x01\xfaA\x18\n" +
	"\x16ces.googleapis.com/AppH\x00R\x06cesApp\x12\x1b\n" +
	"\x06action\x18\x02 \x01(\tB\x03\xe0A\x01R\x06action\x12H\n" +
	"\x05error\x18\x03 \x01(\v20.google.cloud.dialogflow.v2.ToolCallResult.ErrorH\x01R\x05error\x12!\n" +
	"\vraw_content\x18\x05 \x01(\fH\x01R\n" +
	"rawContent\x12\x1a\n" +
	"\acontent\x18\x06 \x01(\tH\x01R\acontent\x12@\n" +
	"\vcreate_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12(\n" +
	"\ranswer_record\x18\t \x01(\tB\x03\xe0A\x01R\fanswerRecord\x1a&\n" +
	"\x05Error\x12\x1d\n" +
	"\amessage\x18\x01 \x01(\tB\x03\xe0A\x01R\amessageB\b\n" +
	"\x06sourceB\b\n" +
	"\x06resultB\x93\x01\n" +
	"\x1ecom.google.cloud.dialogflow.v2B\rToolCallProtoP\x01Z>cloud.google.com/go/dialogflow/apiv2/dialogflowpb;dialogflowpb\xa2\x02\x02DF\xaa\x02\x1aGoogle.Cloud.Dialogflow.V2b\x06proto3"

var (
	file_google_cloud_dialogflow_v2_tool_call_proto_rawDescOnce sync.Once
	file_google_cloud_dialogflow_v2_tool_call_proto_rawDescData []byte
)

func file_google_cloud_dialogflow_v2_tool_call_proto_rawDescGZIP() []byte {
	file_google_cloud_dialogflow_v2_tool_call_proto_rawDescOnce.Do(func() {
		file_google_cloud_dialogflow_v2_tool_call_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_v2_tool_call_proto_rawDesc), len(file_google_cloud_dialogflow_v2_tool_call_proto_rawDesc)))
	})
	return file_google_cloud_dialogflow_v2_tool_call_proto_rawDescData
}

var file_google_cloud_dialogflow_v2_tool_call_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_google_cloud_dialogflow_v2_tool_call_proto_goTypes = []any{
	(ToolCall_State)(0),           // 0: google.cloud.dialogflow.v2.ToolCall.State
	(*ToolCall)(nil),              // 1: google.cloud.dialogflow.v2.ToolCall
	(*ToolCallResult)(nil),        // 2: google.cloud.dialogflow.v2.ToolCallResult
	(*ToolCallResult_Error)(nil),  // 3: google.cloud.dialogflow.v2.ToolCallResult.Error
	(*structpb.Struct)(nil),       // 4: google.protobuf.Struct
	(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
}
var file_google_cloud_dialogflow_v2_tool_call_proto_depIdxs = []int32{
	4, // 0: google.cloud.dialogflow.v2.ToolCall.input_parameters:type_name -> google.protobuf.Struct
	5, // 1: google.cloud.dialogflow.v2.ToolCall.create_time:type_name -> google.protobuf.Timestamp
	0, // 2: google.cloud.dialogflow.v2.ToolCall.state:type_name -> google.cloud.dialogflow.v2.ToolCall.State
	3, // 3: google.cloud.dialogflow.v2.ToolCallResult.error:type_name -> google.cloud.dialogflow.v2.ToolCallResult.Error
	5, // 4: google.cloud.dialogflow.v2.ToolCallResult.create_time:type_name -> google.protobuf.Timestamp
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_google_cloud_dialogflow_v2_tool_call_proto_init() }
func file_google_cloud_dialogflow_v2_tool_call_proto_init() {
	if File_google_cloud_dialogflow_v2_tool_call_proto != nil {
		return
	}
	file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes[0].OneofWrappers = []any{
		(*ToolCall_Tool)(nil),
		(*ToolCall_CesTool)(nil),
		(*ToolCall_CesToolset)(nil),
		(*ToolCall_CesApp)(nil),
	}
	file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes[1].OneofWrappers = []any{
		(*ToolCallResult_Tool)(nil),
		(*ToolCallResult_CesToolset)(nil),
		(*ToolCallResult_CesTool)(nil),
		(*ToolCallResult_CesApp)(nil),
		(*ToolCallResult_Error_)(nil),
		(*ToolCallResult_RawContent)(nil),
		(*ToolCallResult_Content)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_v2_tool_call_proto_rawDesc), len(file_google_cloud_dialogflow_v2_tool_call_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_dialogflow_v2_tool_call_proto_goTypes,
		DependencyIndexes: file_google_cloud_dialogflow_v2_tool_call_proto_depIdxs,
		EnumInfos:         file_google_cloud_dialogflow_v2_tool_call_proto_enumTypes,
		MessageInfos:      file_google_cloud_dialogflow_v2_tool_call_proto_msgTypes,
	}.Build()
	File_google_cloud_dialogflow_v2_tool_call_proto = out.File
	file_google_cloud_dialogflow_v2_tool_call_proto_goTypes = nil
	file_google_cloud_dialogflow_v2_tool_call_proto_depIdxs = nil
}
