// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.5
// source: pkg/entity/entity.proto

package entity

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

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

type GitalyInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Address       string                 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Token         string                 `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Features      map[string]string      `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GitalyInfo) ProtoMessage() {}

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

func (x *GitalyInfo) GetAddress() string {
	if x != nil {
		return x.Address
	}
	return ""
}

func (x *GitalyInfo) GetToken() string {
	if x != nil {
		return x.Token
	}
	return ""
}

func (x *GitalyInfo) GetFeatures() map[string]string {
	if x != nil {
		return x.Features
	}
	return nil
}

type GitalyRepository struct {
	state                         protoimpl.MessageState `protogen:"open.v1"`
	StorageName                   string                 `protobuf:"bytes,2,opt,name=storage_name,proto3" json:"storage_name,omitempty"`
	RelativePath                  string                 `protobuf:"bytes,3,opt,name=relative_path,proto3" json:"relative_path,omitempty"`
	GitObjectDirectory            string                 `protobuf:"bytes,4,opt,name=git_object_directory,proto3" json:"git_object_directory,omitempty"`
	GitAlternateObjectDirectories []string               `protobuf:"bytes,5,rep,name=git_alternate_object_directories,proto3" json:"git_alternate_object_directories,omitempty"`
	GlRepository                  string                 `protobuf:"bytes,6,opt,name=gl_repository,proto3" json:"gl_repository,omitempty"`
	GlProjectPath                 string                 `protobuf:"bytes,8,opt,name=gl_project_path,proto3" json:"gl_project_path,omitempty"`
	unknownFields                 protoimpl.UnknownFields
	sizeCache                     protoimpl.SizeCache
}

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

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

func (*GitalyRepository) ProtoMessage() {}

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

func (x *GitalyRepository) GetStorageName() string {
	if x != nil {
		return x.StorageName
	}
	return ""
}

func (x *GitalyRepository) GetRelativePath() string {
	if x != nil {
		return x.RelativePath
	}
	return ""
}

func (x *GitalyRepository) GetGitObjectDirectory() string {
	if x != nil {
		return x.GitObjectDirectory
	}
	return ""
}

func (x *GitalyRepository) GetGitAlternateObjectDirectories() []string {
	if x != nil {
		return x.GitAlternateObjectDirectories
	}
	return nil
}

func (x *GitalyRepository) GetGlRepository() string {
	if x != nil {
		return x.GlRepository
	}
	return ""
}

func (x *GitalyRepository) GetGlProjectPath() string {
	if x != nil {
		return x.GlProjectPath
	}
	return ""
}

var File_pkg_entity_entity_proto protoreflect.FileDescriptor

const file_pkg_entity_entity_proto_rawDesc = "" +
	"\n" +
	"\x17pkg/entity/entity.proto\x12\x13gitlab.agent.entity\x1a\x1bbuf/validate/validate.proto\"\xcd\x01\n" +
	"\n" +
	"GitalyInfo\x12!\n" +
	"\aaddress\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\aaddress\x12\x14\n" +
	"\x05token\x18\x02 \x01(\tR\x05token\x12I\n" +
	"\bfeatures\x18\x03 \x03(\v2-.gitlab.agent.entity.GitalyInfo.FeaturesEntryR\bfeatures\x1a;\n" +
	"\rFeaturesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xd0\x02\n" +
	"\x10GitalyRepository\x12+\n" +
	"\fstorage_name\x18\x02 \x01(\tB\a\xbaH\x04r\x02 \x01R\fstorage_name\x12-\n" +
	"\rrelative_path\x18\x03 \x01(\tB\a\xbaH\x04r\x02 \x01R\rrelative_path\x122\n" +
	"\x14git_object_directory\x18\x04 \x01(\tR\x14git_object_directory\x12J\n" +
	" git_alternate_object_directories\x18\x05 \x03(\tR git_alternate_object_directories\x12-\n" +
	"\rgl_repository\x18\x06 \x01(\tB\a\xbaH\x04r\x02 \x01R\rgl_repository\x121\n" +
	"\x0fgl_project_path\x18\b \x01(\tB\a\xbaH\x04r\x02 \x01R\x0fgl_project_pathBGZEgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/entityb\x06proto3"

var (
	file_pkg_entity_entity_proto_rawDescOnce sync.Once
	file_pkg_entity_entity_proto_rawDescData []byte
)

func file_pkg_entity_entity_proto_rawDescGZIP() []byte {
	file_pkg_entity_entity_proto_rawDescOnce.Do(func() {
		file_pkg_entity_entity_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_pkg_entity_entity_proto_rawDesc), len(file_pkg_entity_entity_proto_rawDesc)))
	})
	return file_pkg_entity_entity_proto_rawDescData
}

var file_pkg_entity_entity_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_pkg_entity_entity_proto_goTypes = []any{
	(*GitalyInfo)(nil),       // 0: gitlab.agent.entity.GitalyInfo
	(*GitalyRepository)(nil), // 1: gitlab.agent.entity.GitalyRepository
	nil,                      // 2: gitlab.agent.entity.GitalyInfo.FeaturesEntry
}
var file_pkg_entity_entity_proto_depIdxs = []int32{
	2, // 0: gitlab.agent.entity.GitalyInfo.features:type_name -> gitlab.agent.entity.GitalyInfo.FeaturesEntry
	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
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_pkg_entity_entity_proto_init() }
func file_pkg_entity_entity_proto_init() {
	if File_pkg_entity_entity_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_pkg_entity_entity_proto_rawDesc), len(file_pkg_entity_entity_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_pkg_entity_entity_proto_goTypes,
		DependencyIndexes: file_pkg_entity_entity_proto_depIdxs,
		MessageInfos:      file_pkg_entity_entity_proto_msgTypes,
	}.Build()
	File_pkg_entity_entity_proto = out.File
	file_pkg_entity_entity_proto_goTypes = nil
	file_pkg_entity_entity_proto_depIdxs = nil
}
