// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: validation/v1/predefined_string_rules.proto

package validationv1

import (
	validate "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	unsafe "unsafe"
)

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

var file_validation_v1_predefined_string_rules_proto_extTypes = []protoimpl.ExtensionInfo{
	{
		ExtendedType:  (*validate.StringRules)(nil),
		ExtensionType: (*bool)(nil),
		Field:         10000,
		Name:          "validation.v1.name_component",
		Tag:           "varint,10000,opt,name=name_component",
		Filename:      "validation/v1/predefined_string_rules.proto",
	},
	{
		ExtendedType:  (*validate.StringRules)(nil),
		ExtensionType: (*bool)(nil),
		Field:         10001,
		Name:          "validation.v1.model_id_component",
		Tag:           "varint,10001,opt,name=model_id_component",
		Filename:      "validation/v1/predefined_string_rules.proto",
	},
}

// Extension fields to validate.StringRules.
var (
	// optional bool name_component = 10000;
	E_NameComponent = &file_validation_v1_predefined_string_rules_proto_extTypes[0]
	// optional bool model_id_component = 10001;
	E_ModelIdComponent = &file_validation_v1_predefined_string_rules_proto_extTypes[1]
)

var File_validation_v1_predefined_string_rules_proto protoreflect.FileDescriptor

const file_validation_v1_predefined_string_rules_proto_rawDesc = "" +
	"\n" +
	"+validation/v1/predefined_string_rules.proto\x12\rvalidation.v1\x1a\x1bbuf/validate/validate.proto:\xb1\x01\n" +
	"\x0ename_component\x12\x19.buf.validate.StringRules\x18\x90N \x01(\bBn\xc2Hk\n" +
	"i\n" +
	"\x15string.name_component\x12*name must have between 1 and 64 characters\x1a$this.size() > 0 && this.size() <= 64R\rnameComponent:\xaa\x01\n" +
	"\x12model_id_component\x12\x19.buf.validate.StringRules\x18\x91N \x01(\bB`\xc2H]\n" +
	"[\n" +
	"\x19string.model_id_component\x12#this does not seem to be a model id\x1a\x19this.startsWith('model-')R\x10modelIdComponentB\xb5\x01\n" +
	"\x11com.validation.v1B\x1aPredefinedStringRulesProtoP\x01Z?github.com/cobotar/protocol/messages/validation/v1;validationv1\xa2\x02\x03VXX\xca\x02\rValidation\\V1\xe2\x02\x19Validation\\V1\\GPBMetadata\xea\x02\x0eValidation::V1"

var file_validation_v1_predefined_string_rules_proto_goTypes = []any{
	(*validate.StringRules)(nil), // 0: buf.validate.StringRules
}
var file_validation_v1_predefined_string_rules_proto_depIdxs = []int32{
	0, // 0: validation.v1.name_component:extendee -> buf.validate.StringRules
	0, // 1: validation.v1.model_id_component:extendee -> buf.validate.StringRules
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	0, // [0:2] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_validation_v1_predefined_string_rules_proto_init() }
func file_validation_v1_predefined_string_rules_proto_init() {
	if File_validation_v1_predefined_string_rules_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_validation_v1_predefined_string_rules_proto_rawDesc), len(file_validation_v1_predefined_string_rules_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   0,
			NumExtensions: 2,
			NumServices:   0,
		},
		GoTypes:           file_validation_v1_predefined_string_rules_proto_goTypes,
		DependencyIndexes: file_validation_v1_predefined_string_rules_proto_depIdxs,
		ExtensionInfos:    file_validation_v1_predefined_string_rules_proto_extTypes,
	}.Build()
	File_validation_v1_predefined_string_rules_proto = out.File
	file_validation_v1_predefined_string_rules_proto_goTypes = nil
	file_validation_v1_predefined_string_rules_proto_depIdxs = nil
}
