// 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/v2beta1/agent_coaching_instruction.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"
)

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)
)

// The event that should trigger this instruction.
type AgentCoachingInstruction_TriggerEvent int32

const (
	// Default value for TriggerEvent.
	AgentCoachingInstruction_TRIGGER_EVENT_UNSPECIFIED AgentCoachingInstruction_TriggerEvent = 0
	// Triggers when each chat message or voice utterance ends.
	AgentCoachingInstruction_END_OF_UTTERANCE AgentCoachingInstruction_TriggerEvent = 1
	// Triggers on the conversation manually by API calls.
	AgentCoachingInstruction_MANUAL_CALL AgentCoachingInstruction_TriggerEvent = 2
	// Triggers after each customer message.
	AgentCoachingInstruction_CUSTOMER_MESSAGE AgentCoachingInstruction_TriggerEvent = 3
	// Triggers after each agent message.
	AgentCoachingInstruction_AGENT_MESSAGE AgentCoachingInstruction_TriggerEvent = 4
	// Triggers on tool call completion.
	AgentCoachingInstruction_TOOL_CALL_COMPLETION AgentCoachingInstruction_TriggerEvent = 5
)

// Enum value maps for AgentCoachingInstruction_TriggerEvent.
var (
	AgentCoachingInstruction_TriggerEvent_name = map[int32]string{
		0: "TRIGGER_EVENT_UNSPECIFIED",
		1: "END_OF_UTTERANCE",
		2: "MANUAL_CALL",
		3: "CUSTOMER_MESSAGE",
		4: "AGENT_MESSAGE",
		5: "TOOL_CALL_COMPLETION",
	}
	AgentCoachingInstruction_TriggerEvent_value = map[string]int32{
		"TRIGGER_EVENT_UNSPECIFIED": 0,
		"END_OF_UTTERANCE":          1,
		"MANUAL_CALL":               2,
		"CUSTOMER_MESSAGE":          3,
		"AGENT_MESSAGE":             4,
		"TOOL_CALL_COMPLETION":      5,
	}
)

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

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

func (AgentCoachingInstruction_TriggerEvent) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_enumTypes[0].Descriptor()
}

func (AgentCoachingInstruction_TriggerEvent) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_enumTypes[0]
}

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

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

// Agent Coaching instructions that customer can configure.
type AgentCoachingInstruction struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Display name for the instruction.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The detailed description of this instruction.
	DisplayDetails string `protobuf:"bytes,2,opt,name=display_details,json=displayDetails,proto3" json:"display_details,omitempty"`
	// Optional. The condition of the instruction. For example, "the customer
	// wants to cancel an order".  If the users want the instruction to be
	// triggered unconditionally, the condition can be empty.
	Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	// Optional. The action that human agent should take. For example, "apologize
	// for the slow shipping". If the users only want to use agent coaching for
	// intent detection, agent_action can be empty
	AgentAction string `protobuf:"bytes,4,opt,name=agent_action,json=agentAction,proto3" json:"agent_action,omitempty"`
	// Optional. The action that system should take. For example,
	// "call GetOrderTime with order_number={order number provided by the
	// customer}". If the users don't have plugins or don't want to trigger
	// plugins, the system_action can be empty
	SystemAction string `protobuf:"bytes,5,opt,name=system_action,json=systemAction,proto3" json:"system_action,omitempty"`
	// Output only. Duplication check for the AgentCoachingInstruction.
	DuplicateCheckResult *AgentCoachingInstruction_DuplicateCheckResult `protobuf:"bytes,8,opt,name=duplicate_check_result,json=duplicateCheckResult,proto3" json:"duplicate_check_result,omitempty"`
	// Optional. The event that should trigger this instruction.
	// If UNSPECIFIED, the instruction triggering will be same as the generator's
	// trigger_event.
	TriggeringEvent AgentCoachingInstruction_TriggerEvent `protobuf:"varint,10,opt,name=triggering_event,json=triggeringEvent,proto3,enum=google.cloud.dialogflow.v2beta1.AgentCoachingInstruction_TriggerEvent" json:"triggering_event,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*AgentCoachingInstruction) ProtoMessage() {}

func (x *AgentCoachingInstruction) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_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 AgentCoachingInstruction.ProtoReflect.Descriptor instead.
func (*AgentCoachingInstruction) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDescGZIP(), []int{0}
}

func (x *AgentCoachingInstruction) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

func (x *AgentCoachingInstruction) GetDisplayDetails() string {
	if x != nil {
		return x.DisplayDetails
	}
	return ""
}

func (x *AgentCoachingInstruction) GetCondition() string {
	if x != nil {
		return x.Condition
	}
	return ""
}

func (x *AgentCoachingInstruction) GetAgentAction() string {
	if x != nil {
		return x.AgentAction
	}
	return ""
}

func (x *AgentCoachingInstruction) GetSystemAction() string {
	if x != nil {
		return x.SystemAction
	}
	return ""
}

func (x *AgentCoachingInstruction) GetDuplicateCheckResult() *AgentCoachingInstruction_DuplicateCheckResult {
	if x != nil {
		return x.DuplicateCheckResult
	}
	return nil
}

func (x *AgentCoachingInstruction) GetTriggeringEvent() AgentCoachingInstruction_TriggerEvent {
	if x != nil {
		return x.TriggeringEvent
	}
	return AgentCoachingInstruction_TRIGGER_EVENT_UNSPECIFIED
}

// Duplication check for the suggestion.
type AgentCoachingInstruction_DuplicateCheckResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The duplicate suggestions.
	DuplicateSuggestions []*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion `protobuf:"bytes,1,rep,name=duplicate_suggestions,json=duplicateSuggestions,proto3" json:"duplicate_suggestions,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*AgentCoachingInstruction_DuplicateCheckResult) ProtoMessage() {}

func (x *AgentCoachingInstruction_DuplicateCheckResult) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_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 AgentCoachingInstruction_DuplicateCheckResult.ProtoReflect.Descriptor instead.
func (*AgentCoachingInstruction_DuplicateCheckResult) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDescGZIP(), []int{0, 0}
}

func (x *AgentCoachingInstruction_DuplicateCheckResult) GetDuplicateSuggestions() []*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion {
	if x != nil {
		return x.DuplicateSuggestions
	}
	return nil
}

// The duplicate suggestion details.
type AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The answer record id of the past duplicate suggestion.
	AnswerRecord string `protobuf:"bytes,1,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"`
	// Output only. The index of the duplicate suggestion in the past
	// suggestion list.
	SuggestionIndex int32 `protobuf:"varint,3,opt,name=suggestion_index,json=suggestionIndex,proto3" json:"suggestion_index,omitempty"`
	// Output only. The similarity score of between the past and current
	// suggestion.
	SimilarityScore float32 `protobuf:"fixed32,4,opt,name=similarity_score,json=similarityScore,proto3" json:"similarity_score,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) ProtoMessage() {}

func (x *AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_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 AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion.ProtoReflect.Descriptor instead.
func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDescGZIP(), []int{0, 0, 0}
}

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

func (x *AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) GetSuggestionIndex() int32 {
	if x != nil {
		return x.SuggestionIndex
	}
	return 0
}

func (x *AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) GetSimilarityScore() float32 {
	if x != nil {
		return x.SimilarityScore
	}
	return 0
}

var File_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto protoreflect.FileDescriptor

const file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDesc = "" +
	"\n" +
	"@google/cloud/dialogflow/v2beta1/agent_coaching_instruction.proto\x12\x1fgoogle.cloud.dialogflow.v2beta1\x1a\x1fgoogle/api/field_behavior.proto\"\xdd\a\n" +
	"\x18AgentCoachingInstruction\x12&\n" +
	"\fdisplay_name\x18\x01 \x01(\tB\x03\xe0A\x01R\vdisplayName\x12,\n" +
	"\x0fdisplay_details\x18\x02 \x01(\tB\x03\xe0A\x01R\x0edisplayDetails\x12!\n" +
	"\tcondition\x18\x03 \x01(\tB\x03\xe0A\x01R\tcondition\x12&\n" +
	"\fagent_action\x18\x04 \x01(\tB\x03\xe0A\x01R\vagentAction\x12(\n" +
	"\rsystem_action\x18\x05 \x01(\tB\x03\xe0A\x01R\fsystemAction\x12\x89\x01\n" +
	"\x16duplicate_check_result\x18\b \x01(\v2N.google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResultB\x03\xe0A\x03R\x14duplicateCheckResult\x12v\n" +
	"\x10triggering_event\x18\n" +
	" \x01(\x0e2F.google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.TriggerEventB\x03\xe0A\x01R\x0ftriggeringEvent\x1a\xd7\x02\n" +
	"\x14DuplicateCheckResult\x12\x9c\x01\n" +
	"\x15duplicate_suggestions\x18\x01 \x03(\v2b.google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestionB\x03\xe0A\x03R\x14duplicateSuggestions\x1a\x9f\x01\n" +
	"\x13DuplicateSuggestion\x12(\n" +
	"\ranswer_record\x18\x01 \x01(\tB\x03\xe0A\x03R\fanswerRecord\x12.\n" +
	"\x10suggestion_index\x18\x03 \x01(\x05B\x03\xe0A\x03R\x0fsuggestionIndex\x12.\n" +
	"\x10similarity_score\x18\x04 \x01(\x02B\x03\xe0A\x03R\x0fsimilarityScore\"\x97\x01\n" +
	"\fTriggerEvent\x12\x1d\n" +
	"\x19TRIGGER_EVENT_UNSPECIFIED\x10\x00\x12\x14\n" +
	"\x10END_OF_UTTERANCE\x10\x01\x12\x0f\n" +
	"\vMANUAL_CALL\x10\x02\x12\x14\n" +
	"\x10CUSTOMER_MESSAGE\x10\x03\x12\x11\n" +
	"\rAGENT_MESSAGE\x10\x04\x12\x18\n" +
	"\x14TOOL_CALL_COMPLETION\x10\x05B\xb2\x01\n" +
	"#com.google.cloud.dialogflow.v2beta1B\x1dAgentCoachingInstructionProtoP\x01ZCcloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb;dialogflowpb\xa2\x02\x02DF\xaa\x02\x1fGoogle.Cloud.Dialogflow.V2Beta1b\x06proto3"

var (
	file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDescOnce sync.Once
	file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDescData []byte
)

func file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDescGZIP() []byte {
	file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDescOnce.Do(func() {
		file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDesc), len(file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDesc)))
	})
	return file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDescData
}

var file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_goTypes = []any{
	(AgentCoachingInstruction_TriggerEvent)(0),                                // 0: google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.TriggerEvent
	(*AgentCoachingInstruction)(nil),                                          // 1: google.cloud.dialogflow.v2beta1.AgentCoachingInstruction
	(*AgentCoachingInstruction_DuplicateCheckResult)(nil),                     // 2: google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult
	(*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion)(nil), // 3: google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion
}
var file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_depIdxs = []int32{
	2, // 0: google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.duplicate_check_result:type_name -> google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult
	0, // 1: google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.triggering_event:type_name -> google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.TriggerEvent
	3, // 2: google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult.duplicate_suggestions:type_name -> google.cloud.dialogflow.v2beta1.AgentCoachingInstruction.DuplicateCheckResult.DuplicateSuggestion
	3, // [3:3] is the sub-list for method output_type
	3, // [3:3] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_init() }
func file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_init() {
	if File_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDesc), len(file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_goTypes,
		DependencyIndexes: file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_depIdxs,
		EnumInfos:         file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_enumTypes,
		MessageInfos:      file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_msgTypes,
	}.Build()
	File_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto = out.File
	file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_goTypes = nil
	file_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto_depIdxs = nil
}
