// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.1
// 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
}

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\vjobResponse2h\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, 2)
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
}
var file_internal_module_runner_rpc_rpc_proto_depIdxs = []int32{
	0, // 0: gitlab.agent.runner.rpc.JobRouter.GetJob:input_type -> gitlab.agent.runner.rpc.GetJobRequest
	1, // 1: gitlab.agent.runner.rpc.JobRouter.GetJob:output_type -> gitlab.agent.runner.rpc.GetJobResponse
	1, // [1:2] is the sub-list for method output_type
	0, // [0:1] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] 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:   2,
			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
}
