// Copyright 2025 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/retail/v2alpha/project.proto

package retailpb

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

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

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

// The setting to control log generation.
type LoggingConfig_LoggingLevel int32

const (
	// Default value. Defaults to `LOG_FOR_WARNINGS_AND_ABOVE` if unset.
	LoggingConfig_LOGGING_LEVEL_UNSPECIFIED LoggingConfig_LoggingLevel = 0
	// No log will be generated and sent to Cloud Logging.
	LoggingConfig_LOGGING_DISABLED LoggingConfig_LoggingLevel = 1
	// Log for operations resulted in fatal error.
	LoggingConfig_LOG_ERRORS_AND_ABOVE LoggingConfig_LoggingLevel = 2
	// In addition to `LOG_ERRORS_AND_ABOVE`, also log for operations that have
	// soft errors, quality suggestions.
	LoggingConfig_LOG_WARNINGS_AND_ABOVE LoggingConfig_LoggingLevel = 3
	// Log all operations, including successful ones.
	LoggingConfig_LOG_ALL LoggingConfig_LoggingLevel = 4
)

// Enum value maps for LoggingConfig_LoggingLevel.
var (
	LoggingConfig_LoggingLevel_name = map[int32]string{
		0: "LOGGING_LEVEL_UNSPECIFIED",
		1: "LOGGING_DISABLED",
		2: "LOG_ERRORS_AND_ABOVE",
		3: "LOG_WARNINGS_AND_ABOVE",
		4: "LOG_ALL",
	}
	LoggingConfig_LoggingLevel_value = map[string]int32{
		"LOGGING_LEVEL_UNSPECIFIED": 0,
		"LOGGING_DISABLED":          1,
		"LOG_ERRORS_AND_ABOVE":      2,
		"LOG_WARNINGS_AND_ABOVE":    3,
		"LOG_ALL":                   4,
	}
)

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

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

func (LoggingConfig_LoggingLevel) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_project_proto_enumTypes[0].Descriptor()
}

func (LoggingConfig_LoggingLevel) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_project_proto_enumTypes[0]
}

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

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

// The enrollment status enum for alert policy.
type AlertConfig_AlertPolicy_EnrollStatus int32

const (
	// Default value. Used for customers who have not responded to the
	// alert policy.
	AlertConfig_AlertPolicy_ENROLL_STATUS_UNSPECIFIED AlertConfig_AlertPolicy_EnrollStatus = 0
	// Customer is enrolled in this policy.
	AlertConfig_AlertPolicy_ENROLLED AlertConfig_AlertPolicy_EnrollStatus = 1
	// Customer declined this policy.
	AlertConfig_AlertPolicy_DECLINED AlertConfig_AlertPolicy_EnrollStatus = 2
)

// Enum value maps for AlertConfig_AlertPolicy_EnrollStatus.
var (
	AlertConfig_AlertPolicy_EnrollStatus_name = map[int32]string{
		0: "ENROLL_STATUS_UNSPECIFIED",
		1: "ENROLLED",
		2: "DECLINED",
	}
	AlertConfig_AlertPolicy_EnrollStatus_value = map[string]int32{
		"ENROLL_STATUS_UNSPECIFIED": 0,
		"ENROLLED":                  1,
		"DECLINED":                  2,
	}
)

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

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

func (AlertConfig_AlertPolicy_EnrollStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_retail_v2alpha_project_proto_enumTypes[1].Descriptor()
}

func (AlertConfig_AlertPolicy_EnrollStatus) Type() protoreflect.EnumType {
	return &file_google_cloud_retail_v2alpha_project_proto_enumTypes[1]
}

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

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

// Project level logging config to control what level of log will be generated
// and written to Cloud Logging.
type LoggingConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Immutable. The name of the LoggingConfig singleton resource.
	// Format: projects/*/loggingConfig
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The log generation rule that applies by default to all services
	// supporting log generation. It can be overridden by
	// [ServiceLogGenerationRule][google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule]
	// for service level control.
	DefaultLogGenerationRule *LoggingConfig_LogGenerationRule `protobuf:"bytes,2,opt,name=default_log_generation_rule,json=defaultLogGenerationRule,proto3" json:"default_log_generation_rule,omitempty"`
	// Controls logging configurations more granularly for each supported
	// service.
	//
	// This overrides the
	// [default_log_generation_rule][google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule]
	// for the services specified. For those not mentioned, they will fallback to
	// the default log generation rule.
	ServiceLogGenerationRules []*LoggingConfig_ServiceLogGenerationRule `protobuf:"bytes,4,rep,name=service_log_generation_rules,json=serviceLogGenerationRules,proto3" json:"service_log_generation_rules,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

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

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

func (*LoggingConfig) ProtoMessage() {}

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

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

func (x *LoggingConfig) GetDefaultLogGenerationRule() *LoggingConfig_LogGenerationRule {
	if x != nil {
		return x.DefaultLogGenerationRule
	}
	return nil
}

func (x *LoggingConfig) GetServiceLogGenerationRules() []*LoggingConfig_ServiceLogGenerationRule {
	if x != nil {
		return x.ServiceLogGenerationRules
	}
	return nil
}

// Metadata that describes a Cloud Retail Project.
type Project struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. Full resource name of the retail project, such as
	// `projects/{project_id_or_number}/retailProject`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Retail API solutions that the project has enrolled.
	EnrolledSolutions []SolutionType `protobuf:"varint,2,rep,packed,name=enrolled_solutions,json=enrolledSolutions,proto3,enum=google.cloud.retail.v2alpha.SolutionType" json:"enrolled_solutions,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*Project) ProtoMessage() {}

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

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

func (x *Project) GetEnrolledSolutions() []SolutionType {
	if x != nil {
		return x.EnrolledSolutions
	}
	return nil
}

// Project level alert config.
type AlertConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Immutable. The name of the AlertConfig singleton resource.
	// Format: projects/*/alertConfig
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Alert policies for a customer.
	// They must be unique by [AlertPolicy.alert_group]
	AlertPolicies []*AlertConfig_AlertPolicy `protobuf:"bytes,2,rep,name=alert_policies,json=alertPolicies,proto3" json:"alert_policies,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AlertConfig) ProtoMessage() {}

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

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

func (x *AlertConfig) GetAlertPolicies() []*AlertConfig_AlertPolicy {
	if x != nil {
		return x.AlertPolicies
	}
	return nil
}

// The logging configurations for services supporting log generation.
type LoggingConfig_LogGenerationRule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The logging level.
	//
	// By default it is set to `LOG_WARNINGS_AND_ABOVE`.
	LoggingLevel LoggingConfig_LoggingLevel `protobuf:"varint,1,opt,name=logging_level,json=loggingLevel,proto3,enum=google.cloud.retail.v2alpha.LoggingConfig_LoggingLevel" json:"logging_level,omitempty"`
	// The log sample rate for INFO level log entries. You can use this to
	// reduce the number of entries generated for INFO level logs.
	//
	// DO NOT set this field if the
	// [logging_level][google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule.logging_level]
	// is not
	// [LoggingLevel.LOG_ALL][google.cloud.retail.v2alpha.LoggingConfig.LoggingLevel.LOG_ALL].
	// Otherwise, an INVALID_ARGUMENT error is returned.
	//
	// Sample rate for INFO logs defaults to 1 when unset (generate and send all
	// INFO logs to Cloud Logging). Its value must be greater than 0 and less
	// than or equal to 1.
	InfoLogSampleRate *float32 `protobuf:"fixed32,2,opt,name=info_log_sample_rate,json=infoLogSampleRate,proto3,oneof" json:"info_log_sample_rate,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*LoggingConfig_LogGenerationRule) ProtoMessage() {}

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

func (x *LoggingConfig_LogGenerationRule) GetLoggingLevel() LoggingConfig_LoggingLevel {
	if x != nil {
		return x.LoggingLevel
	}
	return LoggingConfig_LOGGING_LEVEL_UNSPECIFIED
}

func (x *LoggingConfig_LogGenerationRule) GetInfoLogSampleRate() float32 {
	if x != nil && x.InfoLogSampleRate != nil {
		return *x.InfoLogSampleRate
	}
	return 0
}

// The granular logging configurations for supported services.
type LoggingConfig_ServiceLogGenerationRule struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Supported service names:
	// "CatalogService",
	// "CompletionService",
	// "ControlService",
	// "MerchantCenterStreaming",
	// "ModelService",
	// "PredictionService",
	// "ProductService",
	// "ServingConfigService",
	// "UserEventService",
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// The log generation rule that applies to this service.
	LogGenerationRule *LoggingConfig_LogGenerationRule `protobuf:"bytes,3,opt,name=log_generation_rule,json=logGenerationRule,proto3" json:"log_generation_rule,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*LoggingConfig_ServiceLogGenerationRule) ProtoMessage() {}

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

func (x *LoggingConfig_ServiceLogGenerationRule) GetServiceName() string {
	if x != nil {
		return x.ServiceName
	}
	return ""
}

func (x *LoggingConfig_ServiceLogGenerationRule) GetLogGenerationRule() *LoggingConfig_LogGenerationRule {
	if x != nil {
		return x.LogGenerationRule
	}
	return nil
}

// Alert policy for a customer.
type AlertConfig_AlertPolicy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The feature that provides alerting capability.
	// Supported value:
	// - `search-data-quality` for retail search customers.
	// - `conv-data-quality` for retail conversation customers.
	AlertGroup string `protobuf:"bytes,1,opt,name=alert_group,json=alertGroup,proto3" json:"alert_group,omitempty"`
	// The enrollment status of a customer.
	EnrollStatus AlertConfig_AlertPolicy_EnrollStatus `protobuf:"varint,2,opt,name=enroll_status,json=enrollStatus,proto3,enum=google.cloud.retail.v2alpha.AlertConfig_AlertPolicy_EnrollStatus" json:"enroll_status,omitempty"`
	// Recipients for the alert policy.
	// One alert policy should not exceed 20 recipients.
	Recipients    []*AlertConfig_AlertPolicy_Recipient `protobuf:"bytes,3,rep,name=recipients,proto3" json:"recipients,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AlertConfig_AlertPolicy) ProtoMessage() {}

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

func (x *AlertConfig_AlertPolicy) GetAlertGroup() string {
	if x != nil {
		return x.AlertGroup
	}
	return ""
}

func (x *AlertConfig_AlertPolicy) GetEnrollStatus() AlertConfig_AlertPolicy_EnrollStatus {
	if x != nil {
		return x.EnrollStatus
	}
	return AlertConfig_AlertPolicy_ENROLL_STATUS_UNSPECIFIED
}

func (x *AlertConfig_AlertPolicy) GetRecipients() []*AlertConfig_AlertPolicy_Recipient {
	if x != nil {
		return x.Recipients
	}
	return nil
}

// Recipient contact information.
type AlertConfig_AlertPolicy_Recipient struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Email address of the recipient.
	EmailAddress  string `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AlertConfig_AlertPolicy_Recipient) ProtoMessage() {}

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

func (x *AlertConfig_AlertPolicy_Recipient) GetEmailAddress() string {
	if x != nil {
		return x.EmailAddress
	}
	return ""
}

var File_google_cloud_retail_v2alpha_project_proto protoreflect.FileDescriptor

const file_google_cloud_retail_v2alpha_project_proto_rawDesc = "" +
	"\n" +
	")google/cloud/retail/v2alpha/project.proto\x12\x1bgoogle.cloud.retail.v2alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/retail/v2alpha/common.proto\"\xfa\x06\n" +
	"\rLoggingConfig\x12\x1a\n" +
	"\x04name\x18\x01 \x01(\tB\x06\xe0A\x02\xe0A\x05R\x04name\x12{\n" +
	"\x1bdefault_log_generation_rule\x18\x02 \x01(\v2<.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRuleR\x18defaultLogGenerationRule\x12\x84\x01\n" +
	"\x1cservice_log_generation_rules\x18\x04 \x03(\v2C.google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRuleR\x19serviceLogGenerationRules\x1a\xc0\x01\n" +
	"\x11LogGenerationRule\x12\\\n" +
	"\rlogging_level\x18\x01 \x01(\x0e27.google.cloud.retail.v2alpha.LoggingConfig.LoggingLevelR\floggingLevel\x124\n" +
	"\x14info_log_sample_rate\x18\x02 \x01(\x02H\x00R\x11infoLogSampleRate\x88\x01\x01B\x17\n" +
	"\x15_info_log_sample_rate\x1a\xb0\x01\n" +
	"\x18ServiceLogGenerationRule\x12&\n" +
	"\fservice_name\x18\x01 \x01(\tB\x03\xe0A\x02R\vserviceName\x12l\n" +
	"\x13log_generation_rule\x18\x03 \x01(\v2<.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRuleR\x11logGenerationRule\"\x86\x01\n" +
	"\fLoggingLevel\x12\x1d\n" +
	"\x19LOGGING_LEVEL_UNSPECIFIED\x10\x00\x12\x14\n" +
	"\x10LOGGING_DISABLED\x10\x01\x12\x18\n" +
	"\x14LOG_ERRORS_AND_ABOVE\x10\x02\x12\x1a\n" +
	"\x16LOG_WARNINGS_AND_ABOVE\x10\x03\x12\v\n" +
	"\aLOG_ALL\x10\x04:J\xeaAG\n" +
	"#retail.googleapis.com/LoggingConfig\x12 projects/{project}/loggingConfig\"\xcd\x01\n" +
	"\aProject\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x03R\x04name\x12]\n" +
	"\x12enrolled_solutions\x18\x02 \x03(\x0e2).google.cloud.retail.v2alpha.SolutionTypeB\x03\xe0A\x03R\x11enrolledSolutions:J\xeaAG\n" +
	"#retail.googleapis.com/RetailProject\x12 projects/{project}/retailProject\"\xc4\x04\n" +
	"\vAlertConfig\x12\x1a\n" +
	"\x04name\x18\x01 \x01(\tB\x06\xe0A\x02\xe0A\x05R\x04name\x12[\n" +
	"\x0ealert_policies\x18\x02 \x03(\v24.google.cloud.retail.v2alpha.AlertConfig.AlertPolicyR\ralertPolicies\x1a\xf3\x02\n" +
	"\vAlertPolicy\x12\x1f\n" +
	"\valert_group\x18\x01 \x01(\tR\n" +
	"alertGroup\x12f\n" +
	"\renroll_status\x18\x02 \x01(\x0e2A.google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.EnrollStatusR\fenrollStatus\x12^\n" +
	"\n" +
	"recipients\x18\x03 \x03(\v2>.google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.RecipientR\n" +
	"recipients\x1a0\n" +
	"\tRecipient\x12#\n" +
	"\remail_address\x18\x01 \x01(\tR\femailAddress\"I\n" +
	"\fEnrollStatus\x12\x1d\n" +
	"\x19ENROLL_STATUS_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bENROLLED\x10\x01\x12\f\n" +
	"\bDECLINED\x10\x02:F\xeaAC\n" +
	"!retail.googleapis.com/AlertConfig\x12\x1eprojects/{project}/alertConfigB\xd0\x01\n" +
	"\x1fcom.google.cloud.retail.v2alphaB\fProjectProtoP\x01Z7cloud.google.com/go/retail/apiv2alpha/retailpb;retailpb\xa2\x02\x06RETAIL\xaa\x02\x1bGoogle.Cloud.Retail.V2Alpha\xca\x02\x1bGoogle\\Cloud\\Retail\\V2alpha\xea\x02\x1eGoogle::Cloud::Retail::V2alphab\x06proto3"

var (
	file_google_cloud_retail_v2alpha_project_proto_rawDescOnce sync.Once
	file_google_cloud_retail_v2alpha_project_proto_rawDescData []byte
)

func file_google_cloud_retail_v2alpha_project_proto_rawDescGZIP() []byte {
	file_google_cloud_retail_v2alpha_project_proto_rawDescOnce.Do(func() {
		file_google_cloud_retail_v2alpha_project_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_retail_v2alpha_project_proto_rawDesc), len(file_google_cloud_retail_v2alpha_project_proto_rawDesc)))
	})
	return file_google_cloud_retail_v2alpha_project_proto_rawDescData
}

var file_google_cloud_retail_v2alpha_project_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_google_cloud_retail_v2alpha_project_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_google_cloud_retail_v2alpha_project_proto_goTypes = []any{
	(LoggingConfig_LoggingLevel)(0),                // 0: google.cloud.retail.v2alpha.LoggingConfig.LoggingLevel
	(AlertConfig_AlertPolicy_EnrollStatus)(0),      // 1: google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.EnrollStatus
	(*LoggingConfig)(nil),                          // 2: google.cloud.retail.v2alpha.LoggingConfig
	(*Project)(nil),                                // 3: google.cloud.retail.v2alpha.Project
	(*AlertConfig)(nil),                            // 4: google.cloud.retail.v2alpha.AlertConfig
	(*LoggingConfig_LogGenerationRule)(nil),        // 5: google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule
	(*LoggingConfig_ServiceLogGenerationRule)(nil), // 6: google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule
	(*AlertConfig_AlertPolicy)(nil),                // 7: google.cloud.retail.v2alpha.AlertConfig.AlertPolicy
	(*AlertConfig_AlertPolicy_Recipient)(nil),      // 8: google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient
	(SolutionType)(0),                              // 9: google.cloud.retail.v2alpha.SolutionType
}
var file_google_cloud_retail_v2alpha_project_proto_depIdxs = []int32{
	5, // 0: google.cloud.retail.v2alpha.LoggingConfig.default_log_generation_rule:type_name -> google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule
	6, // 1: google.cloud.retail.v2alpha.LoggingConfig.service_log_generation_rules:type_name -> google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule
	9, // 2: google.cloud.retail.v2alpha.Project.enrolled_solutions:type_name -> google.cloud.retail.v2alpha.SolutionType
	7, // 3: google.cloud.retail.v2alpha.AlertConfig.alert_policies:type_name -> google.cloud.retail.v2alpha.AlertConfig.AlertPolicy
	0, // 4: google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule.logging_level:type_name -> google.cloud.retail.v2alpha.LoggingConfig.LoggingLevel
	5, // 5: google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule.log_generation_rule:type_name -> google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule
	1, // 6: google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.enroll_status:type_name -> google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.EnrollStatus
	8, // 7: google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.recipients:type_name -> google.cloud.retail.v2alpha.AlertConfig.AlertPolicy.Recipient
	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_retail_v2alpha_project_proto_init() }
func file_google_cloud_retail_v2alpha_project_proto_init() {
	if File_google_cloud_retail_v2alpha_project_proto != nil {
		return
	}
	file_google_cloud_retail_v2alpha_common_proto_init()
	file_google_cloud_retail_v2alpha_project_proto_msgTypes[3].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_retail_v2alpha_project_proto_rawDesc), len(file_google_cloud_retail_v2alpha_project_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_retail_v2alpha_project_proto_goTypes,
		DependencyIndexes: file_google_cloud_retail_v2alpha_project_proto_depIdxs,
		EnumInfos:         file_google_cloud_retail_v2alpha_project_proto_enumTypes,
		MessageInfos:      file_google_cloud_retail_v2alpha_project_proto_msgTypes,
	}.Build()
	File_google_cloud_retail_v2alpha_project_proto = out.File
	file_google_cloud_retail_v2alpha_project_proto_goTypes = nil
	file_google_cloud_retail_v2alpha_project_proto_depIdxs = nil
}
