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

package rpc

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

	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	grpctool "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/tool/grpctool"
	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 HeaderExtra struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ModuleName    string                 `protobuf:"bytes,1,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HeaderExtra) ProtoMessage() {}

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

func (x *HeaderExtra) GetModuleName() string {
	if x != nil {
		return x.ModuleName
	}
	return ""
}

var File_internal_module_gitlab_access_rpc_rpc_proto protoreflect.FileDescriptor

const file_internal_module_gitlab_access_rpc_rpc_proto_rawDesc = "" +
	"\n" +
	"+internal/module/gitlab_access/rpc/rpc.proto\x12\x1egitlab.agent.gitlab_access.rpc\x1a%internal/tool/grpctool/grpctool.proto\x1a\x1bbuf/validate/validate.proto\"7\n" +
	"\vHeaderExtra\x12(\n" +
	"\vmodule_name\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\n" +
	"moduleName2l\n" +
	"\fGitlabAccess\x12\\\n" +
	"\vMakeRequest\x12\".gitlab.agent.grpctool.HttpRequest\x1a#.gitlab.agent.grpctool.HttpResponse\"\x00(\x010\x01B^Z\\gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/gitlab_access/rpcb\x06proto3"

var (
	file_internal_module_gitlab_access_rpc_rpc_proto_rawDescOnce sync.Once
	file_internal_module_gitlab_access_rpc_rpc_proto_rawDescData []byte
)

func file_internal_module_gitlab_access_rpc_rpc_proto_rawDescGZIP() []byte {
	file_internal_module_gitlab_access_rpc_rpc_proto_rawDescOnce.Do(func() {
		file_internal_module_gitlab_access_rpc_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_module_gitlab_access_rpc_rpc_proto_rawDesc), len(file_internal_module_gitlab_access_rpc_rpc_proto_rawDesc)))
	})
	return file_internal_module_gitlab_access_rpc_rpc_proto_rawDescData
}

var file_internal_module_gitlab_access_rpc_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_internal_module_gitlab_access_rpc_rpc_proto_goTypes = []any{
	(*HeaderExtra)(nil),           // 0: gitlab.agent.gitlab_access.rpc.HeaderExtra
	(*grpctool.HttpRequest)(nil),  // 1: gitlab.agent.grpctool.HttpRequest
	(*grpctool.HttpResponse)(nil), // 2: gitlab.agent.grpctool.HttpResponse
}
var file_internal_module_gitlab_access_rpc_rpc_proto_depIdxs = []int32{
	1, // 0: gitlab.agent.gitlab_access.rpc.GitlabAccess.MakeRequest:input_type -> gitlab.agent.grpctool.HttpRequest
	2, // 1: gitlab.agent.gitlab_access.rpc.GitlabAccess.MakeRequest:output_type -> gitlab.agent.grpctool.HttpResponse
	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_gitlab_access_rpc_rpc_proto_init() }
func file_internal_module_gitlab_access_rpc_rpc_proto_init() {
	if File_internal_module_gitlab_access_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_gitlab_access_rpc_rpc_proto_rawDesc), len(file_internal_module_gitlab_access_rpc_rpc_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_internal_module_gitlab_access_rpc_rpc_proto_goTypes,
		DependencyIndexes: file_internal_module_gitlab_access_rpc_rpc_proto_depIdxs,
		MessageInfos:      file_internal_module_gitlab_access_rpc_rpc_proto_msgTypes,
	}.Build()
	File_internal_module_gitlab_access_rpc_rpc_proto = out.File
	file_internal_module_gitlab_access_rpc_rpc_proto_goTypes = nil
	file_internal_module_gitlab_access_rpc_rpc_proto_depIdxs = nil
}
