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

package info

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 Method 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 *Method) Reset() {
	*x = Method{}
	mi := &file_internal_tunnel_info_info_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Method) ProtoMessage() {}

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

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

type Service struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Methods       []*Method              `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Service) ProtoMessage() {}

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

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

func (x *Service) GetMethods() []*Method {
	if x != nil {
		return x.Methods
	}
	return nil
}

type APIDescriptor struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Services      []*Service             `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*APIDescriptor) ProtoMessage() {}

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

func (x *APIDescriptor) GetServices() []*Service {
	if x != nil {
		return x.Services
	}
	return nil
}

var File_internal_tunnel_info_info_proto protoreflect.FileDescriptor

const file_internal_tunnel_info_info_proto_rawDesc = "" +
	"\n" +
	"\x1finternal/tunnel/info/info.proto\x12 gitlab.agent.reverse_tunnel.info\x1a\x1bbuf/validate/validate.proto\"%\n" +
	"\x06Method\x12\x1b\n" +
	"\x04name\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\x04name\"j\n" +
	"\aService\x12\x1b\n" +
	"\x04name\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\x04name\x12B\n" +
	"\amethods\x18\x02 \x03(\v2(.gitlab.agent.reverse_tunnel.info.MethodR\amethods\"V\n" +
	"\rAPIDescriptor\x12E\n" +
	"\bservices\x18\x01 \x03(\v2).gitlab.agent.reverse_tunnel.info.ServiceR\bservicesBQZOgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/tunnel/infob\x06proto3"

var (
	file_internal_tunnel_info_info_proto_rawDescOnce sync.Once
	file_internal_tunnel_info_info_proto_rawDescData []byte
)

func file_internal_tunnel_info_info_proto_rawDescGZIP() []byte {
	file_internal_tunnel_info_info_proto_rawDescOnce.Do(func() {
		file_internal_tunnel_info_info_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_tunnel_info_info_proto_rawDesc), len(file_internal_tunnel_info_info_proto_rawDesc)))
	})
	return file_internal_tunnel_info_info_proto_rawDescData
}

var file_internal_tunnel_info_info_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_internal_tunnel_info_info_proto_goTypes = []any{
	(*Method)(nil),        // 0: gitlab.agent.reverse_tunnel.info.Method
	(*Service)(nil),       // 1: gitlab.agent.reverse_tunnel.info.Service
	(*APIDescriptor)(nil), // 2: gitlab.agent.reverse_tunnel.info.APIDescriptor
}
var file_internal_tunnel_info_info_proto_depIdxs = []int32{
	0, // 0: gitlab.agent.reverse_tunnel.info.Service.methods:type_name -> gitlab.agent.reverse_tunnel.info.Method
	1, // 1: gitlab.agent.reverse_tunnel.info.APIDescriptor.services:type_name -> gitlab.agent.reverse_tunnel.info.Service
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] 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_tunnel_info_info_proto_init() }
func file_internal_tunnel_info_info_proto_init() {
	if File_internal_tunnel_info_info_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_tunnel_info_info_proto_rawDesc), len(file_internal_tunnel_info_info_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_internal_tunnel_info_info_proto_goTypes,
		DependencyIndexes: file_internal_tunnel_info_info_proto_depIdxs,
		MessageInfos:      file_internal_tunnel_info_info_proto_msgTypes,
	}.Build()
	File_internal_tunnel_info_info_proto = out.File
	file_internal_tunnel_info_info_proto_goTypes = nil
	file_internal_tunnel_info_info_proto_depIdxs = nil
}
