// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.9
// 	protoc        v6.32.1
// 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 AgentkMeta struct {
	state   protoimpl.MessageState `protogen:"open.v1"`
	Version string                 `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Deprecated: Marked as deprecated in pkg/entity/entity.proto.
	CommitId           string             `protobuf:"bytes,2,opt,name=commit_id,proto3" json:"commit_id,omitempty"`
	PodNamespace       string             `protobuf:"bytes,3,opt,name=pod_namespace,proto3" json:"pod_namespace,omitempty"`
	PodName            string             `protobuf:"bytes,4,opt,name=pod_name,proto3" json:"pod_name,omitempty"`
	KubernetesVersion  *KubernetesVersion `protobuf:"bytes,5,opt,name=kubernetes_version,proto3" json:"kubernetes_version,omitempty"`
	GitRef             string             `protobuf:"bytes,6,opt,name=git_ref,proto3" json:"git_ref,omitempty"`
	ExtraTelemetryData map[string]string  `protobuf:"bytes,7,rep,name=extra_telemetry_data,proto3" json:"extra_telemetry_data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*AgentkMeta) ProtoMessage() {}

func (x *AgentkMeta) 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 AgentkMeta.ProtoReflect.Descriptor instead.
func (*AgentkMeta) Descriptor() ([]byte, []int) {
	return file_pkg_entity_entity_proto_rawDescGZIP(), []int{0}
}

func (x *AgentkMeta) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

// Deprecated: Marked as deprecated in pkg/entity/entity.proto.
func (x *AgentkMeta) GetCommitId() string {
	if x != nil {
		return x.CommitId
	}
	return ""
}

func (x *AgentkMeta) GetPodNamespace() string {
	if x != nil {
		return x.PodNamespace
	}
	return ""
}

func (x *AgentkMeta) GetPodName() string {
	if x != nil {
		return x.PodName
	}
	return ""
}

func (x *AgentkMeta) GetKubernetesVersion() *KubernetesVersion {
	if x != nil {
		return x.KubernetesVersion
	}
	return nil
}

func (x *AgentkMeta) GetGitRef() string {
	if x != nil {
		return x.GitRef
	}
	return ""
}

func (x *AgentkMeta) GetExtraTelemetryData() map[string]string {
	if x != nil {
		return x.ExtraTelemetryData
	}
	return nil
}

type AgentwMeta struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	Version            string                 `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	GitRef             string                 `protobuf:"bytes,2,opt,name=git_ref,proto3" json:"git_ref,omitempty"`
	ExtraTelemetryData map[string]string      `protobuf:"bytes,3,rep,name=extra_telemetry_data,proto3" json:"extra_telemetry_data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	Architecture       string                 `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*AgentwMeta) ProtoMessage() {}

func (x *AgentwMeta) 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 AgentwMeta.ProtoReflect.Descriptor instead.
func (*AgentwMeta) Descriptor() ([]byte, []int) {
	return file_pkg_entity_entity_proto_rawDescGZIP(), []int{1}
}

func (x *AgentwMeta) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

func (x *AgentwMeta) GetGitRef() string {
	if x != nil {
		return x.GitRef
	}
	return ""
}

func (x *AgentwMeta) GetExtraTelemetryData() map[string]string {
	if x != nil {
		return x.ExtraTelemetryData
	}
	return nil
}

func (x *AgentwMeta) GetArchitecture() string {
	if x != nil {
		return x.Architecture
	}
	return ""
}

type KubernetesVersion struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Major         string                 `protobuf:"bytes,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor         string                 `protobuf:"bytes,2,opt,name=minor,proto3" json:"minor,omitempty"`
	GitVersion    string                 `protobuf:"bytes,3,opt,name=git_version,proto3" json:"git_version,omitempty"`
	Platform      string                 `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*KubernetesVersion) ProtoMessage() {}

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

func (x *KubernetesVersion) GetMajor() string {
	if x != nil {
		return x.Major
	}
	return ""
}

func (x *KubernetesVersion) GetMinor() string {
	if x != nil {
		return x.Minor
	}
	return ""
}

func (x *KubernetesVersion) GetGitVersion() string {
	if x != nil {
		return x.GitVersion
	}
	return ""
}

func (x *KubernetesVersion) GetPlatform() string {
	if x != nil {
		return x.Platform
	}
	return ""
}

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[3]
	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[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 GitalyInfo.ProtoReflect.Descriptor instead.
func (*GitalyInfo) Descriptor() ([]byte, []int) {
	return file_pkg_entity_entity_proto_rawDescGZIP(), []int{3}
}

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[4]
	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[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 GitalyRepository.ProtoReflect.Descriptor instead.
func (*GitalyRepository) Descriptor() ([]byte, []int) {
	return file_pkg_entity_entity_proto_rawDescGZIP(), []int{4}
}

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\"\xfc\x03\n" +
	"\n" +
	"AgentkMeta\x12!\n" +
	"\aversion\x18\x01 \x01(\tB\a\xbaH\x04r\x02(2R\aversion\x12(\n" +
	"\tcommit_id\x18\x02 \x01(\tB\n" +
	"\xbaH\x05r\x03(\xff\x01\x18\x01R\tcommit_id\x12/\n" +
	"\rpod_namespace\x18\x03 \x01(\tB\t\xbaH\x06r\x04\x10\x01(?R\rpod_namespace\x12&\n" +
	"\bpod_name\x18\x04 \x01(\tB\n" +
	"\xbaH\ar\x05\x10\x01(\xff\x01R\bpod_name\x12V\n" +
	"\x12kubernetes_version\x18\x05 \x01(\v2&.gitlab.agent.entity.KubernetesVersionR\x12kubernetes_version\x12\"\n" +
	"\agit_ref\x18\x06 \x01(\tB\b\xbaH\x05r\x03(\xff\x01R\agit_ref\x12\x84\x01\n" +
	"\x14extra_telemetry_data\x18\a \x03(\v27.gitlab.agent.entity.AgentkMeta.ExtraTelemetryDataEntryB\x17\xbaH\x14\x9a\x01\x11\x10\b\"\x06r\x04\x10\x03\x18@*\x05r\x03\x18\xff\x01R\x14extra_telemetry_data\x1aE\n" +
	"\x17ExtraTelemetryDataEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xce\x02\n" +
	"\n" +
	"AgentwMeta\x12!\n" +
	"\aversion\x18\x01 \x01(\tB\a\xbaH\x04r\x02(2R\aversion\x12\"\n" +
	"\agit_ref\x18\x02 \x01(\tB\b\xbaH\x05r\x03(\xff\x01R\agit_ref\x12\x84\x01\n" +
	"\x14extra_telemetry_data\x18\x03 \x03(\v27.gitlab.agent.entity.AgentwMeta.ExtraTelemetryDataEntryB\x17\xbaH\x14\x9a\x01\x11\x10\b\"\x06r\x04\x10\x03\x18@*\x05r\x03\x18\xff\x01R\x14extra_telemetry_data\x12+\n" +
	"\farchitecture\x18\x04 \x01(\tB\a\xbaH\x04r\x02 \x01R\farchitecture\x1aE\n" +
	"\x17ExtraTelemetryDataEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xa3\x01\n" +
	"\x11KubernetesVersion\x12\x1d\n" +
	"\x05major\x18\x01 \x01(\tB\a\xbaH\x04r\x02(\x14R\x05major\x12\x1d\n" +
	"\x05minor\x18\x02 \x01(\tB\a\xbaH\x04r\x02(\x14R\x05minor\x12*\n" +
	"\vgit_version\x18\x03 \x01(\tB\b\xbaH\x05r\x03(\xff\x01R\vgit_version\x12$\n" +
	"\bplatform\x18\x04 \x01(\tB\b\xbaH\x05r\x03(\xff\x01R\bplatform\"\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, 8)
var file_pkg_entity_entity_proto_goTypes = []any{
	(*AgentkMeta)(nil),        // 0: gitlab.agent.entity.AgentkMeta
	(*AgentwMeta)(nil),        // 1: gitlab.agent.entity.AgentwMeta
	(*KubernetesVersion)(nil), // 2: gitlab.agent.entity.KubernetesVersion
	(*GitalyInfo)(nil),        // 3: gitlab.agent.entity.GitalyInfo
	(*GitalyRepository)(nil),  // 4: gitlab.agent.entity.GitalyRepository
	nil,                       // 5: gitlab.agent.entity.AgentkMeta.ExtraTelemetryDataEntry
	nil,                       // 6: gitlab.agent.entity.AgentwMeta.ExtraTelemetryDataEntry
	nil,                       // 7: gitlab.agent.entity.GitalyInfo.FeaturesEntry
}
var file_pkg_entity_entity_proto_depIdxs = []int32{
	2, // 0: gitlab.agent.entity.AgentkMeta.kubernetes_version:type_name -> gitlab.agent.entity.KubernetesVersion
	5, // 1: gitlab.agent.entity.AgentkMeta.extra_telemetry_data:type_name -> gitlab.agent.entity.AgentkMeta.ExtraTelemetryDataEntry
	6, // 2: gitlab.agent.entity.AgentwMeta.extra_telemetry_data:type_name -> gitlab.agent.entity.AgentwMeta.ExtraTelemetryDataEntry
	7, // 3: gitlab.agent.entity.GitalyInfo.features:type_name -> gitlab.agent.entity.GitalyInfo.FeaturesEntry
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] 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:   8,
			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
}
