// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.1
// source: internal/agentwcfg/agentwcfg.proto

package agentwcfg

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

	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 LogLevelEnum int32

const (
	LogLevelEnum_info  LogLevelEnum = 0
	LogLevelEnum_debug LogLevelEnum = 1
	LogLevelEnum_warn  LogLevelEnum = 2
	LogLevelEnum_error LogLevelEnum = 3
)

// Enum value maps for LogLevelEnum.
var (
	LogLevelEnum_name = map[int32]string{
		0: "info",
		1: "debug",
		2: "warn",
		3: "error",
	}
	LogLevelEnum_value = map[string]int32{
		"info":  0,
		"debug": 1,
		"warn":  2,
		"error": 3,
	}
)

func (x LogLevelEnum) Enum() *LogLevelEnum {
	p := new(LogLevelEnum)
	*p = x
	return p
}

func (x LogLevelEnum) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (LogLevelEnum) Descriptor() protoreflect.EnumDescriptor {
	return file_internal_agentwcfg_agentwcfg_proto_enumTypes[0].Descriptor()
}

func (LogLevelEnum) Type() protoreflect.EnumType {
	return &file_internal_agentwcfg_agentwcfg_proto_enumTypes[0]
}

func (x LogLevelEnum) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use LogLevelEnum.Descriptor instead.
func (LogLevelEnum) EnumDescriptor() ([]byte, []int) {
	return file_internal_agentwcfg_agentwcfg_proto_rawDescGZIP(), []int{0}
}

type Logging struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Level         LogLevelEnum           `protobuf:"varint,1,opt,name=level,proto3,enum=gitlab.agent.agentwcfg.LogLevelEnum" json:"level,omitempty"`
	GrpcLevel     *LogLevelEnum          `protobuf:"varint,2,opt,name=grpc_level,json=grpcLevel,proto3,enum=gitlab.agent.agentwcfg.LogLevelEnum,oneof" json:"grpc_level,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Logging) ProtoMessage() {}

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

func (x *Logging) GetLevel() LogLevelEnum {
	if x != nil {
		return x.Level
	}
	return LogLevelEnum_info
}

func (x *Logging) GetGrpcLevel() LogLevelEnum {
	if x != nil && x.GrpcLevel != nil {
		return *x.GrpcLevel
	}
	return LogLevelEnum_info
}

type GoogleProfiler struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	Enabled         bool                   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ProjectId       string                 `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	CredentialsFile string                 `protobuf:"bytes,3,opt,name=credentials_file,json=credentialsFile,proto3" json:"credentials_file,omitempty"`
	DebugLogging    bool                   `protobuf:"varint,4,opt,name=debug_logging,json=debugLogging,proto3" json:"debug_logging,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*GoogleProfiler) ProtoMessage() {}

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

func (x *GoogleProfiler) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *GoogleProfiler) GetProjectId() string {
	if x != nil {
		return x.ProjectId
	}
	return ""
}

func (x *GoogleProfiler) GetCredentialsFile() string {
	if x != nil {
		return x.CredentialsFile
	}
	return ""
}

func (x *GoogleProfiler) GetDebugLogging() bool {
	if x != nil {
		return x.DebugLogging
	}
	return false
}

type Observability struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Logging        *Logging               `protobuf:"bytes,1,opt,name=logging,proto3" json:"logging,omitempty"`
	GoogleProfiler *GoogleProfiler        `protobuf:"bytes,2,opt,name=google_profiler,json=googleProfiler,proto3" json:"google_profiler,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*Observability) ProtoMessage() {}

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

func (x *Observability) GetLogging() *Logging {
	if x != nil {
		return x.Logging
	}
	return nil
}

func (x *Observability) GetGoogleProfiler() *GoogleProfiler {
	if x != nil {
		return x.GoogleProfiler
	}
	return nil
}

type AgentConfiguration struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	AgentId       int64                  `protobuf:"varint,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	Observability *Observability         `protobuf:"bytes,2,opt,name=observability,proto3" json:"observability,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AgentConfiguration) Reset() {
	*x = AgentConfiguration{}
	mi := &file_internal_agentwcfg_agentwcfg_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*AgentConfiguration) ProtoMessage() {}

func (x *AgentConfiguration) ProtoReflect() protoreflect.Message {
	mi := &file_internal_agentwcfg_agentwcfg_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 AgentConfiguration.ProtoReflect.Descriptor instead.
func (*AgentConfiguration) Descriptor() ([]byte, []int) {
	return file_internal_agentwcfg_agentwcfg_proto_rawDescGZIP(), []int{3}
}

func (x *AgentConfiguration) GetAgentId() int64 {
	if x != nil {
		return x.AgentId
	}
	return 0
}

func (x *AgentConfiguration) GetObservability() *Observability {
	if x != nil {
		return x.Observability
	}
	return nil
}

var File_internal_agentwcfg_agentwcfg_proto protoreflect.FileDescriptor

const file_internal_agentwcfg_agentwcfg_proto_rawDesc = "" +
	"\n" +
	"\"internal/agentwcfg/agentwcfg.proto\x12\x16gitlab.agent.agentwcfg\"\xa2\x01\n" +
	"\aLogging\x12<\n" +
	"\x05level\x18\x01 \x01(\x0e2&.gitlab.agent.agentwcfg.log_level_enumR\x05level\x12J\n" +
	"\n" +
	"grpc_level\x18\x02 \x01(\x0e2&.gitlab.agent.agentwcfg.log_level_enumH\x00R\tgrpcLevel\x88\x01\x01B\r\n" +
	"\v_grpc_level\"\x99\x01\n" +
	"\x0eGoogleProfiler\x12\x18\n" +
	"\aenabled\x18\x01 \x01(\bR\aenabled\x12\x1d\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tR\tprojectId\x12)\n" +
	"\x10credentials_file\x18\x03 \x01(\tR\x0fcredentialsFile\x12#\n" +
	"\rdebug_logging\x18\x04 \x01(\bR\fdebugLogging\"\x9b\x01\n" +
	"\rObservability\x129\n" +
	"\alogging\x18\x01 \x01(\v2\x1f.gitlab.agent.agentwcfg.LoggingR\alogging\x12O\n" +
	"\x0fgoogle_profiler\x18\x02 \x01(\v2&.gitlab.agent.agentwcfg.GoogleProfilerR\x0egoogleProfiler\"|\n" +
	"\x12AgentConfiguration\x12\x19\n" +
	"\bagent_id\x18\x01 \x01(\x03R\aagentId\x12K\n" +
	"\robservability\x18\x02 \x01(\v2%.gitlab.agent.agentwcfg.ObservabilityR\robservability*:\n" +
	"\x0elog_level_enum\x12\b\n" +
	"\x04info\x10\x00\x12\t\n" +
	"\x05debug\x10\x01\x12\b\n" +
	"\x04warn\x10\x02\x12\t\n" +
	"\x05error\x10\x03BOZMgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/agentwcfgb\x06proto3"

var (
	file_internal_agentwcfg_agentwcfg_proto_rawDescOnce sync.Once
	file_internal_agentwcfg_agentwcfg_proto_rawDescData []byte
)

func file_internal_agentwcfg_agentwcfg_proto_rawDescGZIP() []byte {
	file_internal_agentwcfg_agentwcfg_proto_rawDescOnce.Do(func() {
		file_internal_agentwcfg_agentwcfg_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_agentwcfg_agentwcfg_proto_rawDesc), len(file_internal_agentwcfg_agentwcfg_proto_rawDesc)))
	})
	return file_internal_agentwcfg_agentwcfg_proto_rawDescData
}

var file_internal_agentwcfg_agentwcfg_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_internal_agentwcfg_agentwcfg_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_internal_agentwcfg_agentwcfg_proto_goTypes = []any{
	(LogLevelEnum)(0),          // 0: gitlab.agent.agentwcfg.log_level_enum
	(*Logging)(nil),            // 1: gitlab.agent.agentwcfg.Logging
	(*GoogleProfiler)(nil),     // 2: gitlab.agent.agentwcfg.GoogleProfiler
	(*Observability)(nil),      // 3: gitlab.agent.agentwcfg.Observability
	(*AgentConfiguration)(nil), // 4: gitlab.agent.agentwcfg.AgentConfiguration
}
var file_internal_agentwcfg_agentwcfg_proto_depIdxs = []int32{
	0, // 0: gitlab.agent.agentwcfg.Logging.level:type_name -> gitlab.agent.agentwcfg.log_level_enum
	0, // 1: gitlab.agent.agentwcfg.Logging.grpc_level:type_name -> gitlab.agent.agentwcfg.log_level_enum
	1, // 2: gitlab.agent.agentwcfg.Observability.logging:type_name -> gitlab.agent.agentwcfg.Logging
	2, // 3: gitlab.agent.agentwcfg.Observability.google_profiler:type_name -> gitlab.agent.agentwcfg.GoogleProfiler
	3, // 4: gitlab.agent.agentwcfg.AgentConfiguration.observability:type_name -> gitlab.agent.agentwcfg.Observability
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_internal_agentwcfg_agentwcfg_proto_init() }
func file_internal_agentwcfg_agentwcfg_proto_init() {
	if File_internal_agentwcfg_agentwcfg_proto != nil {
		return
	}
	file_internal_agentwcfg_agentwcfg_proto_msgTypes[0].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_agentwcfg_agentwcfg_proto_rawDesc), len(file_internal_agentwcfg_agentwcfg_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_internal_agentwcfg_agentwcfg_proto_goTypes,
		DependencyIndexes: file_internal_agentwcfg_agentwcfg_proto_depIdxs,
		EnumInfos:         file_internal_agentwcfg_agentwcfg_proto_enumTypes,
		MessageInfos:      file_internal_agentwcfg_agentwcfg_proto_msgTypes,
	}.Build()
	File_internal_agentwcfg_agentwcfg_proto = out.File
	file_internal_agentwcfg_agentwcfg_proto_goTypes = nil
	file_internal_agentwcfg_agentwcfg_proto_depIdxs = nil
}
