// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.9
// 	protoc        v6.32.1
// source: internal/module/flux/rpc/rpc.proto

package rpc

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 ReconcileProjectsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Project       []*Project             `protobuf:"bytes,1,rep,name=project,proto3" json:"project,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReconcileProjectsRequest) ProtoMessage() {}

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

func (x *ReconcileProjectsRequest) GetProject() []*Project {
	if x != nil {
		return x.Project
	}
	return nil
}

type ReconcileProjectsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Project       *Project               `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ReconcileProjectsResponse) ProtoMessage() {}

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

func (x *ReconcileProjectsResponse) GetProject() *Project {
	if x != nil {
		return x.Project
	}
	return nil
}

type Project struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Project) ProtoMessage() {}

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

func (x *Project) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

var File_internal_module_flux_rpc_rpc_proto protoreflect.FileDescriptor

const file_internal_module_flux_rpc_rpc_proto_rawDesc = "" +
	"\n" +
	"\"internal/module/flux/rpc/rpc.proto\x12\x15gitlab.agent.flux.rpc\x1a\x1bbuf/validate/validate.proto\"T\n" +
	"\x18ReconcileProjectsRequest\x128\n" +
	"\aproject\x18\x01 \x03(\v2\x1e.gitlab.agent.flux.rpc.ProjectR\aproject\"]\n" +
	"\x19ReconcileProjectsResponse\x12@\n" +
	"\aproject\x18\x01 \x01(\v2\x1e.gitlab.agent.flux.rpc.ProjectB\x06\xbaH\x03\xc8\x01\x01R\aproject\"\"\n" +
	"\aProject\x12\x17\n" +
	"\x02id\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\x02id2\x8b\x01\n" +
	"\n" +
	"GitLabFlux\x12}\n" +
	"\x11ReconcileProjects\x12/.gitlab.agent.flux.rpc.ReconcileProjectsRequest\x1a0.gitlab.agent.flux.rpc.ReconcileProjectsResponse\"\x03\x90\x02\x010\x01BUZSgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/flux/rpcb\x06proto3"

var (
	file_internal_module_flux_rpc_rpc_proto_rawDescOnce sync.Once
	file_internal_module_flux_rpc_rpc_proto_rawDescData []byte
)

func file_internal_module_flux_rpc_rpc_proto_rawDescGZIP() []byte {
	file_internal_module_flux_rpc_rpc_proto_rawDescOnce.Do(func() {
		file_internal_module_flux_rpc_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_module_flux_rpc_rpc_proto_rawDesc), len(file_internal_module_flux_rpc_rpc_proto_rawDesc)))
	})
	return file_internal_module_flux_rpc_rpc_proto_rawDescData
}

var file_internal_module_flux_rpc_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_internal_module_flux_rpc_rpc_proto_goTypes = []any{
	(*ReconcileProjectsRequest)(nil),  // 0: gitlab.agent.flux.rpc.ReconcileProjectsRequest
	(*ReconcileProjectsResponse)(nil), // 1: gitlab.agent.flux.rpc.ReconcileProjectsResponse
	(*Project)(nil),                   // 2: gitlab.agent.flux.rpc.Project
}
var file_internal_module_flux_rpc_rpc_proto_depIdxs = []int32{
	2, // 0: gitlab.agent.flux.rpc.ReconcileProjectsRequest.project:type_name -> gitlab.agent.flux.rpc.Project
	2, // 1: gitlab.agent.flux.rpc.ReconcileProjectsResponse.project:type_name -> gitlab.agent.flux.rpc.Project
	0, // 2: gitlab.agent.flux.rpc.GitLabFlux.ReconcileProjects:input_type -> gitlab.agent.flux.rpc.ReconcileProjectsRequest
	1, // 3: gitlab.agent.flux.rpc.GitLabFlux.ReconcileProjects:output_type -> gitlab.agent.flux.rpc.ReconcileProjectsResponse
	3, // [3:4] is the sub-list for method output_type
	2, // [2:3] 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_internal_module_flux_rpc_rpc_proto_init() }
func file_internal_module_flux_rpc_rpc_proto_init() {
	if File_internal_module_flux_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_flux_rpc_rpc_proto_rawDesc), len(file_internal_module_flux_rpc_rpc_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_internal_module_flux_rpc_rpc_proto_goTypes,
		DependencyIndexes: file_internal_module_flux_rpc_rpc_proto_depIdxs,
		MessageInfos:      file_internal_module_flux_rpc_rpc_proto_msgTypes,
	}.Build()
	File_internal_module_flux_rpc_rpc_proto = out.File
	file_internal_module_flux_rpc_rpc_proto_goTypes = nil
	file_internal_module_flux_rpc_rpc_proto_depIdxs = nil
}
