// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.3
// source: internal/module/runner/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 GetJobRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	JobRequest    []byte                 `protobuf:"bytes,1,opt,name=job_request,json=jobRequest,proto3" json:"job_request,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetJobRequest) ProtoMessage() {}

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

func (x *GetJobRequest) GetJobRequest() []byte {
	if x != nil {
		return x.JobRequest
	}
	return nil
}

type GetJobResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	JobResponse   []byte                 `protobuf:"bytes,1,opt,name=job_response,json=jobResponse,proto3" json:"job_response,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetJobResponse) ProtoMessage() {}

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

func (x *GetJobResponse) GetJobResponse() []byte {
	if x != nil {
		return x.JobResponse
	}
	return nil
}

type JobResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	JobId         int64                  `protobuf:"varint,1,opt,name=job_id,json=id,proto3" json:"job_id,omitempty"`
	JobToken      string                 `protobuf:"bytes,2,opt,name=job_token,json=token,proto3" json:"job_token,omitempty"`
	JobInfo       *JobInfo               `protobuf:"bytes,3,opt,name=job_info,proto3" json:"job_info,omitempty"`
	JobImage      *JobImage              `protobuf:"bytes,4,opt,name=job_image,json=image,proto3" json:"job_image,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*JobResponse) ProtoMessage() {}

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

func (x *JobResponse) GetJobId() int64 {
	if x != nil {
		return x.JobId
	}
	return 0
}

func (x *JobResponse) GetJobToken() string {
	if x != nil {
		return x.JobToken
	}
	return ""
}

func (x *JobResponse) GetJobInfo() *JobInfo {
	if x != nil {
		return x.JobInfo
	}
	return nil
}

func (x *JobResponse) GetJobImage() *JobImage {
	if x != nil {
		return x.JobImage
	}
	return nil
}

type JobInfo struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	ProjectId       int64                  `protobuf:"varint,1,opt,name=project_id,proto3" json:"project_id,omitempty"`
	ProjectName     string                 `protobuf:"bytes,2,opt,name=project_name,proto3" json:"project_name,omitempty"`
	ProjectFullPath string                 `protobuf:"bytes,3,opt,name=project_full_path,proto3" json:"project_full_path,omitempty"`
	NamespaceId     int64                  `protobuf:"varint,4,opt,name=namespace_id,proto3" json:"namespace_id,omitempty"`
	RootNamespaceId int64                  `protobuf:"varint,5,opt,name=root_namespace_id,proto3" json:"root_namespace_id,omitempty"`
	OrganizationId  int64                  `protobuf:"varint,6,opt,name=organization_id,proto3" json:"organization_id,omitempty"`
	UserId          int64                  `protobuf:"varint,7,opt,name=user_id,proto3" json:"user_id,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*JobInfo) ProtoMessage() {}

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

func (x *JobInfo) GetProjectId() int64 {
	if x != nil {
		return x.ProjectId
	}
	return 0
}

func (x *JobInfo) GetProjectName() string {
	if x != nil {
		return x.ProjectName
	}
	return ""
}

func (x *JobInfo) GetProjectFullPath() string {
	if x != nil {
		return x.ProjectFullPath
	}
	return ""
}

func (x *JobInfo) GetNamespaceId() int64 {
	if x != nil {
		return x.NamespaceId
	}
	return 0
}

func (x *JobInfo) GetRootNamespaceId() int64 {
	if x != nil {
		return x.RootNamespaceId
	}
	return 0
}

func (x *JobInfo) GetOrganizationId() int64 {
	if x != nil {
		return x.OrganizationId
	}
	return 0
}

func (x *JobInfo) GetUserId() int64 {
	if x != nil {
		return x.UserId
	}
	return 0
}

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

func (x *JobImage) Reset() {
	*x = JobImage{}
	mi := &file_internal_module_runner_rpc_rpc_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*JobImage) ProtoMessage() {}

func (x *JobImage) ProtoReflect() protoreflect.Message {
	mi := &file_internal_module_runner_rpc_rpc_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 JobImage.ProtoReflect.Descriptor instead.
func (*JobImage) Descriptor() ([]byte, []int) {
	return file_internal_module_runner_rpc_rpc_proto_rawDescGZIP(), []int{4}
}

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

var File_internal_module_runner_rpc_rpc_proto protoreflect.FileDescriptor

const file_internal_module_runner_rpc_rpc_proto_rawDesc = "" +
	"\n" +
	"$internal/module/runner/rpc/rpc.proto\x12\x17gitlab.agent.runner.rpc\x1a\x1bbuf/validate/validate.proto\"9\n" +
	"\rGetJobRequest\x12(\n" +
	"\vjob_request\x18\x01 \x01(\fB\a\xbaH\x04z\x02\x10\x01R\n" +
	"jobRequest\"3\n" +
	"\x0eGetJobResponse\x12!\n" +
	"\fjob_response\x18\x01 \x01(\fR\vjobResponse\"\xbe\x01\n" +
	"\vJobResponse\x12\x12\n" +
	"\x06job_id\x18\x01 \x01(\x03R\x02id\x12\x18\n" +
	"\tjob_token\x18\x02 \x01(\tR\x05token\x12D\n" +
	"\bjob_info\x18\x03 \x01(\v2 .gitlab.agent.runner.rpc.JobInfoB\x06\xbaH\x03\xc8\x01\x01R\bjob_info\x12;\n" +
	"\tjob_image\x18\x04 \x01(\v2!.gitlab.agent.runner.rpc.JobImageR\x05image\"\x91\x02\n" +
	"\aJobInfo\x12\x1e\n" +
	"\n" +
	"project_id\x18\x01 \x01(\x03R\n" +
	"project_id\x12\"\n" +
	"\fproject_name\x18\x02 \x01(\tR\fproject_name\x12,\n" +
	"\x11project_full_path\x18\x03 \x01(\tR\x11project_full_path\x12\"\n" +
	"\fnamespace_id\x18\x04 \x01(\x03R\fnamespace_id\x12,\n" +
	"\x11root_namespace_id\x18\x05 \x01(\x03R\x11root_namespace_id\x12(\n" +
	"\x0forganization_id\x18\x06 \x01(\x03R\x0forganization_id\x12\x18\n" +
	"\auser_id\x18\a \x01(\x03R\auser_id\"\x1e\n" +
	"\bJobImage\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name2h\n" +
	"\tJobRouter\x12[\n" +
	"\x06GetJob\x12&.gitlab.agent.runner.rpc.GetJobRequest\x1a'.gitlab.agent.runner.rpc.GetJobResponse\"\x00BWZUgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/runner/rpcb\x06proto3"

var (
	file_internal_module_runner_rpc_rpc_proto_rawDescOnce sync.Once
	file_internal_module_runner_rpc_rpc_proto_rawDescData []byte
)

func file_internal_module_runner_rpc_rpc_proto_rawDescGZIP() []byte {
	file_internal_module_runner_rpc_rpc_proto_rawDescOnce.Do(func() {
		file_internal_module_runner_rpc_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_module_runner_rpc_rpc_proto_rawDesc), len(file_internal_module_runner_rpc_rpc_proto_rawDesc)))
	})
	return file_internal_module_runner_rpc_rpc_proto_rawDescData
}

var file_internal_module_runner_rpc_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_internal_module_runner_rpc_rpc_proto_goTypes = []any{
	(*GetJobRequest)(nil),  // 0: gitlab.agent.runner.rpc.GetJobRequest
	(*GetJobResponse)(nil), // 1: gitlab.agent.runner.rpc.GetJobResponse
	(*JobResponse)(nil),    // 2: gitlab.agent.runner.rpc.JobResponse
	(*JobInfo)(nil),        // 3: gitlab.agent.runner.rpc.JobInfo
	(*JobImage)(nil),       // 4: gitlab.agent.runner.rpc.JobImage
}
var file_internal_module_runner_rpc_rpc_proto_depIdxs = []int32{
	3, // 0: gitlab.agent.runner.rpc.JobResponse.job_info:type_name -> gitlab.agent.runner.rpc.JobInfo
	4, // 1: gitlab.agent.runner.rpc.JobResponse.job_image:type_name -> gitlab.agent.runner.rpc.JobImage
	0, // 2: gitlab.agent.runner.rpc.JobRouter.GetJob:input_type -> gitlab.agent.runner.rpc.GetJobRequest
	1, // 3: gitlab.agent.runner.rpc.JobRouter.GetJob:output_type -> gitlab.agent.runner.rpc.GetJobResponse
	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_runner_rpc_rpc_proto_init() }
func file_internal_module_runner_rpc_rpc_proto_init() {
	if File_internal_module_runner_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_runner_rpc_rpc_proto_rawDesc), len(file_internal_module_runner_rpc_rpc_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_internal_module_runner_rpc_rpc_proto_goTypes,
		DependencyIndexes: file_internal_module_runner_rpc_rpc_proto_depIdxs,
		MessageInfos:      file_internal_module_runner_rpc_rpc_proto_msgTypes,
	}.Build()
	File_internal_module_runner_rpc_rpc_proto = out.File
	file_internal_module_runner_rpc_rpc_proto_goTypes = nil
	file_internal_module_runner_rpc_rpc_proto_depIdxs = nil
}
