// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.1
// source: internal/module/agent2kas_tunnel/router/router.proto

package router

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 MultiURL struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Scheme        string                 `protobuf:"bytes,1,opt,name=scheme" json:"scheme,omitempty"`
	Ip            [][]byte               `protobuf:"bytes,2,rep,name=ip" json:"ip,omitempty"`
	Host          string                 `protobuf:"bytes,3,opt,name=host" json:"host,omitempty"`
	TlsHost       string                 `protobuf:"bytes,4,opt,name=tls_host,json=tlsHost" json:"tls_host,omitempty"`
	Port          uint32                 `protobuf:"varint,5,opt,name=port" json:"port,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*MultiURL) ProtoMessage() {}

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

func (x *MultiURL) GetScheme() string {
	if x != nil {
		return x.Scheme
	}
	return ""
}

func (x *MultiURL) GetIp() [][]byte {
	if x != nil {
		return x.Ip
	}
	return nil
}

func (x *MultiURL) GetHost() string {
	if x != nil {
		return x.Host
	}
	return ""
}

func (x *MultiURL) GetTlsHost() string {
	if x != nil {
		return x.TlsHost
	}
	return ""
}

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

var File_internal_module_agent2kas_tunnel_router_router_proto protoreflect.FileDescriptor

const file_internal_module_agent2kas_tunnel_router_router_proto_rawDesc = "" +
	"\n" +
	"4internal/module/agent2kas_tunnel/router/router.proto\x12\x1dgitlab.agent.agent2kas_tunnel\x1a\x1bbuf/validate/validate.proto\"\xa5\x02\n" +
	"\bMultiURL\x12\x1f\n" +
	"\x06scheme\x18\x01 \x01(\tB\a\xbaH\x04r\x02 \x01R\x06scheme\x12\x1c\n" +
	"\x02ip\x18\x02 \x03(\fB\f\xbaH\t\x92\x01\x06\"\x04z\x02P\x01R\x02ip\x12\x12\n" +
	"\x04host\x18\x03 \x01(\tR\x04host\x12\x19\n" +
	"\btls_host\x18\x04 \x01(\tR\atlsHost\x12\x1d\n" +
	"\x04port\x18\x05 \x01(\rB\t\xbaH\x06*\x04\x18\xff\xff\x03R\x04port:\x8b\x01\xbaH\x87\x01\x1a\x84\x01\n" +
	"\x0eip_or_host_set\x12\x1deither ip or host must be set\x1aS(this.host != '' && this.ip.size() == 0) || (this.host == '' && this.ip.size() > 0)BiZbgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/agent2kas_tunnel/router\x92\x03\x02\b\x02b\beditionsp\xe8\a"

var (
	file_internal_module_agent2kas_tunnel_router_router_proto_rawDescOnce sync.Once
	file_internal_module_agent2kas_tunnel_router_router_proto_rawDescData []byte
)

func file_internal_module_agent2kas_tunnel_router_router_proto_rawDescGZIP() []byte {
	file_internal_module_agent2kas_tunnel_router_router_proto_rawDescOnce.Do(func() {
		file_internal_module_agent2kas_tunnel_router_router_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_module_agent2kas_tunnel_router_router_proto_rawDesc), len(file_internal_module_agent2kas_tunnel_router_router_proto_rawDesc)))
	})
	return file_internal_module_agent2kas_tunnel_router_router_proto_rawDescData
}

var file_internal_module_agent2kas_tunnel_router_router_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_internal_module_agent2kas_tunnel_router_router_proto_goTypes = []any{
	(*MultiURL)(nil), // 0: gitlab.agent.agent2kas_tunnel.MultiURL
}
var file_internal_module_agent2kas_tunnel_router_router_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] 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_agent2kas_tunnel_router_router_proto_init() }
func file_internal_module_agent2kas_tunnel_router_router_proto_init() {
	if File_internal_module_agent2kas_tunnel_router_router_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_agent2kas_tunnel_router_router_proto_rawDesc), len(file_internal_module_agent2kas_tunnel_router_router_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_internal_module_agent2kas_tunnel_router_router_proto_goTypes,
		DependencyIndexes: file_internal_module_agent2kas_tunnel_router_router_proto_depIdxs,
		MessageInfos:      file_internal_module_agent2kas_tunnel_router_router_proto_msgTypes,
	}.Build()
	File_internal_module_agent2kas_tunnel_router_router_proto = out.File
	file_internal_module_agent2kas_tunnel_router_router_proto_goTypes = nil
	file_internal_module_agent2kas_tunnel_router_router_proto_depIdxs = nil
}
