// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.9
// 	protoc        v6.32.1
// source: pkg/constraint/constraint.proto

package constraint

import (
	reflect "reflect"
	unsafe "unsafe"

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

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_pkg_constraint_constraint_proto_extTypes = []protoimpl.ExtensionInfo{
	{
		ExtendedType:  (*validate.StringRules)(nil),
		ExtensionType: (*bool)(nil),
		Field:         193002,
		Name:          "gitlab.agent.constraint.is_agent_name",
		Tag:           "varint,193002,opt,name=is_agent_name",
		Filename:      "pkg/constraint/constraint.proto",
	},
}

// Extension fields to validate.StringRules.
var (
	// optional bool is_agent_name = 193002;
	E_IsAgentName = &file_pkg_constraint_constraint_proto_extTypes[0]
)

var File_pkg_constraint_constraint_proto protoreflect.FileDescriptor

const file_pkg_constraint_constraint_proto_rawDesc = "" +
	"\n" +
	"\x1fpkg/constraint/constraint.proto\x12\x17gitlab.agent.constraint\x1a\x1bbuf/validate/validate.proto:\xac\x01\n" +
	"\ris_agent_name\x12\x19.buf.validate.StringRules\x18\xea\xe3\v \x01(\bBk\xc2Hh\n" +
	"f\n" +
	"\x14string.is_agent_name\x12\x12invalid agent name\x1a:!rule || this.matches('^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$')R\visAgentNameBKZIgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/constraintb\beditionsp\xe8\a"

var file_pkg_constraint_constraint_proto_goTypes = []any{
	(*validate.StringRules)(nil), // 0: buf.validate.StringRules
}
var file_pkg_constraint_constraint_proto_depIdxs = []int32{
	0, // 0: gitlab.agent.constraint.is_agent_name:extendee -> buf.validate.StringRules
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	0, // [0:1] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_pkg_constraint_constraint_proto_init() }
func file_pkg_constraint_constraint_proto_init() {
	if File_pkg_constraint_constraint_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_pkg_constraint_constraint_proto_rawDesc), len(file_pkg_constraint_constraint_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   0,
			NumExtensions: 1,
			NumServices:   0,
		},
		GoTypes:           file_pkg_constraint_constraint_proto_goTypes,
		DependencyIndexes: file_pkg_constraint_constraint_proto_depIdxs,
		ExtensionInfos:    file_pkg_constraint_constraint_proto_extTypes,
	}.Build()
	File_pkg_constraint_constraint_proto = out.File
	file_pkg_constraint_constraint_proto_goTypes = nil
	file_pkg_constraint_constraint_proto_depIdxs = nil
}
