// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.9
// 	protoc        v6.32.1
// source: internal/module/workspaces/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 HTTPHeaderExtra struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Port          uint32                 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HTTPHeaderExtra) ProtoMessage() {}

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

func (x *HTTPHeaderExtra) GetPort() uint32 {
	if x != nil {
		return x.Port
	}
	return 0
}

var File_internal_module_workspaces_rpc_rpc_proto protoreflect.FileDescriptor

const file_internal_module_workspaces_rpc_rpc_proto_rawDesc = "" +
	"\n" +
	"(internal/module/workspaces/rpc/rpc.proto\x12\x1bgitlab.agent.workspaces.rpc\x1a%internal/tool/grpctool/grpctool.proto\x1a\x1bbuf/validate/validate.proto\"0\n" +
	"\x0fHTTPHeaderExtra\x12\x1d\n" +
	"\x04port\x18\x01 \x01(\rB\t\xbaH\x06*\x04\x18\xff\xff\x03R\x04port2i\n" +
	"\n" +
	"Workspaces\x12[\n" +
	"\n" +
	"TunnelHTTP\x12\".gitlab.agent.grpctool.HttpRequest\x1a#.gitlab.agent.grpctool.HttpResponse\"\x00(\x010\x01B[ZYgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/workspaces/rpcb\x06proto3"

var (
	file_internal_module_workspaces_rpc_rpc_proto_rawDescOnce sync.Once
	file_internal_module_workspaces_rpc_rpc_proto_rawDescData []byte
)

func file_internal_module_workspaces_rpc_rpc_proto_rawDescGZIP() []byte {
	file_internal_module_workspaces_rpc_rpc_proto_rawDescOnce.Do(func() {
		file_internal_module_workspaces_rpc_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_module_workspaces_rpc_rpc_proto_rawDesc), len(file_internal_module_workspaces_rpc_rpc_proto_rawDesc)))
	})
	return file_internal_module_workspaces_rpc_rpc_proto_rawDescData
}

var file_internal_module_workspaces_rpc_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_internal_module_workspaces_rpc_rpc_proto_goTypes = []any{
	(*HTTPHeaderExtra)(nil),       // 0: gitlab.agent.workspaces.rpc.HTTPHeaderExtra
	(*grpctool.HttpRequest)(nil),  // 1: gitlab.agent.grpctool.HttpRequest
	(*grpctool.HttpResponse)(nil), // 2: gitlab.agent.grpctool.HttpResponse
}
var file_internal_module_workspaces_rpc_rpc_proto_depIdxs = []int32{
	1, // 0: gitlab.agent.workspaces.rpc.Workspaces.TunnelHTTP:input_type -> gitlab.agent.grpctool.HttpRequest
	2, // 1: gitlab.agent.workspaces.rpc.Workspaces.TunnelHTTP: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_workspaces_rpc_rpc_proto_init() }
func file_internal_module_workspaces_rpc_rpc_proto_init() {
	if File_internal_module_workspaces_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_workspaces_rpc_rpc_proto_rawDesc), len(file_internal_module_workspaces_rpc_rpc_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_internal_module_workspaces_rpc_rpc_proto_goTypes,
		DependencyIndexes: file_internal_module_workspaces_rpc_rpc_proto_depIdxs,
		MessageInfos:      file_internal_module_workspaces_rpc_rpc_proto_msgTypes,
	}.Build()
	File_internal_module_workspaces_rpc_rpc_proto = out.File
	file_internal_module_workspaces_rpc_rpc_proto_goTypes = nil
	file_internal_module_workspaces_rpc_rpc_proto_depIdxs = nil
}
