diff --git a/pkg/rpc/dao/base_dao.go b/pkg/rpc/dao/base_dao.go new file mode 100644 index 0000000..d9d8834 --- /dev/null +++ b/pkg/rpc/dao/base_dao.go @@ -0,0 +1,8 @@ +package dao + +type BaseDAO struct { +} + +func (this *BaseDAO) RPC() RPCClient { + return sharedRPCClient +} diff --git a/pkg/rpc/dao/http_cache_policy_dao.go b/pkg/rpc/dao/http_cache_policy_dao.go new file mode 100644 index 0000000..e5177ee --- /dev/null +++ b/pkg/rpc/dao/http_cache_policy_dao.go @@ -0,0 +1,69 @@ +package dao + +import ( + "context" + "encoding/json" + "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" + "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs" +) + +var SharedHTTPCachePolicyDAO = new(HTTPCachePolicyDAO) + +type HTTPCachePolicyDAO struct { + BaseDAO +} + +// 查找缓存策略配置 +func (this *HTTPCachePolicyDAO) FindEnabledHTTPCachePolicyConfig(ctx context.Context, cachePolicyId int64) (*serverconfigs.HTTPCachePolicy, error) { + resp, err := this.RPC().HTTPCachePolicyRPC().FindEnabledHTTPCachePolicyConfig(ctx, &pb.FindEnabledHTTPCachePolicyConfigRequest{HttpCachePolicyId: cachePolicyId}) + if err != nil { + return nil, err + } + if len(resp.HttpCachePolicyJSON) == 0 { + return nil, nil + } + config := &serverconfigs.HTTPCachePolicy{} + err = json.Unmarshal(resp.HttpCachePolicyJSON, config) + if err != nil { + return nil, err + } + return config, nil +} + +// 查找缓存策略信息 +func (this *HTTPCachePolicyDAO) FindEnabledHTTPCachePolicy(ctx context.Context, cachePolicyId int64) (*pb.HTTPCachePolicy, error) { + resp, err := this.RPC().HTTPCachePolicyRPC().FindEnabledHTTPCachePolicy(ctx, &pb.FindEnabledHTTPCachePolicyRequest{ + HttpCachePolicyId: cachePolicyId, + }) + if err != nil { + return nil, err + } + return resp.HttpCachePolicy, nil +} + +// 根据服务ID查找缓存策略 +func (this *HTTPCachePolicyDAO) FindEnabledHTTPCachePolicyWithServerId(ctx context.Context, serverId int64) (*pb.HTTPCachePolicy, error) { + serverResp, err := this.RPC().ServerRPC().FindEnabledServer(ctx, &pb.FindEnabledServerRequest{ServerId: serverId}) + if err != nil { + return nil, err + } + server := serverResp.Server + if server == nil { + return nil, nil + } + if server.NodeCluster == nil { + return nil, nil + } + clusterId := server.NodeCluster.Id + cluster, err := SharedNodeClusterDAO.FindEnabledNodeCluster(ctx, clusterId) + if err != nil { + return nil, err + } + if cluster == nil { + return nil, nil + } + if cluster.HttpCachePolicyId == 0 { + return nil, nil + } + return this.FindEnabledHTTPCachePolicy(ctx, cluster.HttpCachePolicyId) +} diff --git a/pkg/rpc/dao/http_firewall_policy_dao.go b/pkg/rpc/dao/http_firewall_policy_dao.go new file mode 100644 index 0000000..e1aa4b4 --- /dev/null +++ b/pkg/rpc/dao/http_firewall_policy_dao.go @@ -0,0 +1,182 @@ +package dao + +import ( + "context" + "encoding/json" + "errors" + "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" + "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/firewallconfigs" + "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/ipconfigs" +) + +var SharedHTTPFirewallPolicyDAO = new(HTTPFirewallPolicyDAO) + +// WAF策略相关 +type HTTPFirewallPolicyDAO struct { + BaseDAO +} + +// 查找WAF策略基本信息 +func (this *HTTPFirewallPolicyDAO) FindEnabledHTTPFirewallPolicy(ctx context.Context, policyId int64) (*pb.HTTPFirewallPolicy, error) { + resp, err := this.RPC().HTTPFirewallPolicyRPC().FindEnabledHTTPFirewallPolicy(ctx, &pb.FindEnabledHTTPFirewallPolicyRequest{HttpFirewallPolicyId: policyId}) + if err != nil { + return nil, err + } + return resp.HttpFirewallPolicy, nil +} + +// 查找WAF策略配置 +func (this *HTTPFirewallPolicyDAO) FindEnabledHTTPFirewallPolicyConfig(ctx context.Context, policyId int64) (*firewallconfigs.HTTPFirewallPolicy, error) { + resp, err := this.RPC().HTTPFirewallPolicyRPC().FindEnabledHTTPFirewallPolicyConfig(ctx, &pb.FindEnabledHTTPFirewallPolicyConfigRequest{HttpFirewallPolicyId: policyId}) + if err != nil { + return nil, err + } + if len(resp.HttpFirewallPolicyJSON) == 0 { + return nil, nil + } + firewallPolicy := &firewallconfigs.HTTPFirewallPolicy{} + err = json.Unmarshal(resp.HttpFirewallPolicyJSON, firewallPolicy) + if err != nil { + return nil, err + } + return firewallPolicy, nil +} + +// 查找WAF的Inbound +func (this *HTTPFirewallPolicyDAO) FindEnabledHTTPFirewallPolicyInboundConfig(ctx context.Context, policyId int64) (*firewallconfigs.HTTPFirewallInboundConfig, error) { + config, err := this.FindEnabledHTTPFirewallPolicyConfig(ctx, policyId) + if err != nil { + return nil, err + } + if config == nil { + return nil, errors.New("not found") + } + return config.Inbound, nil +} + +// 根据类型查找WAF的IP名单 +func (this *HTTPFirewallPolicyDAO) FindEnabledPolicyIPListIdWithType(ctx context.Context, policyId int64, listType ipconfigs.IPListType) (int64, error) { + switch listType { + case ipconfigs.IPListTypeWhite: + return this.FindEnabledPolicyWhiteIPListId(ctx, policyId) + case ipconfigs.IPListTypeBlack: + return this.FindEnabledPolicyBlackIPListId(ctx, policyId) + default: + return 0, errors.New("invalid ip list type '" + listType + "'") + } +} + +// 查找WAF的白名单 +func (this *HTTPFirewallPolicyDAO) FindEnabledPolicyWhiteIPListId(ctx context.Context, policyId int64) (int64, error) { + config, err := this.FindEnabledHTTPFirewallPolicyConfig(ctx, policyId) + if err != nil { + return 0, err + } + if config == nil { + return 0, errors.New("not found") + } + if config.Inbound == nil { + config.Inbound = &firewallconfigs.HTTPFirewallInboundConfig{IsOn: true} + } + if config.Inbound.WhiteListRef == nil || config.Inbound.WhiteListRef.ListId == 0 { + createResp, err := this.RPC().IPListRPC().CreateIPList(ctx, &pb.CreateIPListRequest{ + Type: "white", + Name: "白名单", + Code: "white", + TimeoutJSON: nil, + }) + if err != nil { + return 0, err + } + listId := createResp.IpListId + config.Inbound.WhiteListRef = &ipconfigs.IPListRef{ + IsOn: true, + ListId: listId, + } + inboundJSON, err := json.Marshal(config.Inbound) + if err != nil { + return 0, err + } + _, err = this.RPC().HTTPFirewallPolicyRPC().UpdateHTTPFirewallInboundConfig(ctx, &pb.UpdateHTTPFirewallInboundConfigRequest{ + HttpFirewallPolicyId: policyId, + InboundJSON: inboundJSON, + }) + if err != nil { + return 0, err + } + return listId, nil + } + + return config.Inbound.WhiteListRef.ListId, nil +} + +// 查找WAF的黑名单 +func (this *HTTPFirewallPolicyDAO) FindEnabledPolicyBlackIPListId(ctx context.Context, policyId int64) (int64, error) { + config, err := this.FindEnabledHTTPFirewallPolicyConfig(ctx, policyId) + if err != nil { + return 0, err + } + if config == nil { + return 0, errors.New("not found") + } + if config.Inbound == nil { + config.Inbound = &firewallconfigs.HTTPFirewallInboundConfig{IsOn: true} + } + if config.Inbound.BlackListRef == nil || config.Inbound.BlackListRef.ListId == 0 { + createResp, err := this.RPC().IPListRPC().CreateIPList(ctx, &pb.CreateIPListRequest{ + Type: "black", + Name: "黑名单", + Code: "black", + TimeoutJSON: nil, + }) + if err != nil { + return 0, err + } + listId := createResp.IpListId + config.Inbound.BlackListRef = &ipconfigs.IPListRef{ + IsOn: true, + ListId: listId, + } + inboundJSON, err := json.Marshal(config.Inbound) + if err != nil { + return 0, err + } + _, err = this.RPC().HTTPFirewallPolicyRPC().UpdateHTTPFirewallInboundConfig(ctx, &pb.UpdateHTTPFirewallInboundConfigRequest{ + HttpFirewallPolicyId: policyId, + InboundJSON: inboundJSON, + }) + if err != nil { + return 0, err + } + return listId, nil + } + + return config.Inbound.BlackListRef.ListId, nil +} + +// 根据服务Id查找WAF策略 +func (this *HTTPFirewallPolicyDAO) FindEnabledHTTPFirewallPolicyWithServerId(ctx context.Context, serverId int64) (*pb.HTTPFirewallPolicy, error) { + serverResp, err := this.RPC().ServerRPC().FindEnabledServer(ctx, &pb.FindEnabledServerRequest{ServerId: serverId}) + if err != nil { + return nil, err + } + server := serverResp.Server + if server == nil { + return nil, nil + } + if server.NodeCluster == nil { + return nil, nil + } + clusterId := server.NodeCluster.Id + cluster, err := SharedNodeClusterDAO.FindEnabledNodeCluster(ctx, clusterId) + if err != nil { + return nil, err + } + if cluster == nil { + return nil, nil + } + if cluster.HttpFirewallPolicyId == 0 { + return nil, nil + } + return SharedHTTPFirewallPolicyDAO.FindEnabledHTTPFirewallPolicy(ctx, cluster.HttpFirewallPolicyId) +} diff --git a/pkg/rpc/dao/http_firewall_rule_group_dao.go b/pkg/rpc/dao/http_firewall_rule_group_dao.go new file mode 100644 index 0000000..fbcd076 --- /dev/null +++ b/pkg/rpc/dao/http_firewall_rule_group_dao.go @@ -0,0 +1,34 @@ +package dao + +import ( + "context" + "encoding/json" + "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" + "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/firewallconfigs" +) + +var SharedHTTPFirewallRuleGroupDAO = new(HTTPFirewallRuleGroupDAO) + +type HTTPFirewallRuleGroupDAO struct { + BaseDAO +} + +// 查找分组配置 +func (this *HTTPFirewallRuleGroupDAO) FindRuleGroupConfig(ctx context.Context, groupId int64) (*firewallconfigs.HTTPFirewallRuleGroup, error) { + groupResp, err := this.RPC().HTTPFirewallRuleGroupRPC().FindEnabledHTTPFirewallRuleGroupConfig(ctx, &pb.FindEnabledHTTPFirewallRuleGroupConfigRequest{FirewallRuleGroupId: groupId}) + if err != nil { + return nil, err + } + + if len(groupResp.FirewallRuleGroupJSON) == 0 { + return nil, nil + } + + groupConfig := &firewallconfigs.HTTPFirewallRuleGroup{} + err = json.Unmarshal(groupResp.FirewallRuleGroupJSON, groupConfig) + if err != nil { + return nil, err + } + + return groupConfig, nil +} diff --git a/pkg/rpc/dao/http_firewall_rule_set_dao.go b/pkg/rpc/dao/http_firewall_rule_set_dao.go new file mode 100644 index 0000000..9a8d063 --- /dev/null +++ b/pkg/rpc/dao/http_firewall_rule_set_dao.go @@ -0,0 +1,31 @@ +package dao + +import ( + "context" + "encoding/json" + "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" + "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/firewallconfigs" +) + +var SharedHTTPFirewallRuleSetDAO = new(HTTPFirewallRuleSetDAO) + +type HTTPFirewallRuleSetDAO struct { + BaseDAO +} + +// 查找规则集配置 +func (this *HTTPFirewallRuleSetDAO) FindRuleSetConfig(ctx context.Context, setId int64) (*firewallconfigs.HTTPFirewallRuleSet, error) { + resp, err := this.RPC().HTTPFirewallRuleSetRPC().FindEnabledHTTPFirewallRuleSetConfig(ctx, &pb.FindEnabledHTTPFirewallRuleSetConfigRequest{FirewallRuleSetId: setId}) + if err != nil { + return nil, err + } + if len(resp.FirewallRuleSetJSON) == 0 { + return nil, err + } + config := &firewallconfigs.HTTPFirewallRuleSet{} + err = json.Unmarshal(resp.FirewallRuleSetJSON, config) + if err != nil { + return nil, err + } + return config, nil +} diff --git a/pkg/rpc/dao/log_dao.go b/pkg/rpc/dao/log_dao.go new file mode 100644 index 0000000..f337112 --- /dev/null +++ b/pkg/rpc/dao/log_dao.go @@ -0,0 +1,36 @@ +package dao + +import ( + "context" + "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" +) + +var SharedLogDAO = NewLogDAO() + +type LogDAO struct { + BaseDAO +} + +func NewLogDAO() *LogDAO { + return &LogDAO{} +} + +func (this *LogDAO) CreateUserLog(ctx context.Context, level string, action string, description string, ip string) error { + _, err := this.RPC().LogRPC().CreateLog(ctx, &pb.CreateLogRequest{ + Level: level, + Description: description, + Action: action, + Ip: ip, + }) + return err +} + +func (this *LogDAO) CreateAdminLog(ctx context.Context, level string, action string, description string, ip string) error { + _, err := this.RPC().LogRPC().CreateLog(ctx, &pb.CreateLogRequest{ + Level: level, + Description: description, + Action: action, + Ip: ip, + }) + return err +} diff --git a/pkg/rpc/dao/node_cluster_dao.go b/pkg/rpc/dao/node_cluster_dao.go new file mode 100644 index 0000000..dbee56c --- /dev/null +++ b/pkg/rpc/dao/node_cluster_dao.go @@ -0,0 +1,21 @@ +package dao + +import ( + "context" + "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" +) + +var SharedNodeClusterDAO = new(NodeClusterDAO) + +type NodeClusterDAO struct { + BaseDAO +} + +// 查找集群 +func (this *NodeClusterDAO) FindEnabledNodeCluster(ctx context.Context, clusterId int64) (*pb.NodeCluster, error) { + clusterResp, err := this.RPC().NodeClusterRPC().FindEnabledNodeCluster(ctx, &pb.FindEnabledNodeClusterRequest{NodeClusterId: clusterId}) + if err != nil { + return nil, err + } + return clusterResp.NodeCluster, nil +} diff --git a/pkg/rpc/dao/rpc_client.go b/pkg/rpc/dao/rpc_client.go new file mode 100644 index 0000000..2fe24d1 --- /dev/null +++ b/pkg/rpc/dao/rpc_client.go @@ -0,0 +1,51 @@ +package dao + +import "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" + +var sharedRPCClient RPCClient + +func SetRPC(client RPCClient) { + sharedRPCClient = client +} + +type RPCClient interface { + SysSettingRPC() pb.SysSettingServiceClient + NodeClusterRPC() pb.NodeClusterServiceClient + NodeRegionRPC() pb.NodeRegionServiceClient + NodePriceItemRPC() pb.NodePriceItemServiceClient + ServerRPC() pb.ServerServiceClient + ServerGroupRPC() pb.ServerGroupServiceClient + OriginRPC() pb.OriginServiceClient + HTTPWebRPC() pb.HTTPWebServiceClient + ReverseProxyRPC() pb.ReverseProxyServiceClient + HTTPGzipRPC() pb.HTTPGzipServiceClient + HTTPHeaderRPC() pb.HTTPHeaderServiceClient + HTTPHeaderPolicyRPC() pb.HTTPHeaderPolicyServiceClient + HTTPPageRPC() pb.HTTPPageServiceClient + HTTPAccessLogPolicyRPC() pb.HTTPAccessLogPolicyServiceClient + HTTPCachePolicyRPC() pb.HTTPCachePolicyServiceClient + HTTPFirewallPolicyRPC() pb.HTTPFirewallPolicyServiceClient + HTTPFirewallRuleGroupRPC() pb.HTTPFirewallRuleGroupServiceClient + HTTPFirewallRuleSetRPC() pb.HTTPFirewallRuleSetServiceClient + HTTPLocationRPC() pb.HTTPLocationServiceClient + HTTPWebsocketRPC() pb.HTTPWebsocketServiceClient + HTTPRewriteRuleRPC() pb.HTTPRewriteRuleServiceClient + HTTPAccessLogRPC() pb.HTTPAccessLogServiceClient + SSLCertRPC() pb.SSLCertServiceClient + SSLPolicyRPC() pb.SSLPolicyServiceClient + MessageRPC() pb.MessageServiceClient + IPListRPC() pb.IPListServiceClient + IPItemRPC() pb.IPItemServiceClient + FileRPC() pb.FileServiceClient + FileChunkRPC() pb.FileChunkServiceClient + RegionCountryRPC() pb.RegionCountryServiceClient + RegionProvinceRPC() pb.RegionProvinceServiceClient + LogRPC() pb.LogServiceClient + DNSDomainRPC() pb.DNSDomainServiceClient + DNSRPC() pb.DNSServiceClient + ACMEUserRPC() pb.ACMEUserServiceClient + ACMETaskRPC() pb.ACMETaskServiceClient + UserRPC() pb.UserServiceClient + UserBillRPC() pb.UserBillServiceClient + UserNodeRPC() pb.UserNodeServiceClient +} diff --git a/pkg/rpc/dao/server_dao.go b/pkg/rpc/dao/server_dao.go new file mode 100644 index 0000000..26a438d --- /dev/null +++ b/pkg/rpc/dao/server_dao.go @@ -0,0 +1,31 @@ +package dao + +import ( + "context" + "encoding/json" + "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" + "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs" +) + +var SharedServerDAO = new(ServerDAO) + +type ServerDAO struct { + BaseDAO +} + +// 查找服务配置 +func (this *ServerDAO) FindServerConfig(ctx context.Context, serverId int64) (*serverconfigs.ServerConfig, error) { + resp, err := this.RPC().ServerRPC().FindEnabledServerConfig(ctx, &pb.FindEnabledServerConfigRequest{ServerId: serverId}) + if err != nil { + return nil, err + } + if len(resp.ServerJSON) == 0 { + return nil, nil + } + config := &serverconfigs.ServerConfig{} + err = json.Unmarshal(resp.ServerJSON, config) + if err != nil { + return nil, err + } + return config, nil +} diff --git a/pkg/rpc/dao/sys_setting_dao.go b/pkg/rpc/dao/sys_setting_dao.go new file mode 100644 index 0000000..cc43f31 --- /dev/null +++ b/pkg/rpc/dao/sys_setting_dao.go @@ -0,0 +1,41 @@ +package dao + +import ( + "context" + "encoding/json" + "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" + "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs" +) + +type SettingCode = string + +const ( + SettingCodeServerGlobalConfig SettingCode = "serverGlobalConfig" // 服务相关全局设置 + SettingCodeNodeMonitor SettingCode = "nodeMonitor" // 监控节点状态 + SettingCodeClusterHealthCheck SettingCode = "clusterHealthCheck" // 集群健康检查 + SettingCodeIPListVersion SettingCode = "ipListVersion" // IP名单的版本号 + SettingCodeAdminSecurityConfig SettingCode = "adminSecurityConfig" // 管理员安全设置 +) + +var SharedSysSettingDAO = new(SysSettingDAO) + +type SysSettingDAO struct { + BaseDAO +} + +// 读取服务全局配置 +func (this *SysSettingDAO) ReadGlobalConfig(ctx context.Context) (*serverconfigs.GlobalConfig, error) { + globalConfigResp, err := this.RPC().SysSettingRPC().ReadSysSetting(ctx, &pb.ReadSysSettingRequest{Code: SettingCodeServerGlobalConfig}) + if err != nil { + return nil, err + } + if len(globalConfigResp.ValueJSON) == 0 { + return nil, nil + } + globalConfig := &serverconfigs.GlobalConfig{} + err = json.Unmarshal(globalConfigResp.ValueJSON, globalConfig) + if err != nil { + return nil, err + } + return globalConfig, nil +} diff --git a/pkg/rpc/pb/model_server.pb.go b/pkg/rpc/pb/model_server.pb.go index e339a6c..323d4b0 100644 --- a/pkg/rpc/pb/model_server.pb.go +++ b/pkg/rpc/pb/model_server.pb.go @@ -40,19 +40,22 @@ type Server struct { CreatedAt int64 `protobuf:"varint,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` DnsName string `protobuf:"bytes,19,opt,name=dnsName,proto3" json:"dnsName,omitempty"` // 配置相关 - Config []byte `protobuf:"bytes,17,opt,name=config,proto3" json:"config,omitempty"` - ServerNamesJSON []byte `protobuf:"bytes,8,opt,name=serverNamesJSON,proto3" json:"serverNamesJSON,omitempty"` - HttpJSON []byte `protobuf:"bytes,9,opt,name=httpJSON,proto3" json:"httpJSON,omitempty"` - HttpsJSON []byte `protobuf:"bytes,10,opt,name=httpsJSON,proto3" json:"httpsJSON,omitempty"` - TcpJSON []byte `protobuf:"bytes,11,opt,name=tcpJSON,proto3" json:"tcpJSON,omitempty"` - TlsJSON []byte `protobuf:"bytes,12,opt,name=tlsJSON,proto3" json:"tlsJSON,omitempty"` - UnixJSON []byte `protobuf:"bytes,13,opt,name=unixJSON,proto3" json:"unixJSON,omitempty"` - UdpJSON []byte `protobuf:"bytes,14,opt,name=udpJSON,proto3" json:"udpJSON,omitempty"` - WebId int64 `protobuf:"varint,15,opt,name=webId,proto3" json:"webId,omitempty"` - ReverseProxyJSON []byte `protobuf:"bytes,16,opt,name=reverseProxyJSON,proto3" json:"reverseProxyJSON,omitempty"` - NodeCluster *NodeCluster `protobuf:"bytes,30,opt,name=nodeCluster,proto3" json:"nodeCluster,omitempty"` - Groups []*ServerGroup `protobuf:"bytes,31,rep,name=groups,proto3" json:"groups,omitempty"` - User *User `protobuf:"bytes,32,opt,name=user,proto3" json:"user,omitempty"` + Config []byte `protobuf:"bytes,17,opt,name=config,proto3" json:"config,omitempty"` + ServerNamesJSON []byte `protobuf:"bytes,8,opt,name=serverNamesJSON,proto3" json:"serverNamesJSON,omitempty"` + IsAuditing bool `protobuf:"varint,20,opt,name=isAuditing,proto3" json:"isAuditing,omitempty"` + AuditingServerNamesJSON []byte `protobuf:"bytes,21,opt,name=auditingServerNamesJSON,proto3" json:"auditingServerNamesJSON,omitempty"` + AuditingResult *ServerNameAuditingResult `protobuf:"bytes,22,opt,name=auditingResult,proto3" json:"auditingResult,omitempty"` + HttpJSON []byte `protobuf:"bytes,9,opt,name=httpJSON,proto3" json:"httpJSON,omitempty"` + HttpsJSON []byte `protobuf:"bytes,10,opt,name=httpsJSON,proto3" json:"httpsJSON,omitempty"` + TcpJSON []byte `protobuf:"bytes,11,opt,name=tcpJSON,proto3" json:"tcpJSON,omitempty"` + TlsJSON []byte `protobuf:"bytes,12,opt,name=tlsJSON,proto3" json:"tlsJSON,omitempty"` + UnixJSON []byte `protobuf:"bytes,13,opt,name=unixJSON,proto3" json:"unixJSON,omitempty"` + UdpJSON []byte `protobuf:"bytes,14,opt,name=udpJSON,proto3" json:"udpJSON,omitempty"` + WebId int64 `protobuf:"varint,15,opt,name=webId,proto3" json:"webId,omitempty"` + ReverseProxyJSON []byte `protobuf:"bytes,16,opt,name=reverseProxyJSON,proto3" json:"reverseProxyJSON,omitempty"` + NodeCluster *NodeCluster `protobuf:"bytes,30,opt,name=nodeCluster,proto3" json:"nodeCluster,omitempty"` + Groups []*ServerGroup `protobuf:"bytes,31,rep,name=groups,proto3" json:"groups,omitempty"` + User *User `protobuf:"bytes,32,opt,name=user,proto3" json:"user,omitempty"` } func (x *Server) Reset() { @@ -164,6 +167,27 @@ func (x *Server) GetServerNamesJSON() []byte { return nil } +func (x *Server) GetIsAuditing() bool { + if x != nil { + return x.IsAuditing + } + return false +} + +func (x *Server) GetAuditingServerNamesJSON() []byte { + if x != nil { + return x.AuditingServerNamesJSON + } + return nil +} + +func (x *Server) GetAuditingResult() *ServerNameAuditingResult { + if x != nil { + return x.AuditingResult + } + return nil +} + func (x *Server) GetHttpJSON() []byte { if x != nil { return x.HttpJSON @@ -249,50 +273,63 @@ var file_model_server_proto_rawDesc = []byte{ 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x6d, 0x6f, - 0x64, 0x65, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, - 0x05, 0x0a, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, - 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x69, - 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x65, - 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0c, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, - 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, - 0x28, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, - 0x4f, 0x4e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x74, 0x74, - 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x68, 0x74, 0x74, - 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, - 0x4f, 0x4e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, - 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, - 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, - 0x53, 0x4f, 0x4e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, - 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x14, 0x0a, - 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, - 0x62, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, - 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, - 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, - 0x31, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x1e, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x12, 0x27, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x1f, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x1c, 0x0a, 0x04, 0x75, - 0x73, 0x65, 0x72, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, - 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x64, 0x65, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x5f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x06, 0x0a, 0x06, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, + 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, + 0x6f, 0x64, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, + 0x6f, 0x64, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x65, 0x78, 0x63, 0x6c, + 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, + 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, + 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x12, 0x38, 0x0a, 0x17, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x15, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x17, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x44, 0x0a, 0x0e, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x16, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, + 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, + 0x74, 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, + 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, + 0x4e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, + 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, + 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x75, + 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, + 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, + 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x31, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, + 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x06, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x73, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x20, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -309,20 +346,22 @@ func file_model_server_proto_rawDescGZIP() []byte { var file_model_server_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_model_server_proto_goTypes = []interface{}{ - (*Server)(nil), // 0: pb.Server - (*NodeCluster)(nil), // 1: pb.NodeCluster - (*ServerGroup)(nil), // 2: pb.ServerGroup - (*User)(nil), // 3: pb.User + (*Server)(nil), // 0: pb.Server + (*ServerNameAuditingResult)(nil), // 1: pb.ServerNameAuditingResult + (*NodeCluster)(nil), // 2: pb.NodeCluster + (*ServerGroup)(nil), // 3: pb.ServerGroup + (*User)(nil), // 4: pb.User } var file_model_server_proto_depIdxs = []int32{ - 1, // 0: pb.Server.nodeCluster:type_name -> pb.NodeCluster - 2, // 1: pb.Server.groups:type_name -> pb.ServerGroup - 3, // 2: pb.Server.user:type_name -> pb.User - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name + 1, // 0: pb.Server.auditingResult:type_name -> pb.ServerNameAuditingResult + 2, // 1: pb.Server.nodeCluster:type_name -> pb.NodeCluster + 3, // 2: pb.Server.groups:type_name -> pb.ServerGroup + 4, // 3: pb.Server.user:type_name -> pb.User + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name } func init() { file_model_server_proto_init() } @@ -333,6 +372,7 @@ func file_model_server_proto_init() { file_model_node_cluster_proto_init() file_model_server_group_proto_init() file_model_user_proto_init() + file_model_server_name_auditing_result_proto_init() if !protoimpl.UnsafeEnabled { file_model_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Server); i { diff --git a/pkg/rpc/pb/model_server_name_auditing_result.pb.go b/pkg/rpc/pb/model_server_name_auditing_result.pb.go new file mode 100644 index 0000000..f992c84 --- /dev/null +++ b/pkg/rpc/pb/model_server_name_auditing_result.pb.go @@ -0,0 +1,168 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0 +// protoc v3.12.3 +// source: model_server_name_auditing_result.proto + +package pb + +import ( + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type ServerNameAuditingResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOk bool `protobuf:"varint,1,opt,name=isOk,proto3" json:"isOk,omitempty"` + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` + CreatedAt int64 `protobuf:"varint,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"` +} + +func (x *ServerNameAuditingResult) Reset() { + *x = ServerNameAuditingResult{} + if protoimpl.UnsafeEnabled { + mi := &file_model_server_name_auditing_result_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerNameAuditingResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerNameAuditingResult) ProtoMessage() {} + +func (x *ServerNameAuditingResult) ProtoReflect() protoreflect.Message { + mi := &file_model_server_name_auditing_result_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerNameAuditingResult.ProtoReflect.Descriptor instead. +func (*ServerNameAuditingResult) Descriptor() ([]byte, []int) { + return file_model_server_name_auditing_result_proto_rawDescGZIP(), []int{0} +} + +func (x *ServerNameAuditingResult) GetIsOk() bool { + if x != nil { + return x.IsOk + } + return false +} + +func (x *ServerNameAuditingResult) GetReason() string { + if x != nil { + return x.Reason + } + return "" +} + +func (x *ServerNameAuditingResult) GetCreatedAt() int64 { + if x != nil { + return x.CreatedAt + } + return 0 +} + +var File_model_server_name_auditing_result_proto protoreflect.FileDescriptor + +var file_model_server_name_auditing_result_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x5f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x64, 0x0a, + 0x18, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x75, 0x64, 0x69, 0x74, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, + 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x16, 0x0a, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x41, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x41, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_model_server_name_auditing_result_proto_rawDescOnce sync.Once + file_model_server_name_auditing_result_proto_rawDescData = file_model_server_name_auditing_result_proto_rawDesc +) + +func file_model_server_name_auditing_result_proto_rawDescGZIP() []byte { + file_model_server_name_auditing_result_proto_rawDescOnce.Do(func() { + file_model_server_name_auditing_result_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_server_name_auditing_result_proto_rawDescData) + }) + return file_model_server_name_auditing_result_proto_rawDescData +} + +var file_model_server_name_auditing_result_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_model_server_name_auditing_result_proto_goTypes = []interface{}{ + (*ServerNameAuditingResult)(nil), // 0: pb.ServerNameAuditingResult +} +var file_model_server_name_auditing_result_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_model_server_name_auditing_result_proto_init() } +func file_model_server_name_auditing_result_proto_init() { + if File_model_server_name_auditing_result_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_model_server_name_auditing_result_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerNameAuditingResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_model_server_name_auditing_result_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_model_server_name_auditing_result_proto_goTypes, + DependencyIndexes: file_model_server_name_auditing_result_proto_depIdxs, + MessageInfos: file_model_server_name_auditing_result_proto_msgTypes, + }.Build() + File_model_server_name_auditing_result_proto = out.File + file_model_server_name_auditing_result_proto_rawDesc = nil + file_model_server_name_auditing_result_proto_goTypes = nil + file_model_server_name_auditing_result_proto_depIdxs = nil +} diff --git a/pkg/rpc/pb/service_server.pb.go b/pkg/rpc/pb/service_server.pb.go index bf14003..29ed475 100644 --- a/pkg/rpc/pb/service_server.pb.go +++ b/pkg/rpc/pb/service_server.pb.go @@ -349,6 +349,62 @@ func (x *UpdateServerBasicRequest) GetGroupIds() []int64 { return nil } +// 修改服务启是否启用 +type UpdateServerIsOnRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` + IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"` +} + +func (x *UpdateServerIsOnRequest) Reset() { + *x = UpdateServerIsOnRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_server_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateServerIsOnRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateServerIsOnRequest) ProtoMessage() {} + +func (x *UpdateServerIsOnRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_server_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateServerIsOnRequest.ProtoReflect.Descriptor instead. +func (*UpdateServerIsOnRequest) Descriptor() ([]byte, []int) { + return file_service_server_proto_rawDescGZIP(), []int{3} +} + +func (x *UpdateServerIsOnRequest) GetServerId() int64 { + if x != nil { + return x.ServerId + } + return 0 +} + +func (x *UpdateServerIsOnRequest) GetIsOn() bool { + if x != nil { + return x.IsOn + } + return false +} + // 修改服务的HTTP等设置 type UpdateServerHTTPRequest struct { state protoimpl.MessageState @@ -356,13 +412,13 @@ type UpdateServerHTTPRequest struct { unknownFields protoimpl.UnknownFields ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` - Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + HttpJSON []byte `protobuf:"bytes,2,opt,name=httpJSON,proto3" json:"httpJSON,omitempty"` } func (x *UpdateServerHTTPRequest) Reset() { *x = UpdateServerHTTPRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[3] + mi := &file_service_server_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -375,7 +431,7 @@ func (x *UpdateServerHTTPRequest) String() string { func (*UpdateServerHTTPRequest) ProtoMessage() {} func (x *UpdateServerHTTPRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[3] + mi := &file_service_server_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -388,7 +444,7 @@ func (x *UpdateServerHTTPRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateServerHTTPRequest.ProtoReflect.Descriptor instead. func (*UpdateServerHTTPRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{3} + return file_service_server_proto_rawDescGZIP(), []int{4} } func (x *UpdateServerHTTPRequest) GetServerId() int64 { @@ -398,9 +454,9 @@ func (x *UpdateServerHTTPRequest) GetServerId() int64 { return 0 } -func (x *UpdateServerHTTPRequest) GetConfig() []byte { +func (x *UpdateServerHTTPRequest) GetHttpJSON() []byte { if x != nil { - return x.Config + return x.HttpJSON } return nil } @@ -410,14 +466,14 @@ type UpdateServerHTTPSRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` - Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` + HttpsJSON []byte `protobuf:"bytes,2,opt,name=httpsJSON,proto3" json:"httpsJSON,omitempty"` } func (x *UpdateServerHTTPSRequest) Reset() { *x = UpdateServerHTTPSRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[4] + mi := &file_service_server_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -430,7 +486,7 @@ func (x *UpdateServerHTTPSRequest) String() string { func (*UpdateServerHTTPSRequest) ProtoMessage() {} func (x *UpdateServerHTTPSRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[4] + mi := &file_service_server_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -443,7 +499,7 @@ func (x *UpdateServerHTTPSRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateServerHTTPSRequest.ProtoReflect.Descriptor instead. func (*UpdateServerHTTPSRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{4} + return file_service_server_proto_rawDescGZIP(), []int{5} } func (x *UpdateServerHTTPSRequest) GetServerId() int64 { @@ -453,9 +509,9 @@ func (x *UpdateServerHTTPSRequest) GetServerId() int64 { return 0 } -func (x *UpdateServerHTTPSRequest) GetConfig() []byte { +func (x *UpdateServerHTTPSRequest) GetHttpsJSON() []byte { if x != nil { - return x.Config + return x.HttpsJSON } return nil } @@ -466,13 +522,13 @@ type UpdateServerTCPRequest struct { unknownFields protoimpl.UnknownFields ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` - Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + TcpJSON []byte `protobuf:"bytes,2,opt,name=tcpJSON,proto3" json:"tcpJSON,omitempty"` } func (x *UpdateServerTCPRequest) Reset() { *x = UpdateServerTCPRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[5] + mi := &file_service_server_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -485,7 +541,7 @@ func (x *UpdateServerTCPRequest) String() string { func (*UpdateServerTCPRequest) ProtoMessage() {} func (x *UpdateServerTCPRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[5] + mi := &file_service_server_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -498,7 +554,7 @@ func (x *UpdateServerTCPRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateServerTCPRequest.ProtoReflect.Descriptor instead. func (*UpdateServerTCPRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{5} + return file_service_server_proto_rawDescGZIP(), []int{6} } func (x *UpdateServerTCPRequest) GetServerId() int64 { @@ -508,9 +564,9 @@ func (x *UpdateServerTCPRequest) GetServerId() int64 { return 0 } -func (x *UpdateServerTCPRequest) GetConfig() []byte { +func (x *UpdateServerTCPRequest) GetTcpJSON() []byte { if x != nil { - return x.Config + return x.TcpJSON } return nil } @@ -521,13 +577,13 @@ type UpdateServerTLSRequest struct { unknownFields protoimpl.UnknownFields ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` - Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + TlsJSON []byte `protobuf:"bytes,2,opt,name=tlsJSON,proto3" json:"tlsJSON,omitempty"` } func (x *UpdateServerTLSRequest) Reset() { *x = UpdateServerTLSRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[6] + mi := &file_service_server_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -540,7 +596,7 @@ func (x *UpdateServerTLSRequest) String() string { func (*UpdateServerTLSRequest) ProtoMessage() {} func (x *UpdateServerTLSRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[6] + mi := &file_service_server_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -553,7 +609,7 @@ func (x *UpdateServerTLSRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateServerTLSRequest.ProtoReflect.Descriptor instead. func (*UpdateServerTLSRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{6} + return file_service_server_proto_rawDescGZIP(), []int{7} } func (x *UpdateServerTLSRequest) GetServerId() int64 { @@ -563,9 +619,9 @@ func (x *UpdateServerTLSRequest) GetServerId() int64 { return 0 } -func (x *UpdateServerTLSRequest) GetConfig() []byte { +func (x *UpdateServerTLSRequest) GetTlsJSON() []byte { if x != nil { - return x.Config + return x.TlsJSON } return nil } @@ -576,13 +632,13 @@ type UpdateServerUnixRequest struct { unknownFields protoimpl.UnknownFields ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` - Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + UnixJSON []byte `protobuf:"bytes,2,opt,name=unixJSON,proto3" json:"unixJSON,omitempty"` } func (x *UpdateServerUnixRequest) Reset() { *x = UpdateServerUnixRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[7] + mi := &file_service_server_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -595,7 +651,7 @@ func (x *UpdateServerUnixRequest) String() string { func (*UpdateServerUnixRequest) ProtoMessage() {} func (x *UpdateServerUnixRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[7] + mi := &file_service_server_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -608,7 +664,7 @@ func (x *UpdateServerUnixRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateServerUnixRequest.ProtoReflect.Descriptor instead. func (*UpdateServerUnixRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{7} + return file_service_server_proto_rawDescGZIP(), []int{8} } func (x *UpdateServerUnixRequest) GetServerId() int64 { @@ -618,9 +674,9 @@ func (x *UpdateServerUnixRequest) GetServerId() int64 { return 0 } -func (x *UpdateServerUnixRequest) GetConfig() []byte { +func (x *UpdateServerUnixRequest) GetUnixJSON() []byte { if x != nil { - return x.Config + return x.UnixJSON } return nil } @@ -631,13 +687,13 @@ type UpdateServerUDPRequest struct { unknownFields protoimpl.UnknownFields ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` - Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + UdpJSON []byte `protobuf:"bytes,2,opt,name=udpJSON,proto3" json:"udpJSON,omitempty"` } func (x *UpdateServerUDPRequest) Reset() { *x = UpdateServerUDPRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[8] + mi := &file_service_server_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -650,7 +706,7 @@ func (x *UpdateServerUDPRequest) String() string { func (*UpdateServerUDPRequest) ProtoMessage() {} func (x *UpdateServerUDPRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[8] + mi := &file_service_server_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -663,7 +719,7 @@ func (x *UpdateServerUDPRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateServerUDPRequest.ProtoReflect.Descriptor instead. func (*UpdateServerUDPRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{8} + return file_service_server_proto_rawDescGZIP(), []int{9} } func (x *UpdateServerUDPRequest) GetServerId() int64 { @@ -673,9 +729,9 @@ func (x *UpdateServerUDPRequest) GetServerId() int64 { return 0 } -func (x *UpdateServerUDPRequest) GetConfig() []byte { +func (x *UpdateServerUDPRequest) GetUdpJSON() []byte { if x != nil { - return x.Config + return x.UdpJSON } return nil } @@ -692,7 +748,7 @@ type UpdateServerWebRequest struct { func (x *UpdateServerWebRequest) Reset() { *x = UpdateServerWebRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[9] + mi := &file_service_server_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -705,7 +761,7 @@ func (x *UpdateServerWebRequest) String() string { func (*UpdateServerWebRequest) ProtoMessage() {} func (x *UpdateServerWebRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[9] + mi := &file_service_server_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -718,7 +774,7 @@ func (x *UpdateServerWebRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateServerWebRequest.ProtoReflect.Descriptor instead. func (*UpdateServerWebRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{9} + return file_service_server_proto_rawDescGZIP(), []int{10} } func (x *UpdateServerWebRequest) GetServerId() int64 { @@ -747,7 +803,7 @@ type UpdateServerReverseProxyRequest struct { func (x *UpdateServerReverseProxyRequest) Reset() { *x = UpdateServerReverseProxyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[10] + mi := &file_service_server_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -760,7 +816,7 @@ func (x *UpdateServerReverseProxyRequest) String() string { func (*UpdateServerReverseProxyRequest) ProtoMessage() {} func (x *UpdateServerReverseProxyRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[10] + mi := &file_service_server_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -773,7 +829,7 @@ func (x *UpdateServerReverseProxyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateServerReverseProxyRequest.ProtoReflect.Descriptor instead. func (*UpdateServerReverseProxyRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{10} + return file_service_server_proto_rawDescGZIP(), []int{11} } func (x *UpdateServerReverseProxyRequest) GetServerId() int64 { @@ -802,7 +858,7 @@ type FindServerNamesRequest struct { func (x *FindServerNamesRequest) Reset() { *x = FindServerNamesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[11] + mi := &file_service_server_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -815,7 +871,7 @@ func (x *FindServerNamesRequest) String() string { func (*FindServerNamesRequest) ProtoMessage() {} func (x *FindServerNamesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[11] + mi := &file_service_server_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -828,7 +884,7 @@ func (x *FindServerNamesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindServerNamesRequest.ProtoReflect.Descriptor instead. func (*FindServerNamesRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{11} + return file_service_server_proto_rawDescGZIP(), []int{12} } func (x *FindServerNamesRequest) GetServerId() int64 { @@ -843,13 +899,16 @@ type FindServerNamesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ServerNamesJSON []byte `protobuf:"bytes,1,opt,name=serverNamesJSON,proto3" json:"serverNamesJSON,omitempty"` + ServerNamesJSON []byte `protobuf:"bytes,1,opt,name=serverNamesJSON,proto3" json:"serverNamesJSON,omitempty"` + IsAuditing bool `protobuf:"varint,2,opt,name=isAuditing,proto3" json:"isAuditing,omitempty"` + AuditingServerNamesJSON []byte `protobuf:"bytes,3,opt,name=auditingServerNamesJSON,proto3" json:"auditingServerNamesJSON,omitempty"` + AuditingResult *ServerNameAuditingResult `protobuf:"bytes,4,opt,name=auditingResult,proto3" json:"auditingResult,omitempty"` } func (x *FindServerNamesResponse) Reset() { *x = FindServerNamesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[12] + mi := &file_service_server_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -862,7 +921,7 @@ func (x *FindServerNamesResponse) String() string { func (*FindServerNamesResponse) ProtoMessage() {} func (x *FindServerNamesResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[12] + mi := &file_service_server_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -875,7 +934,7 @@ func (x *FindServerNamesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindServerNamesResponse.ProtoReflect.Descriptor instead. func (*FindServerNamesResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{12} + return file_service_server_proto_rawDescGZIP(), []int{13} } func (x *FindServerNamesResponse) GetServerNamesJSON() []byte { @@ -885,20 +944,41 @@ func (x *FindServerNamesResponse) GetServerNamesJSON() []byte { return nil } +func (x *FindServerNamesResponse) GetIsAuditing() bool { + if x != nil { + return x.IsAuditing + } + return false +} + +func (x *FindServerNamesResponse) GetAuditingServerNamesJSON() []byte { + if x != nil { + return x.AuditingServerNamesJSON + } + return nil +} + +func (x *FindServerNamesResponse) GetAuditingResult() *ServerNameAuditingResult { + if x != nil { + return x.AuditingResult + } + return nil +} + // 修改服务的域名设置 type UpdateServerNamesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` - Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` + ServerNamesJSON []byte `protobuf:"bytes,2,opt,name=serverNamesJSON,proto3" json:"serverNamesJSON,omitempty"` } func (x *UpdateServerNamesRequest) Reset() { *x = UpdateServerNamesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[13] + mi := &file_service_server_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -911,7 +991,7 @@ func (x *UpdateServerNamesRequest) String() string { func (*UpdateServerNamesRequest) ProtoMessage() {} func (x *UpdateServerNamesRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[13] + mi := &file_service_server_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -924,7 +1004,7 @@ func (x *UpdateServerNamesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateServerNamesRequest.ProtoReflect.Descriptor instead. func (*UpdateServerNamesRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{13} + return file_service_server_proto_rawDescGZIP(), []int{14} } func (x *UpdateServerNamesRequest) GetServerId() int64 { @@ -934,9 +1014,65 @@ func (x *UpdateServerNamesRequest) GetServerId() int64 { return 0 } -func (x *UpdateServerNamesRequest) GetConfig() []byte { +func (x *UpdateServerNamesRequest) GetServerNamesJSON() []byte { if x != nil { - return x.Config + return x.ServerNamesJSON + } + return nil +} + +// 审核服务的域名设置 +type UpdateServerNamesAuditingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` + AuditingResult *ServerNameAuditingResult `protobuf:"bytes,2,opt,name=auditingResult,proto3" json:"auditingResult,omitempty"` +} + +func (x *UpdateServerNamesAuditingRequest) Reset() { + *x = UpdateServerNamesAuditingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_server_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateServerNamesAuditingRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateServerNamesAuditingRequest) ProtoMessage() {} + +func (x *UpdateServerNamesAuditingRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_server_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateServerNamesAuditingRequest.ProtoReflect.Descriptor instead. +func (*UpdateServerNamesAuditingRequest) Descriptor() ([]byte, []int) { + return file_service_server_proto_rawDescGZIP(), []int{15} +} + +func (x *UpdateServerNamesAuditingRequest) GetServerId() int64 { + if x != nil { + return x.ServerId + } + return 0 +} + +func (x *UpdateServerNamesAuditingRequest) GetAuditingResult() *ServerNameAuditingResult { + if x != nil { + return x.AuditingResult } return nil } @@ -947,15 +1083,17 @@ type CountAllEnabledServersMatchRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GroupId int64 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId,omitempty"` - Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` - UserId int64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"` + GroupId int64 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId,omitempty"` + Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` + UserId int64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId,omitempty"` + ClusterId int64 `protobuf:"varint,4,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + AuditingFlag int32 `protobuf:"varint,5,opt,name=auditingFlag,proto3" json:"auditingFlag,omitempty"` } func (x *CountAllEnabledServersMatchRequest) Reset() { *x = CountAllEnabledServersMatchRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[14] + mi := &file_service_server_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -968,7 +1106,7 @@ func (x *CountAllEnabledServersMatchRequest) String() string { func (*CountAllEnabledServersMatchRequest) ProtoMessage() {} func (x *CountAllEnabledServersMatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[14] + mi := &file_service_server_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -981,7 +1119,7 @@ func (x *CountAllEnabledServersMatchRequest) ProtoReflect() protoreflect.Message // Deprecated: Use CountAllEnabledServersMatchRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledServersMatchRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{14} + return file_service_server_proto_rawDescGZIP(), []int{16} } func (x *CountAllEnabledServersMatchRequest) GetGroupId() int64 { @@ -1005,23 +1143,39 @@ func (x *CountAllEnabledServersMatchRequest) GetUserId() int64 { return 0 } +func (x *CountAllEnabledServersMatchRequest) GetClusterId() int64 { + if x != nil { + return x.ClusterId + } + return 0 +} + +func (x *CountAllEnabledServersMatchRequest) GetAuditingFlag() int32 { + if x != nil { + return x.AuditingFlag + } + return 0 +} + // 列出单页服务 type ListEnabledServersMatchRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - GroupId int64 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` - Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"` - UserId int64 `protobuf:"varint,5,opt,name=userId,proto3" json:"userId,omitempty"` + Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + GroupId int64 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"` + Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"` + UserId int64 `protobuf:"varint,5,opt,name=userId,proto3" json:"userId,omitempty"` + ClusterId int64 `protobuf:"varint,6,opt,name=clusterId,proto3" json:"clusterId,omitempty"` + AuditingFlag int32 `protobuf:"varint,7,opt,name=auditingFlag,proto3" json:"auditingFlag,omitempty"` } func (x *ListEnabledServersMatchRequest) Reset() { *x = ListEnabledServersMatchRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[15] + mi := &file_service_server_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1034,7 +1188,7 @@ func (x *ListEnabledServersMatchRequest) String() string { func (*ListEnabledServersMatchRequest) ProtoMessage() {} func (x *ListEnabledServersMatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[15] + mi := &file_service_server_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1047,7 +1201,7 @@ func (x *ListEnabledServersMatchRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledServersMatchRequest.ProtoReflect.Descriptor instead. func (*ListEnabledServersMatchRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{15} + return file_service_server_proto_rawDescGZIP(), []int{17} } func (x *ListEnabledServersMatchRequest) GetOffset() int64 { @@ -1085,6 +1239,20 @@ func (x *ListEnabledServersMatchRequest) GetUserId() int64 { return 0 } +func (x *ListEnabledServersMatchRequest) GetClusterId() int64 { + if x != nil { + return x.ClusterId + } + return 0 +} + +func (x *ListEnabledServersMatchRequest) GetAuditingFlag() int32 { + if x != nil { + return x.AuditingFlag + } + return 0 +} + type ListEnabledServersMatchResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1096,7 +1264,7 @@ type ListEnabledServersMatchResponse struct { func (x *ListEnabledServersMatchResponse) Reset() { *x = ListEnabledServersMatchResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[16] + mi := &file_service_server_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1109,7 +1277,7 @@ func (x *ListEnabledServersMatchResponse) String() string { func (*ListEnabledServersMatchResponse) ProtoMessage() {} func (x *ListEnabledServersMatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[16] + mi := &file_service_server_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1122,7 +1290,7 @@ func (x *ListEnabledServersMatchResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListEnabledServersMatchResponse.ProtoReflect.Descriptor instead. func (*ListEnabledServersMatchResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{16} + return file_service_server_proto_rawDescGZIP(), []int{18} } func (x *ListEnabledServersMatchResponse) GetServers() []*Server { @@ -1133,7 +1301,7 @@ func (x *ListEnabledServersMatchResponse) GetServers() []*Server { } // 禁用服务 -type DisableServerRequest struct { +type DeleteServerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -1141,23 +1309,23 @@ type DisableServerRequest struct { ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` } -func (x *DisableServerRequest) Reset() { - *x = DisableServerRequest{} +func (x *DeleteServerRequest) Reset() { + *x = DeleteServerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[17] + mi := &file_service_server_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *DisableServerRequest) String() string { +func (x *DeleteServerRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DisableServerRequest) ProtoMessage() {} +func (*DeleteServerRequest) ProtoMessage() {} -func (x *DisableServerRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[17] +func (x *DeleteServerRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_server_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1168,56 +1336,18 @@ func (x *DisableServerRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DisableServerRequest.ProtoReflect.Descriptor instead. -func (*DisableServerRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{17} +// Deprecated: Use DeleteServerRequest.ProtoReflect.Descriptor instead. +func (*DeleteServerRequest) Descriptor() ([]byte, []int) { + return file_service_server_proto_rawDescGZIP(), []int{19} } -func (x *DisableServerRequest) GetServerId() int64 { +func (x *DeleteServerRequest) GetServerId() int64 { if x != nil { return x.ServerId } return 0 } -type DisableServerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DisableServerResponse) Reset() { - *x = DisableServerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DisableServerResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisableServerResponse) ProtoMessage() {} - -func (x *DisableServerResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DisableServerResponse.ProtoReflect.Descriptor instead. -func (*DisableServerResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{18} -} - // 查找单个服务 type FindEnabledServerRequest struct { state protoimpl.MessageState @@ -1230,7 +1360,7 @@ type FindEnabledServerRequest struct { func (x *FindEnabledServerRequest) Reset() { *x = FindEnabledServerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[19] + mi := &file_service_server_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1243,7 +1373,7 @@ func (x *FindEnabledServerRequest) String() string { func (*FindEnabledServerRequest) ProtoMessage() {} func (x *FindEnabledServerRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[19] + mi := &file_service_server_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1256,7 +1386,7 @@ func (x *FindEnabledServerRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerRequest.ProtoReflect.Descriptor instead. func (*FindEnabledServerRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{19} + return file_service_server_proto_rawDescGZIP(), []int{20} } func (x *FindEnabledServerRequest) GetServerId() int64 { @@ -1277,7 +1407,7 @@ type FindEnabledServerResponse struct { func (x *FindEnabledServerResponse) Reset() { *x = FindEnabledServerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[20] + mi := &file_service_server_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1290,7 +1420,7 @@ func (x *FindEnabledServerResponse) String() string { func (*FindEnabledServerResponse) ProtoMessage() {} func (x *FindEnabledServerResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[20] + mi := &file_service_server_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1303,7 +1433,7 @@ func (x *FindEnabledServerResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerResponse.ProtoReflect.Descriptor instead. func (*FindEnabledServerResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{20} + return file_service_server_proto_rawDescGZIP(), []int{21} } func (x *FindEnabledServerResponse) GetServer() *Server { @@ -1313,6 +1443,101 @@ func (x *FindEnabledServerResponse) GetServer() *Server { return nil } +// 查找服务配置 +type FindEnabledServerConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` +} + +func (x *FindEnabledServerConfigRequest) Reset() { + *x = FindEnabledServerConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_server_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindEnabledServerConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindEnabledServerConfigRequest) ProtoMessage() {} + +func (x *FindEnabledServerConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_server_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindEnabledServerConfigRequest.ProtoReflect.Descriptor instead. +func (*FindEnabledServerConfigRequest) Descriptor() ([]byte, []int) { + return file_service_server_proto_rawDescGZIP(), []int{22} +} + +func (x *FindEnabledServerConfigRequest) GetServerId() int64 { + if x != nil { + return x.ServerId + } + return 0 +} + +type FindEnabledServerConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerJSON []byte `protobuf:"bytes,1,opt,name=serverJSON,proto3" json:"serverJSON,omitempty"` +} + +func (x *FindEnabledServerConfigResponse) Reset() { + *x = FindEnabledServerConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_service_server_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindEnabledServerConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindEnabledServerConfigResponse) ProtoMessage() {} + +func (x *FindEnabledServerConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_service_server_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindEnabledServerConfigResponse.ProtoReflect.Descriptor instead. +func (*FindEnabledServerConfigResponse) Descriptor() ([]byte, []int) { + return file_service_server_proto_rawDescGZIP(), []int{23} +} + +func (x *FindEnabledServerConfigResponse) GetServerJSON() []byte { + if x != nil { + return x.ServerJSON + } + return nil +} + // 查找服务的服务类型 type FindEnabledServerTypeRequest struct { state protoimpl.MessageState @@ -1325,7 +1550,7 @@ type FindEnabledServerTypeRequest struct { func (x *FindEnabledServerTypeRequest) Reset() { *x = FindEnabledServerTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[21] + mi := &file_service_server_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1338,7 +1563,7 @@ func (x *FindEnabledServerTypeRequest) String() string { func (*FindEnabledServerTypeRequest) ProtoMessage() {} func (x *FindEnabledServerTypeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[21] + mi := &file_service_server_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1351,7 +1576,7 @@ func (x *FindEnabledServerTypeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerTypeRequest.ProtoReflect.Descriptor instead. func (*FindEnabledServerTypeRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{21} + return file_service_server_proto_rawDescGZIP(), []int{24} } func (x *FindEnabledServerTypeRequest) GetServerId() int64 { @@ -1372,7 +1597,7 @@ type FindEnabledServerTypeResponse struct { func (x *FindEnabledServerTypeResponse) Reset() { *x = FindEnabledServerTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[22] + mi := &file_service_server_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1385,7 +1610,7 @@ func (x *FindEnabledServerTypeResponse) String() string { func (*FindEnabledServerTypeResponse) ProtoMessage() {} func (x *FindEnabledServerTypeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[22] + mi := &file_service_server_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1398,7 +1623,7 @@ func (x *FindEnabledServerTypeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerTypeResponse.ProtoReflect.Descriptor instead. func (*FindEnabledServerTypeResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{22} + return file_service_server_proto_rawDescGZIP(), []int{25} } func (x *FindEnabledServerTypeResponse) GetType() string { @@ -1420,7 +1645,7 @@ type FindAndInitServerReverseProxyConfigRequest struct { func (x *FindAndInitServerReverseProxyConfigRequest) Reset() { *x = FindAndInitServerReverseProxyConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[23] + mi := &file_service_server_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1433,7 +1658,7 @@ func (x *FindAndInitServerReverseProxyConfigRequest) String() string { func (*FindAndInitServerReverseProxyConfigRequest) ProtoMessage() {} func (x *FindAndInitServerReverseProxyConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[23] + mi := &file_service_server_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1446,7 +1671,7 @@ func (x *FindAndInitServerReverseProxyConfigRequest) ProtoReflect() protoreflect // Deprecated: Use FindAndInitServerReverseProxyConfigRequest.ProtoReflect.Descriptor instead. func (*FindAndInitServerReverseProxyConfigRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{23} + return file_service_server_proto_rawDescGZIP(), []int{26} } func (x *FindAndInitServerReverseProxyConfigRequest) GetServerId() int64 { @@ -1468,7 +1693,7 @@ type FindAndInitServerReverseProxyConfigResponse struct { func (x *FindAndInitServerReverseProxyConfigResponse) Reset() { *x = FindAndInitServerReverseProxyConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[24] + mi := &file_service_server_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1481,7 +1706,7 @@ func (x *FindAndInitServerReverseProxyConfigResponse) String() string { func (*FindAndInitServerReverseProxyConfigResponse) ProtoMessage() {} func (x *FindAndInitServerReverseProxyConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[24] + mi := &file_service_server_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1494,7 +1719,7 @@ func (x *FindAndInitServerReverseProxyConfigResponse) ProtoReflect() protoreflec // Deprecated: Use FindAndInitServerReverseProxyConfigResponse.ProtoReflect.Descriptor instead. func (*FindAndInitServerReverseProxyConfigResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{24} + return file_service_server_proto_rawDescGZIP(), []int{27} } func (x *FindAndInitServerReverseProxyConfigResponse) GetReverseProxyJSON() []byte { @@ -1523,7 +1748,7 @@ type FindAndInitServerWebConfigRequest struct { func (x *FindAndInitServerWebConfigRequest) Reset() { *x = FindAndInitServerWebConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[25] + mi := &file_service_server_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1536,7 +1761,7 @@ func (x *FindAndInitServerWebConfigRequest) String() string { func (*FindAndInitServerWebConfigRequest) ProtoMessage() {} func (x *FindAndInitServerWebConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[25] + mi := &file_service_server_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1549,7 +1774,7 @@ func (x *FindAndInitServerWebConfigRequest) ProtoReflect() protoreflect.Message // Deprecated: Use FindAndInitServerWebConfigRequest.ProtoReflect.Descriptor instead. func (*FindAndInitServerWebConfigRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{25} + return file_service_server_proto_rawDescGZIP(), []int{28} } func (x *FindAndInitServerWebConfigRequest) GetServerId() int64 { @@ -1570,7 +1795,7 @@ type FindAndInitServerWebConfigResponse struct { func (x *FindAndInitServerWebConfigResponse) Reset() { *x = FindAndInitServerWebConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[26] + mi := &file_service_server_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1583,7 +1808,7 @@ func (x *FindAndInitServerWebConfigResponse) String() string { func (*FindAndInitServerWebConfigResponse) ProtoMessage() {} func (x *FindAndInitServerWebConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[26] + mi := &file_service_server_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1596,7 +1821,7 @@ func (x *FindAndInitServerWebConfigResponse) ProtoReflect() protoreflect.Message // Deprecated: Use FindAndInitServerWebConfigResponse.ProtoReflect.Descriptor instead. func (*FindAndInitServerWebConfigResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{26} + return file_service_server_proto_rawDescGZIP(), []int{29} } func (x *FindAndInitServerWebConfigResponse) GetWebJSON() []byte { @@ -1618,7 +1843,7 @@ type CountAllEnabledServersWithSSLCertIdRequest struct { func (x *CountAllEnabledServersWithSSLCertIdRequest) Reset() { *x = CountAllEnabledServersWithSSLCertIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[27] + mi := &file_service_server_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1631,7 +1856,7 @@ func (x *CountAllEnabledServersWithSSLCertIdRequest) String() string { func (*CountAllEnabledServersWithSSLCertIdRequest) ProtoMessage() {} func (x *CountAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[27] + mi := &file_service_server_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1644,7 +1869,7 @@ func (x *CountAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect // Deprecated: Use CountAllEnabledServersWithSSLCertIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledServersWithSSLCertIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{27} + return file_service_server_proto_rawDescGZIP(), []int{30} } func (x *CountAllEnabledServersWithSSLCertIdRequest) GetSslCertId() int64 { @@ -1666,7 +1891,7 @@ type FindAllEnabledServersWithSSLCertIdRequest struct { func (x *FindAllEnabledServersWithSSLCertIdRequest) Reset() { *x = FindAllEnabledServersWithSSLCertIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[28] + mi := &file_service_server_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1679,7 +1904,7 @@ func (x *FindAllEnabledServersWithSSLCertIdRequest) String() string { func (*FindAllEnabledServersWithSSLCertIdRequest) ProtoMessage() {} func (x *FindAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[28] + mi := &file_service_server_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1692,7 +1917,7 @@ func (x *FindAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect. // Deprecated: Use FindAllEnabledServersWithSSLCertIdRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersWithSSLCertIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{28} + return file_service_server_proto_rawDescGZIP(), []int{31} } func (x *FindAllEnabledServersWithSSLCertIdRequest) GetSslCertId() int64 { @@ -1713,7 +1938,7 @@ type FindAllEnabledServersWithSSLCertIdResponse struct { func (x *FindAllEnabledServersWithSSLCertIdResponse) Reset() { *x = FindAllEnabledServersWithSSLCertIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[29] + mi := &file_service_server_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1726,7 +1951,7 @@ func (x *FindAllEnabledServersWithSSLCertIdResponse) String() string { func (*FindAllEnabledServersWithSSLCertIdResponse) ProtoMessage() {} func (x *FindAllEnabledServersWithSSLCertIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[29] + mi := &file_service_server_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1739,7 +1964,7 @@ func (x *FindAllEnabledServersWithSSLCertIdResponse) ProtoReflect() protoreflect // Deprecated: Use FindAllEnabledServersWithSSLCertIdResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersWithSSLCertIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{29} + return file_service_server_proto_rawDescGZIP(), []int{32} } func (x *FindAllEnabledServersWithSSLCertIdResponse) GetServers() []*Server { @@ -1761,7 +1986,7 @@ type CountAllEnabledServersWithNodeClusterIdRequest struct { func (x *CountAllEnabledServersWithNodeClusterIdRequest) Reset() { *x = CountAllEnabledServersWithNodeClusterIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[30] + mi := &file_service_server_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1774,7 +1999,7 @@ func (x *CountAllEnabledServersWithNodeClusterIdRequest) String() string { func (*CountAllEnabledServersWithNodeClusterIdRequest) ProtoMessage() {} func (x *CountAllEnabledServersWithNodeClusterIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[30] + mi := &file_service_server_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1787,7 +2012,7 @@ func (x *CountAllEnabledServersWithNodeClusterIdRequest) ProtoReflect() protoref // Deprecated: Use CountAllEnabledServersWithNodeClusterIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledServersWithNodeClusterIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{30} + return file_service_server_proto_rawDescGZIP(), []int{33} } func (x *CountAllEnabledServersWithNodeClusterIdRequest) GetNodeClusterId() int64 { @@ -1809,7 +2034,7 @@ type CountAllEnabledServersWithGroupIdRequest struct { func (x *CountAllEnabledServersWithGroupIdRequest) Reset() { *x = CountAllEnabledServersWithGroupIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[31] + mi := &file_service_server_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1822,7 +2047,7 @@ func (x *CountAllEnabledServersWithGroupIdRequest) String() string { func (*CountAllEnabledServersWithGroupIdRequest) ProtoMessage() {} func (x *CountAllEnabledServersWithGroupIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[31] + mi := &file_service_server_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1835,7 +2060,7 @@ func (x *CountAllEnabledServersWithGroupIdRequest) ProtoReflect() protoreflect.M // Deprecated: Use CountAllEnabledServersWithGroupIdRequest.ProtoReflect.Descriptor instead. func (*CountAllEnabledServersWithGroupIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{31} + return file_service_server_proto_rawDescGZIP(), []int{34} } func (x *CountAllEnabledServersWithGroupIdRequest) GetGroupId() int64 { @@ -1855,7 +2080,7 @@ type NotifyServersChangeRequest struct { func (x *NotifyServersChangeRequest) Reset() { *x = NotifyServersChangeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[32] + mi := &file_service_server_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1868,7 +2093,7 @@ func (x *NotifyServersChangeRequest) String() string { func (*NotifyServersChangeRequest) ProtoMessage() {} func (x *NotifyServersChangeRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[32] + mi := &file_service_server_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1881,7 +2106,7 @@ func (x *NotifyServersChangeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NotifyServersChangeRequest.ProtoReflect.Descriptor instead. func (*NotifyServersChangeRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{32} + return file_service_server_proto_rawDescGZIP(), []int{35} } type NotifyServersChangeResponse struct { @@ -1893,7 +2118,7 @@ type NotifyServersChangeResponse struct { func (x *NotifyServersChangeResponse) Reset() { *x = NotifyServersChangeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[33] + mi := &file_service_server_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1906,7 +2131,7 @@ func (x *NotifyServersChangeResponse) String() string { func (*NotifyServersChangeResponse) ProtoMessage() {} func (x *NotifyServersChangeResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[33] + mi := &file_service_server_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1919,7 +2144,7 @@ func (x *NotifyServersChangeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NotifyServersChangeResponse.ProtoReflect.Descriptor instead. func (*NotifyServersChangeResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{33} + return file_service_server_proto_rawDescGZIP(), []int{36} } // 取得某个集群下的所有服务相关的DNS @@ -1934,7 +2159,7 @@ type FindAllEnabledServersDNSWithClusterIdRequest struct { func (x *FindAllEnabledServersDNSWithClusterIdRequest) Reset() { *x = FindAllEnabledServersDNSWithClusterIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[34] + mi := &file_service_server_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1947,7 +2172,7 @@ func (x *FindAllEnabledServersDNSWithClusterIdRequest) String() string { func (*FindAllEnabledServersDNSWithClusterIdRequest) ProtoMessage() {} func (x *FindAllEnabledServersDNSWithClusterIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[34] + mi := &file_service_server_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1960,7 +2185,7 @@ func (x *FindAllEnabledServersDNSWithClusterIdRequest) ProtoReflect() protorefle // Deprecated: Use FindAllEnabledServersDNSWithClusterIdRequest.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersDNSWithClusterIdRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{34} + return file_service_server_proto_rawDescGZIP(), []int{37} } func (x *FindAllEnabledServersDNSWithClusterIdRequest) GetNodeClusterId() int64 { @@ -1981,7 +2206,7 @@ type FindAllEnabledServersDNSWithClusterIdResponse struct { func (x *FindAllEnabledServersDNSWithClusterIdResponse) Reset() { *x = FindAllEnabledServersDNSWithClusterIdResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[35] + mi := &file_service_server_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1994,7 +2219,7 @@ func (x *FindAllEnabledServersDNSWithClusterIdResponse) String() string { func (*FindAllEnabledServersDNSWithClusterIdResponse) ProtoMessage() {} func (x *FindAllEnabledServersDNSWithClusterIdResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[35] + mi := &file_service_server_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2007,7 +2232,7 @@ func (x *FindAllEnabledServersDNSWithClusterIdResponse) ProtoReflect() protorefl // Deprecated: Use FindAllEnabledServersDNSWithClusterIdResponse.ProtoReflect.Descriptor instead. func (*FindAllEnabledServersDNSWithClusterIdResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{35} + return file_service_server_proto_rawDescGZIP(), []int{38} } func (x *FindAllEnabledServersDNSWithClusterIdResponse) GetServers() []*ServerDNSInfo { @@ -2030,7 +2255,7 @@ type ServerDNSInfo struct { func (x *ServerDNSInfo) Reset() { *x = ServerDNSInfo{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[36] + mi := &file_service_server_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2043,7 +2268,7 @@ func (x *ServerDNSInfo) String() string { func (*ServerDNSInfo) ProtoMessage() {} func (x *ServerDNSInfo) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[36] + mi := &file_service_server_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2056,7 +2281,7 @@ func (x *ServerDNSInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ServerDNSInfo.ProtoReflect.Descriptor instead. func (*ServerDNSInfo) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{36} + return file_service_server_proto_rawDescGZIP(), []int{39} } func (x *ServerDNSInfo) GetId() int64 { @@ -2092,7 +2317,7 @@ type FindEnabledServerDNSRequest struct { func (x *FindEnabledServerDNSRequest) Reset() { *x = FindEnabledServerDNSRequest{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[37] + mi := &file_service_server_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2105,7 +2330,7 @@ func (x *FindEnabledServerDNSRequest) String() string { func (*FindEnabledServerDNSRequest) ProtoMessage() {} func (x *FindEnabledServerDNSRequest) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[37] + mi := &file_service_server_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2118,7 +2343,7 @@ func (x *FindEnabledServerDNSRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerDNSRequest.ProtoReflect.Descriptor instead. func (*FindEnabledServerDNSRequest) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{37} + return file_service_server_proto_rawDescGZIP(), []int{40} } func (x *FindEnabledServerDNSRequest) GetServerId() int64 { @@ -2140,7 +2365,7 @@ type FindEnabledServerDNSResponse struct { func (x *FindEnabledServerDNSResponse) Reset() { *x = FindEnabledServerDNSResponse{} if protoimpl.UnsafeEnabled { - mi := &file_service_server_proto_msgTypes[38] + mi := &file_service_server_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2153,7 +2378,7 @@ func (x *FindEnabledServerDNSResponse) String() string { func (*FindEnabledServerDNSResponse) ProtoMessage() {} func (x *FindEnabledServerDNSResponse) ProtoReflect() protoreflect.Message { - mi := &file_service_server_proto_msgTypes[38] + mi := &file_service_server_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2166,7 +2391,7 @@ func (x *FindEnabledServerDNSResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindEnabledServerDNSResponse.ProtoReflect.Descriptor instead. func (*FindEnabledServerDNSResponse) Descriptor() ([]byte, []int) { - return file_service_server_proto_rawDescGZIP(), []int{38} + return file_service_server_proto_rawDescGZIP(), []int{41} } func (x *FindEnabledServerDNSResponse) GetDnsName() string { @@ -2183,6 +2408,54 @@ func (x *FindEnabledServerDNSResponse) GetDomain() *DNSDomain { return nil } +// 检查服务是否属于某个用户 +type CheckUserServerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"` +} + +func (x *CheckUserServerRequest) Reset() { + *x = CheckUserServerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_service_server_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckUserServerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckUserServerRequest) ProtoMessage() {} + +func (x *CheckUserServerRequest) ProtoReflect() protoreflect.Message { + mi := &file_service_server_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckUserServerRequest.ProtoReflect.Descriptor instead. +func (*CheckUserServerRequest) Descriptor() ([]byte, []int) { + return file_service_server_proto_rawDescGZIP(), []int{42} +} + +func (x *CheckUserServerRequest) GetServerId() int64 { + if x != nil { + return x.ServerId + } + return 0 +} + var File_service_server_proto protoreflect.FileDescriptor var file_service_server_proto_rawDesc = []byte{ @@ -2190,374 +2463,439 @@ var file_service_server_proto_rawDesc = []byte{ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x04, 0x0a, 0x13, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, - 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, - 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x4f, 0x4e, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x4a, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, - 0x4f, 0x4e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, - 0x4f, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, - 0x12, 0x18, 0x0a, 0x07, 0x74, 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x74, 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6c, - 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6c, 0x73, - 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, 0x53, 0x4f, 0x4e, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, 0x53, 0x4f, 0x4e, - 0x12, 0x18, 0x0a, 0x07, 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, - 0x62, 0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, - 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, - 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, - 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, - 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4a, 0x53, - 0x4f, 0x4e, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x2a, 0x0a, 0x10, 0x65, 0x78, - 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x20, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, - 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x32, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, - 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0xc2, 0x01, 0x0a, 0x18, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x61, 0x73, 0x69, 0x63, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x12, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x04, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x4f, 0x4e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x4f, 0x4e, 0x12, + 0x1a, 0x0a, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x68, + 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, + 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x63, 0x70, + 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x63, 0x70, 0x4a, + 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, + 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x64, 0x70, + 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x75, 0x64, 0x70, 0x4a, + 0x53, 0x4f, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x76, + 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x10, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, + 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, + 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, + 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x1f, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4a, + 0x53, 0x4f, 0x4e, 0x12, 0x2a, 0x0a, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, + 0x64, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x65, + 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, + 0x32, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, - 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, - 0x73, 0x4f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x18, - 0x06, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x22, - 0x4d, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, - 0x54, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4e, - 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, - 0x54, 0x50, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4c, - 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, - 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4c, 0x0a, 0x16, + 0x72, 0x49, 0x64, 0x22, 0xc2, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x42, 0x61, 0x73, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x22, 0x49, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x73, 0x4f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, + 0x73, 0x4f, 0x6e, 0x22, 0x51, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x74, + 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x68, 0x74, + 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x54, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, + 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x4e, 0x0a, 0x16, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x63, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x4e, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4d, 0x0a, 0x17, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4c, 0x0a, 0x16, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x44, 0x50, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4a, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, - 0x62, 0x49, 0x64, 0x22, 0x69, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, - 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, - 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x34, - 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x28, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, - 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x4e, 0x0a, 0x18, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x70, 0x0a, 0x22, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, - 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, - 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x98, 0x01, 0x0a, 0x1e, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, - 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, - 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, - 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, - 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x47, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, - 0x32, 0x0a, 0x14, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x51, 0x0a, 0x17, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x18, - 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x49, 0x64, 0x22, 0x3f, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x22, 0x3a, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, 0x53, 0x4f, 0x4e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x78, 0x4a, 0x53, 0x4f, 0x4e, 0x22, + 0x4e, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, + 0x44, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x22, + 0x4a, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, + 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x22, 0x69, 0x0a, 0x1f, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, + 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, + 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, + 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x34, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0xe3, 0x01, 0x0a, + 0x17, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, + 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x12, 0x38, 0x0a, 0x17, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x17, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x44, 0x0a, 0x0e, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x22, 0x60, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x84, 0x01, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x75, 0x64, + 0x69, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0e, 0x61, 0x75, 0x64, + 0x69, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xb2, 0x01, 0x0a, 0x22, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, + 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, + 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, + 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6c, 0x61, 0x67, + 0x22, 0xda, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, + 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, + 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x75, 0x64, + 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0c, 0x61, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6c, 0x61, 0x67, 0x22, 0x47, 0x0a, + 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x07, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x31, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x18, 0x46, 0x69, 0x6e, + 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, - 0x64, 0x22, 0x33, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x48, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, - 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, + 0x64, 0x22, 0x3f, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, + 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, + 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x22, 0x3c, 0x0a, 0x1e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, - 0x22, 0x8b, 0x01, 0x0a, 0x2b, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, - 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, - 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, - 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x30, 0x0a, 0x13, - 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x66, 0x4a, - 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x72, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x66, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x3f, - 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x22, 0x41, 0x0a, 0x1f, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4a, 0x53, 0x4f, + 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4a, + 0x53, 0x4f, 0x4e, 0x22, 0x3a, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, - 0x3e, 0x0a, 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, 0x22, - 0x4a, 0x0a, 0x2a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, - 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, - 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0x49, 0x0a, 0x29, 0x46, - 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x43, - 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x73, 0x6c, - 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x56, 0x0a, 0x2e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, - 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x49, 0x64, 0x22, 0x44, 0x0a, 0x28, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x69, - 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, 0x0a, 0x2c, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x44, 0x4e, - 0x53, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, - 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x2d, 0x46, - 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x73, 0x44, 0x4e, 0x53, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x4d, 0x0a, 0x0d, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x39, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, - 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x4e, 0x53, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, - 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, - 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x64, 0x6f, - 0x6d, 0x61, 0x69, 0x6e, 0x32, 0xf6, 0x11, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x75, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x61, 0x73, 0x69, 0x63, 0x12, 0x1c, - 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x42, 0x61, 0x73, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, - 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x10, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, - 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, - 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x41, 0x0a, - 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, - 0x50, 0x53, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x12, 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x54, 0x43, 0x50, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, - 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, - 0x4c, 0x53, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, - 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3f, - 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, - 0x69, 0x78, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, - 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, - 0x44, 0x50, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x55, 0x44, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, - 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, - 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, - 0x62, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, - 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4f, 0x0a, - 0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, - 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, - 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4a, - 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, - 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, - 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, - 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, - 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x2e, 0x70, - 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, - 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, - 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x44, - 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x23, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, - 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, - 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x2e, 0x70, - 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, - 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, - 0x1a, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x2e, 0x70, 0x62, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, - 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x23, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, - 0x64, 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, + 0x33, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x22, 0x48, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, + 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, + 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x8b, + 0x01, 0x0a, 0x2b, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, + 0x0a, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, + 0x4f, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, + 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x30, 0x0a, 0x13, 0x72, 0x65, + 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x66, 0x4a, 0x53, 0x4f, + 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, + 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x66, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x3f, 0x0a, 0x21, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3e, 0x0a, + 0x22, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x4a, 0x0a, + 0x2a, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, + 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, + 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0x49, 0x0a, 0x29, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, + 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x65, + 0x72, 0x74, 0x49, 0x64, 0x22, 0x52, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, - 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x12, 0x2d, - 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, - 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, + 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, + 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x56, 0x0a, 0x2e, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, + 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, + 0x22, 0x44, 0x0a, 0x28, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x54, 0x0a, 0x2c, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x44, 0x4e, 0x53, 0x57, + 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5c, 0x0a, 0x2d, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x73, 0x44, 0x4e, 0x53, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x4d, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x44, 0x4e, 0x53, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, + 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x39, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, + 0x64, 0x22, 0x5f, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, + 0x2e, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x22, 0x34, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x32, 0xa0, 0x14, 0x0a, 0x0d, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, + 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x61, 0x73, + 0x69, 0x63, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x42, 0x61, 0x73, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x12, 0x3f, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x73, 0x4f, 0x6e, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x73, 0x4f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x12, 0x3f, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x48, 0x54, 0x54, 0x50, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x53, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x53, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x3f, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x55, 0x44, 0x50, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x44, 0x50, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x3d, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x12, 0x4f, 0x0a, 0x18, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x23, + 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x0f, 0x66, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x41, 0x0a, 0x11, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x12, 0x51, 0x0a, 0x19, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x12, + 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x41, 0x75, 0x64, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5b, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, + 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, + 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, + 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x22, 0x2e, + 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, + 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x22, 0x2e, 0x70, + 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, + 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x23, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, + 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, + 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x2e, 0x70, 0x62, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x70, 0x62, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, + 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, + 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x23, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, + 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, - 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, - 0x27, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, - 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, - 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x67, 0x0a, 0x21, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, + 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, + 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, + 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, 0x27, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x32, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x6e, - 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, - 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x25, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x44, 0x4e, 0x53, - 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x2e, - 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x44, 0x4e, 0x53, 0x57, 0x69, 0x74, 0x68, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x44, 0x4e, 0x53, 0x57, 0x69, 0x74, - 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, + 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, + 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x67, 0x0a, 0x21, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2c, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x13, 0x6e, 0x6f, + 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x25, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x44, 0x4e, 0x53, 0x57, + 0x69, 0x74, 0x68, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x70, + 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x44, 0x4e, 0x53, 0x57, 0x69, 0x74, 0x68, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, + 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, + 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x44, 0x4e, 0x53, 0x57, 0x69, 0x74, 0x68, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x4e, 0x53, 0x12, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x44, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x62, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a, - 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0f, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, + 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, + 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, + 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2572,115 +2910,130 @@ func file_service_server_proto_rawDescGZIP() []byte { return file_service_server_proto_rawDescData } -var file_service_server_proto_msgTypes = make([]protoimpl.MessageInfo, 39) +var file_service_server_proto_msgTypes = make([]protoimpl.MessageInfo, 43) var file_service_server_proto_goTypes = []interface{}{ (*CreateServerRequest)(nil), // 0: pb.CreateServerRequest (*CreateServerResponse)(nil), // 1: pb.CreateServerResponse (*UpdateServerBasicRequest)(nil), // 2: pb.UpdateServerBasicRequest - (*UpdateServerHTTPRequest)(nil), // 3: pb.UpdateServerHTTPRequest - (*UpdateServerHTTPSRequest)(nil), // 4: pb.UpdateServerHTTPSRequest - (*UpdateServerTCPRequest)(nil), // 5: pb.UpdateServerTCPRequest - (*UpdateServerTLSRequest)(nil), // 6: pb.UpdateServerTLSRequest - (*UpdateServerUnixRequest)(nil), // 7: pb.UpdateServerUnixRequest - (*UpdateServerUDPRequest)(nil), // 8: pb.UpdateServerUDPRequest - (*UpdateServerWebRequest)(nil), // 9: pb.UpdateServerWebRequest - (*UpdateServerReverseProxyRequest)(nil), // 10: pb.UpdateServerReverseProxyRequest - (*FindServerNamesRequest)(nil), // 11: pb.FindServerNamesRequest - (*FindServerNamesResponse)(nil), // 12: pb.FindServerNamesResponse - (*UpdateServerNamesRequest)(nil), // 13: pb.UpdateServerNamesRequest - (*CountAllEnabledServersMatchRequest)(nil), // 14: pb.CountAllEnabledServersMatchRequest - (*ListEnabledServersMatchRequest)(nil), // 15: pb.ListEnabledServersMatchRequest - (*ListEnabledServersMatchResponse)(nil), // 16: pb.ListEnabledServersMatchResponse - (*DisableServerRequest)(nil), // 17: pb.DisableServerRequest - (*DisableServerResponse)(nil), // 18: pb.DisableServerResponse - (*FindEnabledServerRequest)(nil), // 19: pb.FindEnabledServerRequest - (*FindEnabledServerResponse)(nil), // 20: pb.FindEnabledServerResponse - (*FindEnabledServerTypeRequest)(nil), // 21: pb.FindEnabledServerTypeRequest - (*FindEnabledServerTypeResponse)(nil), // 22: pb.FindEnabledServerTypeResponse - (*FindAndInitServerReverseProxyConfigRequest)(nil), // 23: pb.FindAndInitServerReverseProxyConfigRequest - (*FindAndInitServerReverseProxyConfigResponse)(nil), // 24: pb.FindAndInitServerReverseProxyConfigResponse - (*FindAndInitServerWebConfigRequest)(nil), // 25: pb.FindAndInitServerWebConfigRequest - (*FindAndInitServerWebConfigResponse)(nil), // 26: pb.FindAndInitServerWebConfigResponse - (*CountAllEnabledServersWithSSLCertIdRequest)(nil), // 27: pb.CountAllEnabledServersWithSSLCertIdRequest - (*FindAllEnabledServersWithSSLCertIdRequest)(nil), // 28: pb.FindAllEnabledServersWithSSLCertIdRequest - (*FindAllEnabledServersWithSSLCertIdResponse)(nil), // 29: pb.FindAllEnabledServersWithSSLCertIdResponse - (*CountAllEnabledServersWithNodeClusterIdRequest)(nil), // 30: pb.CountAllEnabledServersWithNodeClusterIdRequest - (*CountAllEnabledServersWithGroupIdRequest)(nil), // 31: pb.CountAllEnabledServersWithGroupIdRequest - (*NotifyServersChangeRequest)(nil), // 32: pb.NotifyServersChangeRequest - (*NotifyServersChangeResponse)(nil), // 33: pb.NotifyServersChangeResponse - (*FindAllEnabledServersDNSWithClusterIdRequest)(nil), // 34: pb.FindAllEnabledServersDNSWithClusterIdRequest - (*FindAllEnabledServersDNSWithClusterIdResponse)(nil), // 35: pb.FindAllEnabledServersDNSWithClusterIdResponse - (*ServerDNSInfo)(nil), // 36: pb.ServerDNSInfo - (*FindEnabledServerDNSRequest)(nil), // 37: pb.FindEnabledServerDNSRequest - (*FindEnabledServerDNSResponse)(nil), // 38: pb.FindEnabledServerDNSResponse - (*Server)(nil), // 39: pb.Server - (*DNSDomain)(nil), // 40: pb.DNSDomain - (*RPCSuccess)(nil), // 41: pb.RPCSuccess - (*RPCCountResponse)(nil), // 42: pb.RPCCountResponse + (*UpdateServerIsOnRequest)(nil), // 3: pb.UpdateServerIsOnRequest + (*UpdateServerHTTPRequest)(nil), // 4: pb.UpdateServerHTTPRequest + (*UpdateServerHTTPSRequest)(nil), // 5: pb.UpdateServerHTTPSRequest + (*UpdateServerTCPRequest)(nil), // 6: pb.UpdateServerTCPRequest + (*UpdateServerTLSRequest)(nil), // 7: pb.UpdateServerTLSRequest + (*UpdateServerUnixRequest)(nil), // 8: pb.UpdateServerUnixRequest + (*UpdateServerUDPRequest)(nil), // 9: pb.UpdateServerUDPRequest + (*UpdateServerWebRequest)(nil), // 10: pb.UpdateServerWebRequest + (*UpdateServerReverseProxyRequest)(nil), // 11: pb.UpdateServerReverseProxyRequest + (*FindServerNamesRequest)(nil), // 12: pb.FindServerNamesRequest + (*FindServerNamesResponse)(nil), // 13: pb.FindServerNamesResponse + (*UpdateServerNamesRequest)(nil), // 14: pb.UpdateServerNamesRequest + (*UpdateServerNamesAuditingRequest)(nil), // 15: pb.UpdateServerNamesAuditingRequest + (*CountAllEnabledServersMatchRequest)(nil), // 16: pb.CountAllEnabledServersMatchRequest + (*ListEnabledServersMatchRequest)(nil), // 17: pb.ListEnabledServersMatchRequest + (*ListEnabledServersMatchResponse)(nil), // 18: pb.ListEnabledServersMatchResponse + (*DeleteServerRequest)(nil), // 19: pb.DeleteServerRequest + (*FindEnabledServerRequest)(nil), // 20: pb.FindEnabledServerRequest + (*FindEnabledServerResponse)(nil), // 21: pb.FindEnabledServerResponse + (*FindEnabledServerConfigRequest)(nil), // 22: pb.FindEnabledServerConfigRequest + (*FindEnabledServerConfigResponse)(nil), // 23: pb.FindEnabledServerConfigResponse + (*FindEnabledServerTypeRequest)(nil), // 24: pb.FindEnabledServerTypeRequest + (*FindEnabledServerTypeResponse)(nil), // 25: pb.FindEnabledServerTypeResponse + (*FindAndInitServerReverseProxyConfigRequest)(nil), // 26: pb.FindAndInitServerReverseProxyConfigRequest + (*FindAndInitServerReverseProxyConfigResponse)(nil), // 27: pb.FindAndInitServerReverseProxyConfigResponse + (*FindAndInitServerWebConfigRequest)(nil), // 28: pb.FindAndInitServerWebConfigRequest + (*FindAndInitServerWebConfigResponse)(nil), // 29: pb.FindAndInitServerWebConfigResponse + (*CountAllEnabledServersWithSSLCertIdRequest)(nil), // 30: pb.CountAllEnabledServersWithSSLCertIdRequest + (*FindAllEnabledServersWithSSLCertIdRequest)(nil), // 31: pb.FindAllEnabledServersWithSSLCertIdRequest + (*FindAllEnabledServersWithSSLCertIdResponse)(nil), // 32: pb.FindAllEnabledServersWithSSLCertIdResponse + (*CountAllEnabledServersWithNodeClusterIdRequest)(nil), // 33: pb.CountAllEnabledServersWithNodeClusterIdRequest + (*CountAllEnabledServersWithGroupIdRequest)(nil), // 34: pb.CountAllEnabledServersWithGroupIdRequest + (*NotifyServersChangeRequest)(nil), // 35: pb.NotifyServersChangeRequest + (*NotifyServersChangeResponse)(nil), // 36: pb.NotifyServersChangeResponse + (*FindAllEnabledServersDNSWithClusterIdRequest)(nil), // 37: pb.FindAllEnabledServersDNSWithClusterIdRequest + (*FindAllEnabledServersDNSWithClusterIdResponse)(nil), // 38: pb.FindAllEnabledServersDNSWithClusterIdResponse + (*ServerDNSInfo)(nil), // 39: pb.ServerDNSInfo + (*FindEnabledServerDNSRequest)(nil), // 40: pb.FindEnabledServerDNSRequest + (*FindEnabledServerDNSResponse)(nil), // 41: pb.FindEnabledServerDNSResponse + (*CheckUserServerRequest)(nil), // 42: pb.CheckUserServerRequest + (*ServerNameAuditingResult)(nil), // 43: pb.ServerNameAuditingResult + (*Server)(nil), // 44: pb.Server + (*DNSDomain)(nil), // 45: pb.DNSDomain + (*RPCSuccess)(nil), // 46: pb.RPCSuccess + (*RPCCountResponse)(nil), // 47: pb.RPCCountResponse } var file_service_server_proto_depIdxs = []int32{ - 39, // 0: pb.ListEnabledServersMatchResponse.servers:type_name -> pb.Server - 39, // 1: pb.FindEnabledServerResponse.server:type_name -> pb.Server - 39, // 2: pb.FindAllEnabledServersWithSSLCertIdResponse.servers:type_name -> pb.Server - 36, // 3: pb.FindAllEnabledServersDNSWithClusterIdResponse.servers:type_name -> pb.ServerDNSInfo - 40, // 4: pb.FindEnabledServerDNSResponse.domain:type_name -> pb.DNSDomain - 0, // 5: pb.ServerService.createServer:input_type -> pb.CreateServerRequest - 2, // 6: pb.ServerService.updateServerBasic:input_type -> pb.UpdateServerBasicRequest - 3, // 7: pb.ServerService.updateServerHTTP:input_type -> pb.UpdateServerHTTPRequest - 4, // 8: pb.ServerService.updateServerHTTPS:input_type -> pb.UpdateServerHTTPSRequest - 5, // 9: pb.ServerService.updateServerTCP:input_type -> pb.UpdateServerTCPRequest - 6, // 10: pb.ServerService.updateServerTLS:input_type -> pb.UpdateServerTLSRequest - 7, // 11: pb.ServerService.updateServerUnix:input_type -> pb.UpdateServerUnixRequest - 8, // 12: pb.ServerService.updateServerUDP:input_type -> pb.UpdateServerUDPRequest - 9, // 13: pb.ServerService.updateServerWeb:input_type -> pb.UpdateServerWebRequest - 10, // 14: pb.ServerService.updateServerReverseProxy:input_type -> pb.UpdateServerReverseProxyRequest - 11, // 15: pb.ServerService.findServerNames:input_type -> pb.FindServerNamesRequest - 13, // 16: pb.ServerService.updateServerNames:input_type -> pb.UpdateServerNamesRequest - 14, // 17: pb.ServerService.countAllEnabledServersMatch:input_type -> pb.CountAllEnabledServersMatchRequest - 15, // 18: pb.ServerService.listEnabledServersMatch:input_type -> pb.ListEnabledServersMatchRequest - 17, // 19: pb.ServerService.disableServer:input_type -> pb.DisableServerRequest - 19, // 20: pb.ServerService.findEnabledServer:input_type -> pb.FindEnabledServerRequest - 21, // 21: pb.ServerService.findEnabledServerType:input_type -> pb.FindEnabledServerTypeRequest - 23, // 22: pb.ServerService.findAndInitServerReverseProxyConfig:input_type -> pb.FindAndInitServerReverseProxyConfigRequest - 25, // 23: pb.ServerService.findAndInitServerWebConfig:input_type -> pb.FindAndInitServerWebConfigRequest - 27, // 24: pb.ServerService.countAllEnabledServersWithSSLCertId:input_type -> pb.CountAllEnabledServersWithSSLCertIdRequest - 28, // 25: pb.ServerService.findAllEnabledServersWithSSLCertId:input_type -> pb.FindAllEnabledServersWithSSLCertIdRequest - 30, // 26: pb.ServerService.countAllEnabledServersWithNodeClusterId:input_type -> pb.CountAllEnabledServersWithNodeClusterIdRequest - 31, // 27: pb.ServerService.countAllEnabledServersWithGroupId:input_type -> pb.CountAllEnabledServersWithGroupIdRequest - 32, // 28: pb.ServerService.notifyServersChange:input_type -> pb.NotifyServersChangeRequest - 34, // 29: pb.ServerService.findAllEnabledServersDNSWithClusterId:input_type -> pb.FindAllEnabledServersDNSWithClusterIdRequest - 37, // 30: pb.ServerService.findEnabledServerDNS:input_type -> pb.FindEnabledServerDNSRequest - 1, // 31: pb.ServerService.createServer:output_type -> pb.CreateServerResponse - 41, // 32: pb.ServerService.updateServerBasic:output_type -> pb.RPCSuccess - 41, // 33: pb.ServerService.updateServerHTTP:output_type -> pb.RPCSuccess - 41, // 34: pb.ServerService.updateServerHTTPS:output_type -> pb.RPCSuccess - 41, // 35: pb.ServerService.updateServerTCP:output_type -> pb.RPCSuccess - 41, // 36: pb.ServerService.updateServerTLS:output_type -> pb.RPCSuccess - 41, // 37: pb.ServerService.updateServerUnix:output_type -> pb.RPCSuccess - 41, // 38: pb.ServerService.updateServerUDP:output_type -> pb.RPCSuccess - 41, // 39: pb.ServerService.updateServerWeb:output_type -> pb.RPCSuccess - 41, // 40: pb.ServerService.updateServerReverseProxy:output_type -> pb.RPCSuccess - 12, // 41: pb.ServerService.findServerNames:output_type -> pb.FindServerNamesResponse - 41, // 42: pb.ServerService.updateServerNames:output_type -> pb.RPCSuccess - 42, // 43: pb.ServerService.countAllEnabledServersMatch:output_type -> pb.RPCCountResponse - 16, // 44: pb.ServerService.listEnabledServersMatch:output_type -> pb.ListEnabledServersMatchResponse - 18, // 45: pb.ServerService.disableServer:output_type -> pb.DisableServerResponse - 20, // 46: pb.ServerService.findEnabledServer:output_type -> pb.FindEnabledServerResponse - 22, // 47: pb.ServerService.findEnabledServerType:output_type -> pb.FindEnabledServerTypeResponse - 24, // 48: pb.ServerService.findAndInitServerReverseProxyConfig:output_type -> pb.FindAndInitServerReverseProxyConfigResponse - 26, // 49: pb.ServerService.findAndInitServerWebConfig:output_type -> pb.FindAndInitServerWebConfigResponse - 42, // 50: pb.ServerService.countAllEnabledServersWithSSLCertId:output_type -> pb.RPCCountResponse - 29, // 51: pb.ServerService.findAllEnabledServersWithSSLCertId:output_type -> pb.FindAllEnabledServersWithSSLCertIdResponse - 42, // 52: pb.ServerService.countAllEnabledServersWithNodeClusterId:output_type -> pb.RPCCountResponse - 42, // 53: pb.ServerService.countAllEnabledServersWithGroupId:output_type -> pb.RPCCountResponse - 33, // 54: pb.ServerService.notifyServersChange:output_type -> pb.NotifyServersChangeResponse - 35, // 55: pb.ServerService.findAllEnabledServersDNSWithClusterId:output_type -> pb.FindAllEnabledServersDNSWithClusterIdResponse - 38, // 56: pb.ServerService.findEnabledServerDNS:output_type -> pb.FindEnabledServerDNSResponse - 31, // [31:57] is the sub-list for method output_type - 5, // [5:31] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name + 43, // 0: pb.FindServerNamesResponse.auditingResult:type_name -> pb.ServerNameAuditingResult + 43, // 1: pb.UpdateServerNamesAuditingRequest.auditingResult:type_name -> pb.ServerNameAuditingResult + 44, // 2: pb.ListEnabledServersMatchResponse.servers:type_name -> pb.Server + 44, // 3: pb.FindEnabledServerResponse.server:type_name -> pb.Server + 44, // 4: pb.FindAllEnabledServersWithSSLCertIdResponse.servers:type_name -> pb.Server + 39, // 5: pb.FindAllEnabledServersDNSWithClusterIdResponse.servers:type_name -> pb.ServerDNSInfo + 45, // 6: pb.FindEnabledServerDNSResponse.domain:type_name -> pb.DNSDomain + 0, // 7: pb.ServerService.createServer:input_type -> pb.CreateServerRequest + 2, // 8: pb.ServerService.updateServerBasic:input_type -> pb.UpdateServerBasicRequest + 3, // 9: pb.ServerService.updateServerIsOn:input_type -> pb.UpdateServerIsOnRequest + 4, // 10: pb.ServerService.updateServerHTTP:input_type -> pb.UpdateServerHTTPRequest + 5, // 11: pb.ServerService.updateServerHTTPS:input_type -> pb.UpdateServerHTTPSRequest + 6, // 12: pb.ServerService.updateServerTCP:input_type -> pb.UpdateServerTCPRequest + 7, // 13: pb.ServerService.updateServerTLS:input_type -> pb.UpdateServerTLSRequest + 8, // 14: pb.ServerService.updateServerUnix:input_type -> pb.UpdateServerUnixRequest + 9, // 15: pb.ServerService.updateServerUDP:input_type -> pb.UpdateServerUDPRequest + 10, // 16: pb.ServerService.updateServerWeb:input_type -> pb.UpdateServerWebRequest + 11, // 17: pb.ServerService.updateServerReverseProxy:input_type -> pb.UpdateServerReverseProxyRequest + 12, // 18: pb.ServerService.findServerNames:input_type -> pb.FindServerNamesRequest + 14, // 19: pb.ServerService.updateServerNames:input_type -> pb.UpdateServerNamesRequest + 15, // 20: pb.ServerService.updateServerNamesAuditing:input_type -> pb.UpdateServerNamesAuditingRequest + 16, // 21: pb.ServerService.countAllEnabledServersMatch:input_type -> pb.CountAllEnabledServersMatchRequest + 17, // 22: pb.ServerService.listEnabledServersMatch:input_type -> pb.ListEnabledServersMatchRequest + 19, // 23: pb.ServerService.deleteServer:input_type -> pb.DeleteServerRequest + 20, // 24: pb.ServerService.findEnabledServer:input_type -> pb.FindEnabledServerRequest + 22, // 25: pb.ServerService.findEnabledServerConfig:input_type -> pb.FindEnabledServerConfigRequest + 24, // 26: pb.ServerService.findEnabledServerType:input_type -> pb.FindEnabledServerTypeRequest + 26, // 27: pb.ServerService.findAndInitServerReverseProxyConfig:input_type -> pb.FindAndInitServerReverseProxyConfigRequest + 28, // 28: pb.ServerService.findAndInitServerWebConfig:input_type -> pb.FindAndInitServerWebConfigRequest + 30, // 29: pb.ServerService.countAllEnabledServersWithSSLCertId:input_type -> pb.CountAllEnabledServersWithSSLCertIdRequest + 31, // 30: pb.ServerService.findAllEnabledServersWithSSLCertId:input_type -> pb.FindAllEnabledServersWithSSLCertIdRequest + 33, // 31: pb.ServerService.countAllEnabledServersWithNodeClusterId:input_type -> pb.CountAllEnabledServersWithNodeClusterIdRequest + 34, // 32: pb.ServerService.countAllEnabledServersWithGroupId:input_type -> pb.CountAllEnabledServersWithGroupIdRequest + 35, // 33: pb.ServerService.notifyServersChange:input_type -> pb.NotifyServersChangeRequest + 37, // 34: pb.ServerService.findAllEnabledServersDNSWithClusterId:input_type -> pb.FindAllEnabledServersDNSWithClusterIdRequest + 40, // 35: pb.ServerService.findEnabledServerDNS:input_type -> pb.FindEnabledServerDNSRequest + 42, // 36: pb.ServerService.checkUserServer:input_type -> pb.CheckUserServerRequest + 1, // 37: pb.ServerService.createServer:output_type -> pb.CreateServerResponse + 46, // 38: pb.ServerService.updateServerBasic:output_type -> pb.RPCSuccess + 46, // 39: pb.ServerService.updateServerIsOn:output_type -> pb.RPCSuccess + 46, // 40: pb.ServerService.updateServerHTTP:output_type -> pb.RPCSuccess + 46, // 41: pb.ServerService.updateServerHTTPS:output_type -> pb.RPCSuccess + 46, // 42: pb.ServerService.updateServerTCP:output_type -> pb.RPCSuccess + 46, // 43: pb.ServerService.updateServerTLS:output_type -> pb.RPCSuccess + 46, // 44: pb.ServerService.updateServerUnix:output_type -> pb.RPCSuccess + 46, // 45: pb.ServerService.updateServerUDP:output_type -> pb.RPCSuccess + 46, // 46: pb.ServerService.updateServerWeb:output_type -> pb.RPCSuccess + 46, // 47: pb.ServerService.updateServerReverseProxy:output_type -> pb.RPCSuccess + 13, // 48: pb.ServerService.findServerNames:output_type -> pb.FindServerNamesResponse + 46, // 49: pb.ServerService.updateServerNames:output_type -> pb.RPCSuccess + 46, // 50: pb.ServerService.updateServerNamesAuditing:output_type -> pb.RPCSuccess + 47, // 51: pb.ServerService.countAllEnabledServersMatch:output_type -> pb.RPCCountResponse + 18, // 52: pb.ServerService.listEnabledServersMatch:output_type -> pb.ListEnabledServersMatchResponse + 46, // 53: pb.ServerService.deleteServer:output_type -> pb.RPCSuccess + 21, // 54: pb.ServerService.findEnabledServer:output_type -> pb.FindEnabledServerResponse + 23, // 55: pb.ServerService.findEnabledServerConfig:output_type -> pb.FindEnabledServerConfigResponse + 25, // 56: pb.ServerService.findEnabledServerType:output_type -> pb.FindEnabledServerTypeResponse + 27, // 57: pb.ServerService.findAndInitServerReverseProxyConfig:output_type -> pb.FindAndInitServerReverseProxyConfigResponse + 29, // 58: pb.ServerService.findAndInitServerWebConfig:output_type -> pb.FindAndInitServerWebConfigResponse + 47, // 59: pb.ServerService.countAllEnabledServersWithSSLCertId:output_type -> pb.RPCCountResponse + 32, // 60: pb.ServerService.findAllEnabledServersWithSSLCertId:output_type -> pb.FindAllEnabledServersWithSSLCertIdResponse + 47, // 61: pb.ServerService.countAllEnabledServersWithNodeClusterId:output_type -> pb.RPCCountResponse + 47, // 62: pb.ServerService.countAllEnabledServersWithGroupId:output_type -> pb.RPCCountResponse + 36, // 63: pb.ServerService.notifyServersChange:output_type -> pb.NotifyServersChangeResponse + 38, // 64: pb.ServerService.findAllEnabledServersDNSWithClusterId:output_type -> pb.FindAllEnabledServersDNSWithClusterIdResponse + 41, // 65: pb.ServerService.findEnabledServerDNS:output_type -> pb.FindEnabledServerDNSResponse + 46, // 66: pb.ServerService.checkUserServer:output_type -> pb.RPCSuccess + 37, // [37:67] is the sub-list for method output_type + 7, // [7:37] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name } func init() { file_service_server_proto_init() } @@ -2690,6 +3043,7 @@ func file_service_server_proto_init() { } file_model_server_proto_init() file_model_dns_domain_proto_init() + file_model_server_name_auditing_result_proto_init() file_rpc_messages_proto_init() if !protoimpl.UnsafeEnabled { file_service_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { @@ -2729,7 +3083,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServerHTTPRequest); i { + switch v := v.(*UpdateServerIsOnRequest); i { case 0: return &v.state case 1: @@ -2741,7 +3095,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServerHTTPSRequest); i { + switch v := v.(*UpdateServerHTTPRequest); i { case 0: return &v.state case 1: @@ -2753,7 +3107,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServerTCPRequest); i { + switch v := v.(*UpdateServerHTTPSRequest); i { case 0: return &v.state case 1: @@ -2765,7 +3119,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServerTLSRequest); i { + switch v := v.(*UpdateServerTCPRequest); i { case 0: return &v.state case 1: @@ -2777,7 +3131,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServerUnixRequest); i { + switch v := v.(*UpdateServerTLSRequest); i { case 0: return &v.state case 1: @@ -2789,7 +3143,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServerUDPRequest); i { + switch v := v.(*UpdateServerUnixRequest); i { case 0: return &v.state case 1: @@ -2801,7 +3155,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServerWebRequest); i { + switch v := v.(*UpdateServerUDPRequest); i { case 0: return &v.state case 1: @@ -2813,7 +3167,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServerReverseProxyRequest); i { + switch v := v.(*UpdateServerWebRequest); i { case 0: return &v.state case 1: @@ -2825,7 +3179,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindServerNamesRequest); i { + switch v := v.(*UpdateServerReverseProxyRequest); i { case 0: return &v.state case 1: @@ -2837,7 +3191,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindServerNamesResponse); i { + switch v := v.(*FindServerNamesRequest); i { case 0: return &v.state case 1: @@ -2849,7 +3203,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateServerNamesRequest); i { + switch v := v.(*FindServerNamesResponse); i { case 0: return &v.state case 1: @@ -2861,7 +3215,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersMatchRequest); i { + switch v := v.(*UpdateServerNamesRequest); i { case 0: return &v.state case 1: @@ -2873,7 +3227,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEnabledServersMatchRequest); i { + switch v := v.(*UpdateServerNamesAuditingRequest); i { case 0: return &v.state case 1: @@ -2885,7 +3239,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListEnabledServersMatchResponse); i { + switch v := v.(*CountAllEnabledServersMatchRequest); i { case 0: return &v.state case 1: @@ -2897,7 +3251,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisableServerRequest); i { + switch v := v.(*ListEnabledServersMatchRequest); i { case 0: return &v.state case 1: @@ -2909,7 +3263,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisableServerResponse); i { + switch v := v.(*ListEnabledServersMatchResponse); i { case 0: return &v.state case 1: @@ -2921,7 +3275,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindEnabledServerRequest); i { + switch v := v.(*DeleteServerRequest); i { case 0: return &v.state case 1: @@ -2933,7 +3287,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindEnabledServerResponse); i { + switch v := v.(*FindEnabledServerRequest); i { case 0: return &v.state case 1: @@ -2945,7 +3299,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindEnabledServerTypeRequest); i { + switch v := v.(*FindEnabledServerResponse); i { case 0: return &v.state case 1: @@ -2957,7 +3311,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindEnabledServerTypeResponse); i { + switch v := v.(*FindEnabledServerConfigRequest); i { case 0: return &v.state case 1: @@ -2969,7 +3323,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAndInitServerReverseProxyConfigRequest); i { + switch v := v.(*FindEnabledServerConfigResponse); i { case 0: return &v.state case 1: @@ -2981,7 +3335,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAndInitServerReverseProxyConfigResponse); i { + switch v := v.(*FindEnabledServerTypeRequest); i { case 0: return &v.state case 1: @@ -2993,7 +3347,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAndInitServerWebConfigRequest); i { + switch v := v.(*FindEnabledServerTypeResponse); i { case 0: return &v.state case 1: @@ -3005,7 +3359,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAndInitServerWebConfigResponse); i { + switch v := v.(*FindAndInitServerReverseProxyConfigRequest); i { case 0: return &v.state case 1: @@ -3017,7 +3371,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersWithSSLCertIdRequest); i { + switch v := v.(*FindAndInitServerReverseProxyConfigResponse); i { case 0: return &v.state case 1: @@ -3029,7 +3383,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllEnabledServersWithSSLCertIdRequest); i { + switch v := v.(*FindAndInitServerWebConfigRequest); i { case 0: return &v.state case 1: @@ -3041,7 +3395,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllEnabledServersWithSSLCertIdResponse); i { + switch v := v.(*FindAndInitServerWebConfigResponse); i { case 0: return &v.state case 1: @@ -3053,7 +3407,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersWithNodeClusterIdRequest); i { + switch v := v.(*CountAllEnabledServersWithSSLCertIdRequest); i { case 0: return &v.state case 1: @@ -3065,7 +3419,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountAllEnabledServersWithGroupIdRequest); i { + switch v := v.(*FindAllEnabledServersWithSSLCertIdRequest); i { case 0: return &v.state case 1: @@ -3077,7 +3431,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotifyServersChangeRequest); i { + switch v := v.(*FindAllEnabledServersWithSSLCertIdResponse); i { case 0: return &v.state case 1: @@ -3089,7 +3443,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotifyServersChangeResponse); i { + switch v := v.(*CountAllEnabledServersWithNodeClusterIdRequest); i { case 0: return &v.state case 1: @@ -3101,7 +3455,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllEnabledServersDNSWithClusterIdRequest); i { + switch v := v.(*CountAllEnabledServersWithGroupIdRequest); i { case 0: return &v.state case 1: @@ -3113,7 +3467,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllEnabledServersDNSWithClusterIdResponse); i { + switch v := v.(*NotifyServersChangeRequest); i { case 0: return &v.state case 1: @@ -3125,7 +3479,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerDNSInfo); i { + switch v := v.(*NotifyServersChangeResponse); i { case 0: return &v.state case 1: @@ -3137,7 +3491,7 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindEnabledServerDNSRequest); i { + switch v := v.(*FindAllEnabledServersDNSWithClusterIdRequest); i { case 0: return &v.state case 1: @@ -3149,6 +3503,42 @@ func file_service_server_proto_init() { } } file_service_server_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllEnabledServersDNSWithClusterIdResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_server_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerDNSInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_server_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindEnabledServerDNSRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_service_server_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindEnabledServerDNSResponse); i { case 0: return &v.state @@ -3160,6 +3550,18 @@ func file_service_server_proto_init() { return nil } } + file_service_server_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckUserServerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -3167,7 +3569,7 @@ func file_service_server_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_service_server_proto_rawDesc, NumEnums: 0, - NumMessages: 39, + NumMessages: 43, NumExtensions: 0, NumServices: 1, }, @@ -3197,6 +3599,8 @@ type ServerServiceClient interface { CreateServer(ctx context.Context, in *CreateServerRequest, opts ...grpc.CallOption) (*CreateServerResponse, error) // 修改服务基本信息 UpdateServerBasic(ctx context.Context, in *UpdateServerBasicRequest, opts ...grpc.CallOption) (*RPCSuccess, error) + // 修改服务是否启用 + UpdateServerIsOn(ctx context.Context, in *UpdateServerIsOnRequest, opts ...grpc.CallOption) (*RPCSuccess, error) // 修改服务的HTTP设置 UpdateServerHTTP(ctx context.Context, in *UpdateServerHTTPRequest, opts ...grpc.CallOption) (*RPCSuccess, error) // 修改服务的HTTPS设置 @@ -3217,14 +3621,18 @@ type ServerServiceClient interface { FindServerNames(ctx context.Context, in *FindServerNamesRequest, opts ...grpc.CallOption) (*FindServerNamesResponse, error) // 修改服务的域名设置 UpdateServerNames(ctx context.Context, in *UpdateServerNamesRequest, opts ...grpc.CallOption) (*RPCSuccess, error) + // 审核服务的域名设置 + UpdateServerNamesAuditing(ctx context.Context, in *UpdateServerNamesAuditingRequest, opts ...grpc.CallOption) (*RPCSuccess, error) // 计算匹配的服务数量 CountAllEnabledServersMatch(ctx context.Context, in *CountAllEnabledServersMatchRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) // 列出单页服务 ListEnabledServersMatch(ctx context.Context, in *ListEnabledServersMatchRequest, opts ...grpc.CallOption) (*ListEnabledServersMatchResponse, error) // 禁用某服务 - DisableServer(ctx context.Context, in *DisableServerRequest, opts ...grpc.CallOption) (*DisableServerResponse, error) + DeleteServer(ctx context.Context, in *DeleteServerRequest, opts ...grpc.CallOption) (*RPCSuccess, error) // 查找单个服务 FindEnabledServer(ctx context.Context, in *FindEnabledServerRequest, opts ...grpc.CallOption) (*FindEnabledServerResponse, error) + // 查找服务配置 + FindEnabledServerConfig(ctx context.Context, in *FindEnabledServerConfigRequest, opts ...grpc.CallOption) (*FindEnabledServerConfigResponse, error) // 查找服务的服务类型 FindEnabledServerType(ctx context.Context, in *FindEnabledServerTypeRequest, opts ...grpc.CallOption) (*FindEnabledServerTypeResponse, error) // 查找反向代理设置 @@ -3245,6 +3653,8 @@ type ServerServiceClient interface { FindAllEnabledServersDNSWithClusterId(ctx context.Context, in *FindAllEnabledServersDNSWithClusterIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersDNSWithClusterIdResponse, error) // 查找单个服务的DNS信息 FindEnabledServerDNS(ctx context.Context, in *FindEnabledServerDNSRequest, opts ...grpc.CallOption) (*FindEnabledServerDNSResponse, error) + // 检查服务是否属于某个用户 + CheckUserServer(ctx context.Context, in *CheckUserServerRequest, opts ...grpc.CallOption) (*RPCSuccess, error) } type serverServiceClient struct { @@ -3273,6 +3683,15 @@ func (c *serverServiceClient) UpdateServerBasic(ctx context.Context, in *UpdateS return out, nil } +func (c *serverServiceClient) UpdateServerIsOn(ctx context.Context, in *UpdateServerIsOnRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { + out := new(RPCSuccess) + err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerIsOn", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *serverServiceClient) UpdateServerHTTP(ctx context.Context, in *UpdateServerHTTPRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { out := new(RPCSuccess) err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerHTTP", in, out, opts...) @@ -3363,6 +3782,15 @@ func (c *serverServiceClient) UpdateServerNames(ctx context.Context, in *UpdateS return out, nil } +func (c *serverServiceClient) UpdateServerNamesAuditing(ctx context.Context, in *UpdateServerNamesAuditingRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { + out := new(RPCSuccess) + err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerNamesAuditing", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *serverServiceClient) CountAllEnabledServersMatch(ctx context.Context, in *CountAllEnabledServersMatchRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) { out := new(RPCCountResponse) err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersMatch", in, out, opts...) @@ -3381,9 +3809,9 @@ func (c *serverServiceClient) ListEnabledServersMatch(ctx context.Context, in *L return out, nil } -func (c *serverServiceClient) DisableServer(ctx context.Context, in *DisableServerRequest, opts ...grpc.CallOption) (*DisableServerResponse, error) { - out := new(DisableServerResponse) - err := c.cc.Invoke(ctx, "/pb.ServerService/disableServer", in, out, opts...) +func (c *serverServiceClient) DeleteServer(ctx context.Context, in *DeleteServerRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { + out := new(RPCSuccess) + err := c.cc.Invoke(ctx, "/pb.ServerService/deleteServer", in, out, opts...) if err != nil { return nil, err } @@ -3399,6 +3827,15 @@ func (c *serverServiceClient) FindEnabledServer(ctx context.Context, in *FindEna return out, nil } +func (c *serverServiceClient) FindEnabledServerConfig(ctx context.Context, in *FindEnabledServerConfigRequest, opts ...grpc.CallOption) (*FindEnabledServerConfigResponse, error) { + out := new(FindEnabledServerConfigResponse) + err := c.cc.Invoke(ctx, "/pb.ServerService/findEnabledServerConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *serverServiceClient) FindEnabledServerType(ctx context.Context, in *FindEnabledServerTypeRequest, opts ...grpc.CallOption) (*FindEnabledServerTypeResponse, error) { out := new(FindEnabledServerTypeResponse) err := c.cc.Invoke(ctx, "/pb.ServerService/findEnabledServerType", in, out, opts...) @@ -3489,12 +3926,23 @@ func (c *serverServiceClient) FindEnabledServerDNS(ctx context.Context, in *Find return out, nil } +func (c *serverServiceClient) CheckUserServer(ctx context.Context, in *CheckUserServerRequest, opts ...grpc.CallOption) (*RPCSuccess, error) { + out := new(RPCSuccess) + err := c.cc.Invoke(ctx, "/pb.ServerService/checkUserServer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // ServerServiceServer is the server API for ServerService service. type ServerServiceServer interface { // 创建服务 CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error) // 修改服务基本信息 UpdateServerBasic(context.Context, *UpdateServerBasicRequest) (*RPCSuccess, error) + // 修改服务是否启用 + UpdateServerIsOn(context.Context, *UpdateServerIsOnRequest) (*RPCSuccess, error) // 修改服务的HTTP设置 UpdateServerHTTP(context.Context, *UpdateServerHTTPRequest) (*RPCSuccess, error) // 修改服务的HTTPS设置 @@ -3515,14 +3963,18 @@ type ServerServiceServer interface { FindServerNames(context.Context, *FindServerNamesRequest) (*FindServerNamesResponse, error) // 修改服务的域名设置 UpdateServerNames(context.Context, *UpdateServerNamesRequest) (*RPCSuccess, error) + // 审核服务的域名设置 + UpdateServerNamesAuditing(context.Context, *UpdateServerNamesAuditingRequest) (*RPCSuccess, error) // 计算匹配的服务数量 CountAllEnabledServersMatch(context.Context, *CountAllEnabledServersMatchRequest) (*RPCCountResponse, error) // 列出单页服务 ListEnabledServersMatch(context.Context, *ListEnabledServersMatchRequest) (*ListEnabledServersMatchResponse, error) // 禁用某服务 - DisableServer(context.Context, *DisableServerRequest) (*DisableServerResponse, error) + DeleteServer(context.Context, *DeleteServerRequest) (*RPCSuccess, error) // 查找单个服务 FindEnabledServer(context.Context, *FindEnabledServerRequest) (*FindEnabledServerResponse, error) + // 查找服务配置 + FindEnabledServerConfig(context.Context, *FindEnabledServerConfigRequest) (*FindEnabledServerConfigResponse, error) // 查找服务的服务类型 FindEnabledServerType(context.Context, *FindEnabledServerTypeRequest) (*FindEnabledServerTypeResponse, error) // 查找反向代理设置 @@ -3543,6 +3995,8 @@ type ServerServiceServer interface { FindAllEnabledServersDNSWithClusterId(context.Context, *FindAllEnabledServersDNSWithClusterIdRequest) (*FindAllEnabledServersDNSWithClusterIdResponse, error) // 查找单个服务的DNS信息 FindEnabledServerDNS(context.Context, *FindEnabledServerDNSRequest) (*FindEnabledServerDNSResponse, error) + // 检查服务是否属于某个用户 + CheckUserServer(context.Context, *CheckUserServerRequest) (*RPCSuccess, error) } // UnimplementedServerServiceServer can be embedded to have forward compatible implementations. @@ -3555,6 +4009,9 @@ func (*UnimplementedServerServiceServer) CreateServer(context.Context, *CreateSe func (*UnimplementedServerServiceServer) UpdateServerBasic(context.Context, *UpdateServerBasicRequest) (*RPCSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateServerBasic not implemented") } +func (*UnimplementedServerServiceServer) UpdateServerIsOn(context.Context, *UpdateServerIsOnRequest) (*RPCSuccess, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateServerIsOn not implemented") +} func (*UnimplementedServerServiceServer) UpdateServerHTTP(context.Context, *UpdateServerHTTPRequest) (*RPCSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateServerHTTP not implemented") } @@ -3585,18 +4042,24 @@ func (*UnimplementedServerServiceServer) FindServerNames(context.Context, *FindS func (*UnimplementedServerServiceServer) UpdateServerNames(context.Context, *UpdateServerNamesRequest) (*RPCSuccess, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateServerNames not implemented") } +func (*UnimplementedServerServiceServer) UpdateServerNamesAuditing(context.Context, *UpdateServerNamesAuditingRequest) (*RPCSuccess, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateServerNamesAuditing not implemented") +} func (*UnimplementedServerServiceServer) CountAllEnabledServersMatch(context.Context, *CountAllEnabledServersMatchRequest) (*RPCCountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersMatch not implemented") } func (*UnimplementedServerServiceServer) ListEnabledServersMatch(context.Context, *ListEnabledServersMatchRequest) (*ListEnabledServersMatchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListEnabledServersMatch not implemented") } -func (*UnimplementedServerServiceServer) DisableServer(context.Context, *DisableServerRequest) (*DisableServerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DisableServer not implemented") +func (*UnimplementedServerServiceServer) DeleteServer(context.Context, *DeleteServerRequest) (*RPCSuccess, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteServer not implemented") } func (*UnimplementedServerServiceServer) FindEnabledServer(context.Context, *FindEnabledServerRequest) (*FindEnabledServerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindEnabledServer not implemented") } +func (*UnimplementedServerServiceServer) FindEnabledServerConfig(context.Context, *FindEnabledServerConfigRequest) (*FindEnabledServerConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindEnabledServerConfig not implemented") +} func (*UnimplementedServerServiceServer) FindEnabledServerType(context.Context, *FindEnabledServerTypeRequest) (*FindEnabledServerTypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindEnabledServerType not implemented") } @@ -3627,6 +4090,9 @@ func (*UnimplementedServerServiceServer) FindAllEnabledServersDNSWithClusterId(c func (*UnimplementedServerServiceServer) FindEnabledServerDNS(context.Context, *FindEnabledServerDNSRequest) (*FindEnabledServerDNSResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindEnabledServerDNS not implemented") } +func (*UnimplementedServerServiceServer) CheckUserServer(context.Context, *CheckUserServerRequest) (*RPCSuccess, error) { + return nil, status.Errorf(codes.Unimplemented, "method CheckUserServer not implemented") +} func RegisterServerServiceServer(s *grpc.Server, srv ServerServiceServer) { s.RegisterService(&_ServerService_serviceDesc, srv) @@ -3668,6 +4134,24 @@ func _ServerService_UpdateServerBasic_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } +func _ServerService_UpdateServerIsOn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateServerIsOnRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServerServiceServer).UpdateServerIsOn(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ServerService/UpdateServerIsOn", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServerServiceServer).UpdateServerIsOn(ctx, req.(*UpdateServerIsOnRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _ServerService_UpdateServerHTTP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateServerHTTPRequest) if err := dec(in); err != nil { @@ -3848,6 +4332,24 @@ func _ServerService_UpdateServerNames_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } +func _ServerService_UpdateServerNamesAuditing_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateServerNamesAuditingRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServerServiceServer).UpdateServerNamesAuditing(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ServerService/UpdateServerNamesAuditing", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServerServiceServer).UpdateServerNamesAuditing(ctx, req.(*UpdateServerNamesAuditingRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _ServerService_CountAllEnabledServersMatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CountAllEnabledServersMatchRequest) if err := dec(in); err != nil { @@ -3884,20 +4386,20 @@ func _ServerService_ListEnabledServersMatch_Handler(srv interface{}, ctx context return interceptor(ctx, in, info, handler) } -func _ServerService_DisableServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisableServerRequest) +func _ServerService_DeleteServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteServerRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ServerServiceServer).DisableServer(ctx, in) + return srv.(ServerServiceServer).DeleteServer(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pb.ServerService/DisableServer", + FullMethod: "/pb.ServerService/DeleteServer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServerServiceServer).DisableServer(ctx, req.(*DisableServerRequest)) + return srv.(ServerServiceServer).DeleteServer(ctx, req.(*DeleteServerRequest)) } return interceptor(ctx, in, info, handler) } @@ -3920,6 +4422,24 @@ func _ServerService_FindEnabledServer_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } +func _ServerService_FindEnabledServerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindEnabledServerConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServerServiceServer).FindEnabledServerConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ServerService/FindEnabledServerConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServerServiceServer).FindEnabledServerConfig(ctx, req.(*FindEnabledServerConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _ServerService_FindEnabledServerType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindEnabledServerTypeRequest) if err := dec(in); err != nil { @@ -4100,6 +4620,24 @@ func _ServerService_FindEnabledServerDNS_Handler(srv interface{}, ctx context.Co return interceptor(ctx, in, info, handler) } +func _ServerService_CheckUserServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CheckUserServerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServerServiceServer).CheckUserServer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pb.ServerService/CheckUserServer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServerServiceServer).CheckUserServer(ctx, req.(*CheckUserServerRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _ServerService_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.ServerService", HandlerType: (*ServerServiceServer)(nil), @@ -4112,6 +4650,10 @@ var _ServerService_serviceDesc = grpc.ServiceDesc{ MethodName: "updateServerBasic", Handler: _ServerService_UpdateServerBasic_Handler, }, + { + MethodName: "updateServerIsOn", + Handler: _ServerService_UpdateServerIsOn_Handler, + }, { MethodName: "updateServerHTTP", Handler: _ServerService_UpdateServerHTTP_Handler, @@ -4152,6 +4694,10 @@ var _ServerService_serviceDesc = grpc.ServiceDesc{ MethodName: "updateServerNames", Handler: _ServerService_UpdateServerNames_Handler, }, + { + MethodName: "updateServerNamesAuditing", + Handler: _ServerService_UpdateServerNamesAuditing_Handler, + }, { MethodName: "countAllEnabledServersMatch", Handler: _ServerService_CountAllEnabledServersMatch_Handler, @@ -4161,13 +4707,17 @@ var _ServerService_serviceDesc = grpc.ServiceDesc{ Handler: _ServerService_ListEnabledServersMatch_Handler, }, { - MethodName: "disableServer", - Handler: _ServerService_DisableServer_Handler, + MethodName: "deleteServer", + Handler: _ServerService_DeleteServer_Handler, }, { MethodName: "findEnabledServer", Handler: _ServerService_FindEnabledServer_Handler, }, + { + MethodName: "findEnabledServerConfig", + Handler: _ServerService_FindEnabledServerConfig_Handler, + }, { MethodName: "findEnabledServerType", Handler: _ServerService_FindEnabledServerType_Handler, @@ -4208,6 +4758,10 @@ var _ServerService_serviceDesc = grpc.ServiceDesc{ MethodName: "findEnabledServerDNS", Handler: _ServerService_FindEnabledServerDNS_Handler, }, + { + MethodName: "checkUserServer", + Handler: _ServerService_CheckUserServer_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_server.proto", diff --git a/pkg/rpc/protos/model_server.proto b/pkg/rpc/protos/model_server.proto index 987ebe0..b199b58 100644 --- a/pkg/rpc/protos/model_server.proto +++ b/pkg/rpc/protos/model_server.proto @@ -6,6 +6,7 @@ package pb; import "model_node_cluster.proto"; import "model_server_group.proto"; import "model_user.proto"; +import "model_server_name_auditing_result.proto"; message Server { int64 id = 1; @@ -21,6 +22,10 @@ message Server { // 配置相关 bytes config = 17; bytes serverNamesJSON = 8; + bool isAuditing = 20; + bytes auditingServerNamesJSON = 21; + ServerNameAuditingResult auditingResult = 22; + bytes httpJSON = 9; bytes httpsJSON = 10; bytes tcpJSON = 11; diff --git a/pkg/rpc/protos/model_server_name_auditing_result.proto b/pkg/rpc/protos/model_server_name_auditing_result.proto new file mode 100644 index 0000000..5274e30 --- /dev/null +++ b/pkg/rpc/protos/model_server_name_auditing_result.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; +option go_package = "./pb"; + +package pb; + +message ServerNameAuditingResult { + bool isOk = 1; + string reason = 2; + int64 createdAt = 3; +} \ No newline at end of file diff --git a/pkg/rpc/protos/service_server.proto b/pkg/rpc/protos/service_server.proto index c88628d..4fd3831 100644 --- a/pkg/rpc/protos/service_server.proto +++ b/pkg/rpc/protos/service_server.proto @@ -5,6 +5,7 @@ package pb; import "model_server.proto"; import "model_dns_domain.proto"; +import "model_server_name_auditing_result.proto"; import "rpc_messages.proto"; service ServerService { @@ -14,6 +15,9 @@ service ServerService { // 修改服务基本信息 rpc updateServerBasic (UpdateServerBasicRequest) returns (RPCSuccess); + // 修改服务是否启用 + rpc updateServerIsOn (UpdateServerIsOnRequest) returns (RPCSuccess); + // 修改服务的HTTP设置 rpc updateServerHTTP (UpdateServerHTTPRequest) returns (RPCSuccess); @@ -44,6 +48,9 @@ service ServerService { // 修改服务的域名设置 rpc updateServerNames (UpdateServerNamesRequest) returns (RPCSuccess); + // 审核服务的域名设置 + rpc updateServerNamesAuditing (UpdateServerNamesAuditingRequest) returns (RPCSuccess); + // 计算匹配的服务数量 rpc countAllEnabledServersMatch (CountAllEnabledServersMatchRequest) returns (RPCCountResponse); @@ -51,11 +58,14 @@ service ServerService { rpc listEnabledServersMatch (ListEnabledServersMatchRequest) returns (ListEnabledServersMatchResponse); // 禁用某服务 - rpc disableServer (DisableServerRequest) returns (DisableServerResponse); + rpc deleteServer (DeleteServerRequest) returns (RPCSuccess); // 查找单个服务 rpc findEnabledServer (FindEnabledServerRequest) returns (FindEnabledServerResponse); + // 查找服务配置 + rpc findEnabledServerConfig (FindEnabledServerConfigRequest) returns (FindEnabledServerConfigResponse); + // 查找服务的服务类型 rpc findEnabledServerType (FindEnabledServerTypeRequest) returns (FindEnabledServerTypeResponse); @@ -85,6 +95,9 @@ service ServerService { // 查找单个服务的DNS信息 rpc findEnabledServerDNS (FindEnabledServerDNSRequest) returns (FindEnabledServerDNSResponse); + + // 检查服务是否属于某个用户 + rpc checkUserServer (CheckUserServerRequest) returns (RPCSuccess); } // 创建服务 @@ -126,35 +139,41 @@ message UpdateServerBasicRequest { repeated int64 groupIds = 6; } +// 修改服务启是否启用 +message UpdateServerIsOnRequest { + int64 serverId = 1; + bool isOn = 2; +} + // 修改服务的HTTP等设置 message UpdateServerHTTPRequest { int64 serverId = 1; - bytes config = 2; + bytes httpJSON = 2; } message UpdateServerHTTPSRequest { int64 serverId = 1; - bytes config = 2; + bytes httpsJSON = 2; } message UpdateServerTCPRequest { int64 serverId = 1; - bytes config = 2; + bytes tcpJSON = 2; } message UpdateServerTLSRequest { int64 serverId = 1; - bytes config = 2; + bytes tlsJSON = 2; } message UpdateServerUnixRequest { int64 serverId = 1; - bytes config = 2; + bytes unixJSON = 2; } message UpdateServerUDPRequest { int64 serverId = 1; - bytes config = 2; + bytes udpJSON = 2; } message UpdateServerWebRequest { @@ -174,12 +193,21 @@ message FindServerNamesRequest { message FindServerNamesResponse { bytes serverNamesJSON = 1; + bool isAuditing = 2; + bytes auditingServerNamesJSON = 3; + ServerNameAuditingResult auditingResult = 4; } // 修改服务的域名设置 message UpdateServerNamesRequest { int64 serverId = 1; - bytes config = 2; + bytes serverNamesJSON = 2; +} + +// 审核服务的域名设置 +message UpdateServerNamesAuditingRequest { + int64 serverId = 1; + ServerNameAuditingResult auditingResult = 2; } // 计算服务数量 @@ -187,6 +215,8 @@ message CountAllEnabledServersMatchRequest { int64 groupId = 1; string keyword = 2; int64 userId = 3; + int64 clusterId = 4; + int32 auditingFlag = 5; } // 列出单页服务 @@ -196,6 +226,8 @@ message ListEnabledServersMatchRequest { int64 groupId = 3; string keyword = 4; int64 userId = 5; + int64 clusterId = 6; + int32 auditingFlag = 7; } message ListEnabledServersMatchResponse { @@ -203,14 +235,10 @@ message ListEnabledServersMatchResponse { } // 禁用服务 -message DisableServerRequest { +message DeleteServerRequest { int64 serverId = 1; } -message DisableServerResponse { - -} - // 查找单个服务 message FindEnabledServerRequest { int64 serverId = 1; @@ -220,6 +248,15 @@ message FindEnabledServerResponse { Server server = 1; } +// 查找服务配置 +message FindEnabledServerConfigRequest { + int64 serverId = 1; +} + +message FindEnabledServerConfigResponse { + bytes serverJSON = 1; +} + // 查找服务的服务类型 message FindEnabledServerTypeRequest { int64 serverId = 1; @@ -304,4 +341,9 @@ message FindEnabledServerDNSRequest { message FindEnabledServerDNSResponse { string dnsName = 1; DNSDomain domain = 2; +} + +// 检查服务是否属于某个用户 +message CheckUserServerRequest { + int64 serverId = 1; } \ No newline at end of file diff --git a/pkg/serverconfigs/protocol_http_config.go b/pkg/serverconfigs/protocol_http_config.go index d7e0d62..ccd1770 100644 --- a/pkg/serverconfigs/protocol_http_config.go +++ b/pkg/serverconfigs/protocol_http_config.go @@ -2,6 +2,17 @@ package serverconfigs import "encoding/json" +func NewHTTPProtocolConfigFromJSON(configJSON []byte) (*HTTPProtocolConfig, error) { + config := &HTTPProtocolConfig{} + if len(configJSON) > 0 { + err := json.Unmarshal(configJSON, config) + if err != nil { + return nil, err + } + } + return config, nil +} + type HTTPProtocolConfig struct { BaseProtocol `yaml:",inline"` } diff --git a/pkg/serverconfigs/protocol_https_config.go b/pkg/serverconfigs/protocol_https_config.go index ec92652..1900a23 100644 --- a/pkg/serverconfigs/protocol_https_config.go +++ b/pkg/serverconfigs/protocol_https_config.go @@ -5,6 +5,17 @@ import ( "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/sslconfigs" ) +func NewHTTPSProtocolConfigFromJSON(configJSON []byte) (*HTTPSProtocolConfig, error) { + config := &HTTPSProtocolConfig{} + if len(configJSON) > 0 { + err := json.Unmarshal(configJSON, config) + if err != nil { + return nil, err + } + } + return config, nil +} + // HTTPS协议配置 type HTTPSProtocolConfig struct { BaseProtocol `yaml:",inline"`