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

package agentk

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 Meta 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/agentk/agentk.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 *Meta) Reset() {
	*x = Meta{}
	mi := &file_pkg_entity_agentk_agentk_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Meta) ProtoMessage() {}

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

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

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

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

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

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

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

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

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_agentk_agentk_proto_msgTypes[1]
	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_agentk_agentk_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 KubernetesVersion.ProtoReflect.Descriptor instead.
func (*KubernetesVersion) Descriptor() ([]byte, []int) {
	return file_pkg_entity_agentk_agentk_proto_rawDescGZIP(), []int{1}
}

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

var File_pkg_entity_agentk_agentk_proto protoreflect.FileDescriptor

const file_pkg_entity_agentk_agentk_proto_rawDesc = "" +
	"\n" +
	"\x1epkg/entity/agentk/agentk.proto\x12\x1agitlab.agent.entity.agentk\x1a\x1bbuf/validate/validate.proto\"\xfe\x03\n" +
	"\x04Meta\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\x12]\n" +
	"\x12kubernetes_version\x18\x05 \x01(\v2-.gitlab.agent.entity.agentk.KubernetesVersionR\x12kubernetes_version\x12\"\n" +
	"\agit_ref\x18\x06 \x01(\tB\b\xbaH\x05r\x03(\xff\x01R\agit_ref\x12\x85\x01\n" +
	"\x14extra_telemetry_data\x18\a \x03(\v28.gitlab.agent.entity.agentk.Meta.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\"\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\bplatformBNZLgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/entity/agentkb\x06proto3"

var (
	file_pkg_entity_agentk_agentk_proto_rawDescOnce sync.Once
	file_pkg_entity_agentk_agentk_proto_rawDescData []byte
)

func file_pkg_entity_agentk_agentk_proto_rawDescGZIP() []byte {
	file_pkg_entity_agentk_agentk_proto_rawDescOnce.Do(func() {
		file_pkg_entity_agentk_agentk_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_pkg_entity_agentk_agentk_proto_rawDesc), len(file_pkg_entity_agentk_agentk_proto_rawDesc)))
	})
	return file_pkg_entity_agentk_agentk_proto_rawDescData
}

var file_pkg_entity_agentk_agentk_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_pkg_entity_agentk_agentk_proto_goTypes = []any{
	(*Meta)(nil),              // 0: gitlab.agent.entity.agentk.Meta
	(*KubernetesVersion)(nil), // 1: gitlab.agent.entity.agentk.KubernetesVersion
	nil,                       // 2: gitlab.agent.entity.agentk.Meta.ExtraTelemetryDataEntry
}
var file_pkg_entity_agentk_agentk_proto_depIdxs = []int32{
	1, // 0: gitlab.agent.entity.agentk.Meta.kubernetes_version:type_name -> gitlab.agent.entity.agentk.KubernetesVersion
	2, // 1: gitlab.agent.entity.agentk.Meta.extra_telemetry_data:type_name -> gitlab.agent.entity.agentk.Meta.ExtraTelemetryDataEntry
	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
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_pkg_entity_agentk_agentk_proto_init() }
func file_pkg_entity_agentk_agentk_proto_init() {
	if File_pkg_entity_agentk_agentk_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_agentk_agentk_proto_rawDesc), len(file_pkg_entity_agentk_agentk_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_pkg_entity_agentk_agentk_proto_goTypes,
		DependencyIndexes: file_pkg_entity_agentk_agentk_proto_depIdxs,
		MessageInfos:      file_pkg_entity_agentk_agentk_proto_msgTypes,
	}.Build()
	File_pkg_entity_agentk_agentk_proto = out.File
	file_pkg_entity_agentk_agentk_proto_goTypes = nil
	file_pkg_entity_agentk_agentk_proto_depIdxs = nil
}
