// 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/cx/v3/flow.proto

package cxpb

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

	longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	_ "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)
)

// NLU model type.
type NluSettings_ModelType int32

const (
	// Not specified. `MODEL_TYPE_STANDARD` will be used.
	NluSettings_MODEL_TYPE_UNSPECIFIED NluSettings_ModelType = 0
	// Use standard NLU model.
	NluSettings_MODEL_TYPE_STANDARD NluSettings_ModelType = 1
	// Use advanced NLU model.
	NluSettings_MODEL_TYPE_ADVANCED NluSettings_ModelType = 3
)

// Enum value maps for NluSettings_ModelType.
var (
	NluSettings_ModelType_name = map[int32]string{
		0: "MODEL_TYPE_UNSPECIFIED",
		1: "MODEL_TYPE_STANDARD",
		3: "MODEL_TYPE_ADVANCED",
	}
	NluSettings_ModelType_value = map[string]int32{
		"MODEL_TYPE_UNSPECIFIED": 0,
		"MODEL_TYPE_STANDARD":    1,
		"MODEL_TYPE_ADVANCED":    3,
	}
)

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

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

func (NluSettings_ModelType) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_enumTypes[0].Descriptor()
}

func (NluSettings_ModelType) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_cx_v3_flow_proto_enumTypes[0]
}

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

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

// NLU model training mode.
type NluSettings_ModelTrainingMode int32

const (
	// Not specified. `MODEL_TRAINING_MODE_AUTOMATIC` will be used.
	NluSettings_MODEL_TRAINING_MODE_UNSPECIFIED NluSettings_ModelTrainingMode = 0
	// NLU model training is automatically triggered when a flow gets modified.
	// User can also manually trigger model training in this mode.
	NluSettings_MODEL_TRAINING_MODE_AUTOMATIC NluSettings_ModelTrainingMode = 1
	// User needs to manually trigger NLU model training. Best for large flows
	// whose models take long time to train.
	NluSettings_MODEL_TRAINING_MODE_MANUAL NluSettings_ModelTrainingMode = 2
)

// Enum value maps for NluSettings_ModelTrainingMode.
var (
	NluSettings_ModelTrainingMode_name = map[int32]string{
		0: "MODEL_TRAINING_MODE_UNSPECIFIED",
		1: "MODEL_TRAINING_MODE_AUTOMATIC",
		2: "MODEL_TRAINING_MODE_MANUAL",
	}
	NluSettings_ModelTrainingMode_value = map[string]int32{
		"MODEL_TRAINING_MODE_UNSPECIFIED": 0,
		"MODEL_TRAINING_MODE_AUTOMATIC":   1,
		"MODEL_TRAINING_MODE_MANUAL":      2,
	}
)

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

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

func (NluSettings_ModelTrainingMode) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_enumTypes[1].Descriptor()
}

func (NluSettings_ModelTrainingMode) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_cx_v3_flow_proto_enumTypes[1]
}

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

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

// Import option.
type ImportFlowRequest_ImportOption int32

const (
	// Unspecified. Treated as `KEEP`.
	ImportFlowRequest_IMPORT_OPTION_UNSPECIFIED ImportFlowRequest_ImportOption = 0
	// Always respect settings in exported flow content. It may cause a
	// import failure if some settings (e.g. custom NLU) are not supported in
	// the agent to import into.
	ImportFlowRequest_KEEP ImportFlowRequest_ImportOption = 1
	// Fallback to default settings if some settings are not supported in the
	// agent to import into. E.g. Standard NLU will be used if custom NLU is
	// not available.
	ImportFlowRequest_FALLBACK ImportFlowRequest_ImportOption = 2
)

// Enum value maps for ImportFlowRequest_ImportOption.
var (
	ImportFlowRequest_ImportOption_name = map[int32]string{
		0: "IMPORT_OPTION_UNSPECIFIED",
		1: "KEEP",
		2: "FALLBACK",
	}
	ImportFlowRequest_ImportOption_value = map[string]int32{
		"IMPORT_OPTION_UNSPECIFIED": 0,
		"KEEP":                      1,
		"FALLBACK":                  2,
	}
)

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

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

func (ImportFlowRequest_ImportOption) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_enumTypes[2].Descriptor()
}

func (ImportFlowRequest_ImportOption) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_cx_v3_flow_proto_enumTypes[2]
}

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

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

// Settings related to NLU.
type NluSettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Indicates the type of NLU model.
	ModelType NluSettings_ModelType `protobuf:"varint,1,opt,name=model_type,json=modelType,proto3,enum=google.cloud.dialogflow.cx.v3.NluSettings_ModelType" json:"model_type,omitempty"`
	// To filter out false positive results and still get variety in matched
	// natural language inputs for your agent, you can tune the machine learning
	// classification threshold. If the returned score value is less than the
	// threshold value, then a no-match event will be triggered. The score values
	// range from 0.0 (completely uncertain) to 1.0 (completely certain). If set
	// to 0.0, the default of 0.3 is used. You can set a separate classification
	// threshold for the flow in each language enabled for the agent.
	ClassificationThreshold float32 `protobuf:"fixed32,3,opt,name=classification_threshold,json=classificationThreshold,proto3" json:"classification_threshold,omitempty"`
	// Indicates NLU model training mode.
	ModelTrainingMode NluSettings_ModelTrainingMode `protobuf:"varint,4,opt,name=model_training_mode,json=modelTrainingMode,proto3,enum=google.cloud.dialogflow.cx.v3.NluSettings_ModelTrainingMode" json:"model_training_mode,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*NluSettings) ProtoMessage() {}

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

func (x *NluSettings) GetModelType() NluSettings_ModelType {
	if x != nil {
		return x.ModelType
	}
	return NluSettings_MODEL_TYPE_UNSPECIFIED
}

func (x *NluSettings) GetClassificationThreshold() float32 {
	if x != nil {
		return x.ClassificationThreshold
	}
	return 0
}

func (x *NluSettings) GetModelTrainingMode() NluSettings_ModelTrainingMode {
	if x != nil {
		return x.ModelTrainingMode
	}
	return NluSettings_MODEL_TRAINING_MODE_UNSPECIFIED
}

// Flows represents the conversation flows when you build your chatbot agent.
//
// A flow consists of many pages connected by the transition routes.
// Conversations always start with the built-in Start Flow (with an all-0 ID).
// Transition routes can direct the conversation session from the current flow
// (parent flow) to another flow (sub flow). When the sub flow is finished,
// Dialogflow will bring the session back to the parent flow, where the sub flow
// is started.
//
// Usually, when a transition route is followed by a matched intent, the intent
// will be "consumed". This means the intent won't activate more transition
// routes. However, when the followed transition route moves the conversation
// session into a different flow, the matched intent can be carried over and to
// be consumed in the target flow.
type Flow struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The unique identifier of the flow.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The human-readable name of the flow.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The description of the flow. The maximum length is 500 characters. If
	// exceeded, the request is rejected.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// A flow's transition routes serve two purposes:
	//
	// *   They are responsible for matching the user's first utterances in the
	// flow.
	// *   They are inherited by every page's [transition
	// routes][Page.transition_routes] and can support use cases such as the user
	// saying "help" or "can I talk to a human?", which can be handled in a common
	// way regardless of the current page. Transition routes defined in the page
	// have higher priority than those defined in the flow.
	//
	// TransitionRoutes are evaluated in the following order:
	//
	// *   TransitionRoutes with intent specified.
	// *   TransitionRoutes with only condition specified.
	//
	// TransitionRoutes with intent specified are inherited by pages in the flow.
	TransitionRoutes []*TransitionRoute `protobuf:"bytes,4,rep,name=transition_routes,json=transitionRoutes,proto3" json:"transition_routes,omitempty"`
	// A flow's event handlers serve two purposes:
	//
	// *   They are responsible for handling events (e.g. no match,
	// webhook errors) in the flow.
	// *   They are inherited by every page's [event
	// handlers][Page.event_handlers], which can be used to handle common events
	// regardless of the current page. Event handlers defined in the page
	// have higher priority than those defined in the flow.
	//
	// Unlike
	// [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes],
	// these handlers are evaluated on a first-match basis. The first one that
	// matches the event get executed, with the rest being ignored.
	EventHandlers []*EventHandler `protobuf:"bytes,10,rep,name=event_handlers,json=eventHandlers,proto3" json:"event_handlers,omitempty"`
	// A flow's transition route group serve two purposes:
	//
	// *   They are responsible for matching the user's first utterances in the
	// flow.
	// *   They are inherited by every page's [transition
	// route groups][Page.transition_route_groups]. Transition route groups
	// defined in the page have higher priority than those defined in the flow.
	//
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>`
	// or
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>`
	// for agent-level groups.
	TransitionRouteGroups []string `protobuf:"bytes,15,rep,name=transition_route_groups,json=transitionRouteGroups,proto3" json:"transition_route_groups,omitempty"`
	// NLU related settings of the flow.
	NluSettings *NluSettings `protobuf:"bytes,11,opt,name=nlu_settings,json=nluSettings,proto3" json:"nlu_settings,omitempty"`
	// Hierarchical advanced settings for this flow. The settings exposed at the
	// lower level overrides the settings exposed at the higher level.
	AdvancedSettings *AdvancedSettings `protobuf:"bytes,14,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"`
	// Optional. Knowledge connector configuration.
	KnowledgeConnectorSettings *KnowledgeConnectorSettings `protobuf:"bytes,18,opt,name=knowledge_connector_settings,json=knowledgeConnectorSettings,proto3" json:"knowledge_connector_settings,omitempty"`
	// Optional. Defined structured input parameters for this flow.
	InputParameterDefinitions []*ParameterDefinition `protobuf:"bytes,26,rep,name=input_parameter_definitions,json=inputParameterDefinitions,proto3" json:"input_parameter_definitions,omitempty"`
	// Optional. Defined structured output parameters for this flow.
	OutputParameterDefinitions []*ParameterDefinition `protobuf:"bytes,27,rep,name=output_parameter_definitions,json=outputParameterDefinitions,proto3" json:"output_parameter_definitions,omitempty"`
	// Optional. Multi-lingual agent settings for this flow.
	MultiLanguageSettings *Flow_MultiLanguageSettings `protobuf:"bytes,28,opt,name=multi_language_settings,json=multiLanguageSettings,proto3" json:"multi_language_settings,omitempty"`
	// Indicates whether the flow is locked for changes. If the flow is locked,
	// modifications to the flow will be rejected.
	Locked        bool `protobuf:"varint,30,opt,name=locked,proto3" json:"locked,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Flow) ProtoMessage() {}

func (x *Flow) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_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 Flow.ProtoReflect.Descriptor instead.
func (*Flow) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{1}
}

func (x *Flow) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

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

func (x *Flow) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *Flow) GetTransitionRoutes() []*TransitionRoute {
	if x != nil {
		return x.TransitionRoutes
	}
	return nil
}

func (x *Flow) GetEventHandlers() []*EventHandler {
	if x != nil {
		return x.EventHandlers
	}
	return nil
}

func (x *Flow) GetTransitionRouteGroups() []string {
	if x != nil {
		return x.TransitionRouteGroups
	}
	return nil
}

func (x *Flow) GetNluSettings() *NluSettings {
	if x != nil {
		return x.NluSettings
	}
	return nil
}

func (x *Flow) GetAdvancedSettings() *AdvancedSettings {
	if x != nil {
		return x.AdvancedSettings
	}
	return nil
}

func (x *Flow) GetKnowledgeConnectorSettings() *KnowledgeConnectorSettings {
	if x != nil {
		return x.KnowledgeConnectorSettings
	}
	return nil
}

func (x *Flow) GetInputParameterDefinitions() []*ParameterDefinition {
	if x != nil {
		return x.InputParameterDefinitions
	}
	return nil
}

func (x *Flow) GetOutputParameterDefinitions() []*ParameterDefinition {
	if x != nil {
		return x.OutputParameterDefinitions
	}
	return nil
}

func (x *Flow) GetMultiLanguageSettings() *Flow_MultiLanguageSettings {
	if x != nil {
		return x.MultiLanguageSettings
	}
	return nil
}

func (x *Flow) GetLocked() bool {
	if x != nil {
		return x.Locked
	}
	return false
}

// The request message for
// [Flows.CreateFlow][google.cloud.dialogflow.cx.v3.Flows.CreateFlow].
type CreateFlowRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The agent to create a flow for.
	// Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The flow to create.
	Flow *Flow `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
	// The language of the following fields in `flow`:
	//
	// *  `Flow.event_handlers.trigger_fulfillment.messages`
	// *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
	// *  `Flow.transition_routes.trigger_fulfillment.messages`
	// *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
	//
	// If not specified, the agent's default language is used.
	// [Many
	// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
	// are supported.
	// Note: languages must be enabled in the agent before they can be used.
	LanguageCode  string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateFlowRequest) ProtoMessage() {}

func (x *CreateFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_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 CreateFlowRequest.ProtoReflect.Descriptor instead.
func (*CreateFlowRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{2}
}

func (x *CreateFlowRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *CreateFlowRequest) GetFlow() *Flow {
	if x != nil {
		return x.Flow
	}
	return nil
}

func (x *CreateFlowRequest) GetLanguageCode() string {
	if x != nil {
		return x.LanguageCode
	}
	return ""
}

// The request message for
// [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3.Flows.DeleteFlow].
type DeleteFlowRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the flow to delete.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// This field has no effect for flows with no incoming transitions.
	// For flows with incoming transitions:
	//
	//   - If `force` is set to false, an error will be returned with message
	//     indicating the incoming transitions.
	//   - If `force` is set to true, Dialogflow will remove the flow, as well as
	//     any transitions to the flow (i.e. [Target
	//     flow][EventHandler.target_flow] in event handlers or [Target
	//     flow][TransitionRoute.target_flow] in transition routes that point to
	//     this flow will be cleared).
	Force         bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteFlowRequest) Reset() {
	*x = DeleteFlowRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteFlowRequest) ProtoMessage() {}

func (x *DeleteFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[3]
	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 DeleteFlowRequest.ProtoReflect.Descriptor instead.
func (*DeleteFlowRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{3}
}

func (x *DeleteFlowRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *DeleteFlowRequest) GetForce() bool {
	if x != nil {
		return x.Force
	}
	return false
}

// The request message for
// [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows].
type ListFlowsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The agent containing the flows.
	// Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The language to list flows for. The following fields are language
	// dependent:
	//
	// *  `Flow.event_handlers.trigger_fulfillment.messages`
	// *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
	// *  `Flow.transition_routes.trigger_fulfillment.messages`
	// *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
	//
	// If not specified, the agent's default language is used.
	// [Many
	// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
	// are supported.
	// Note: languages must be enabled in the agent before they can be used.
	LanguageCode  string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListFlowsRequest) Reset() {
	*x = ListFlowsRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListFlowsRequest) ProtoMessage() {}

func (x *ListFlowsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[4]
	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 ListFlowsRequest.ProtoReflect.Descriptor instead.
func (*ListFlowsRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{4}
}

func (x *ListFlowsRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ListFlowsRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListFlowsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

func (x *ListFlowsRequest) GetLanguageCode() string {
	if x != nil {
		return x.LanguageCode
	}
	return ""
}

// The response message for
// [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows].
type ListFlowsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The list of flows. There will be a maximum number of items returned based
	// on the page_size field in the request.
	Flows []*Flow `protobuf:"bytes,1,rep,name=flows,proto3" json:"flows,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListFlowsResponse) Reset() {
	*x = ListFlowsResponse{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListFlowsResponse) ProtoMessage() {}

func (x *ListFlowsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[5]
	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 ListFlowsResponse.ProtoReflect.Descriptor instead.
func (*ListFlowsResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{5}
}

func (x *ListFlowsResponse) GetFlows() []*Flow {
	if x != nil {
		return x.Flows
	}
	return nil
}

func (x *ListFlowsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

// The response message for
// [Flows.GetFlow][google.cloud.dialogflow.cx.v3.Flows.GetFlow].
type GetFlowRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the flow to get.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The language to retrieve the flow for. The following fields are language
	// dependent:
	//
	// *  `Flow.event_handlers.trigger_fulfillment.messages`
	// *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
	// *  `Flow.transition_routes.trigger_fulfillment.messages`
	// *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
	//
	// If not specified, the agent's default language is used.
	// [Many
	// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
	// are supported.
	// Note: languages must be enabled in the agent before they can be used.
	LanguageCode  string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetFlowRequest) Reset() {
	*x = GetFlowRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetFlowRequest) ProtoMessage() {}

func (x *GetFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[6]
	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 GetFlowRequest.ProtoReflect.Descriptor instead.
func (*GetFlowRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{6}
}

func (x *GetFlowRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *GetFlowRequest) GetLanguageCode() string {
	if x != nil {
		return x.LanguageCode
	}
	return ""
}

// The request message for
// [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3.Flows.UpdateFlow].
type UpdateFlowRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The flow to update.
	Flow *Flow `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"`
	// The mask to control which fields get updated. If the mask is not present,
	// all fields will be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// The language of the following fields in `flow`:
	//
	// *  `Flow.event_handlers.trigger_fulfillment.messages`
	// *  `Flow.event_handlers.trigger_fulfillment.conditional_cases`
	// *  `Flow.transition_routes.trigger_fulfillment.messages`
	// *  `Flow.transition_routes.trigger_fulfillment.conditional_cases`
	//
	// If not specified, the agent's default language is used.
	// [Many
	// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
	// are supported.
	// Note: languages must be enabled in the agent before they can be used.
	LanguageCode  string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateFlowRequest) Reset() {
	*x = UpdateFlowRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateFlowRequest) ProtoMessage() {}

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

func (x *UpdateFlowRequest) GetFlow() *Flow {
	if x != nil {
		return x.Flow
	}
	return nil
}

func (x *UpdateFlowRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

func (x *UpdateFlowRequest) GetLanguageCode() string {
	if x != nil {
		return x.LanguageCode
	}
	return ""
}

// The request message for
// [Flows.TrainFlow][google.cloud.dialogflow.cx.v3.Flows.TrainFlow].
type TrainFlowRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The flow to train.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TrainFlowRequest) Reset() {
	*x = TrainFlowRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*TrainFlowRequest) ProtoMessage() {}

func (x *TrainFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[8]
	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 TrainFlowRequest.ProtoReflect.Descriptor instead.
func (*TrainFlowRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{8}
}

func (x *TrainFlowRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// The request message for
// [Flows.ValidateFlow][google.cloud.dialogflow.cx.v3.Flows.ValidateFlow].
type ValidateFlowRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The flow to validate.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If not specified, the agent's default language is used.
	LanguageCode  string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ValidateFlowRequest) Reset() {
	*x = ValidateFlowRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ValidateFlowRequest) ProtoMessage() {}

func (x *ValidateFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[9]
	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 ValidateFlowRequest.ProtoReflect.Descriptor instead.
func (*ValidateFlowRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{9}
}

func (x *ValidateFlowRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ValidateFlowRequest) GetLanguageCode() string {
	if x != nil {
		return x.LanguageCode
	}
	return ""
}

// The request message for
// [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult].
type GetFlowValidationResultRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The flow name.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If not specified, the agent's default language is used.
	LanguageCode  string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetFlowValidationResultRequest) Reset() {
	*x = GetFlowValidationResultRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*GetFlowValidationResultRequest) ProtoMessage() {}

func (x *GetFlowValidationResultRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[10]
	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 GetFlowValidationResultRequest.ProtoReflect.Descriptor instead.
func (*GetFlowValidationResultRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{10}
}

func (x *GetFlowValidationResultRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *GetFlowValidationResultRequest) GetLanguageCode() string {
	if x != nil {
		return x.LanguageCode
	}
	return ""
}

// The response message for
// [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult].
type FlowValidationResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The unique identifier of the flow validation result.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Contains all validation messages.
	ValidationMessages []*ValidationMessage `protobuf:"bytes,2,rep,name=validation_messages,json=validationMessages,proto3" json:"validation_messages,omitempty"`
	// Last time the flow was validated.
	UpdateTime    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FlowValidationResult) Reset() {
	*x = FlowValidationResult{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*FlowValidationResult) ProtoMessage() {}

func (x *FlowValidationResult) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[11]
	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 FlowValidationResult.ProtoReflect.Descriptor instead.
func (*FlowValidationResult) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{11}
}

func (x *FlowValidationResult) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *FlowValidationResult) GetValidationMessages() []*ValidationMessage {
	if x != nil {
		return x.ValidationMessages
	}
	return nil
}

func (x *FlowValidationResult) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

// The request message for
// [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
type ImportFlowRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The agent to import the flow into.
	// Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The flow to import.
	//
	// Types that are valid to be assigned to Flow:
	//
	//	*ImportFlowRequest_FlowUri
	//	*ImportFlowRequest_FlowContent
	Flow isImportFlowRequest_Flow `protobuf_oneof:"flow"`
	// Flow import mode. If not specified, `KEEP` is assumed.
	ImportOption ImportFlowRequest_ImportOption `protobuf:"varint,4,opt,name=import_option,json=importOption,proto3,enum=google.cloud.dialogflow.cx.v3.ImportFlowRequest_ImportOption" json:"import_option,omitempty"`
	// Optional. Specifies the import strategy used when resolving resource
	// conflicts.
	FlowImportStrategy *FlowImportStrategy `protobuf:"bytes,5,opt,name=flow_import_strategy,json=flowImportStrategy,proto3" json:"flow_import_strategy,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *ImportFlowRequest) Reset() {
	*x = ImportFlowRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ImportFlowRequest) ProtoMessage() {}

func (x *ImportFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[12]
	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 ImportFlowRequest.ProtoReflect.Descriptor instead.
func (*ImportFlowRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{12}
}

func (x *ImportFlowRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *ImportFlowRequest) GetFlow() isImportFlowRequest_Flow {
	if x != nil {
		return x.Flow
	}
	return nil
}

func (x *ImportFlowRequest) GetFlowUri() string {
	if x != nil {
		if x, ok := x.Flow.(*ImportFlowRequest_FlowUri); ok {
			return x.FlowUri
		}
	}
	return ""
}

func (x *ImportFlowRequest) GetFlowContent() []byte {
	if x != nil {
		if x, ok := x.Flow.(*ImportFlowRequest_FlowContent); ok {
			return x.FlowContent
		}
	}
	return nil
}

func (x *ImportFlowRequest) GetImportOption() ImportFlowRequest_ImportOption {
	if x != nil {
		return x.ImportOption
	}
	return ImportFlowRequest_IMPORT_OPTION_UNSPECIFIED
}

func (x *ImportFlowRequest) GetFlowImportStrategy() *FlowImportStrategy {
	if x != nil {
		return x.FlowImportStrategy
	}
	return nil
}

type isImportFlowRequest_Flow interface {
	isImportFlowRequest_Flow()
}

type ImportFlowRequest_FlowUri struct {
	// The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
	// to import flow from. The format of this URI must be
	// `gs://<bucket-name>/<object-name>`.
	//
	// Dialogflow performs a read operation for the Cloud Storage object
	// on the caller's behalf, so your request authentication must
	// have read permissions for the object. For more information, see
	// [Dialogflow access
	// control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
	FlowUri string `protobuf:"bytes,2,opt,name=flow_uri,json=flowUri,proto3,oneof"`
}

type ImportFlowRequest_FlowContent struct {
	// Uncompressed raw byte content for flow.
	FlowContent []byte `protobuf:"bytes,3,opt,name=flow_content,json=flowContent,proto3,oneof"`
}

func (*ImportFlowRequest_FlowUri) isImportFlowRequest_Flow() {}

func (*ImportFlowRequest_FlowContent) isImportFlowRequest_Flow() {}

// The flow import strategy used for resource conflict resolution associated
// with an [ImportFlowRequest][google.cloud.dialogflow.cx.v3.ImportFlowRequest].
type FlowImportStrategy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Import strategy for resource conflict resolution, applied
	// globally throughout the flow. It will be applied for all display name
	// conflicts in the imported content. If not specified, 'CREATE_NEW' is
	// assumed.
	GlobalImportStrategy ImportStrategy `protobuf:"varint,1,opt,name=global_import_strategy,json=globalImportStrategy,proto3,enum=google.cloud.dialogflow.cx.v3.ImportStrategy" json:"global_import_strategy,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *FlowImportStrategy) Reset() {
	*x = FlowImportStrategy{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*FlowImportStrategy) ProtoMessage() {}

func (x *FlowImportStrategy) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[13]
	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 FlowImportStrategy.ProtoReflect.Descriptor instead.
func (*FlowImportStrategy) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{13}
}

func (x *FlowImportStrategy) GetGlobalImportStrategy() ImportStrategy {
	if x != nil {
		return x.GlobalImportStrategy
	}
	return ImportStrategy_IMPORT_STRATEGY_UNSPECIFIED
}

// The response message for
// [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
type ImportFlowResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The unique identifier of the new flow.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
	Flow          string `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ImportFlowResponse) Reset() {
	*x = ImportFlowResponse{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ImportFlowResponse) ProtoMessage() {}

func (x *ImportFlowResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[14]
	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 ImportFlowResponse.ProtoReflect.Descriptor instead.
func (*ImportFlowResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{14}
}

func (x *ImportFlowResponse) GetFlow() string {
	if x != nil {
		return x.Flow
	}
	return ""
}

// The request message for
// [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
type ExportFlowRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the flow to export.
	// Format:
	// `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The [Google Cloud
	// Storage](https://cloud.google.com/storage/docs/) URI to export the flow to.
	// The format of this URI must be `gs://<bucket-name>/<object-name>`. If left
	// unspecified, the serialized flow is returned inline.
	//
	// Dialogflow performs a write operation for the Cloud Storage object
	// on the caller's behalf, so your request authentication must
	// have write permissions for the object. For more information, see
	// [Dialogflow access
	// control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
	FlowUri string `protobuf:"bytes,2,opt,name=flow_uri,json=flowUri,proto3" json:"flow_uri,omitempty"`
	// Optional. Whether to export flows referenced by the specified flow.
	IncludeReferencedFlows bool `protobuf:"varint,4,opt,name=include_referenced_flows,json=includeReferencedFlows,proto3" json:"include_referenced_flows,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

func (x *ExportFlowRequest) Reset() {
	*x = ExportFlowRequest{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ExportFlowRequest) ProtoMessage() {}

func (x *ExportFlowRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[15]
	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 ExportFlowRequest.ProtoReflect.Descriptor instead.
func (*ExportFlowRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{15}
}

func (x *ExportFlowRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ExportFlowRequest) GetFlowUri() string {
	if x != nil {
		return x.FlowUri
	}
	return ""
}

func (x *ExportFlowRequest) GetIncludeReferencedFlows() bool {
	if x != nil {
		return x.IncludeReferencedFlows
	}
	return false
}

// The response message for
// [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
type ExportFlowResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The exported flow.
	//
	// Types that are valid to be assigned to Flow:
	//
	//	*ExportFlowResponse_FlowUri
	//	*ExportFlowResponse_FlowContent
	Flow          isExportFlowResponse_Flow `protobuf_oneof:"flow"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ExportFlowResponse) Reset() {
	*x = ExportFlowResponse{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ExportFlowResponse) ProtoMessage() {}

func (x *ExportFlowResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[16]
	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 ExportFlowResponse.ProtoReflect.Descriptor instead.
func (*ExportFlowResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP(), []int{16}
}

func (x *ExportFlowResponse) GetFlow() isExportFlowResponse_Flow {
	if x != nil {
		return x.Flow
	}
	return nil
}

func (x *ExportFlowResponse) GetFlowUri() string {
	if x != nil {
		if x, ok := x.Flow.(*ExportFlowResponse_FlowUri); ok {
			return x.FlowUri
		}
	}
	return ""
}

func (x *ExportFlowResponse) GetFlowContent() []byte {
	if x != nil {
		if x, ok := x.Flow.(*ExportFlowResponse_FlowContent); ok {
			return x.FlowContent
		}
	}
	return nil
}

type isExportFlowResponse_Flow interface {
	isExportFlowResponse_Flow()
}

type ExportFlowResponse_FlowUri struct {
	// The URI to a file containing the exported flow. This field is populated
	// only if `flow_uri` is specified in
	// [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
	FlowUri string `protobuf:"bytes,1,opt,name=flow_uri,json=flowUri,proto3,oneof"`
}

type ExportFlowResponse_FlowContent struct {
	// Uncompressed raw byte content for flow.
	FlowContent []byte `protobuf:"bytes,2,opt,name=flow_content,json=flowContent,proto3,oneof"`
}

func (*ExportFlowResponse_FlowUri) isExportFlowResponse_Flow() {}

func (*ExportFlowResponse_FlowContent) isExportFlowResponse_Flow() {}

// Settings for multi-lingual agents.
type Flow_MultiLanguageSettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Enable multi-language detection for this flow. This can be set
	// only if [agent level multi language
	// setting][Agent.enable_multi_language_training] is enabled.
	EnableMultiLanguageDetection bool `protobuf:"varint,1,opt,name=enable_multi_language_detection,json=enableMultiLanguageDetection,proto3" json:"enable_multi_language_detection,omitempty"`
	// Optional. Agent will respond in the detected language if the detected
	// language code is in the supported resolved languages for this flow. This
	// will be used only if multi-language training is enabled in the
	// [agent][google.cloud.dialogflow.cx.v3.Agent.enable_multi_language_training]
	// and multi-language detection is enabled in the
	// [flow][google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings.enable_multi_language_detection].
	// The supported languages must be a subset of the languages supported by
	// the agent.
	SupportedResponseLanguageCodes []string `protobuf:"bytes,2,rep,name=supported_response_language_codes,json=supportedResponseLanguageCodes,proto3" json:"supported_response_language_codes,omitempty"`
	unknownFields                  protoimpl.UnknownFields
	sizeCache                      protoimpl.SizeCache
}

func (x *Flow_MultiLanguageSettings) Reset() {
	*x = Flow_MultiLanguageSettings{}
	mi := &file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Flow_MultiLanguageSettings) ProtoMessage() {}

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

func (x *Flow_MultiLanguageSettings) GetEnableMultiLanguageDetection() bool {
	if x != nil {
		return x.EnableMultiLanguageDetection
	}
	return false
}

func (x *Flow_MultiLanguageSettings) GetSupportedResponseLanguageCodes() []string {
	if x != nil {
		return x.SupportedResponseLanguageCodes
	}
	return nil
}

var File_google_cloud_dialogflow_cx_v3_flow_proto protoreflect.FileDescriptor

const file_google_cloud_dialogflow_cx_v3_flow_proto_rawDesc = "" +
	"\n" +
	"(google/cloud/dialogflow/cx/v3/flow.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a5google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a3google/cloud/dialogflow/cx/v3/import_strategy.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a8google/cloud/dialogflow/cx/v3/parameter_definition.proto\x1a6google/cloud/dialogflow/cx/v3/validation_message.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe3\x03\n" +
	"\vNluSettings\x12S\n" +
	"\n" +
	"model_type\x18\x01 \x01(\x0e24.google.cloud.dialogflow.cx.v3.NluSettings.ModelTypeR\tmodelType\x129\n" +
	"\x18classification_threshold\x18\x03 \x01(\x02R\x17classificationThreshold\x12l\n" +
	"\x13model_training_mode\x18\x04 \x01(\x0e2<.google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingModeR\x11modelTrainingMode\"Y\n" +
	"\tModelType\x12\x1a\n" +
	"\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12\x17\n" +
	"\x13MODEL_TYPE_STANDARD\x10\x01\x12\x17\n" +
	"\x13MODEL_TYPE_ADVANCED\x10\x03\"{\n" +
	"\x11ModelTrainingMode\x12#\n" +
	"\x1fMODEL_TRAINING_MODE_UNSPECIFIED\x10\x00\x12!\n" +
	"\x1dMODEL_TRAINING_MODE_AUTOMATIC\x10\x01\x12\x1e\n" +
	"\x1aMODEL_TRAINING_MODE_MANUAL\x10\x02\"\xd6\n" +
	"\n" +
	"\x04Flow\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12&\n" +
	"\fdisplay_name\x18\x02 \x01(\tB\x03\xe0A\x02R\vdisplayName\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12[\n" +
	"\x11transition_routes\x18\x04 \x03(\v2..google.cloud.dialogflow.cx.v3.TransitionRouteR\x10transitionRoutes\x12R\n" +
	"\x0eevent_handlers\x18\n" +
	" \x03(\v2+.google.cloud.dialogflow.cx.v3.EventHandlerR\reventHandlers\x12k\n" +
	"\x17transition_route_groups\x18\x0f \x03(\tB3\xfaA0\n" +
	".dialogflow.googleapis.com/TransitionRouteGroupR\x15transitionRouteGroups\x12M\n" +
	"\fnlu_settings\x18\v \x01(\v2*.google.cloud.dialogflow.cx.v3.NluSettingsR\vnluSettings\x12\\\n" +
	"\x11advanced_settings\x18\x0e \x01(\v2/.google.cloud.dialogflow.cx.v3.AdvancedSettingsR\x10advancedSettings\x12\x80\x01\n" +
	"\x1cknowledge_connector_settings\x18\x12 \x01(\v29.google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettingsB\x03\xe0A\x01R\x1aknowledgeConnectorSettings\x12w\n" +
	"\x1binput_parameter_definitions\x18\x1a \x03(\v22.google.cloud.dialogflow.cx.v3.ParameterDefinitionB\x03\xe0A\x01R\x19inputParameterDefinitions\x12y\n" +
	"\x1coutput_parameter_definitions\x18\x1b \x03(\v22.google.cloud.dialogflow.cx.v3.ParameterDefinitionB\x03\xe0A\x01R\x1aoutputParameterDefinitions\x12v\n" +
	"\x17multi_language_settings\x18\x1c \x01(\v29.google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettingsB\x03\xe0A\x01R\x15multiLanguageSettings\x12\x16\n" +
	"\x06locked\x18\x1e \x01(\bR\x06locked\x1a\xb3\x01\n" +
	"\x15MultiLanguageSettings\x12J\n" +
	"\x1fenable_multi_language_detection\x18\x01 \x01(\bB\x03\xe0A\x01R\x1cenableMultiLanguageDetection\x12N\n" +
	"!supported_response_language_codes\x18\x02 \x03(\tB\x03\xe0A\x01R\x1esupportedResponseLanguageCodes:h\xeaAe\n" +
	"\x1edialogflow.googleapis.com/Flow\x12Cprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}\"\xb6\x01\n" +
	"\x11CreateFlowRequest\x12>\n" +
	"\x06parent\x18\x01 \x01(\tB&\xe0A\x02\xfaA \x12\x1edialogflow.googleapis.com/FlowR\x06parent\x12<\n" +
	"\x04flow\x18\x02 \x01(\v2#.google.cloud.dialogflow.cx.v3.FlowB\x03\xe0A\x02R\x04flow\x12#\n" +
	"\rlanguage_code\x18\x03 \x01(\tR\flanguageCode\"e\n" +
	"\x11DeleteFlowRequest\x12:\n" +
	"\x04name\x18\x01 \x01(\tB&\xe0A\x02\xfaA \n" +
	"\x1edialogflow.googleapis.com/FlowR\x04name\x12\x14\n" +
	"\x05force\x18\x02 \x01(\bR\x05force\"\xb3\x01\n" +
	"\x10ListFlowsRequest\x12>\n" +
	"\x06parent\x18\x01 \x01(\tB&\xe0A\x02\xfaA \x12\x1edialogflow.googleapis.com/FlowR\x06parent\x12\x1b\n" +
	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\x12#\n" +
	"\rlanguage_code\x18\x04 \x01(\tR\flanguageCode\"v\n" +
	"\x11ListFlowsResponse\x129\n" +
	"\x05flows\x18\x01 \x03(\v2#.google.cloud.dialogflow.cx.v3.FlowR\x05flows\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"q\n" +
	"\x0eGetFlowRequest\x12:\n" +
	"\x04name\x18\x01 \x01(\tB&\xe0A\x02\xfaA \n" +
	"\x1edialogflow.googleapis.com/FlowR\x04name\x12#\n" +
	"\rlanguage_code\x18\x02 \x01(\tR\flanguageCode\"\xb3\x01\n" +
	"\x11UpdateFlowRequest\x12<\n" +
	"\x04flow\x18\x01 \x01(\v2#.google.cloud.dialogflow.cx.v3.FlowB\x03\xe0A\x02R\x04flow\x12;\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
	"updateMask\x12#\n" +
	"\rlanguage_code\x18\x03 \x01(\tR\flanguageCode\"N\n" +
	"\x10TrainFlowRequest\x12:\n" +
	"\x04name\x18\x01 \x01(\tB&\xe0A\x02\xfaA \n" +
	"\x1edialogflow.googleapis.com/FlowR\x04name\"v\n" +
	"\x13ValidateFlowRequest\x12:\n" +
	"\x04name\x18\x01 \x01(\tB&\xe0A\x02\xfaA \n" +
	"\x1edialogflow.googleapis.com/FlowR\x04name\x12#\n" +
	"\rlanguage_code\x18\x02 \x01(\tR\flanguageCode\"\x91\x01\n" +
	"\x1eGetFlowValidationResultRequest\x12J\n" +
	"\x04name\x18\x01 \x01(\tB6\xe0A\x02\xfaA0\n" +
	".dialogflow.googleapis.com/FlowValidationResultR\x04name\x12#\n" +
	"\rlanguage_code\x18\x02 \x01(\tR\flanguageCode\"\xd7\x02\n" +
	"\x14FlowValidationResult\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12a\n" +
	"\x13validation_messages\x18\x02 \x03(\v20.google.cloud.dialogflow.cx.v3.ValidationMessageR\x12validationMessages\x12;\n" +
	"\vupdate_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"updateTime:\x8a\x01\xeaA\x86\x01\n" +
	".dialogflow.googleapis.com/FlowValidationResult\x12Tprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/validationResult\"\xb2\x03\n" +
	"\x11ImportFlowRequest\x12>\n" +
	"\x06parent\x18\x01 \x01(\tB&\xe0A\x02\xfaA \x12\x1edialogflow.googleapis.com/FlowR\x06parent\x12\x1b\n" +
	"\bflow_uri\x18\x02 \x01(\tH\x00R\aflowUri\x12#\n" +
	"\fflow_content\x18\x03 \x01(\fH\x00R\vflowContent\x12b\n" +
	"\rimport_option\x18\x04 \x01(\x0e2=.google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOptionR\fimportOption\x12h\n" +
	"\x14flow_import_strategy\x18\x05 \x01(\v21.google.cloud.dialogflow.cx.v3.FlowImportStrategyB\x03\xe0A\x01R\x12flowImportStrategy\"E\n" +
	"\fImportOption\x12\x1d\n" +
	"\x19IMPORT_OPTION_UNSPECIFIED\x10\x00\x12\b\n" +
	"\x04KEEP\x10\x01\x12\f\n" +
	"\bFALLBACK\x10\x02B\x06\n" +
	"\x04flow\"~\n" +
	"\x12FlowImportStrategy\x12h\n" +
	"\x16global_import_strategy\x18\x01 \x01(\x0e2-.google.cloud.dialogflow.cx.v3.ImportStrategyB\x03\xe0A\x01R\x14globalImportStrategy\"M\n" +
	"\x12ImportFlowResponse\x127\n" +
	"\x04flow\x18\x01 \x01(\tB#\xfaA \n" +
	"\x1edialogflow.googleapis.com/FlowR\x04flow\"\xae\x01\n" +
	"\x11ExportFlowRequest\x12:\n" +
	"\x04name\x18\x01 \x01(\tB&\xe0A\x02\xfaA \n" +
	"\x1edialogflow.googleapis.com/FlowR\x04name\x12\x1e\n" +
	"\bflow_uri\x18\x02 \x01(\tB\x03\xe0A\x01R\aflowUri\x12=\n" +
	"\x18include_referenced_flows\x18\x04 \x01(\bB\x03\xe0A\x01R\x16includeReferencedFlows\"^\n" +
	"\x12ExportFlowResponse\x12\x1b\n" +
	"\bflow_uri\x18\x01 \x01(\tH\x00R\aflowUri\x12#\n" +
	"\fflow_content\x18\x02 \x01(\fH\x00R\vflowContentB\x06\n" +
	"\x04flow2\x98\x10\n" +
	"\x05Flows\x12\xb3\x01\n" +
	"\n" +
	"CreateFlow\x120.google.cloud.dialogflow.cx.v3.CreateFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"N\xdaA\vparent,flow\x82\xd3\xe4\x93\x02::\x04flow\"2/v3/{parent=projects/*/locations/*/agents/*}/flows\x12\x99\x01\n" +
	"\n" +
	"DeleteFlow\x120.google.cloud.dialogflow.cx.v3.DeleteFlowRequest\x1a\x16.google.protobuf.Empty\"A\xdaA\x04name\x82\xd3\xe4\x93\x024*2/v3/{name=projects/*/locations/*/agents/*/flows/*}\x12\xb3\x01\n" +
	"\tListFlows\x12/.google.cloud.dialogflow.cx.v3.ListFlowsRequest\x1a0.google.cloud.dialogflow.cx.v3.ListFlowsResponse\"C\xdaA\x06parent\x82\xd3\xe4\x93\x024\x122/v3/{parent=projects/*/locations/*/agents/*}/flows\x12\xa0\x01\n" +
	"\aGetFlow\x12-.google.cloud.dialogflow.cx.v3.GetFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"A\xdaA\x04name\x82\xd3\xe4\x93\x024\x122/v3/{name=projects/*/locations/*/agents/*/flows/*}\x12\xbd\x01\n" +
	"\n" +
	"UpdateFlow\x120.google.cloud.dialogflow.cx.v3.UpdateFlowRequest\x1a#.google.cloud.dialogflow.cx.v3.Flow\"X\xdaA\x10flow,update_mask\x82\xd3\xe4\x93\x02?:\x04flow27/v3/{flow.name=projects/*/locations/*/agents/*/flows/*}\x12\xd9\x01\n" +
	"\tTrainFlow\x12/.google.cloud.dialogflow.cx.v3.TrainFlowRequest\x1a\x1d.google.longrunning.Operation\"|\xcaA/\n" +
	"\x15google.protobuf.Empty\x12\x16google.protobuf.Struct\xdaA\x04name\x82\xd3\xe4\x93\x02=:\x01*\"8/v3/{name=projects/*/locations/*/agents/*/flows/*}:train\x12\xbf\x01\n" +
	"\fValidateFlow\x122.google.cloud.dialogflow.cx.v3.ValidateFlowRequest\x1a3.google.cloud.dialogflow.cx.v3.FlowValidationResult\"F\x82\xd3\xe4\x93\x02@:\x01*\";/v3/{name=projects/*/locations/*/agents/*/flows/*}:validate\x12\xe1\x01\n" +
	"\x17GetFlowValidationResult\x12=.google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest\x1a3.google.cloud.dialogflow.cx.v3.FlowValidationResult\"R\xdaA\x04name\x82\xd3\xe4\x93\x02E\x12C/v3/{name=projects/*/locations/*/agents/*/flows/*/validationResult}\x12\xd2\x01\n" +
	"\n" +
	"ImportFlow\x120.google.cloud.dialogflow.cx.v3.ImportFlowRequest\x1a\x1d.google.longrunning.Operation\"s\xcaA,\n" +
	"\x12ImportFlowResponse\x12\x16google.protobuf.Struct\x82\xd3\xe4\x93\x02>:\x01*\"9/v3/{parent=projects/*/locations/*/agents/*}/flows:import\x12\xd2\x01\n" +
	"\n" +
	"ExportFlow\x120.google.cloud.dialogflow.cx.v3.ExportFlowRequest\x1a\x1d.google.longrunning.Operation\"s\xcaA,\n" +
	"\x12ExportFlowResponse\x12\x16google.protobuf.Struct\x82\xd3\xe4\x93\x02>:\x01*\"9/v3/{name=projects/*/locations/*/agents/*/flows/*}:export\x1ax\xcaA\x19dialogflow.googleapis.com\xd2AYhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xac\x01\n" +
	"!com.google.cloud.dialogflow.cx.v3B\tFlowProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xa2\x02\x02DF\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"

var (
	file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescOnce sync.Once
	file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescData []byte
)

func file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescGZIP() []byte {
	file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescOnce.Do(func() {
		file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_cx_v3_flow_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3_flow_proto_rawDesc)))
	})
	return file_google_cloud_dialogflow_cx_v3_flow_proto_rawDescData
}

var file_google_cloud_dialogflow_cx_v3_flow_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_google_cloud_dialogflow_cx_v3_flow_proto_goTypes = []any{
	(NluSettings_ModelType)(0),             // 0: google.cloud.dialogflow.cx.v3.NluSettings.ModelType
	(NluSettings_ModelTrainingMode)(0),     // 1: google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode
	(ImportFlowRequest_ImportOption)(0),    // 2: google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption
	(*NluSettings)(nil),                    // 3: google.cloud.dialogflow.cx.v3.NluSettings
	(*Flow)(nil),                           // 4: google.cloud.dialogflow.cx.v3.Flow
	(*CreateFlowRequest)(nil),              // 5: google.cloud.dialogflow.cx.v3.CreateFlowRequest
	(*DeleteFlowRequest)(nil),              // 6: google.cloud.dialogflow.cx.v3.DeleteFlowRequest
	(*ListFlowsRequest)(nil),               // 7: google.cloud.dialogflow.cx.v3.ListFlowsRequest
	(*ListFlowsResponse)(nil),              // 8: google.cloud.dialogflow.cx.v3.ListFlowsResponse
	(*GetFlowRequest)(nil),                 // 9: google.cloud.dialogflow.cx.v3.GetFlowRequest
	(*UpdateFlowRequest)(nil),              // 10: google.cloud.dialogflow.cx.v3.UpdateFlowRequest
	(*TrainFlowRequest)(nil),               // 11: google.cloud.dialogflow.cx.v3.TrainFlowRequest
	(*ValidateFlowRequest)(nil),            // 12: google.cloud.dialogflow.cx.v3.ValidateFlowRequest
	(*GetFlowValidationResultRequest)(nil), // 13: google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest
	(*FlowValidationResult)(nil),           // 14: google.cloud.dialogflow.cx.v3.FlowValidationResult
	(*ImportFlowRequest)(nil),              // 15: google.cloud.dialogflow.cx.v3.ImportFlowRequest
	(*FlowImportStrategy)(nil),             // 16: google.cloud.dialogflow.cx.v3.FlowImportStrategy
	(*ImportFlowResponse)(nil),             // 17: google.cloud.dialogflow.cx.v3.ImportFlowResponse
	(*ExportFlowRequest)(nil),              // 18: google.cloud.dialogflow.cx.v3.ExportFlowRequest
	(*ExportFlowResponse)(nil),             // 19: google.cloud.dialogflow.cx.v3.ExportFlowResponse
	(*Flow_MultiLanguageSettings)(nil),     // 20: google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings
	(*TransitionRoute)(nil),                // 21: google.cloud.dialogflow.cx.v3.TransitionRoute
	(*EventHandler)(nil),                   // 22: google.cloud.dialogflow.cx.v3.EventHandler
	(*AdvancedSettings)(nil),               // 23: google.cloud.dialogflow.cx.v3.AdvancedSettings
	(*KnowledgeConnectorSettings)(nil),     // 24: google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings
	(*ParameterDefinition)(nil),            // 25: google.cloud.dialogflow.cx.v3.ParameterDefinition
	(*fieldmaskpb.FieldMask)(nil),          // 26: google.protobuf.FieldMask
	(*ValidationMessage)(nil),              // 27: google.cloud.dialogflow.cx.v3.ValidationMessage
	(*timestamppb.Timestamp)(nil),          // 28: google.protobuf.Timestamp
	(ImportStrategy)(0),                    // 29: google.cloud.dialogflow.cx.v3.ImportStrategy
	(*emptypb.Empty)(nil),                  // 30: google.protobuf.Empty
	(*longrunningpb.Operation)(nil),        // 31: google.longrunning.Operation
}
var file_google_cloud_dialogflow_cx_v3_flow_proto_depIdxs = []int32{
	0,  // 0: google.cloud.dialogflow.cx.v3.NluSettings.model_type:type_name -> google.cloud.dialogflow.cx.v3.NluSettings.ModelType
	1,  // 1: google.cloud.dialogflow.cx.v3.NluSettings.model_training_mode:type_name -> google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode
	21, // 2: google.cloud.dialogflow.cx.v3.Flow.transition_routes:type_name -> google.cloud.dialogflow.cx.v3.TransitionRoute
	22, // 3: google.cloud.dialogflow.cx.v3.Flow.event_handlers:type_name -> google.cloud.dialogflow.cx.v3.EventHandler
	3,  // 4: google.cloud.dialogflow.cx.v3.Flow.nlu_settings:type_name -> google.cloud.dialogflow.cx.v3.NluSettings
	23, // 5: google.cloud.dialogflow.cx.v3.Flow.advanced_settings:type_name -> google.cloud.dialogflow.cx.v3.AdvancedSettings
	24, // 6: google.cloud.dialogflow.cx.v3.Flow.knowledge_connector_settings:type_name -> google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings
	25, // 7: google.cloud.dialogflow.cx.v3.Flow.input_parameter_definitions:type_name -> google.cloud.dialogflow.cx.v3.ParameterDefinition
	25, // 8: google.cloud.dialogflow.cx.v3.Flow.output_parameter_definitions:type_name -> google.cloud.dialogflow.cx.v3.ParameterDefinition
	20, // 9: google.cloud.dialogflow.cx.v3.Flow.multi_language_settings:type_name -> google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings
	4,  // 10: google.cloud.dialogflow.cx.v3.CreateFlowRequest.flow:type_name -> google.cloud.dialogflow.cx.v3.Flow
	4,  // 11: google.cloud.dialogflow.cx.v3.ListFlowsResponse.flows:type_name -> google.cloud.dialogflow.cx.v3.Flow
	4,  // 12: google.cloud.dialogflow.cx.v3.UpdateFlowRequest.flow:type_name -> google.cloud.dialogflow.cx.v3.Flow
	26, // 13: google.cloud.dialogflow.cx.v3.UpdateFlowRequest.update_mask:type_name -> google.protobuf.FieldMask
	27, // 14: google.cloud.dialogflow.cx.v3.FlowValidationResult.validation_messages:type_name -> google.cloud.dialogflow.cx.v3.ValidationMessage
	28, // 15: google.cloud.dialogflow.cx.v3.FlowValidationResult.update_time:type_name -> google.protobuf.Timestamp
	2,  // 16: google.cloud.dialogflow.cx.v3.ImportFlowRequest.import_option:type_name -> google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption
	16, // 17: google.cloud.dialogflow.cx.v3.ImportFlowRequest.flow_import_strategy:type_name -> google.cloud.dialogflow.cx.v3.FlowImportStrategy
	29, // 18: google.cloud.dialogflow.cx.v3.FlowImportStrategy.global_import_strategy:type_name -> google.cloud.dialogflow.cx.v3.ImportStrategy
	5,  // 19: google.cloud.dialogflow.cx.v3.Flows.CreateFlow:input_type -> google.cloud.dialogflow.cx.v3.CreateFlowRequest
	6,  // 20: google.cloud.dialogflow.cx.v3.Flows.DeleteFlow:input_type -> google.cloud.dialogflow.cx.v3.DeleteFlowRequest
	7,  // 21: google.cloud.dialogflow.cx.v3.Flows.ListFlows:input_type -> google.cloud.dialogflow.cx.v3.ListFlowsRequest
	9,  // 22: google.cloud.dialogflow.cx.v3.Flows.GetFlow:input_type -> google.cloud.dialogflow.cx.v3.GetFlowRequest
	10, // 23: google.cloud.dialogflow.cx.v3.Flows.UpdateFlow:input_type -> google.cloud.dialogflow.cx.v3.UpdateFlowRequest
	11, // 24: google.cloud.dialogflow.cx.v3.Flows.TrainFlow:input_type -> google.cloud.dialogflow.cx.v3.TrainFlowRequest
	12, // 25: google.cloud.dialogflow.cx.v3.Flows.ValidateFlow:input_type -> google.cloud.dialogflow.cx.v3.ValidateFlowRequest
	13, // 26: google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult:input_type -> google.cloud.dialogflow.cx.v3.GetFlowValidationResultRequest
	15, // 27: google.cloud.dialogflow.cx.v3.Flows.ImportFlow:input_type -> google.cloud.dialogflow.cx.v3.ImportFlowRequest
	18, // 28: google.cloud.dialogflow.cx.v3.Flows.ExportFlow:input_type -> google.cloud.dialogflow.cx.v3.ExportFlowRequest
	4,  // 29: google.cloud.dialogflow.cx.v3.Flows.CreateFlow:output_type -> google.cloud.dialogflow.cx.v3.Flow
	30, // 30: google.cloud.dialogflow.cx.v3.Flows.DeleteFlow:output_type -> google.protobuf.Empty
	8,  // 31: google.cloud.dialogflow.cx.v3.Flows.ListFlows:output_type -> google.cloud.dialogflow.cx.v3.ListFlowsResponse
	4,  // 32: google.cloud.dialogflow.cx.v3.Flows.GetFlow:output_type -> google.cloud.dialogflow.cx.v3.Flow
	4,  // 33: google.cloud.dialogflow.cx.v3.Flows.UpdateFlow:output_type -> google.cloud.dialogflow.cx.v3.Flow
	31, // 34: google.cloud.dialogflow.cx.v3.Flows.TrainFlow:output_type -> google.longrunning.Operation
	14, // 35: google.cloud.dialogflow.cx.v3.Flows.ValidateFlow:output_type -> google.cloud.dialogflow.cx.v3.FlowValidationResult
	14, // 36: google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult:output_type -> google.cloud.dialogflow.cx.v3.FlowValidationResult
	31, // 37: google.cloud.dialogflow.cx.v3.Flows.ImportFlow:output_type -> google.longrunning.Operation
	31, // 38: google.cloud.dialogflow.cx.v3.Flows.ExportFlow:output_type -> google.longrunning.Operation
	29, // [29:39] is the sub-list for method output_type
	19, // [19:29] is the sub-list for method input_type
	19, // [19:19] is the sub-list for extension type_name
	19, // [19:19] is the sub-list for extension extendee
	0,  // [0:19] is the sub-list for field type_name
}

func init() { file_google_cloud_dialogflow_cx_v3_flow_proto_init() }
func file_google_cloud_dialogflow_cx_v3_flow_proto_init() {
	if File_google_cloud_dialogflow_cx_v3_flow_proto != nil {
		return
	}
	file_google_cloud_dialogflow_cx_v3_advanced_settings_proto_init()
	file_google_cloud_dialogflow_cx_v3_import_strategy_proto_init()
	file_google_cloud_dialogflow_cx_v3_page_proto_init()
	file_google_cloud_dialogflow_cx_v3_parameter_definition_proto_init()
	file_google_cloud_dialogflow_cx_v3_validation_message_proto_init()
	file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[12].OneofWrappers = []any{
		(*ImportFlowRequest_FlowUri)(nil),
		(*ImportFlowRequest_FlowContent)(nil),
	}
	file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes[16].OneofWrappers = []any{
		(*ExportFlowResponse_FlowUri)(nil),
		(*ExportFlowResponse_FlowContent)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_cx_v3_flow_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3_flow_proto_rawDesc)),
			NumEnums:      3,
			NumMessages:   18,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_dialogflow_cx_v3_flow_proto_goTypes,
		DependencyIndexes: file_google_cloud_dialogflow_cx_v3_flow_proto_depIdxs,
		EnumInfos:         file_google_cloud_dialogflow_cx_v3_flow_proto_enumTypes,
		MessageInfos:      file_google_cloud_dialogflow_cx_v3_flow_proto_msgTypes,
	}.Build()
	File_google_cloud_dialogflow_cx_v3_flow_proto = out.File
	file_google_cloud_dialogflow_cx_v3_flow_proto_goTypes = nil
	file_google_cloud_dialogflow_cx_v3_flow_proto_depIdxs = nil
}
