// 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        v4.25.7
// source: google/cloud/dialogflow/cx/v3/safety_settings.proto

package cxpb

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

// Strategy for matching phrases.
type SafetySettings_PhraseMatchStrategy int32

const (
	// Unspecified, defaults to PARTIAL_MATCH.
	SafetySettings_PHRASE_MATCH_STRATEGY_UNSPECIFIED SafetySettings_PhraseMatchStrategy = 0
	// Text that contains the phrase as a substring will be matched, e.g. "foo"
	// will match "afoobar".
	SafetySettings_PARTIAL_MATCH SafetySettings_PhraseMatchStrategy = 1
	// Text that contains the tokenized words of the phrase will be matched,
	// e.g. "foo" will match "a foo bar" and "foo bar", but not "foobar".
	SafetySettings_WORD_MATCH SafetySettings_PhraseMatchStrategy = 2
)

// Enum value maps for SafetySettings_PhraseMatchStrategy.
var (
	SafetySettings_PhraseMatchStrategy_name = map[int32]string{
		0: "PHRASE_MATCH_STRATEGY_UNSPECIFIED",
		1: "PARTIAL_MATCH",
		2: "WORD_MATCH",
	}
	SafetySettings_PhraseMatchStrategy_value = map[string]int32{
		"PHRASE_MATCH_STRATEGY_UNSPECIFIED": 0,
		"PARTIAL_MATCH":                     1,
		"WORD_MATCH":                        2,
	}
)

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

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

func (SafetySettings_PhraseMatchStrategy) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_cx_v3_safety_settings_proto_enumTypes[0].Descriptor()
}

func (SafetySettings_PhraseMatchStrategy) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_cx_v3_safety_settings_proto_enumTypes[0]
}

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

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

// Sensitivity level for RAI categories.
type SafetySettings_RaiSettings_SafetyFilterLevel int32

const (
	// Unspecified -- uses default sensitivity levels.
	SafetySettings_RaiSettings_SAFETY_FILTER_LEVEL_UNSPECIFIED SafetySettings_RaiSettings_SafetyFilterLevel = 0
	// Block no text -- effectively disables the category.
	SafetySettings_RaiSettings_BLOCK_NONE SafetySettings_RaiSettings_SafetyFilterLevel = 1
	// Block a few suspicious texts.
	SafetySettings_RaiSettings_BLOCK_FEW SafetySettings_RaiSettings_SafetyFilterLevel = 2
	// Block some suspicious texts.
	SafetySettings_RaiSettings_BLOCK_SOME SafetySettings_RaiSettings_SafetyFilterLevel = 3
	// Block most suspicious texts.
	SafetySettings_RaiSettings_BLOCK_MOST SafetySettings_RaiSettings_SafetyFilterLevel = 4
)

// Enum value maps for SafetySettings_RaiSettings_SafetyFilterLevel.
var (
	SafetySettings_RaiSettings_SafetyFilterLevel_name = map[int32]string{
		0: "SAFETY_FILTER_LEVEL_UNSPECIFIED",
		1: "BLOCK_NONE",
		2: "BLOCK_FEW",
		3: "BLOCK_SOME",
		4: "BLOCK_MOST",
	}
	SafetySettings_RaiSettings_SafetyFilterLevel_value = map[string]int32{
		"SAFETY_FILTER_LEVEL_UNSPECIFIED": 0,
		"BLOCK_NONE":                      1,
		"BLOCK_FEW":                       2,
		"BLOCK_SOME":                      3,
		"BLOCK_MOST":                      4,
	}
)

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

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

func (SafetySettings_RaiSettings_SafetyFilterLevel) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_cx_v3_safety_settings_proto_enumTypes[1].Descriptor()
}

func (SafetySettings_RaiSettings_SafetyFilterLevel) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_cx_v3_safety_settings_proto_enumTypes[1]
}

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

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

// RAI categories to configure.
type SafetySettings_RaiSettings_SafetyCategory int32

const (
	// Unspecified.
	SafetySettings_RaiSettings_SAFETY_CATEGORY_UNSPECIFIED SafetySettings_RaiSettings_SafetyCategory = 0
	// Dangerous content.
	SafetySettings_RaiSettings_DANGEROUS_CONTENT SafetySettings_RaiSettings_SafetyCategory = 1
	// Hate speech.
	SafetySettings_RaiSettings_HATE_SPEECH SafetySettings_RaiSettings_SafetyCategory = 2
	// Harassment.
	SafetySettings_RaiSettings_HARASSMENT SafetySettings_RaiSettings_SafetyCategory = 3
	// Sexually explicit content.
	SafetySettings_RaiSettings_SEXUALLY_EXPLICIT_CONTENT SafetySettings_RaiSettings_SafetyCategory = 4
)

// Enum value maps for SafetySettings_RaiSettings_SafetyCategory.
var (
	SafetySettings_RaiSettings_SafetyCategory_name = map[int32]string{
		0: "SAFETY_CATEGORY_UNSPECIFIED",
		1: "DANGEROUS_CONTENT",
		2: "HATE_SPEECH",
		3: "HARASSMENT",
		4: "SEXUALLY_EXPLICIT_CONTENT",
	}
	SafetySettings_RaiSettings_SafetyCategory_value = map[string]int32{
		"SAFETY_CATEGORY_UNSPECIFIED": 0,
		"DANGEROUS_CONTENT":           1,
		"HATE_SPEECH":                 2,
		"HARASSMENT":                  3,
		"SEXUALLY_EXPLICIT_CONTENT":   4,
	}
)

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

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

func (SafetySettings_RaiSettings_SafetyCategory) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_dialogflow_cx_v3_safety_settings_proto_enumTypes[2].Descriptor()
}

func (SafetySettings_RaiSettings_SafetyCategory) Type() protoreflect.EnumType {
	return &file_google_cloud_dialogflow_cx_v3_safety_settings_proto_enumTypes[2]
}

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

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

// Settings for Generative Safety.
type SafetySettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Default phrase match strategy for banned phrases.
	DefaultBannedPhraseMatchStrategy SafetySettings_PhraseMatchStrategy `protobuf:"varint,4,opt,name=default_banned_phrase_match_strategy,json=defaultBannedPhraseMatchStrategy,proto3,enum=google.cloud.dialogflow.cx.v3.SafetySettings_PhraseMatchStrategy" json:"default_banned_phrase_match_strategy,omitempty"`
	// Banned phrases for generated text.
	BannedPhrases []*SafetySettings_Phrase `protobuf:"bytes,1,rep,name=banned_phrases,json=bannedPhrases,proto3" json:"banned_phrases,omitempty"`
	// Optional. Settings for Responsible AI checks.
	RaiSettings *SafetySettings_RaiSettings `protobuf:"bytes,2,opt,name=rai_settings,json=raiSettings,proto3" json:"rai_settings,omitempty"`
	// Optional. Immutable. Default RAI settings to be annotated on the agent, so
	// that users will be able to restore their RAI configurations to the default
	// settings. Read-only field for the API proto only.
	DefaultRaiSettings *SafetySettings_RaiSettings `protobuf:"bytes,3,opt,name=default_rai_settings,json=defaultRaiSettings,proto3" json:"default_rai_settings,omitempty"`
	// Optional. Settings for prompt security checks.
	PromptSecuritySettings *SafetySettings_PromptSecuritySettings `protobuf:"bytes,8,opt,name=prompt_security_settings,json=promptSecuritySettings,proto3" json:"prompt_security_settings,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

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

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

func (*SafetySettings) ProtoMessage() {}

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

func (x *SafetySettings) GetDefaultBannedPhraseMatchStrategy() SafetySettings_PhraseMatchStrategy {
	if x != nil {
		return x.DefaultBannedPhraseMatchStrategy
	}
	return SafetySettings_PHRASE_MATCH_STRATEGY_UNSPECIFIED
}

func (x *SafetySettings) GetBannedPhrases() []*SafetySettings_Phrase {
	if x != nil {
		return x.BannedPhrases
	}
	return nil
}

func (x *SafetySettings) GetRaiSettings() *SafetySettings_RaiSettings {
	if x != nil {
		return x.RaiSettings
	}
	return nil
}

func (x *SafetySettings) GetDefaultRaiSettings() *SafetySettings_RaiSettings {
	if x != nil {
		return x.DefaultRaiSettings
	}
	return nil
}

func (x *SafetySettings) GetPromptSecuritySettings() *SafetySettings_PromptSecuritySettings {
	if x != nil {
		return x.PromptSecuritySettings
	}
	return nil
}

// Text input which can be used for prompt or banned phrases.
type SafetySettings_Phrase struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Text input which can be used for prompt or banned phrases.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Required. Language code of the phrase.
	LanguageCode  string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SafetySettings_Phrase) ProtoMessage() {}

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

func (x *SafetySettings_Phrase) GetText() string {
	if x != nil {
		return x.Text
	}
	return ""
}

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

// Settings for Responsible AI.
type SafetySettings_RaiSettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. RAI blocking configurations.
	CategoryFilters []*SafetySettings_RaiSettings_CategoryFilter `protobuf:"bytes,3,rep,name=category_filters,json=categoryFilters,proto3" json:"category_filters,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*SafetySettings_RaiSettings) ProtoMessage() {}

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

func (x *SafetySettings_RaiSettings) GetCategoryFilters() []*SafetySettings_RaiSettings_CategoryFilter {
	if x != nil {
		return x.CategoryFilters
	}
	return nil
}

// Settings for prompt security checks.
type SafetySettings_PromptSecuritySettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Enable prompt security checks.
	EnablePromptSecurity bool `protobuf:"varint,1,opt,name=enable_prompt_security,json=enablePromptSecurity,proto3" json:"enable_prompt_security,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*SafetySettings_PromptSecuritySettings) ProtoMessage() {}

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

func (x *SafetySettings_PromptSecuritySettings) GetEnablePromptSecurity() bool {
	if x != nil {
		return x.EnablePromptSecurity
	}
	return false
}

// Configuration of the sensitivity level for blocking an RAI category.
type SafetySettings_RaiSettings_CategoryFilter struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// RAI category to configure.
	Category SafetySettings_RaiSettings_SafetyCategory `protobuf:"varint,1,opt,name=category,proto3,enum=google.cloud.dialogflow.cx.v3.SafetySettings_RaiSettings_SafetyCategory" json:"category,omitempty"`
	// Blocking sensitivity level to configure for the RAI category.
	FilterLevel   SafetySettings_RaiSettings_SafetyFilterLevel `protobuf:"varint,2,opt,name=filter_level,json=filterLevel,proto3,enum=google.cloud.dialogflow.cx.v3.SafetySettings_RaiSettings_SafetyFilterLevel" json:"filter_level,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SafetySettings_RaiSettings_CategoryFilter) ProtoMessage() {}

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

func (x *SafetySettings_RaiSettings_CategoryFilter) GetCategory() SafetySettings_RaiSettings_SafetyCategory {
	if x != nil {
		return x.Category
	}
	return SafetySettings_RaiSettings_SAFETY_CATEGORY_UNSPECIFIED
}

func (x *SafetySettings_RaiSettings_CategoryFilter) GetFilterLevel() SafetySettings_RaiSettings_SafetyFilterLevel {
	if x != nil {
		return x.FilterLevel
	}
	return SafetySettings_RaiSettings_SAFETY_FILTER_LEVEL_UNSPECIFIED
}

var File_google_cloud_dialogflow_cx_v3_safety_settings_proto protoreflect.FileDescriptor

const file_google_cloud_dialogflow_cx_v3_safety_settings_proto_rawDesc = "" +
	"\n" +
	"3google/cloud/dialogflow/cx/v3/safety_settings.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1fgoogle/api/field_behavior.proto\"\xde\v\n" +
	"\x0eSafetySettings\x12\x96\x01\n" +
	"$default_banned_phrase_match_strategy\x18\x04 \x01(\x0e2A.google.cloud.dialogflow.cx.v3.SafetySettings.PhraseMatchStrategyB\x03\xe0A\x01R defaultBannedPhraseMatchStrategy\x12[\n" +
	"\x0ebanned_phrases\x18\x01 \x03(\v24.google.cloud.dialogflow.cx.v3.SafetySettings.PhraseR\rbannedPhrases\x12a\n" +
	"\frai_settings\x18\x02 \x01(\v29.google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettingsB\x03\xe0A\x01R\vraiSettings\x12s\n" +
	"\x14default_rai_settings\x18\x03 \x01(\v29.google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettingsB\x06\xe0A\x01\xe0A\x05R\x12defaultRaiSettings\x12\x83\x01\n" +
	"\x18prompt_security_settings\x18\b \x01(\v2D.google.cloud.dialogflow.cx.v3.SafetySettings.PromptSecuritySettingsB\x03\xe0A\x01R\x16promptSecuritySettings\x1aK\n" +
	"\x06Phrase\x12\x17\n" +
	"\x04text\x18\x01 \x01(\tB\x03\xe0A\x02R\x04text\x12(\n" +
	"\rlanguage_code\x18\x02 \x01(\tB\x03\xe0A\x02R\flanguageCode\x1a\xf4\x04\n" +
	"\vRaiSettings\x12x\n" +
	"\x10category_filters\x18\x03 \x03(\v2H.google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.CategoryFilterB\x03\xe0A\x01R\x0fcategoryFilters\x1a\xe6\x01\n" +
	"\x0eCategoryFilter\x12d\n" +
	"\bcategory\x18\x01 \x01(\x0e2H.google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.SafetyCategoryR\bcategory\x12n\n" +
	"\ffilter_level\x18\x02 \x01(\x0e2K.google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.SafetyFilterLevelR\vfilterLevel\"w\n" +
	"\x11SafetyFilterLevel\x12#\n" +
	"\x1fSAFETY_FILTER_LEVEL_UNSPECIFIED\x10\x00\x12\x0e\n" +
	"\n" +
	"BLOCK_NONE\x10\x01\x12\r\n" +
	"\tBLOCK_FEW\x10\x02\x12\x0e\n" +
	"\n" +
	"BLOCK_SOME\x10\x03\x12\x0e\n" +
	"\n" +
	"BLOCK_MOST\x10\x04\"\x88\x01\n" +
	"\x0eSafetyCategory\x12\x1f\n" +
	"\x1bSAFETY_CATEGORY_UNSPECIFIED\x10\x00\x12\x15\n" +
	"\x11DANGEROUS_CONTENT\x10\x01\x12\x0f\n" +
	"\vHATE_SPEECH\x10\x02\x12\x0e\n" +
	"\n" +
	"HARASSMENT\x10\x03\x12\x1d\n" +
	"\x19SEXUALLY_EXPLICIT_CONTENT\x10\x04\x1aS\n" +
	"\x16PromptSecuritySettings\x129\n" +
	"\x16enable_prompt_security\x18\x01 \x01(\bB\x03\xe0A\x01R\x14enablePromptSecurity\"_\n" +
	"\x13PhraseMatchStrategy\x12%\n" +
	"!PHRASE_MATCH_STRATEGY_UNSPECIFIED\x10\x00\x12\x11\n" +
	"\rPARTIAL_MATCH\x10\x01\x12\x0e\n" +
	"\n" +
	"WORD_MATCH\x10\x02B\xb6\x01\n" +
	"!com.google.cloud.dialogflow.cx.v3B\x13SafetySettingsProtoP\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_safety_settings_proto_rawDescOnce sync.Once
	file_google_cloud_dialogflow_cx_v3_safety_settings_proto_rawDescData []byte
)

func file_google_cloud_dialogflow_cx_v3_safety_settings_proto_rawDescGZIP() []byte {
	file_google_cloud_dialogflow_cx_v3_safety_settings_proto_rawDescOnce.Do(func() {
		file_google_cloud_dialogflow_cx_v3_safety_settings_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_dialogflow_cx_v3_safety_settings_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3_safety_settings_proto_rawDesc)))
	})
	return file_google_cloud_dialogflow_cx_v3_safety_settings_proto_rawDescData
}

var file_google_cloud_dialogflow_cx_v3_safety_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_google_cloud_dialogflow_cx_v3_safety_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_google_cloud_dialogflow_cx_v3_safety_settings_proto_goTypes = []any{
	(SafetySettings_PhraseMatchStrategy)(0),           // 0: google.cloud.dialogflow.cx.v3.SafetySettings.PhraseMatchStrategy
	(SafetySettings_RaiSettings_SafetyFilterLevel)(0), // 1: google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.SafetyFilterLevel
	(SafetySettings_RaiSettings_SafetyCategory)(0),    // 2: google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.SafetyCategory
	(*SafetySettings)(nil),                            // 3: google.cloud.dialogflow.cx.v3.SafetySettings
	(*SafetySettings_Phrase)(nil),                     // 4: google.cloud.dialogflow.cx.v3.SafetySettings.Phrase
	(*SafetySettings_RaiSettings)(nil),                // 5: google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings
	(*SafetySettings_PromptSecuritySettings)(nil),     // 6: google.cloud.dialogflow.cx.v3.SafetySettings.PromptSecuritySettings
	(*SafetySettings_RaiSettings_CategoryFilter)(nil), // 7: google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.CategoryFilter
}
var file_google_cloud_dialogflow_cx_v3_safety_settings_proto_depIdxs = []int32{
	0, // 0: google.cloud.dialogflow.cx.v3.SafetySettings.default_banned_phrase_match_strategy:type_name -> google.cloud.dialogflow.cx.v3.SafetySettings.PhraseMatchStrategy
	4, // 1: google.cloud.dialogflow.cx.v3.SafetySettings.banned_phrases:type_name -> google.cloud.dialogflow.cx.v3.SafetySettings.Phrase
	5, // 2: google.cloud.dialogflow.cx.v3.SafetySettings.rai_settings:type_name -> google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings
	5, // 3: google.cloud.dialogflow.cx.v3.SafetySettings.default_rai_settings:type_name -> google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings
	6, // 4: google.cloud.dialogflow.cx.v3.SafetySettings.prompt_security_settings:type_name -> google.cloud.dialogflow.cx.v3.SafetySettings.PromptSecuritySettings
	7, // 5: google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.category_filters:type_name -> google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.CategoryFilter
	2, // 6: google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.CategoryFilter.category:type_name -> google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.SafetyCategory
	1, // 7: google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.CategoryFilter.filter_level:type_name -> google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.SafetyFilterLevel
	8, // [8:8] is the sub-list for method output_type
	8, // [8:8] is the sub-list for method input_type
	8, // [8:8] is the sub-list for extension type_name
	8, // [8:8] is the sub-list for extension extendee
	0, // [0:8] is the sub-list for field type_name
}

func init() { file_google_cloud_dialogflow_cx_v3_safety_settings_proto_init() }
func file_google_cloud_dialogflow_cx_v3_safety_settings_proto_init() {
	if File_google_cloud_dialogflow_cx_v3_safety_settings_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_cx_v3_safety_settings_proto_rawDesc), len(file_google_cloud_dialogflow_cx_v3_safety_settings_proto_rawDesc)),
			NumEnums:      3,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_dialogflow_cx_v3_safety_settings_proto_goTypes,
		DependencyIndexes: file_google_cloud_dialogflow_cx_v3_safety_settings_proto_depIdxs,
		EnumInfos:         file_google_cloud_dialogflow_cx_v3_safety_settings_proto_enumTypes,
		MessageInfos:      file_google_cloud_dialogflow_cx_v3_safety_settings_proto_msgTypes,
	}.Build()
	File_google_cloud_dialogflow_cx_v3_safety_settings_proto = out.File
	file_google_cloud_dialogflow_cx_v3_safety_settings_proto_goTypes = nil
	file_google_cloud_dialogflow_cx_v3_safety_settings_proto_depIdxs = nil
}
