Path: blob/main/components/supervisor-api/go/port.pb.go
2498 views
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34// Code generated by protoc-gen-go. DO NOT EDIT.5// versions:6// protoc-gen-go v1.28.17// protoc v3.20.18// source: port.proto910package api1112import (13_ "google.golang.org/genproto/googleapis/api/annotations"14protoreflect "google.golang.org/protobuf/reflect/protoreflect"15protoimpl "google.golang.org/protobuf/runtime/protoimpl"16reflect "reflect"17sync "sync"18)1920const (21// Verify that this generated code is sufficiently up-to-date.22_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)23// Verify that runtime/protoimpl is sufficiently up-to-date.24_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)25)2627type TunnelVisiblity int322829const (30TunnelVisiblity_none TunnelVisiblity = 031TunnelVisiblity_host TunnelVisiblity = 132TunnelVisiblity_network TunnelVisiblity = 233)3435// Enum value maps for TunnelVisiblity.36var (37TunnelVisiblity_name = map[int32]string{380: "none",391: "host",402: "network",41}42TunnelVisiblity_value = map[string]int32{43"none": 0,44"host": 1,45"network": 2,46}47)4849func (x TunnelVisiblity) Enum() *TunnelVisiblity {50p := new(TunnelVisiblity)51*p = x52return p53}5455func (x TunnelVisiblity) String() string {56return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))57}5859func (TunnelVisiblity) Descriptor() protoreflect.EnumDescriptor {60return file_port_proto_enumTypes[0].Descriptor()61}6263func (TunnelVisiblity) Type() protoreflect.EnumType {64return &file_port_proto_enumTypes[0]65}6667func (x TunnelVisiblity) Number() protoreflect.EnumNumber {68return protoreflect.EnumNumber(x)69}7071// Deprecated: Use TunnelVisiblity.Descriptor instead.72func (TunnelVisiblity) EnumDescriptor() ([]byte, []int) {73return file_port_proto_rawDescGZIP(), []int{0}74}7576type TunnelPortRequest struct {77state protoimpl.MessageState78sizeCache protoimpl.SizeCache79unknownFields protoimpl.UnknownFields8081Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`82TargetPort uint32 `protobuf:"varint,2,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"`83Visibility TunnelVisiblity `protobuf:"varint,3,opt,name=visibility,proto3,enum=supervisor.TunnelVisiblity" json:"visibility,omitempty"`84ClientId string `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`85}8687func (x *TunnelPortRequest) Reset() {88*x = TunnelPortRequest{}89if protoimpl.UnsafeEnabled {90mi := &file_port_proto_msgTypes[0]91ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))92ms.StoreMessageInfo(mi)93}94}9596func (x *TunnelPortRequest) String() string {97return protoimpl.X.MessageStringOf(x)98}99100func (*TunnelPortRequest) ProtoMessage() {}101102func (x *TunnelPortRequest) ProtoReflect() protoreflect.Message {103mi := &file_port_proto_msgTypes[0]104if protoimpl.UnsafeEnabled && x != nil {105ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))106if ms.LoadMessageInfo() == nil {107ms.StoreMessageInfo(mi)108}109return ms110}111return mi.MessageOf(x)112}113114// Deprecated: Use TunnelPortRequest.ProtoReflect.Descriptor instead.115func (*TunnelPortRequest) Descriptor() ([]byte, []int) {116return file_port_proto_rawDescGZIP(), []int{0}117}118119func (x *TunnelPortRequest) GetPort() uint32 {120if x != nil {121return x.Port122}123return 0124}125126func (x *TunnelPortRequest) GetTargetPort() uint32 {127if x != nil {128return x.TargetPort129}130return 0131}132133func (x *TunnelPortRequest) GetVisibility() TunnelVisiblity {134if x != nil {135return x.Visibility136}137return TunnelVisiblity_none138}139140func (x *TunnelPortRequest) GetClientId() string {141if x != nil {142return x.ClientId143}144return ""145}146147type TunnelPortResponse struct {148state protoimpl.MessageState149sizeCache protoimpl.SizeCache150unknownFields protoimpl.UnknownFields151}152153func (x *TunnelPortResponse) Reset() {154*x = TunnelPortResponse{}155if protoimpl.UnsafeEnabled {156mi := &file_port_proto_msgTypes[1]157ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))158ms.StoreMessageInfo(mi)159}160}161162func (x *TunnelPortResponse) String() string {163return protoimpl.X.MessageStringOf(x)164}165166func (*TunnelPortResponse) ProtoMessage() {}167168func (x *TunnelPortResponse) ProtoReflect() protoreflect.Message {169mi := &file_port_proto_msgTypes[1]170if protoimpl.UnsafeEnabled && x != nil {171ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))172if ms.LoadMessageInfo() == nil {173ms.StoreMessageInfo(mi)174}175return ms176}177return mi.MessageOf(x)178}179180// Deprecated: Use TunnelPortResponse.ProtoReflect.Descriptor instead.181func (*TunnelPortResponse) Descriptor() ([]byte, []int) {182return file_port_proto_rawDescGZIP(), []int{1}183}184185type CloseTunnelRequest struct {186state protoimpl.MessageState187sizeCache protoimpl.SizeCache188unknownFields protoimpl.UnknownFields189190Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`191}192193func (x *CloseTunnelRequest) Reset() {194*x = CloseTunnelRequest{}195if protoimpl.UnsafeEnabled {196mi := &file_port_proto_msgTypes[2]197ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))198ms.StoreMessageInfo(mi)199}200}201202func (x *CloseTunnelRequest) String() string {203return protoimpl.X.MessageStringOf(x)204}205206func (*CloseTunnelRequest) ProtoMessage() {}207208func (x *CloseTunnelRequest) ProtoReflect() protoreflect.Message {209mi := &file_port_proto_msgTypes[2]210if protoimpl.UnsafeEnabled && x != nil {211ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))212if ms.LoadMessageInfo() == nil {213ms.StoreMessageInfo(mi)214}215return ms216}217return mi.MessageOf(x)218}219220// Deprecated: Use CloseTunnelRequest.ProtoReflect.Descriptor instead.221func (*CloseTunnelRequest) Descriptor() ([]byte, []int) {222return file_port_proto_rawDescGZIP(), []int{2}223}224225func (x *CloseTunnelRequest) GetPort() uint32 {226if x != nil {227return x.Port228}229return 0230}231232type CloseTunnelResponse struct {233state protoimpl.MessageState234sizeCache protoimpl.SizeCache235unknownFields protoimpl.UnknownFields236}237238func (x *CloseTunnelResponse) Reset() {239*x = CloseTunnelResponse{}240if protoimpl.UnsafeEnabled {241mi := &file_port_proto_msgTypes[3]242ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))243ms.StoreMessageInfo(mi)244}245}246247func (x *CloseTunnelResponse) String() string {248return protoimpl.X.MessageStringOf(x)249}250251func (*CloseTunnelResponse) ProtoMessage() {}252253func (x *CloseTunnelResponse) ProtoReflect() protoreflect.Message {254mi := &file_port_proto_msgTypes[3]255if protoimpl.UnsafeEnabled && x != nil {256ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))257if ms.LoadMessageInfo() == nil {258ms.StoreMessageInfo(mi)259}260return ms261}262return mi.MessageOf(x)263}264265// Deprecated: Use CloseTunnelResponse.ProtoReflect.Descriptor instead.266func (*CloseTunnelResponse) Descriptor() ([]byte, []int) {267return file_port_proto_rawDescGZIP(), []int{3}268}269270type EstablishTunnelRequest struct {271state protoimpl.MessageState272sizeCache protoimpl.SizeCache273unknownFields protoimpl.UnknownFields274275// Types that are assignable to Output:276//277// *EstablishTunnelRequest_Desc278// *EstablishTunnelRequest_Data279Output isEstablishTunnelRequest_Output `protobuf_oneof:"output"`280}281282func (x *EstablishTunnelRequest) Reset() {283*x = EstablishTunnelRequest{}284if protoimpl.UnsafeEnabled {285mi := &file_port_proto_msgTypes[4]286ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))287ms.StoreMessageInfo(mi)288}289}290291func (x *EstablishTunnelRequest) String() string {292return protoimpl.X.MessageStringOf(x)293}294295func (*EstablishTunnelRequest) ProtoMessage() {}296297func (x *EstablishTunnelRequest) ProtoReflect() protoreflect.Message {298mi := &file_port_proto_msgTypes[4]299if protoimpl.UnsafeEnabled && x != nil {300ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))301if ms.LoadMessageInfo() == nil {302ms.StoreMessageInfo(mi)303}304return ms305}306return mi.MessageOf(x)307}308309// Deprecated: Use EstablishTunnelRequest.ProtoReflect.Descriptor instead.310func (*EstablishTunnelRequest) Descriptor() ([]byte, []int) {311return file_port_proto_rawDescGZIP(), []int{4}312}313314func (m *EstablishTunnelRequest) GetOutput() isEstablishTunnelRequest_Output {315if m != nil {316return m.Output317}318return nil319}320321func (x *EstablishTunnelRequest) GetDesc() *TunnelPortRequest {322if x, ok := x.GetOutput().(*EstablishTunnelRequest_Desc); ok {323return x.Desc324}325return nil326}327328func (x *EstablishTunnelRequest) GetData() []byte {329if x, ok := x.GetOutput().(*EstablishTunnelRequest_Data); ok {330return x.Data331}332return nil333}334335type isEstablishTunnelRequest_Output interface {336isEstablishTunnelRequest_Output()337}338339type EstablishTunnelRequest_Desc struct {340Desc *TunnelPortRequest `protobuf:"bytes,1,opt,name=desc,proto3,oneof"`341}342343type EstablishTunnelRequest_Data struct {344Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"`345}346347func (*EstablishTunnelRequest_Desc) isEstablishTunnelRequest_Output() {}348349func (*EstablishTunnelRequest_Data) isEstablishTunnelRequest_Output() {}350351type EstablishTunnelResponse struct {352state protoimpl.MessageState353sizeCache protoimpl.SizeCache354unknownFields protoimpl.UnknownFields355356Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`357}358359func (x *EstablishTunnelResponse) Reset() {360*x = EstablishTunnelResponse{}361if protoimpl.UnsafeEnabled {362mi := &file_port_proto_msgTypes[5]363ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))364ms.StoreMessageInfo(mi)365}366}367368func (x *EstablishTunnelResponse) String() string {369return protoimpl.X.MessageStringOf(x)370}371372func (*EstablishTunnelResponse) ProtoMessage() {}373374func (x *EstablishTunnelResponse) ProtoReflect() protoreflect.Message {375mi := &file_port_proto_msgTypes[5]376if protoimpl.UnsafeEnabled && x != nil {377ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))378if ms.LoadMessageInfo() == nil {379ms.StoreMessageInfo(mi)380}381return ms382}383return mi.MessageOf(x)384}385386// Deprecated: Use EstablishTunnelResponse.ProtoReflect.Descriptor instead.387func (*EstablishTunnelResponse) Descriptor() ([]byte, []int) {388return file_port_proto_rawDescGZIP(), []int{5}389}390391func (x *EstablishTunnelResponse) GetData() []byte {392if x != nil {393return x.Data394}395return nil396}397398type AutoTunnelRequest struct {399state protoimpl.MessageState400sizeCache protoimpl.SizeCache401unknownFields protoimpl.UnknownFields402403Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`404}405406func (x *AutoTunnelRequest) Reset() {407*x = AutoTunnelRequest{}408if protoimpl.UnsafeEnabled {409mi := &file_port_proto_msgTypes[6]410ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))411ms.StoreMessageInfo(mi)412}413}414415func (x *AutoTunnelRequest) String() string {416return protoimpl.X.MessageStringOf(x)417}418419func (*AutoTunnelRequest) ProtoMessage() {}420421func (x *AutoTunnelRequest) ProtoReflect() protoreflect.Message {422mi := &file_port_proto_msgTypes[6]423if protoimpl.UnsafeEnabled && x != nil {424ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))425if ms.LoadMessageInfo() == nil {426ms.StoreMessageInfo(mi)427}428return ms429}430return mi.MessageOf(x)431}432433// Deprecated: Use AutoTunnelRequest.ProtoReflect.Descriptor instead.434func (*AutoTunnelRequest) Descriptor() ([]byte, []int) {435return file_port_proto_rawDescGZIP(), []int{6}436}437438func (x *AutoTunnelRequest) GetEnabled() bool {439if x != nil {440return x.Enabled441}442return false443}444445type AutoTunnelResponse struct {446state protoimpl.MessageState447sizeCache protoimpl.SizeCache448unknownFields protoimpl.UnknownFields449}450451func (x *AutoTunnelResponse) Reset() {452*x = AutoTunnelResponse{}453if protoimpl.UnsafeEnabled {454mi := &file_port_proto_msgTypes[7]455ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))456ms.StoreMessageInfo(mi)457}458}459460func (x *AutoTunnelResponse) String() string {461return protoimpl.X.MessageStringOf(x)462}463464func (*AutoTunnelResponse) ProtoMessage() {}465466func (x *AutoTunnelResponse) ProtoReflect() protoreflect.Message {467mi := &file_port_proto_msgTypes[7]468if protoimpl.UnsafeEnabled && x != nil {469ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))470if ms.LoadMessageInfo() == nil {471ms.StoreMessageInfo(mi)472}473return ms474}475return mi.MessageOf(x)476}477478// Deprecated: Use AutoTunnelResponse.ProtoReflect.Descriptor instead.479func (*AutoTunnelResponse) Descriptor() ([]byte, []int) {480return file_port_proto_rawDescGZIP(), []int{7}481}482483type RetryAutoExposeRequest struct {484state protoimpl.MessageState485sizeCache protoimpl.SizeCache486unknownFields protoimpl.UnknownFields487488Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`489}490491func (x *RetryAutoExposeRequest) Reset() {492*x = RetryAutoExposeRequest{}493if protoimpl.UnsafeEnabled {494mi := &file_port_proto_msgTypes[8]495ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))496ms.StoreMessageInfo(mi)497}498}499500func (x *RetryAutoExposeRequest) String() string {501return protoimpl.X.MessageStringOf(x)502}503504func (*RetryAutoExposeRequest) ProtoMessage() {}505506func (x *RetryAutoExposeRequest) ProtoReflect() protoreflect.Message {507mi := &file_port_proto_msgTypes[8]508if protoimpl.UnsafeEnabled && x != nil {509ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))510if ms.LoadMessageInfo() == nil {511ms.StoreMessageInfo(mi)512}513return ms514}515return mi.MessageOf(x)516}517518// Deprecated: Use RetryAutoExposeRequest.ProtoReflect.Descriptor instead.519func (*RetryAutoExposeRequest) Descriptor() ([]byte, []int) {520return file_port_proto_rawDescGZIP(), []int{8}521}522523func (x *RetryAutoExposeRequest) GetPort() uint32 {524if x != nil {525return x.Port526}527return 0528}529530type RetryAutoExposeResponse struct {531state protoimpl.MessageState532sizeCache protoimpl.SizeCache533unknownFields protoimpl.UnknownFields534}535536func (x *RetryAutoExposeResponse) Reset() {537*x = RetryAutoExposeResponse{}538if protoimpl.UnsafeEnabled {539mi := &file_port_proto_msgTypes[9]540ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))541ms.StoreMessageInfo(mi)542}543}544545func (x *RetryAutoExposeResponse) String() string {546return protoimpl.X.MessageStringOf(x)547}548549func (*RetryAutoExposeResponse) ProtoMessage() {}550551func (x *RetryAutoExposeResponse) ProtoReflect() protoreflect.Message {552mi := &file_port_proto_msgTypes[9]553if protoimpl.UnsafeEnabled && x != nil {554ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))555if ms.LoadMessageInfo() == nil {556ms.StoreMessageInfo(mi)557}558return ms559}560return mi.MessageOf(x)561}562563// Deprecated: Use RetryAutoExposeResponse.ProtoReflect.Descriptor instead.564func (*RetryAutoExposeResponse) Descriptor() ([]byte, []int) {565return file_port_proto_rawDescGZIP(), []int{9}566}567568var File_port_proto protoreflect.FileDescriptor569570var file_port_proto_rawDesc = []byte{5710x0a, 0x0a, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x73, 0x75,5720x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,5730x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,5740x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a, 0x11, 0x54, 0x75, 0x6e, 0x6e, 0x65,5750x6c, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,5760x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74,5770x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18,5780x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6f, 0x72,5790x74, 0x12, 0x3b, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18,5800x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73,5810x6f, 0x72, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x69,5820x74, 0x79, 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1b,5830x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,5840x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x54,5850x75, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,5860x65, 0x22, 0x28, 0x0a, 0x12, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c,5870x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18,5880x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x43,5890x6c, 0x6f, 0x73, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,5900x73, 0x65, 0x22, 0x6d, 0x0a, 0x16, 0x45, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54,5910x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x04,5920x64, 0x65, 0x73, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x75, 0x70,5930x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f,5940x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x04, 0x64, 0x65, 0x73,5950x63, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48,5960x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x08, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75,5970x74, 0x22, 0x2d, 0x0a, 0x17, 0x45, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x75,5980x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04,5990x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,6000x22, 0x2d, 0x0a, 0x11, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65,6010x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,6020x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22,6030x14, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73,6040x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x16, 0x52, 0x65, 0x74, 0x72, 0x79, 0x41, 0x75,6050x74, 0x6f, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,6060x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70,6070x6f, 0x72, 0x74, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x74, 0x72, 0x79, 0x41, 0x75, 0x74, 0x6f,6080x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x32,6090x0a, 0x0f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x56, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x69, 0x74,6100x79, 0x12, 0x08, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x68,6110x6f, 0x73, 0x74, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,6120x10, 0x02, 0x32, 0xc8, 0x04, 0x0a, 0x0b, 0x50, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,6130x63, 0x65, 0x12, 0x6a, 0x0a, 0x06, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1d, 0x2e, 0x73,6140x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c,6150x50, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x75,6160x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x50,6170x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4,6180x93, 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x74, 0x75,6190x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x7b, 0x70, 0x6f, 0x72, 0x74, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x6e,6200x0a, 0x0b, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1e, 0x2e,6210x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65,6220x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,6230x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65,6240x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e,6250x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x2a, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x72, 0x74,6260x2f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x7b, 0x70, 0x6f, 0x72, 0x74, 0x7d, 0x12, 0x5e,6270x0a, 0x0f, 0x45, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x75, 0x6e, 0x6e, 0x65,6280x6c, 0x12, 0x22, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x45,6290x73, 0x74, 0x61, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65,6300x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73,6310x6f, 0x72, 0x2e, 0x45, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x75, 0x6e, 0x6e,6320x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01, 0x12, 0x73,6330x0a, 0x0a, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1d, 0x2e, 0x73,6340x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75,6350x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x75,6360x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x75, 0x6e,6370x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4,6380x93, 0x02, 0x20, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x74, 0x75,6390x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x2f, 0x7b, 0x65, 0x6e, 0x61, 0x62, 0x6c,6400x65, 0x64, 0x7d, 0x12, 0x87, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x74, 0x72, 0x79, 0x41, 0x75, 0x74,6410x6f, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x22, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76,6420x69, 0x73, 0x6f, 0x72, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x41, 0x75, 0x74, 0x6f, 0x45, 0x78,6430x70, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x75,6440x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x41, 0x75,6450x74, 0x6f, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,6460x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f,6470x72, 0x74, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x64,6480x2f, 0x72, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x7b, 0x70, 0x6f, 0x72, 0x74, 0x7d, 0x42, 0x46, 0x0a,6490x18, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x65, 0x72,6500x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75,6510x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f,6520x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f,6530x72, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,654}655656var (657file_port_proto_rawDescOnce sync.Once658file_port_proto_rawDescData = file_port_proto_rawDesc659)660661func file_port_proto_rawDescGZIP() []byte {662file_port_proto_rawDescOnce.Do(func() {663file_port_proto_rawDescData = protoimpl.X.CompressGZIP(file_port_proto_rawDescData)664})665return file_port_proto_rawDescData666}667668var file_port_proto_enumTypes = make([]protoimpl.EnumInfo, 1)669var file_port_proto_msgTypes = make([]protoimpl.MessageInfo, 10)670var file_port_proto_goTypes = []interface{}{671(TunnelVisiblity)(0), // 0: supervisor.TunnelVisiblity672(*TunnelPortRequest)(nil), // 1: supervisor.TunnelPortRequest673(*TunnelPortResponse)(nil), // 2: supervisor.TunnelPortResponse674(*CloseTunnelRequest)(nil), // 3: supervisor.CloseTunnelRequest675(*CloseTunnelResponse)(nil), // 4: supervisor.CloseTunnelResponse676(*EstablishTunnelRequest)(nil), // 5: supervisor.EstablishTunnelRequest677(*EstablishTunnelResponse)(nil), // 6: supervisor.EstablishTunnelResponse678(*AutoTunnelRequest)(nil), // 7: supervisor.AutoTunnelRequest679(*AutoTunnelResponse)(nil), // 8: supervisor.AutoTunnelResponse680(*RetryAutoExposeRequest)(nil), // 9: supervisor.RetryAutoExposeRequest681(*RetryAutoExposeResponse)(nil), // 10: supervisor.RetryAutoExposeResponse682}683var file_port_proto_depIdxs = []int32{6840, // 0: supervisor.TunnelPortRequest.visibility:type_name -> supervisor.TunnelVisiblity6851, // 1: supervisor.EstablishTunnelRequest.desc:type_name -> supervisor.TunnelPortRequest6861, // 2: supervisor.PortService.Tunnel:input_type -> supervisor.TunnelPortRequest6873, // 3: supervisor.PortService.CloseTunnel:input_type -> supervisor.CloseTunnelRequest6885, // 4: supervisor.PortService.EstablishTunnel:input_type -> supervisor.EstablishTunnelRequest6897, // 5: supervisor.PortService.AutoTunnel:input_type -> supervisor.AutoTunnelRequest6909, // 6: supervisor.PortService.RetryAutoExpose:input_type -> supervisor.RetryAutoExposeRequest6912, // 7: supervisor.PortService.Tunnel:output_type -> supervisor.TunnelPortResponse6924, // 8: supervisor.PortService.CloseTunnel:output_type -> supervisor.CloseTunnelResponse6936, // 9: supervisor.PortService.EstablishTunnel:output_type -> supervisor.EstablishTunnelResponse6948, // 10: supervisor.PortService.AutoTunnel:output_type -> supervisor.AutoTunnelResponse69510, // 11: supervisor.PortService.RetryAutoExpose:output_type -> supervisor.RetryAutoExposeResponse6967, // [7:12] is the sub-list for method output_type6972, // [2:7] is the sub-list for method input_type6982, // [2:2] is the sub-list for extension type_name6992, // [2:2] is the sub-list for extension extendee7000, // [0:2] is the sub-list for field type_name701}702703func init() { file_port_proto_init() }704func file_port_proto_init() {705if File_port_proto != nil {706return707}708if !protoimpl.UnsafeEnabled {709file_port_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {710switch v := v.(*TunnelPortRequest); i {711case 0:712return &v.state713case 1:714return &v.sizeCache715case 2:716return &v.unknownFields717default:718return nil719}720}721file_port_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {722switch v := v.(*TunnelPortResponse); i {723case 0:724return &v.state725case 1:726return &v.sizeCache727case 2:728return &v.unknownFields729default:730return nil731}732}733file_port_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {734switch v := v.(*CloseTunnelRequest); i {735case 0:736return &v.state737case 1:738return &v.sizeCache739case 2:740return &v.unknownFields741default:742return nil743}744}745file_port_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {746switch v := v.(*CloseTunnelResponse); i {747case 0:748return &v.state749case 1:750return &v.sizeCache751case 2:752return &v.unknownFields753default:754return nil755}756}757file_port_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {758switch v := v.(*EstablishTunnelRequest); i {759case 0:760return &v.state761case 1:762return &v.sizeCache763case 2:764return &v.unknownFields765default:766return nil767}768}769file_port_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {770switch v := v.(*EstablishTunnelResponse); i {771case 0:772return &v.state773case 1:774return &v.sizeCache775case 2:776return &v.unknownFields777default:778return nil779}780}781file_port_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {782switch v := v.(*AutoTunnelRequest); i {783case 0:784return &v.state785case 1:786return &v.sizeCache787case 2:788return &v.unknownFields789default:790return nil791}792}793file_port_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {794switch v := v.(*AutoTunnelResponse); i {795case 0:796return &v.state797case 1:798return &v.sizeCache799case 2:800return &v.unknownFields801default:802return nil803}804}805file_port_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {806switch v := v.(*RetryAutoExposeRequest); i {807case 0:808return &v.state809case 1:810return &v.sizeCache811case 2:812return &v.unknownFields813default:814return nil815}816}817file_port_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {818switch v := v.(*RetryAutoExposeResponse); i {819case 0:820return &v.state821case 1:822return &v.sizeCache823case 2:824return &v.unknownFields825default:826return nil827}828}829}830file_port_proto_msgTypes[4].OneofWrappers = []interface{}{831(*EstablishTunnelRequest_Desc)(nil),832(*EstablishTunnelRequest_Data)(nil),833}834type x struct{}835out := protoimpl.TypeBuilder{836File: protoimpl.DescBuilder{837GoPackagePath: reflect.TypeOf(x{}).PkgPath(),838RawDescriptor: file_port_proto_rawDesc,839NumEnums: 1,840NumMessages: 10,841NumExtensions: 0,842NumServices: 1,843},844GoTypes: file_port_proto_goTypes,845DependencyIndexes: file_port_proto_depIdxs,846EnumInfos: file_port_proto_enumTypes,847MessageInfos: file_port_proto_msgTypes,848}.Build()849File_port_proto = out.File850file_port_proto_rawDesc = nil851file_port_proto_goTypes = nil852file_port_proto_depIdxs = nil853}854855856