// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.7
// 	protoc        v6.32.0
// source: internal/module/configuration_project/rpc/rpc.proto

package rpc

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

	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	_ "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/constraint"
	entity "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/entity"
	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 ListAgentConfigFilesRequest struct {
	state         protoimpl.MessageState   `protogen:"open.v1"`
	Repository    *entity.GitalyRepository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	GitalyInfo    *entity.GitalyInfo       `protobuf:"bytes,2,opt,name=gitaly_info,json=gitalyInfo,proto3" json:"gitaly_info,omitempty"`
	DefaultBranch string                   `protobuf:"bytes,3,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListAgentConfigFilesRequest) ProtoMessage() {}

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

func (x *ListAgentConfigFilesRequest) GetRepository() *entity.GitalyRepository {
	if x != nil {
		return x.Repository
	}
	return nil
}

func (x *ListAgentConfigFilesRequest) GetGitalyInfo() *entity.GitalyInfo {
	if x != nil {
		return x.GitalyInfo
	}
	return nil
}

func (x *ListAgentConfigFilesRequest) GetDefaultBranch() string {
	if x != nil {
		return x.DefaultBranch
	}
	return ""
}

type ListAgentConfigFilesResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ConfigFiles   []*AgentConfigFile     `protobuf:"bytes,1,rep,name=config_files,proto3" json:"config_files,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListAgentConfigFilesResponse) ProtoMessage() {}

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

func (x *ListAgentConfigFilesResponse) GetConfigFiles() []*AgentConfigFile {
	if x != nil {
		return x.ConfigFiles
	}
	return nil
}

type AgentConfigFile struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	AgentName     string                 `protobuf:"bytes,2,opt,name=agent_name,proto3" json:"agent_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AgentConfigFile) ProtoMessage() {}

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

func (x *AgentConfigFile) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *AgentConfigFile) GetAgentName() string {
	if x != nil {
		return x.AgentName
	}
	return ""
}

var File_internal_module_configuration_project_rpc_rpc_proto protoreflect.FileDescriptor

const file_internal_module_configuration_project_rpc_rpc_proto_rawDesc = "" +
	"\n" +
	"3internal/module/configuration_project/rpc/rpc.proto\x12&gitlab.agent.configuration_project.rpc\x1a\x1fpkg/constraint/constraint.proto\x1a\x1bbuf/validate/validate.proto\x1a\x17pkg/entity/entity.proto\"\xdd\x01\n" +
	"\x1bListAgentConfigFilesRequest\x12M\n" +
	"\n" +
	"repository\x18\x01 \x01(\v2%.gitlab.agent.entity.GitalyRepositoryB\x06\xbaH\x03\xc8\x01\x01R\n" +
	"repository\x12H\n" +
	"\vgitaly_info\x18\x02 \x01(\v2\x1f.gitlab.agent.entity.GitalyInfoB\x06\xbaH\x03\xc8\x01\x01R\n" +
	"gitalyInfo\x12%\n" +
	"\x0edefault_branch\x18\x03 \x01(\tR\rdefaultBranch\"{\n" +
	"\x1cListAgentConfigFilesResponse\x12[\n" +
	"\fconfig_files\x18\x01 \x03(\v27.gitlab.agent.configuration_project.rpc.AgentConfigFileR\fconfig_files\"P\n" +
	"\x0fAgentConfigFile\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12)\n" +
	"\n" +
	"agent_name\x18\x02 \x01(\tB\t\xbaH\x06r\x04О^\x01R\n" +
	"agent_name2\xbf\x01\n" +
	"\x14ConfigurationProject\x12\xa6\x01\n" +
	"\x14ListAgentConfigFiles\x12C.gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest\x1aD.gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse\"\x03\x90\x02\x01BfZdgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/configuration_project/rpcb\x06proto3"

var (
	file_internal_module_configuration_project_rpc_rpc_proto_rawDescOnce sync.Once
	file_internal_module_configuration_project_rpc_rpc_proto_rawDescData []byte
)

func file_internal_module_configuration_project_rpc_rpc_proto_rawDescGZIP() []byte {
	file_internal_module_configuration_project_rpc_rpc_proto_rawDescOnce.Do(func() {
		file_internal_module_configuration_project_rpc_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_module_configuration_project_rpc_rpc_proto_rawDesc), len(file_internal_module_configuration_project_rpc_rpc_proto_rawDesc)))
	})
	return file_internal_module_configuration_project_rpc_rpc_proto_rawDescData
}

var file_internal_module_configuration_project_rpc_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_internal_module_configuration_project_rpc_rpc_proto_goTypes = []any{
	(*ListAgentConfigFilesRequest)(nil),  // 0: gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest
	(*ListAgentConfigFilesResponse)(nil), // 1: gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse
	(*AgentConfigFile)(nil),              // 2: gitlab.agent.configuration_project.rpc.AgentConfigFile
	(*entity.GitalyRepository)(nil),      // 3: gitlab.agent.entity.GitalyRepository
	(*entity.GitalyInfo)(nil),            // 4: gitlab.agent.entity.GitalyInfo
}
var file_internal_module_configuration_project_rpc_rpc_proto_depIdxs = []int32{
	3, // 0: gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest.repository:type_name -> gitlab.agent.entity.GitalyRepository
	4, // 1: gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest.gitaly_info:type_name -> gitlab.agent.entity.GitalyInfo
	2, // 2: gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse.config_files:type_name -> gitlab.agent.configuration_project.rpc.AgentConfigFile
	0, // 3: gitlab.agent.configuration_project.rpc.ConfigurationProject.ListAgentConfigFiles:input_type -> gitlab.agent.configuration_project.rpc.ListAgentConfigFilesRequest
	1, // 4: gitlab.agent.configuration_project.rpc.ConfigurationProject.ListAgentConfigFiles:output_type -> gitlab.agent.configuration_project.rpc.ListAgentConfigFilesResponse
	4, // [4:5] is the sub-list for method output_type
	3, // [3:4] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_internal_module_configuration_project_rpc_rpc_proto_init() }
func file_internal_module_configuration_project_rpc_rpc_proto_init() {
	if File_internal_module_configuration_project_rpc_rpc_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_module_configuration_project_rpc_rpc_proto_rawDesc), len(file_internal_module_configuration_project_rpc_rpc_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_internal_module_configuration_project_rpc_rpc_proto_goTypes,
		DependencyIndexes: file_internal_module_configuration_project_rpc_rpc_proto_depIdxs,
		MessageInfos:      file_internal_module_configuration_project_rpc_rpc_proto_msgTypes,
	}.Build()
	File_internal_module_configuration_project_rpc_rpc_proto = out.File
	file_internal_module_configuration_project_rpc_rpc_proto_goTypes = nil
	file_internal_module_configuration_project_rpc_rpc_proto_depIdxs = nil
}
