Files
EdgeCommon/pkg/rpc/pb/service_server.pb.go

3987 lines
157 KiB
Go
Raw Normal View History

2020-09-13 19:27:47 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.25.0
// protoc v3.12.3
// source: service_server.proto
package pb
import (
context "context"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
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 CreateServerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-09-15 14:44:38 +08:00
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
AdminId int64 `protobuf:"varint,2,opt,name=adminId,proto3" json:"adminId,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// 配置相关
ServerNamesJON []byte `protobuf:"bytes,8,opt,name=serverNamesJON,proto3" json:"serverNamesJON,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"`
2020-09-21 11:37:09 +08:00
ReverseProxyJSON []byte `protobuf:"bytes,16,opt,name=reverseProxyJSON,proto3" json:"reverseProxyJSON,omitempty"`
2020-09-15 14:44:38 +08:00
ClusterId int64 `protobuf:"varint,30,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
IncludeNodesJSON []byte `protobuf:"bytes,31,opt,name=includeNodesJSON,proto3" json:"includeNodesJSON,omitempty"`
ExcludeNodesJSON []byte `protobuf:"bytes,32,opt,name=excludeNodesJSON,proto3" json:"excludeNodesJSON,omitempty"`
2020-09-13 19:27:47 +08:00
}
func (x *CreateServerRequest) Reset() {
*x = CreateServerRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateServerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateServerRequest) ProtoMessage() {}
func (x *CreateServerRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_server_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 CreateServerRequest.ProtoReflect.Descriptor instead.
func (*CreateServerRequest) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{0}
}
func (x *CreateServerRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *CreateServerRequest) GetAdminId() int64 {
if x != nil {
return x.AdminId
}
return 0
}
func (x *CreateServerRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *CreateServerRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateServerRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
2020-09-15 14:44:38 +08:00
func (x *CreateServerRequest) GetServerNamesJON() []byte {
2020-09-13 19:27:47 +08:00
if x != nil {
2020-09-15 14:44:38 +08:00
return x.ServerNamesJON
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
return nil
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *CreateServerRequest) GetHttpJSON() []byte {
2020-09-13 19:27:47 +08:00
if x != nil {
2020-09-15 14:44:38 +08:00
return x.HttpJSON
}
return nil
}
func (x *CreateServerRequest) GetHttpsJSON() []byte {
if x != nil {
return x.HttpsJSON
}
return nil
}
func (x *CreateServerRequest) GetTcpJSON() []byte {
if x != nil {
return x.TcpJSON
}
return nil
}
func (x *CreateServerRequest) GetTlsJSON() []byte {
if x != nil {
return x.TlsJSON
}
return nil
}
func (x *CreateServerRequest) GetUnixJSON() []byte {
if x != nil {
return x.UnixJSON
}
return nil
}
func (x *CreateServerRequest) GetUdpJSON() []byte {
if x != nil {
return x.UdpJSON
2020-09-13 19:27:47 +08:00
}
return nil
}
2020-09-15 14:44:38 +08:00
func (x *CreateServerRequest) GetWebId() int64 {
if x != nil {
return x.WebId
}
return 0
}
2020-09-21 11:37:09 +08:00
func (x *CreateServerRequest) GetReverseProxyJSON() []byte {
2020-09-15 14:44:38 +08:00
if x != nil {
2020-09-21 11:37:09 +08:00
return x.ReverseProxyJSON
2020-09-15 14:44:38 +08:00
}
2020-09-21 11:37:09 +08:00
return nil
2020-09-15 14:44:38 +08:00
}
func (x *CreateServerRequest) GetClusterId() int64 {
if x != nil {
return x.ClusterId
}
return 0
}
2020-09-13 19:27:47 +08:00
func (x *CreateServerRequest) GetIncludeNodesJSON() []byte {
if x != nil {
return x.IncludeNodesJSON
}
return nil
}
func (x *CreateServerRequest) GetExcludeNodesJSON() []byte {
if x != nil {
return x.ExcludeNodesJSON
}
return nil
}
type CreateServerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
}
func (x *CreateServerResponse) Reset() {
*x = CreateServerResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateServerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateServerResponse) ProtoMessage() {}
func (x *CreateServerResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[1]
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 CreateServerResponse.ProtoReflect.Descriptor instead.
func (*CreateServerResponse) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{1}
}
func (x *CreateServerResponse) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
2020-09-15 14:44:38 +08:00
// 修改服务基本信息
type UpdateServerBasicRequest struct {
2020-09-13 19:27:47 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-09-15 14:44:38 +08:00
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
ClusterId int64 `protobuf:"varint,4,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
2020-09-28 16:25:49 +08:00
IsOn bool `protobuf:"varint,5,opt,name=isOn,proto3" json:"isOn,omitempty"`
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerBasicRequest) Reset() {
*x = UpdateServerBasicRequest{}
2020-09-13 19:27:47 +08:00
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerBasicRequest) String() string {
2020-09-13 19:27:47 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-09-15 14:44:38 +08:00
func (*UpdateServerBasicRequest) ProtoMessage() {}
2020-09-13 19:27:47 +08:00
2020-09-15 14:44:38 +08:00
func (x *UpdateServerBasicRequest) ProtoReflect() protoreflect.Message {
2020-09-13 19:27:47 +08:00
mi := &file_service_server_proto_msgTypes[2]
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)
}
2020-09-15 14:44:38 +08:00
// Deprecated: Use UpdateServerBasicRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerBasicRequest) Descriptor() ([]byte, []int) {
2020-09-13 19:27:47 +08:00
return file_service_server_proto_rawDescGZIP(), []int{2}
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerBasicRequest) GetServerId() int64 {
2020-09-13 19:27:47 +08:00
if x != nil {
return x.ServerId
}
return 0
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerBasicRequest) GetName() string {
2020-09-13 19:27:47 +08:00
if x != nil {
return x.Name
}
return ""
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerBasicRequest) GetDescription() string {
2020-09-13 19:27:47 +08:00
if x != nil {
return x.Description
}
return ""
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerBasicRequest) GetClusterId() int64 {
2020-09-13 19:27:47 +08:00
if x != nil {
return x.ClusterId
}
return 0
}
2020-09-28 16:25:49 +08:00
func (x *UpdateServerBasicRequest) GetIsOn() bool {
if x != nil {
return x.IsOn
}
return false
}
2020-09-15 14:44:38 +08:00
// 修改服务的HTTP等设置
type UpdateServerHTTPRequest struct {
2020-09-13 19:27:47 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-09-15 14:44:38 +08:00
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerHTTPRequest) Reset() {
*x = UpdateServerHTTPRequest{}
2020-09-13 19:27:47 +08:00
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[3]
2020-09-13 19:27:47 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerHTTPRequest) String() string {
2020-09-13 19:27:47 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-09-15 14:44:38 +08:00
func (*UpdateServerHTTPRequest) ProtoMessage() {}
2020-09-13 19:27:47 +08:00
2020-09-15 14:44:38 +08:00
func (x *UpdateServerHTTPRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[3]
2020-09-13 19:27:47 +08:00
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)
}
2020-09-15 14:44:38 +08:00
// Deprecated: Use UpdateServerHTTPRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerHTTPRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{3}
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerHTTPRequest) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
func (x *UpdateServerHTTPRequest) GetConfig() []byte {
if x != nil {
return x.Config
}
return nil
}
type UpdateServerHTTPSRequest struct {
2020-09-13 19:27:47 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-09-15 14:44:38 +08:00
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerHTTPSRequest) Reset() {
*x = UpdateServerHTTPSRequest{}
2020-09-13 19:27:47 +08:00
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[4]
2020-09-13 19:27:47 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerHTTPSRequest) String() string {
2020-09-13 19:27:47 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-09-15 14:44:38 +08:00
func (*UpdateServerHTTPSRequest) ProtoMessage() {}
2020-09-13 19:27:47 +08:00
2020-09-15 14:44:38 +08:00
func (x *UpdateServerHTTPSRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[4]
2020-09-13 19:27:47 +08:00
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)
}
2020-09-15 14:44:38 +08:00
// Deprecated: Use UpdateServerHTTPSRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerHTTPSRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{4}
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerHTTPSRequest) GetServerId() int64 {
2020-09-13 19:27:47 +08:00
if x != nil {
2020-09-15 14:44:38 +08:00
return x.ServerId
2020-09-13 19:27:47 +08:00
}
return 0
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerHTTPSRequest) GetConfig() []byte {
2020-09-13 19:27:47 +08:00
if x != nil {
2020-09-15 14:44:38 +08:00
return x.Config
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
return nil
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
type UpdateServerTCPRequest struct {
2020-09-13 19:27:47 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-09-15 14:44:38 +08:00
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTCPRequest) Reset() {
*x = UpdateServerTCPRequest{}
2020-09-13 19:27:47 +08:00
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[5]
2020-09-13 19:27:47 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTCPRequest) String() string {
2020-09-13 19:27:47 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-09-15 14:44:38 +08:00
func (*UpdateServerTCPRequest) ProtoMessage() {}
2020-09-13 19:27:47 +08:00
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTCPRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[5]
2020-09-13 19:27:47 +08:00
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)
}
2020-09-15 14:44:38 +08:00
// Deprecated: Use UpdateServerTCPRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerTCPRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{5}
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTCPRequest) GetServerId() int64 {
2020-09-13 19:27:47 +08:00
if x != nil {
return x.ServerId
}
return 0
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTCPRequest) GetConfig() []byte {
if x != nil {
return x.Config
}
return nil
}
type UpdateServerTLSRequest struct {
2020-09-13 19:27:47 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-09-15 14:44:38 +08:00
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTLSRequest) Reset() {
*x = UpdateServerTLSRequest{}
2020-09-13 19:27:47 +08:00
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[6]
2020-09-13 19:27:47 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTLSRequest) String() string {
2020-09-13 19:27:47 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-09-15 14:44:38 +08:00
func (*UpdateServerTLSRequest) ProtoMessage() {}
2020-09-13 19:27:47 +08:00
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTLSRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[6]
2020-09-13 19:27:47 +08:00
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)
}
2020-09-15 14:44:38 +08:00
// Deprecated: Use UpdateServerTLSRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerTLSRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{6}
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTLSRequest) GetServerId() int64 {
2020-09-13 19:27:47 +08:00
if x != nil {
return x.ServerId
}
return 0
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerTLSRequest) GetConfig() []byte {
if x != nil {
return x.Config
}
return nil
}
type UpdateServerUnixRequest 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"`
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerUnixRequest) Reset() {
*x = UpdateServerUnixRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[7]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-13 19:27:47 +08:00
2020-09-15 14:44:38 +08:00
func (x *UpdateServerUnixRequest) String() string {
return protoimpl.X.MessageStringOf(x)
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (*UpdateServerUnixRequest) ProtoMessage() {}
2020-09-13 19:27:47 +08:00
2020-09-15 14:44:38 +08:00
func (x *UpdateServerUnixRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[7]
2020-09-15 14:44:38 +08:00
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)
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
// Deprecated: Use UpdateServerUnixRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerUnixRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{7}
2020-09-13 19:27:47 +08:00
}
2020-09-15 14:44:38 +08:00
func (x *UpdateServerUnixRequest) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
func (x *UpdateServerUnixRequest) GetConfig() []byte {
if x != nil {
return x.Config
}
return nil
}
type UpdateServerUDPRequest 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"`
}
func (x *UpdateServerUDPRequest) Reset() {
*x = UpdateServerUDPRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[8]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateServerUDPRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateServerUDPRequest) ProtoMessage() {}
func (x *UpdateServerUDPRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[8]
2020-09-15 14:44:38 +08:00
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 UpdateServerUDPRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerUDPRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{8}
2020-09-15 14:44:38 +08:00
}
func (x *UpdateServerUDPRequest) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
func (x *UpdateServerUDPRequest) GetConfig() []byte {
if x != nil {
return x.Config
}
return nil
}
type UpdateServerWebRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
WebId int64 `protobuf:"varint,2,opt,name=webId,proto3" json:"webId,omitempty"`
}
func (x *UpdateServerWebRequest) Reset() {
*x = UpdateServerWebRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[9]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateServerWebRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateServerWebRequest) ProtoMessage() {}
func (x *UpdateServerWebRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[9]
2020-09-15 14:44:38 +08:00
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 UpdateServerWebRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerWebRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{9}
2020-09-15 14:44:38 +08:00
}
func (x *UpdateServerWebRequest) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
func (x *UpdateServerWebRequest) GetWebId() int64 {
if x != nil {
return x.WebId
}
return 0
}
type UpdateServerReverseProxyRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-09-21 11:37:09 +08:00
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
ReverseProxyJSON []byte `protobuf:"bytes,2,opt,name=reverseProxyJSON,proto3" json:"reverseProxyJSON,omitempty"`
2020-09-15 14:44:38 +08:00
}
func (x *UpdateServerReverseProxyRequest) Reset() {
*x = UpdateServerReverseProxyRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[10]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateServerReverseProxyRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateServerReverseProxyRequest) ProtoMessage() {}
func (x *UpdateServerReverseProxyRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[10]
2020-09-15 14:44:38 +08:00
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 UpdateServerReverseProxyRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerReverseProxyRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{10}
2020-09-15 14:44:38 +08:00
}
func (x *UpdateServerReverseProxyRequest) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
2020-09-21 11:37:09 +08:00
func (x *UpdateServerReverseProxyRequest) GetReverseProxyJSON() []byte {
2020-09-15 14:44:38 +08:00
if x != nil {
2020-09-21 11:37:09 +08:00
return x.ReverseProxyJSON
2020-09-15 14:44:38 +08:00
}
2020-09-21 11:37:09 +08:00
return nil
2020-09-15 14:44:38 +08:00
}
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"`
}
func (x *UpdateServerNamesRequest) Reset() {
*x = UpdateServerNamesRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[11]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateServerNamesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateServerNamesRequest) ProtoMessage() {}
func (x *UpdateServerNamesRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[11]
2020-09-15 14:44:38 +08:00
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 UpdateServerNamesRequest.ProtoReflect.Descriptor instead.
func (*UpdateServerNamesRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{11}
2020-09-15 14:44:38 +08:00
}
func (x *UpdateServerNamesRequest) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
func (x *UpdateServerNamesRequest) GetConfig() []byte {
if x != nil {
return x.Config
}
return nil
}
// 计算服务数量
type CountAllEnabledServersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CountAllEnabledServersRequest) Reset() {
*x = CountAllEnabledServersRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[12]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledServersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledServersRequest) ProtoMessage() {}
func (x *CountAllEnabledServersRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[12]
2020-09-15 14:44:38 +08:00
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 CountAllEnabledServersRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{12}
2020-09-15 14:44:38 +08:00
}
type CountAllEnabledServersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (x *CountAllEnabledServersResponse) Reset() {
*x = CountAllEnabledServersResponse{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[13]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledServersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledServersResponse) ProtoMessage() {}
func (x *CountAllEnabledServersResponse) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[13]
2020-09-15 14:44:38 +08:00
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 CountAllEnabledServersResponse.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersResponse) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{13}
2020-09-15 14:44:38 +08:00
}
func (x *CountAllEnabledServersResponse) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
// 列出单页服务
type ListEnabledServersRequest 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"`
}
func (x *ListEnabledServersRequest) Reset() {
*x = ListEnabledServersRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[14]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListEnabledServersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListEnabledServersRequest) ProtoMessage() {}
func (x *ListEnabledServersRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[14]
2020-09-15 14:44:38 +08:00
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 ListEnabledServersRequest.ProtoReflect.Descriptor instead.
func (*ListEnabledServersRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{14}
2020-09-15 14:44:38 +08:00
}
func (x *ListEnabledServersRequest) GetOffset() int64 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListEnabledServersRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
type ListEnabledServersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
}
func (x *ListEnabledServersResponse) Reset() {
*x = ListEnabledServersResponse{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[15]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListEnabledServersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListEnabledServersResponse) ProtoMessage() {}
func (x *ListEnabledServersResponse) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[15]
2020-09-15 14:44:38 +08:00
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 ListEnabledServersResponse.ProtoReflect.Descriptor instead.
func (*ListEnabledServersResponse) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{15}
2020-09-15 14:44:38 +08:00
}
func (x *ListEnabledServersResponse) GetServers() []*Server {
if x != nil {
return x.Servers
}
return nil
}
// 禁用服务
type DisableServerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
}
func (x *DisableServerRequest) Reset() {
*x = DisableServerRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[16]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DisableServerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisableServerRequest) ProtoMessage() {}
func (x *DisableServerRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[16]
2020-09-15 14:44:38 +08:00
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 DisableServerRequest.ProtoReflect.Descriptor instead.
func (*DisableServerRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{16}
2020-09-15 14:44:38 +08:00
}
func (x *DisableServerRequest) 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 {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[17]
2020-09-15 14:44:38 +08:00
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 {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[17]
2020-09-15 14:44:38 +08:00
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) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{17}
2020-09-15 14:44:38 +08:00
}
// 查找单个服务
type FindEnabledServerRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
}
func (x *FindEnabledServerRequest) Reset() {
*x = FindEnabledServerRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[18]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindEnabledServerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledServerRequest) ProtoMessage() {}
func (x *FindEnabledServerRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[18]
2020-09-15 14:44:38 +08:00
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 FindEnabledServerRequest.ProtoReflect.Descriptor instead.
func (*FindEnabledServerRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{18}
2020-09-15 14:44:38 +08:00
}
func (x *FindEnabledServerRequest) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
type FindEnabledServerResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
}
func (x *FindEnabledServerResponse) Reset() {
*x = FindEnabledServerResponse{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[19]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindEnabledServerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledServerResponse) ProtoMessage() {}
func (x *FindEnabledServerResponse) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[19]
2020-09-15 14:44:38 +08:00
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 FindEnabledServerResponse.ProtoReflect.Descriptor instead.
func (*FindEnabledServerResponse) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{19}
2020-09-15 14:44:38 +08:00
}
func (x *FindEnabledServerResponse) GetServer() *Server {
if x != nil {
return x.Server
}
return nil
}
// 查找服务的服务类型
type FindEnabledServerTypeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
}
func (x *FindEnabledServerTypeRequest) Reset() {
*x = FindEnabledServerTypeRequest{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[20]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindEnabledServerTypeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledServerTypeRequest) ProtoMessage() {}
func (x *FindEnabledServerTypeRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[20]
2020-09-15 14:44:38 +08:00
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 FindEnabledServerTypeRequest.ProtoReflect.Descriptor instead.
func (*FindEnabledServerTypeRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{20}
2020-09-15 14:44:38 +08:00
}
func (x *FindEnabledServerTypeRequest) GetServerId() int64 {
if x != nil {
return x.ServerId
}
return 0
}
type FindEnabledServerTypeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
}
func (x *FindEnabledServerTypeResponse) Reset() {
*x = FindEnabledServerTypeResponse{}
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[21]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindEnabledServerTypeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledServerTypeResponse) ProtoMessage() {}
func (x *FindEnabledServerTypeResponse) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[21]
2020-09-15 14:44:38 +08:00
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 FindEnabledServerTypeResponse.ProtoReflect.Descriptor instead.
func (*FindEnabledServerTypeResponse) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{21}
2020-09-15 14:44:38 +08:00
}
func (x *FindEnabledServerTypeResponse) GetType() string {
if x != nil {
return x.Type
}
return ""
}
// 查找反向代理设置
2020-09-21 11:37:09 +08:00
type FindAndInitServerReverseProxyConfigRequest struct {
2020-09-15 14:44:38 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
}
2020-09-21 11:37:09 +08:00
func (x *FindAndInitServerReverseProxyConfigRequest) Reset() {
*x = FindAndInitServerReverseProxyConfigRequest{}
2020-09-15 14:44:38 +08:00
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[22]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-21 11:37:09 +08:00
func (x *FindAndInitServerReverseProxyConfigRequest) String() string {
2020-09-15 14:44:38 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-09-21 11:37:09 +08:00
func (*FindAndInitServerReverseProxyConfigRequest) ProtoMessage() {}
2020-09-15 14:44:38 +08:00
2020-09-21 11:37:09 +08:00
func (x *FindAndInitServerReverseProxyConfigRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[22]
2020-09-15 14:44:38 +08:00
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)
}
2020-09-21 11:37:09 +08:00
// Deprecated: Use FindAndInitServerReverseProxyConfigRequest.ProtoReflect.Descriptor instead.
func (*FindAndInitServerReverseProxyConfigRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{22}
2020-09-15 14:44:38 +08:00
}
2020-09-21 11:37:09 +08:00
func (x *FindAndInitServerReverseProxyConfigRequest) GetServerId() int64 {
2020-09-15 14:44:38 +08:00
if x != nil {
return x.ServerId
}
return 0
}
2020-09-21 11:37:09 +08:00
type FindAndInitServerReverseProxyConfigResponse struct {
2020-09-15 14:44:38 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-09-21 19:52:10 +08:00
ReverseProxyJSON []byte `protobuf:"bytes,1,opt,name=reverseProxyJSON,proto3" json:"reverseProxyJSON,omitempty"`
ReverseProxyRefJSON []byte `protobuf:"bytes,2,opt,name=reverseProxyRefJSON,proto3" json:"reverseProxyRefJSON,omitempty"`
2020-09-15 14:44:38 +08:00
}
2020-09-21 11:37:09 +08:00
func (x *FindAndInitServerReverseProxyConfigResponse) Reset() {
*x = FindAndInitServerReverseProxyConfigResponse{}
2020-09-15 14:44:38 +08:00
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[23]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-21 11:37:09 +08:00
func (x *FindAndInitServerReverseProxyConfigResponse) String() string {
2020-09-15 14:44:38 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-09-21 11:37:09 +08:00
func (*FindAndInitServerReverseProxyConfigResponse) ProtoMessage() {}
2020-09-15 14:44:38 +08:00
2020-09-21 11:37:09 +08:00
func (x *FindAndInitServerReverseProxyConfigResponse) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[23]
2020-09-15 14:44:38 +08:00
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)
}
2020-09-21 11:37:09 +08:00
// Deprecated: Use FindAndInitServerReverseProxyConfigResponse.ProtoReflect.Descriptor instead.
func (*FindAndInitServerReverseProxyConfigResponse) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{23}
2020-09-15 14:44:38 +08:00
}
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerReverseProxyConfigResponse) GetReverseProxyJSON() []byte {
2020-09-15 14:44:38 +08:00
if x != nil {
2020-09-21 19:52:10 +08:00
return x.ReverseProxyJSON
2020-09-21 11:37:09 +08:00
}
return nil
}
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerReverseProxyConfigResponse) GetReverseProxyRefJSON() []byte {
2020-09-21 11:37:09 +08:00
if x != nil {
2020-09-21 19:52:10 +08:00
return x.ReverseProxyRefJSON
2020-09-15 14:44:38 +08:00
}
return nil
}
2020-09-16 09:09:31 +08:00
// 初始化Web设置
2020-09-21 19:52:10 +08:00
type FindAndInitServerWebConfigRequest struct {
2020-09-16 09:09:31 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServerId int64 `protobuf:"varint,1,opt,name=serverId,proto3" json:"serverId,omitempty"`
}
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerWebConfigRequest) Reset() {
*x = FindAndInitServerWebConfigRequest{}
2020-09-16 09:09:31 +08:00
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[24]
2020-09-16 09:09:31 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerWebConfigRequest) String() string {
2020-09-16 09:09:31 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-09-21 19:52:10 +08:00
func (*FindAndInitServerWebConfigRequest) ProtoMessage() {}
2020-09-16 09:09:31 +08:00
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerWebConfigRequest) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[24]
2020-09-16 09:09:31 +08:00
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)
}
2020-09-21 19:52:10 +08:00
// Deprecated: Use FindAndInitServerWebConfigRequest.ProtoReflect.Descriptor instead.
func (*FindAndInitServerWebConfigRequest) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{24}
2020-09-16 09:09:31 +08:00
}
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerWebConfigRequest) GetServerId() int64 {
2020-09-16 09:09:31 +08:00
if x != nil {
return x.ServerId
}
return 0
}
2020-09-21 19:52:10 +08:00
type FindAndInitServerWebConfigResponse struct {
2020-09-16 09:09:31 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-09-21 19:52:10 +08:00
WebJSON []byte `protobuf:"bytes,1,opt,name=webJSON,proto3" json:"webJSON,omitempty"`
2020-09-16 09:09:31 +08:00
}
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerWebConfigResponse) Reset() {
*x = FindAndInitServerWebConfigResponse{}
2020-09-16 09:09:31 +08:00
if protoimpl.UnsafeEnabled {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[25]
2020-09-16 09:09:31 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerWebConfigResponse) String() string {
2020-09-16 09:09:31 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-09-21 19:52:10 +08:00
func (*FindAndInitServerWebConfigResponse) ProtoMessage() {}
2020-09-16 09:09:31 +08:00
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerWebConfigResponse) ProtoReflect() protoreflect.Message {
2020-09-17 10:15:55 +08:00
mi := &file_service_server_proto_msgTypes[25]
2020-09-16 09:09:31 +08:00
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)
}
2020-09-21 19:52:10 +08:00
// Deprecated: Use FindAndInitServerWebConfigResponse.ProtoReflect.Descriptor instead.
func (*FindAndInitServerWebConfigResponse) Descriptor() ([]byte, []int) {
2020-09-17 10:15:55 +08:00
return file_service_server_proto_rawDescGZIP(), []int{25}
2020-09-16 09:09:31 +08:00
}
2020-09-21 19:52:10 +08:00
func (x *FindAndInitServerWebConfigResponse) GetWebJSON() []byte {
2020-09-16 09:09:31 +08:00
if x != nil {
2020-09-21 19:52:10 +08:00
return x.WebJSON
2020-09-16 09:09:31 +08:00
}
2020-09-16 20:29:26 +08:00
return nil
2020-09-16 09:09:31 +08:00
}
2020-09-30 17:46:33 +08:00
// 计算使用某个SSL证书的服务数量
2020-10-02 17:22:46 +08:00
type CountAllEnabledServersWithSSLCertIdRequest struct {
2020-09-30 17:46:33 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CertId int64 `protobuf:"varint,1,opt,name=certId,proto3" json:"certId,omitempty"`
}
2020-10-02 17:22:46 +08:00
func (x *CountAllEnabledServersWithSSLCertIdRequest) Reset() {
*x = CountAllEnabledServersWithSSLCertIdRequest{}
2020-09-30 17:46:33 +08:00
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-10-02 17:22:46 +08:00
func (x *CountAllEnabledServersWithSSLCertIdRequest) String() string {
2020-09-30 17:46:33 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-10-02 17:22:46 +08:00
func (*CountAllEnabledServersWithSSLCertIdRequest) ProtoMessage() {}
2020-09-30 17:46:33 +08:00
2020-10-02 17:22:46 +08:00
func (x *CountAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect.Message {
2020-09-30 17:46:33 +08:00
mi := &file_service_server_proto_msgTypes[26]
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)
}
2020-10-02 17:22:46 +08:00
// Deprecated: Use CountAllEnabledServersWithSSLCertIdRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithSSLCertIdRequest) Descriptor() ([]byte, []int) {
2020-09-30 17:46:33 +08:00
return file_service_server_proto_rawDescGZIP(), []int{26}
}
2020-10-02 17:22:46 +08:00
func (x *CountAllEnabledServersWithSSLCertIdRequest) GetCertId() int64 {
2020-09-30 17:46:33 +08:00
if x != nil {
return x.CertId
}
return 0
}
2020-10-02 17:22:46 +08:00
type CountAllEnabledServersWithSSLCertIdResponse struct {
2020-09-30 17:46:33 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
2020-10-02 17:22:46 +08:00
func (x *CountAllEnabledServersWithSSLCertIdResponse) Reset() {
*x = CountAllEnabledServersWithSSLCertIdResponse{}
2020-09-30 17:46:33 +08:00
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-10-02 17:22:46 +08:00
func (x *CountAllEnabledServersWithSSLCertIdResponse) String() string {
2020-09-30 17:46:33 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-10-02 17:22:46 +08:00
func (*CountAllEnabledServersWithSSLCertIdResponse) ProtoMessage() {}
2020-09-30 17:46:33 +08:00
2020-10-02 17:22:46 +08:00
func (x *CountAllEnabledServersWithSSLCertIdResponse) ProtoReflect() protoreflect.Message {
2020-09-30 17:46:33 +08:00
mi := &file_service_server_proto_msgTypes[27]
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)
}
2020-10-02 17:22:46 +08:00
// Deprecated: Use CountAllEnabledServersWithSSLCertIdResponse.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithSSLCertIdResponse) Descriptor() ([]byte, []int) {
2020-09-30 17:46:33 +08:00
return file_service_server_proto_rawDescGZIP(), []int{27}
}
2020-10-02 17:22:46 +08:00
func (x *CountAllEnabledServersWithSSLCertIdResponse) GetCount() int64 {
2020-09-30 17:46:33 +08:00
if x != nil {
return x.Count
}
return 0
}
// 查找使用某个SSL证书的所有服务
2020-10-02 17:22:46 +08:00
type FindAllEnabledServersWithSSLCertIdRequest struct {
2020-09-30 17:46:33 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CertId int64 `protobuf:"varint,1,opt,name=certId,proto3" json:"certId,omitempty"`
}
2020-10-02 17:22:46 +08:00
func (x *FindAllEnabledServersWithSSLCertIdRequest) Reset() {
*x = FindAllEnabledServersWithSSLCertIdRequest{}
2020-09-30 17:46:33 +08:00
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-10-02 17:22:46 +08:00
func (x *FindAllEnabledServersWithSSLCertIdRequest) String() string {
2020-09-30 17:46:33 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-10-02 17:22:46 +08:00
func (*FindAllEnabledServersWithSSLCertIdRequest) ProtoMessage() {}
2020-09-30 17:46:33 +08:00
2020-10-02 17:22:46 +08:00
func (x *FindAllEnabledServersWithSSLCertIdRequest) ProtoReflect() protoreflect.Message {
2020-09-30 17:46:33 +08:00
mi := &file_service_server_proto_msgTypes[28]
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)
}
2020-10-02 17:22:46 +08:00
// Deprecated: Use FindAllEnabledServersWithSSLCertIdRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithSSLCertIdRequest) Descriptor() ([]byte, []int) {
2020-09-30 17:46:33 +08:00
return file_service_server_proto_rawDescGZIP(), []int{28}
}
2020-10-02 17:22:46 +08:00
func (x *FindAllEnabledServersWithSSLCertIdRequest) GetCertId() int64 {
2020-09-30 17:46:33 +08:00
if x != nil {
return x.CertId
}
return 0
}
2020-10-02 17:22:46 +08:00
type FindAllEnabledServersWithSSLCertIdResponse struct {
2020-09-30 17:46:33 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
}
2020-10-02 17:22:46 +08:00
func (x *FindAllEnabledServersWithSSLCertIdResponse) Reset() {
*x = FindAllEnabledServersWithSSLCertIdResponse{}
2020-09-30 17:46:33 +08:00
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-10-02 17:22:46 +08:00
func (x *FindAllEnabledServersWithSSLCertIdResponse) String() string {
2020-09-30 17:46:33 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-10-02 17:22:46 +08:00
func (*FindAllEnabledServersWithSSLCertIdResponse) ProtoMessage() {}
2020-09-30 17:46:33 +08:00
2020-10-02 17:22:46 +08:00
func (x *FindAllEnabledServersWithSSLCertIdResponse) ProtoReflect() protoreflect.Message {
2020-09-30 17:46:33 +08:00
mi := &file_service_server_proto_msgTypes[29]
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)
}
2020-10-02 17:22:46 +08:00
// Deprecated: Use FindAllEnabledServersWithSSLCertIdResponse.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithSSLCertIdResponse) Descriptor() ([]byte, []int) {
2020-09-30 17:46:33 +08:00
return file_service_server_proto_rawDescGZIP(), []int{29}
}
2020-10-02 17:22:46 +08:00
func (x *FindAllEnabledServersWithSSLCertIdResponse) GetServers() []*Server {
if x != nil {
return x.Servers
}
return nil
}
// 计算使用某个缓存策略的服务数量
type CountAllEnabledServersWithCachePolicyIdRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CachePolicyId int64 `protobuf:"varint,1,opt,name=cachePolicyId,proto3" json:"cachePolicyId,omitempty"`
}
func (x *CountAllEnabledServersWithCachePolicyIdRequest) Reset() {
*x = CountAllEnabledServersWithCachePolicyIdRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledServersWithCachePolicyIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledServersWithCachePolicyIdRequest) ProtoMessage() {}
func (x *CountAllEnabledServersWithCachePolicyIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[30]
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 CountAllEnabledServersWithCachePolicyIdRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithCachePolicyIdRequest) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{30}
}
func (x *CountAllEnabledServersWithCachePolicyIdRequest) GetCachePolicyId() int64 {
if x != nil {
return x.CachePolicyId
}
return 0
}
type CountAllEnabledServersWithCachePolicyIdResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (x *CountAllEnabledServersWithCachePolicyIdResponse) Reset() {
*x = CountAllEnabledServersWithCachePolicyIdResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledServersWithCachePolicyIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledServersWithCachePolicyIdResponse) ProtoMessage() {}
func (x *CountAllEnabledServersWithCachePolicyIdResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[31]
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 CountAllEnabledServersWithCachePolicyIdResponse.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithCachePolicyIdResponse) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{31}
}
func (x *CountAllEnabledServersWithCachePolicyIdResponse) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
// 查找使用某个缓存策略的所有服务
type FindAllEnabledServersWithCachePolicyIdRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
CachePolicyId int64 `protobuf:"varint,1,opt,name=cachePolicyId,proto3" json:"cachePolicyId,omitempty"`
}
func (x *FindAllEnabledServersWithCachePolicyIdRequest) Reset() {
*x = FindAllEnabledServersWithCachePolicyIdRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllEnabledServersWithCachePolicyIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllEnabledServersWithCachePolicyIdRequest) ProtoMessage() {}
func (x *FindAllEnabledServersWithCachePolicyIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[32]
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 FindAllEnabledServersWithCachePolicyIdRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithCachePolicyIdRequest) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{32}
}
func (x *FindAllEnabledServersWithCachePolicyIdRequest) GetCachePolicyId() int64 {
if x != nil {
return x.CachePolicyId
}
return 0
}
type FindAllEnabledServersWithCachePolicyIdResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
}
func (x *FindAllEnabledServersWithCachePolicyIdResponse) Reset() {
*x = FindAllEnabledServersWithCachePolicyIdResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *FindAllEnabledServersWithCachePolicyIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindAllEnabledServersWithCachePolicyIdResponse) ProtoMessage() {}
func (x *FindAllEnabledServersWithCachePolicyIdResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[33]
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 FindAllEnabledServersWithCachePolicyIdResponse.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithCachePolicyIdResponse) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{33}
}
func (x *FindAllEnabledServersWithCachePolicyIdResponse) GetServers() []*Server {
2020-09-30 17:46:33 +08:00
if x != nil {
return x.Servers
}
return nil
}
2020-10-06 21:02:21 +08:00
// 计算使用某个WAF策略的服务数量
type CountAllEnabledServersWithHTTPFirewallPolicyIdRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
FirewallPolicyId int64 `protobuf:"varint,1,opt,name=firewallPolicyId,proto3" json:"firewallPolicyId,omitempty"`
}
func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) Reset() {
*x = CountAllEnabledServersWithHTTPFirewallPolicyIdRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoMessage() {}
func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[34]
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 CountAllEnabledServersWithHTTPFirewallPolicyIdRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{34}
}
func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) GetFirewallPolicyId() int64 {
if x != nil {
return x.FirewallPolicyId
}
return 0
}
type CountAllEnabledServersWithHTTPFirewallPolicyIdResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) Reset() {
*x = CountAllEnabledServersWithHTTPFirewallPolicyIdResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) ProtoMessage() {}
func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[35]
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 CountAllEnabledServersWithHTTPFirewallPolicyIdResponse.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{35}
}
func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdResponse) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
2020-10-25 16:22:40 +08:00
// 计算运行在某个集群上的所有服务数量
type CountAllEnabledServersWithNodeClusterIdRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
NodeClusterId int64 `protobuf:"varint,1,opt,name=nodeClusterId,proto3" json:"nodeClusterId,omitempty"`
}
func (x *CountAllEnabledServersWithNodeClusterIdRequest) Reset() {
*x = CountAllEnabledServersWithNodeClusterIdRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledServersWithNodeClusterIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledServersWithNodeClusterIdRequest) ProtoMessage() {}
func (x *CountAllEnabledServersWithNodeClusterIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[36]
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 CountAllEnabledServersWithNodeClusterIdRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithNodeClusterIdRequest) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{36}
}
func (x *CountAllEnabledServersWithNodeClusterIdRequest) GetNodeClusterId() int64 {
if x != nil {
return x.NodeClusterId
}
return 0
}
type CountAllEnabledServersWithNodeClusterIdResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (x *CountAllEnabledServersWithNodeClusterIdResponse) Reset() {
*x = CountAllEnabledServersWithNodeClusterIdResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_server_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledServersWithNodeClusterIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledServersWithNodeClusterIdResponse) ProtoMessage() {}
func (x *CountAllEnabledServersWithNodeClusterIdResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[37]
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 CountAllEnabledServersWithNodeClusterIdResponse.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithNodeClusterIdResponse) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{37}
}
func (x *CountAllEnabledServersWithNodeClusterIdResponse) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
2020-09-15 14:44:38 +08:00
var File_service_server_proto protoreflect.FileDescriptor
var file_service_server_proto_rawDesc = []byte{
0x0a, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x6d, 0x6f, 0x64, 0x65,
2020-09-17 10:15:55 +08:00
0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12,
0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
2020-09-21 11:37:09 +08:00
0x74, 0x6f, 0x22, 0x95, 0x04, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72,
2020-09-17 10:15:55 +08:00
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,
2020-09-21 11:37:09 +08:00
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, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 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,
2020-09-28 16:25:49 +08:00
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x9e,
2020-09-21 11:37:09 +08:00
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, 0x1c, 0x0a,
0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
2020-09-28 16:25:49 +08:00
0x52, 0x09, 0x63, 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, 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,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x52,
2020-09-21 11:37:09 +08:00
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,
2020-09-28 16:25:49 +08:00
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,
2020-09-21 11:37:09 +08:00
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
2020-09-28 16:25:49 +08:00
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,
2020-09-21 11:37:09 +08:00
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,
2020-09-28 16:25:49 +08:00
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, 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, 0x1f,
0x0a, 0x1d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
0x36, 0x0a, 0x1e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x47, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x45,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 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,
0x22, 0x42, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 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, 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, 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,
2020-09-21 11:37:09 +08:00
0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52,
2020-09-28 16:25:49 +08:00
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,
2020-10-02 17:22:46 +08:00
0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x44, 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, 0x16, 0x0a, 0x06, 0x63, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x03, 0x52, 0x06, 0x63, 0x65, 0x72, 0x74, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x2b, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72,
2020-09-30 17:46:33 +08:00
0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49,
2020-10-02 17:22:46 +08:00
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22,
0x43, 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, 0x16, 0x0a, 0x06,
0x63, 0x65, 0x72, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 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, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63,
0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x61,
0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64,
0x22, 0x47, 0x0a, 0x2f, 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, 0x43, 0x61,
0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x55, 0x0a, 0x2d, 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, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63,
0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x61,
0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x03, 0x52, 0x0d, 0x63, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64,
0x22, 0x56, 0x0a, 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, 0x43, 0x61, 0x63,
0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 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,
2020-10-06 21:02:21 +08:00
0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x63, 0x0a, 0x35, 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, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61,
0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c,
0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72,
0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x4e, 0x0a,
0x36, 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, 0x48, 0x54, 0x54, 0x50, 0x46,
0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
2020-10-25 16:22:40 +08:00
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 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, 0x47, 0x0a, 0x2f, 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, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xbd,
0x12, 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, 0x47, 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, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x45, 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, 0x14, 0x2e,
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63,
0x65, 0x73, 0x73, 0x12, 0x47, 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,
2020-10-02 17:22:46 +08:00
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x0f,
2020-10-25 16:22:40 +08:00
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x12,
2020-10-02 17:22:46 +08:00
0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65,
2020-10-25 16:22:40 +08:00
0x72, 0x54, 0x43, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62,
2020-10-02 17:22:46 +08:00
0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
2020-10-06 21:02:21 +08:00
0x73, 0x12, 0x43, 0x0a, 0x0f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65,
2020-10-25 16:22:40 +08:00
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,
2020-10-06 21:02:21 +08:00
0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53,
2020-10-25 16:22:40 +08:00
0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x45, 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,
2020-10-06 21:02:21 +08:00
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
2020-10-25 16:22:40 +08:00
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 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, 0x14, 0x2e, 0x70,
0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x12, 0x43, 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, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x55, 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, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x47,
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, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x5f, 0x0a, 0x16, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x73, 0x12, 0x21, 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, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41,
2020-10-02 17:22:46 +08:00
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73,
2020-10-25 16:22:40 +08:00
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x6c, 0x69, 0x73, 0x74,
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x1d,
0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e,
2020-10-06 21:02:21 +08:00
0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65,
2020-10-25 16:22:40 +08:00
0x72, 0x76, 0x65, 0x72, 0x73, 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,
2020-10-06 21:02:21 +08:00
0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65,
2020-10-25 16:22:40 +08:00
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, 0x86, 0x01, 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, 0x2f, 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, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
2020-10-06 21:02:21 +08:00
0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68,
2020-10-25 16:22:40 +08:00
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, 0x70, 0x62, 0x2e, 0x46, 0x69,
2020-10-06 21:02:21 +08:00
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,
2020-10-25 16:22:40 +08:00
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x92, 0x01, 0x0a, 0x27, 0x63, 0x6f, 0x75,
2020-10-06 21:02:21 +08:00
0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76,
0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69,
2020-10-25 16:22:40 +08:00
0x63, 0x79, 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, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 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, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c,
0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8f, 0x01,
0x0a, 0x26, 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, 0x43, 0x61, 0x63, 0x68, 0x65,
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 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, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69,
0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x62,
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53,
2020-10-06 21:02:21 +08:00
0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50,
2020-10-25 16:22:40 +08:00
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0xa7, 0x01, 0x0a, 0x2e, 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, 0x48, 0x54,
0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
0x49, 0x64, 0x12, 0x39, 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, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f,
0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e,
0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
2020-10-06 21:02:21 +08:00
0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x48, 0x54, 0x54,
0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
2020-10-25 16:22:40 +08:00
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x92, 0x01, 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, 0x33, 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, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06,
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2020-09-15 14:44:38 +08:00
}
var (
file_service_server_proto_rawDescOnce sync.Once
file_service_server_proto_rawDescData = file_service_server_proto_rawDesc
)
func file_service_server_proto_rawDescGZIP() []byte {
file_service_server_proto_rawDescOnce.Do(func() {
file_service_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_service_server_proto_rawDescData)
})
return file_service_server_proto_rawDescData
}
2020-10-25 16:22:40 +08:00
var file_service_server_proto_msgTypes = make([]protoimpl.MessageInfo, 38)
2020-09-15 14:44:38 +08:00
var file_service_server_proto_goTypes = []interface{}{
2020-10-06 21:02:21 +08:00
(*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
(*UpdateServerNamesRequest)(nil), // 11: pb.UpdateServerNamesRequest
(*CountAllEnabledServersRequest)(nil), // 12: pb.CountAllEnabledServersRequest
(*CountAllEnabledServersResponse)(nil), // 13: pb.CountAllEnabledServersResponse
(*ListEnabledServersRequest)(nil), // 14: pb.ListEnabledServersRequest
(*ListEnabledServersResponse)(nil), // 15: pb.ListEnabledServersResponse
(*DisableServerRequest)(nil), // 16: pb.DisableServerRequest
(*DisableServerResponse)(nil), // 17: pb.DisableServerResponse
(*FindEnabledServerRequest)(nil), // 18: pb.FindEnabledServerRequest
(*FindEnabledServerResponse)(nil), // 19: pb.FindEnabledServerResponse
(*FindEnabledServerTypeRequest)(nil), // 20: pb.FindEnabledServerTypeRequest
(*FindEnabledServerTypeResponse)(nil), // 21: pb.FindEnabledServerTypeResponse
(*FindAndInitServerReverseProxyConfigRequest)(nil), // 22: pb.FindAndInitServerReverseProxyConfigRequest
(*FindAndInitServerReverseProxyConfigResponse)(nil), // 23: pb.FindAndInitServerReverseProxyConfigResponse
(*FindAndInitServerWebConfigRequest)(nil), // 24: pb.FindAndInitServerWebConfigRequest
(*FindAndInitServerWebConfigResponse)(nil), // 25: pb.FindAndInitServerWebConfigResponse
(*CountAllEnabledServersWithSSLCertIdRequest)(nil), // 26: pb.CountAllEnabledServersWithSSLCertIdRequest
(*CountAllEnabledServersWithSSLCertIdResponse)(nil), // 27: pb.CountAllEnabledServersWithSSLCertIdResponse
(*FindAllEnabledServersWithSSLCertIdRequest)(nil), // 28: pb.FindAllEnabledServersWithSSLCertIdRequest
(*FindAllEnabledServersWithSSLCertIdResponse)(nil), // 29: pb.FindAllEnabledServersWithSSLCertIdResponse
(*CountAllEnabledServersWithCachePolicyIdRequest)(nil), // 30: pb.CountAllEnabledServersWithCachePolicyIdRequest
(*CountAllEnabledServersWithCachePolicyIdResponse)(nil), // 31: pb.CountAllEnabledServersWithCachePolicyIdResponse
(*FindAllEnabledServersWithCachePolicyIdRequest)(nil), // 32: pb.FindAllEnabledServersWithCachePolicyIdRequest
(*FindAllEnabledServersWithCachePolicyIdResponse)(nil), // 33: pb.FindAllEnabledServersWithCachePolicyIdResponse
(*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest)(nil), // 34: pb.CountAllEnabledServersWithHTTPFirewallPolicyIdRequest
(*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse)(nil), // 35: pb.CountAllEnabledServersWithHTTPFirewallPolicyIdResponse
2020-10-25 16:22:40 +08:00
(*CountAllEnabledServersWithNodeClusterIdRequest)(nil), // 36: pb.CountAllEnabledServersWithNodeClusterIdRequest
(*CountAllEnabledServersWithNodeClusterIdResponse)(nil), // 37: pb.CountAllEnabledServersWithNodeClusterIdResponse
(*Server)(nil), // 38: pb.Server
(*RPCUpdateSuccess)(nil), // 39: pb.RPCUpdateSuccess
2020-09-15 14:44:38 +08:00
}
var file_service_server_proto_depIdxs = []int32{
2020-10-25 16:22:40 +08:00
38, // 0: pb.ListEnabledServersResponse.servers:type_name -> pb.Server
38, // 1: pb.FindEnabledServerResponse.server:type_name -> pb.Server
38, // 2: pb.FindAllEnabledServersWithSSLCertIdResponse.servers:type_name -> pb.Server
38, // 3: pb.FindAllEnabledServersWithCachePolicyIdResponse.servers:type_name -> pb.Server
2020-10-02 17:22:46 +08:00
0, // 4: pb.ServerService.createServer:input_type -> pb.CreateServerRequest
2, // 5: pb.ServerService.updateServerBasic:input_type -> pb.UpdateServerBasicRequest
3, // 6: pb.ServerService.updateServerHTTP:input_type -> pb.UpdateServerHTTPRequest
4, // 7: pb.ServerService.updateServerHTTPS:input_type -> pb.UpdateServerHTTPSRequest
5, // 8: pb.ServerService.updateServerTCP:input_type -> pb.UpdateServerTCPRequest
6, // 9: pb.ServerService.updateServerTLS:input_type -> pb.UpdateServerTLSRequest
7, // 10: pb.ServerService.updateServerUnix:input_type -> pb.UpdateServerUnixRequest
8, // 11: pb.ServerService.updateServerUDP:input_type -> pb.UpdateServerUDPRequest
9, // 12: pb.ServerService.updateServerWeb:input_type -> pb.UpdateServerWebRequest
10, // 13: pb.ServerService.updateServerReverseProxy:input_type -> pb.UpdateServerReverseProxyRequest
11, // 14: pb.ServerService.updateServerNames:input_type -> pb.UpdateServerNamesRequest
12, // 15: pb.ServerService.countAllEnabledServers:input_type -> pb.CountAllEnabledServersRequest
14, // 16: pb.ServerService.listEnabledServers:input_type -> pb.ListEnabledServersRequest
16, // 17: pb.ServerService.disableServer:input_type -> pb.DisableServerRequest
18, // 18: pb.ServerService.findEnabledServer:input_type -> pb.FindEnabledServerRequest
20, // 19: pb.ServerService.findEnabledServerType:input_type -> pb.FindEnabledServerTypeRequest
22, // 20: pb.ServerService.findAndInitServerReverseProxyConfig:input_type -> pb.FindAndInitServerReverseProxyConfigRequest
24, // 21: pb.ServerService.findAndInitServerWebConfig:input_type -> pb.FindAndInitServerWebConfigRequest
26, // 22: pb.ServerService.countAllEnabledServersWithSSLCertId:input_type -> pb.CountAllEnabledServersWithSSLCertIdRequest
28, // 23: pb.ServerService.findAllEnabledServersWithSSLCertId:input_type -> pb.FindAllEnabledServersWithSSLCertIdRequest
30, // 24: pb.ServerService.countAllEnabledServersWithCachePolicyId:input_type -> pb.CountAllEnabledServersWithCachePolicyIdRequest
32, // 25: pb.ServerService.findAllEnabledServersWithCachePolicyId:input_type -> pb.FindAllEnabledServersWithCachePolicyIdRequest
2020-10-06 21:02:21 +08:00
34, // 26: pb.ServerService.countAllEnabledServersWithHTTPFirewallPolicyId:input_type -> pb.CountAllEnabledServersWithHTTPFirewallPolicyIdRequest
2020-10-25 16:22:40 +08:00
36, // 27: pb.ServerService.countAllEnabledServersWithNodeClusterId:input_type -> pb.CountAllEnabledServersWithNodeClusterIdRequest
1, // 28: pb.ServerService.createServer:output_type -> pb.CreateServerResponse
39, // 29: pb.ServerService.updateServerBasic:output_type -> pb.RPCUpdateSuccess
39, // 30: pb.ServerService.updateServerHTTP:output_type -> pb.RPCUpdateSuccess
39, // 31: pb.ServerService.updateServerHTTPS:output_type -> pb.RPCUpdateSuccess
39, // 32: pb.ServerService.updateServerTCP:output_type -> pb.RPCUpdateSuccess
39, // 33: pb.ServerService.updateServerTLS:output_type -> pb.RPCUpdateSuccess
39, // 34: pb.ServerService.updateServerUnix:output_type -> pb.RPCUpdateSuccess
39, // 35: pb.ServerService.updateServerUDP:output_type -> pb.RPCUpdateSuccess
39, // 36: pb.ServerService.updateServerWeb:output_type -> pb.RPCUpdateSuccess
39, // 37: pb.ServerService.updateServerReverseProxy:output_type -> pb.RPCUpdateSuccess
39, // 38: pb.ServerService.updateServerNames:output_type -> pb.RPCUpdateSuccess
13, // 39: pb.ServerService.countAllEnabledServers:output_type -> pb.CountAllEnabledServersResponse
15, // 40: pb.ServerService.listEnabledServers:output_type -> pb.ListEnabledServersResponse
17, // 41: pb.ServerService.disableServer:output_type -> pb.DisableServerResponse
19, // 42: pb.ServerService.findEnabledServer:output_type -> pb.FindEnabledServerResponse
21, // 43: pb.ServerService.findEnabledServerType:output_type -> pb.FindEnabledServerTypeResponse
23, // 44: pb.ServerService.findAndInitServerReverseProxyConfig:output_type -> pb.FindAndInitServerReverseProxyConfigResponse
25, // 45: pb.ServerService.findAndInitServerWebConfig:output_type -> pb.FindAndInitServerWebConfigResponse
27, // 46: pb.ServerService.countAllEnabledServersWithSSLCertId:output_type -> pb.CountAllEnabledServersWithSSLCertIdResponse
29, // 47: pb.ServerService.findAllEnabledServersWithSSLCertId:output_type -> pb.FindAllEnabledServersWithSSLCertIdResponse
31, // 48: pb.ServerService.countAllEnabledServersWithCachePolicyId:output_type -> pb.CountAllEnabledServersWithCachePolicyIdResponse
33, // 49: pb.ServerService.findAllEnabledServersWithCachePolicyId:output_type -> pb.FindAllEnabledServersWithCachePolicyIdResponse
35, // 50: pb.ServerService.countAllEnabledServersWithHTTPFirewallPolicyId:output_type -> pb.CountAllEnabledServersWithHTTPFirewallPolicyIdResponse
37, // 51: pb.ServerService.countAllEnabledServersWithNodeClusterId:output_type -> pb.CountAllEnabledServersWithNodeClusterIdResponse
28, // [28:52] is the sub-list for method output_type
4, // [4:28] is the sub-list for method input_type
2020-10-02 17:22:46 +08:00
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
2020-09-13 19:27:47 +08:00
}
func init() { file_service_server_proto_init() }
func file_service_server_proto_init() {
if File_service_server_proto != nil {
return
}
file_model_server_proto_init()
2020-09-17 10:15:55 +08:00
file_rpc_messages_proto_init()
2020-09-13 19:27:47 +08:00
if !protoimpl.UnsafeEnabled {
file_service_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateServerRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateServerResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerBasicRequest); i {
2020-09-13 19:27:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerHTTPRequest); i {
2020-09-13 19:27:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerHTTPSRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerTCPRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerTLSRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerUnixRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerUDPRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerWebRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerReverseProxyRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*UpdateServerNamesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*CountAllEnabledServersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2020-09-13 19:27:47 +08:00
switch v := v.(*CountAllEnabledServersResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*ListEnabledServersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*ListEnabledServersResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*DisableServerRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*DisableServerResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*FindEnabledServerRequest); i {
2020-09-13 19:27:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*FindEnabledServerResponse); i {
2020-09-13 19:27:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*FindEnabledServerTypeRequest); i {
2020-09-13 19:27:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
2020-09-15 14:44:38 +08:00
switch v := v.(*FindEnabledServerTypeResponse); i {
2020-09-13 19:27:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
2020-09-21 11:37:09 +08:00
switch v := v.(*FindAndInitServerReverseProxyConfigRequest); i {
2020-09-13 19:27:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
2020-09-21 11:37:09 +08:00
switch v := v.(*FindAndInitServerReverseProxyConfigResponse); i {
2020-09-16 09:09:31 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
2020-09-21 19:52:10 +08:00
switch v := v.(*FindAndInitServerWebConfigRequest); i {
2020-09-16 09:09:31 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-17 10:15:55 +08:00
file_service_server_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
2020-09-21 19:52:10 +08:00
switch v := v.(*FindAndInitServerWebConfigResponse); i {
2020-09-13 19:27:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-30 17:46:33 +08:00
file_service_server_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
2020-10-02 17:22:46 +08:00
switch v := v.(*CountAllEnabledServersWithSSLCertIdRequest); i {
2020-09-30 17:46:33 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
2020-10-02 17:22:46 +08:00
switch v := v.(*CountAllEnabledServersWithSSLCertIdResponse); i {
2020-09-30 17:46:33 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
2020-10-02 17:22:46 +08:00
switch v := v.(*FindAllEnabledServersWithSSLCertIdRequest); i {
2020-09-30 17:46:33 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
2020-10-02 17:22:46 +08:00
switch v := v.(*FindAllEnabledServersWithSSLCertIdResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledServersWithCachePolicyIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledServersWithCachePolicyIdResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledServersWithCachePolicyIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledServersWithCachePolicyIdResponse); i {
2020-09-30 17:46:33 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-10-06 21:02:21 +08:00
file_service_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-10-25 16:22:40 +08:00
file_service_server_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledServersWithNodeClusterIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_server_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledServersWithNodeClusterIdResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-09-13 19:27:47 +08:00
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_service_server_proto_rawDesc,
NumEnums: 0,
2020-10-25 16:22:40 +08:00
NumMessages: 38,
2020-09-13 19:27:47 +08:00
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_service_server_proto_goTypes,
DependencyIndexes: file_service_server_proto_depIdxs,
MessageInfos: file_service_server_proto_msgTypes,
}.Build()
File_service_server_proto = out.File
file_service_server_proto_rawDesc = nil
file_service_server_proto_goTypes = nil
file_service_server_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// ServerServiceClient is the client API for ServerService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ServerServiceClient interface {
// 创建服务
CreateServer(ctx context.Context, in *CreateServerRequest, opts ...grpc.CallOption) (*CreateServerResponse, error)
2020-09-15 14:44:38 +08:00
// 修改服务基本信息
2020-09-17 10:15:55 +08:00
UpdateServerBasic(ctx context.Context, in *UpdateServerBasicRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的HTTP设置
2020-09-17 10:15:55 +08:00
UpdateServerHTTP(ctx context.Context, in *UpdateServerHTTPRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的HTTPS设置
2020-09-17 10:15:55 +08:00
UpdateServerHTTPS(ctx context.Context, in *UpdateServerHTTPSRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的TCP设置
2020-09-17 10:15:55 +08:00
UpdateServerTCP(ctx context.Context, in *UpdateServerTCPRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的TLS设置
2020-09-17 10:15:55 +08:00
UpdateServerTLS(ctx context.Context, in *UpdateServerTLSRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的Unix设置
2020-09-17 10:15:55 +08:00
UpdateServerUnix(ctx context.Context, in *UpdateServerUnixRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的UDP设置
2020-09-17 10:15:55 +08:00
UpdateServerUDP(ctx context.Context, in *UpdateServerUDPRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的Web设置
2020-09-17 10:15:55 +08:00
UpdateServerWeb(ctx context.Context, in *UpdateServerWebRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的反向代理设置
2020-09-17 10:15:55 +08:00
UpdateServerReverseProxy(ctx context.Context, in *UpdateServerReverseProxyRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的域名设置
2020-09-17 10:15:55 +08:00
UpdateServerNames(ctx context.Context, in *UpdateServerNamesRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error)
2020-09-13 19:27:47 +08:00
// 计算服务数量
CountAllEnabledServers(ctx context.Context, in *CountAllEnabledServersRequest, opts ...grpc.CallOption) (*CountAllEnabledServersResponse, error)
// 列出单页服务
ListEnabledServers(ctx context.Context, in *ListEnabledServersRequest, opts ...grpc.CallOption) (*ListEnabledServersResponse, error)
// 禁用某服务
DisableServer(ctx context.Context, in *DisableServerRequest, opts ...grpc.CallOption) (*DisableServerResponse, error)
// 查找单个服务
FindEnabledServer(ctx context.Context, in *FindEnabledServerRequest, opts ...grpc.CallOption) (*FindEnabledServerResponse, error)
2020-09-15 14:44:38 +08:00
// 查找服务的服务类型
FindEnabledServerType(ctx context.Context, in *FindEnabledServerTypeRequest, opts ...grpc.CallOption) (*FindEnabledServerTypeResponse, error)
// 查找反向代理设置
2020-09-21 11:37:09 +08:00
FindAndInitServerReverseProxyConfig(ctx context.Context, in *FindAndInitServerReverseProxyConfigRequest, opts ...grpc.CallOption) (*FindAndInitServerReverseProxyConfigResponse, error)
2020-09-16 09:09:31 +08:00
// 初始化Web设置
2020-09-21 19:52:10 +08:00
FindAndInitServerWebConfig(ctx context.Context, in *FindAndInitServerWebConfigRequest, opts ...grpc.CallOption) (*FindAndInitServerWebConfigResponse, error)
2020-09-30 17:46:33 +08:00
// 计算使用某个SSL证书的服务数量
2020-10-02 17:22:46 +08:00
CountAllEnabledServersWithSSLCertId(ctx context.Context, in *CountAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithSSLCertIdResponse, error)
2020-09-30 17:46:33 +08:00
// 查找使用某个SSL证书的所有服务
2020-10-02 17:22:46 +08:00
FindAllEnabledServersWithSSLCertId(ctx context.Context, in *FindAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithSSLCertIdResponse, error)
// 计算使用某个缓存策略的服务数量
CountAllEnabledServersWithCachePolicyId(ctx context.Context, in *CountAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithCachePolicyIdResponse, error)
// 查找使用某个缓存策略的所有服务
FindAllEnabledServersWithCachePolicyId(ctx context.Context, in *FindAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithCachePolicyIdResponse, error)
2020-10-06 21:02:21 +08:00
// 计算使用某个WAF策略的服务数量
CountAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse, error)
2020-10-25 16:22:40 +08:00
// 计算运行在某个集群上的所有服务数量
CountAllEnabledServersWithNodeClusterId(ctx context.Context, in *CountAllEnabledServersWithNodeClusterIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithNodeClusterIdResponse, error)
2020-09-13 19:27:47 +08:00
}
type serverServiceClient struct {
cc grpc.ClientConnInterface
}
func NewServerServiceClient(cc grpc.ClientConnInterface) ServerServiceClient {
return &serverServiceClient{cc}
}
func (c *serverServiceClient) CreateServer(ctx context.Context, in *CreateServerRequest, opts ...grpc.CallOption) (*CreateServerResponse, error) {
out := new(CreateServerResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/createServer", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerBasic(ctx context.Context, in *UpdateServerBasicRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerBasic", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerHTTP(ctx context.Context, in *UpdateServerHTTPRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerHTTP", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerHTTPS(ctx context.Context, in *UpdateServerHTTPSRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerHTTPS", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerTCP(ctx context.Context, in *UpdateServerTCPRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerTCP", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerTLS(ctx context.Context, in *UpdateServerTLSRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerTLS", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerUnix(ctx context.Context, in *UpdateServerUnixRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerUnix", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerUDP(ctx context.Context, in *UpdateServerUDPRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerUDP", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerWeb(ctx context.Context, in *UpdateServerWebRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerWeb", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerReverseProxy(ctx context.Context, in *UpdateServerReverseProxyRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerReverseProxy", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-17 10:15:55 +08:00
func (c *serverServiceClient) UpdateServerNames(ctx context.Context, in *UpdateServerNamesRequest, opts ...grpc.CallOption) (*RPCUpdateSuccess, error) {
out := new(RPCUpdateSuccess)
2020-09-15 14:44:38 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/updateServerNames", in, out, opts...)
2020-09-13 19:27:47 +08:00
if err != nil {
return nil, err
}
return out, nil
}
func (c *serverServiceClient) CountAllEnabledServers(ctx context.Context, in *CountAllEnabledServersRequest, opts ...grpc.CallOption) (*CountAllEnabledServersResponse, error) {
out := new(CountAllEnabledServersResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServers", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serverServiceClient) ListEnabledServers(ctx context.Context, in *ListEnabledServersRequest, opts ...grpc.CallOption) (*ListEnabledServersResponse, error) {
out := new(ListEnabledServersResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/listEnabledServers", in, out, opts...)
if err != nil {
return nil, err
}
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...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serverServiceClient) FindEnabledServer(ctx context.Context, in *FindEnabledServerRequest, opts ...grpc.CallOption) (*FindEnabledServerResponse, error) {
out := new(FindEnabledServerResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/findEnabledServer", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-15 14:44:38 +08:00
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...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-21 11:37:09 +08:00
func (c *serverServiceClient) FindAndInitServerReverseProxyConfig(ctx context.Context, in *FindAndInitServerReverseProxyConfigRequest, opts ...grpc.CallOption) (*FindAndInitServerReverseProxyConfigResponse, error) {
out := new(FindAndInitServerReverseProxyConfigResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/findAndInitServerReverseProxyConfig", in, out, opts...)
2020-09-16 09:09:31 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2020-09-21 19:52:10 +08:00
func (c *serverServiceClient) FindAndInitServerWebConfig(ctx context.Context, in *FindAndInitServerWebConfigRequest, opts ...grpc.CallOption) (*FindAndInitServerWebConfigResponse, error) {
out := new(FindAndInitServerWebConfigResponse)
2020-09-16 20:29:26 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/findAndInitServerWebConfig", in, out, opts...)
2020-09-15 14:44:38 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2020-10-02 17:22:46 +08:00
func (c *serverServiceClient) CountAllEnabledServersWithSSLCertId(ctx context.Context, in *CountAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithSSLCertIdResponse, error) {
out := new(CountAllEnabledServersWithSSLCertIdResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithSSLCertId", in, out, opts...)
2020-09-30 17:46:33 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2020-10-02 17:22:46 +08:00
func (c *serverServiceClient) FindAllEnabledServersWithSSLCertId(ctx context.Context, in *FindAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithSSLCertIdResponse, error) {
out := new(FindAllEnabledServersWithSSLCertIdResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/findAllEnabledServersWithSSLCertId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serverServiceClient) CountAllEnabledServersWithCachePolicyId(ctx context.Context, in *CountAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithCachePolicyIdResponse, error) {
out := new(CountAllEnabledServersWithCachePolicyIdResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithCachePolicyId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serverServiceClient) FindAllEnabledServersWithCachePolicyId(ctx context.Context, in *FindAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithCachePolicyIdResponse, error) {
out := new(FindAllEnabledServersWithCachePolicyIdResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/findAllEnabledServersWithCachePolicyId", in, out, opts...)
2020-09-30 17:46:33 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2020-10-06 21:02:21 +08:00
func (c *serverServiceClient) CountAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) {
out := new(CountAllEnabledServersWithHTTPFirewallPolicyIdResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithHTTPFirewallPolicyId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-10-25 16:22:40 +08:00
func (c *serverServiceClient) CountAllEnabledServersWithNodeClusterId(ctx context.Context, in *CountAllEnabledServersWithNodeClusterIdRequest, opts ...grpc.CallOption) (*CountAllEnabledServersWithNodeClusterIdResponse, error) {
out := new(CountAllEnabledServersWithNodeClusterIdResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithNodeClusterId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-09-13 19:27:47 +08:00
// ServerServiceServer is the server API for ServerService service.
type ServerServiceServer interface {
// 创建服务
CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error)
2020-09-15 14:44:38 +08:00
// 修改服务基本信息
2020-09-17 10:15:55 +08:00
UpdateServerBasic(context.Context, *UpdateServerBasicRequest) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的HTTP设置
2020-09-17 10:15:55 +08:00
UpdateServerHTTP(context.Context, *UpdateServerHTTPRequest) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的HTTPS设置
2020-09-17 10:15:55 +08:00
UpdateServerHTTPS(context.Context, *UpdateServerHTTPSRequest) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的TCP设置
2020-09-17 10:15:55 +08:00
UpdateServerTCP(context.Context, *UpdateServerTCPRequest) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的TLS设置
2020-09-17 10:15:55 +08:00
UpdateServerTLS(context.Context, *UpdateServerTLSRequest) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的Unix设置
2020-09-17 10:15:55 +08:00
UpdateServerUnix(context.Context, *UpdateServerUnixRequest) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的UDP设置
2020-09-17 10:15:55 +08:00
UpdateServerUDP(context.Context, *UpdateServerUDPRequest) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的Web设置
2020-09-17 10:15:55 +08:00
UpdateServerWeb(context.Context, *UpdateServerWebRequest) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的反向代理设置
2020-09-17 10:15:55 +08:00
UpdateServerReverseProxy(context.Context, *UpdateServerReverseProxyRequest) (*RPCUpdateSuccess, error)
2020-09-15 14:44:38 +08:00
// 修改服务的域名设置
2020-09-17 10:15:55 +08:00
UpdateServerNames(context.Context, *UpdateServerNamesRequest) (*RPCUpdateSuccess, error)
2020-09-13 19:27:47 +08:00
// 计算服务数量
CountAllEnabledServers(context.Context, *CountAllEnabledServersRequest) (*CountAllEnabledServersResponse, error)
// 列出单页服务
ListEnabledServers(context.Context, *ListEnabledServersRequest) (*ListEnabledServersResponse, error)
// 禁用某服务
DisableServer(context.Context, *DisableServerRequest) (*DisableServerResponse, error)
// 查找单个服务
FindEnabledServer(context.Context, *FindEnabledServerRequest) (*FindEnabledServerResponse, error)
2020-09-15 14:44:38 +08:00
// 查找服务的服务类型
FindEnabledServerType(context.Context, *FindEnabledServerTypeRequest) (*FindEnabledServerTypeResponse, error)
// 查找反向代理设置
2020-09-21 11:37:09 +08:00
FindAndInitServerReverseProxyConfig(context.Context, *FindAndInitServerReverseProxyConfigRequest) (*FindAndInitServerReverseProxyConfigResponse, error)
2020-09-16 09:09:31 +08:00
// 初始化Web设置
2020-09-21 19:52:10 +08:00
FindAndInitServerWebConfig(context.Context, *FindAndInitServerWebConfigRequest) (*FindAndInitServerWebConfigResponse, error)
2020-09-30 17:46:33 +08:00
// 计算使用某个SSL证书的服务数量
2020-10-02 17:22:46 +08:00
CountAllEnabledServersWithSSLCertId(context.Context, *CountAllEnabledServersWithSSLCertIdRequest) (*CountAllEnabledServersWithSSLCertIdResponse, error)
2020-09-30 17:46:33 +08:00
// 查找使用某个SSL证书的所有服务
2020-10-02 17:22:46 +08:00
FindAllEnabledServersWithSSLCertId(context.Context, *FindAllEnabledServersWithSSLCertIdRequest) (*FindAllEnabledServersWithSSLCertIdResponse, error)
// 计算使用某个缓存策略的服务数量
CountAllEnabledServersWithCachePolicyId(context.Context, *CountAllEnabledServersWithCachePolicyIdRequest) (*CountAllEnabledServersWithCachePolicyIdResponse, error)
// 查找使用某个缓存策略的所有服务
FindAllEnabledServersWithCachePolicyId(context.Context, *FindAllEnabledServersWithCachePolicyIdRequest) (*FindAllEnabledServersWithCachePolicyIdResponse, error)
2020-10-06 21:02:21 +08:00
// 计算使用某个WAF策略的服务数量
CountAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse, error)
2020-10-25 16:22:40 +08:00
// 计算运行在某个集群上的所有服务数量
CountAllEnabledServersWithNodeClusterId(context.Context, *CountAllEnabledServersWithNodeClusterIdRequest) (*CountAllEnabledServersWithNodeClusterIdResponse, error)
2020-09-13 19:27:47 +08:00
}
// UnimplementedServerServiceServer can be embedded to have forward compatible implementations.
type UnimplementedServerServiceServer struct {
}
func (*UnimplementedServerServiceServer) CreateServer(context.Context, *CreateServerRequest) (*CreateServerResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateServer not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerBasic(context.Context, *UpdateServerBasicRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerBasic not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerHTTP(context.Context, *UpdateServerHTTPRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerHTTP not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerHTTPS(context.Context, *UpdateServerHTTPSRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerHTTPS not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerTCP(context.Context, *UpdateServerTCPRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerTCP not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerTLS(context.Context, *UpdateServerTLSRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerTLS not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerUnix(context.Context, *UpdateServerUnixRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerUnix not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerUDP(context.Context, *UpdateServerUDPRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerUDP not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerWeb(context.Context, *UpdateServerWebRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerWeb not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerReverseProxy(context.Context, *UpdateServerReverseProxyRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerReverseProxy not implemented")
}
2020-09-17 10:15:55 +08:00
func (*UnimplementedServerServiceServer) UpdateServerNames(context.Context, *UpdateServerNamesRequest) (*RPCUpdateSuccess, error) {
2020-09-15 14:44:38 +08:00
return nil, status.Errorf(codes.Unimplemented, "method UpdateServerNames not implemented")
2020-09-13 19:27:47 +08:00
}
func (*UnimplementedServerServiceServer) CountAllEnabledServers(context.Context, *CountAllEnabledServersRequest) (*CountAllEnabledServersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServers not implemented")
}
func (*UnimplementedServerServiceServer) ListEnabledServers(context.Context, *ListEnabledServersRequest) (*ListEnabledServersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListEnabledServers not implemented")
}
func (*UnimplementedServerServiceServer) DisableServer(context.Context, *DisableServerRequest) (*DisableServerResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DisableServer not implemented")
}
func (*UnimplementedServerServiceServer) FindEnabledServer(context.Context, *FindEnabledServerRequest) (*FindEnabledServerResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledServer not implemented")
}
2020-09-15 14:44:38 +08:00
func (*UnimplementedServerServiceServer) FindEnabledServerType(context.Context, *FindEnabledServerTypeRequest) (*FindEnabledServerTypeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledServerType not implemented")
}
2020-09-21 11:37:09 +08:00
func (*UnimplementedServerServiceServer) FindAndInitServerReverseProxyConfig(context.Context, *FindAndInitServerReverseProxyConfigRequest) (*FindAndInitServerReverseProxyConfigResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAndInitServerReverseProxyConfig not implemented")
2020-09-16 09:09:31 +08:00
}
2020-09-21 19:52:10 +08:00
func (*UnimplementedServerServiceServer) FindAndInitServerWebConfig(context.Context, *FindAndInitServerWebConfigRequest) (*FindAndInitServerWebConfigResponse, error) {
2020-09-16 20:29:26 +08:00
return nil, status.Errorf(codes.Unimplemented, "method FindAndInitServerWebConfig not implemented")
2020-09-15 14:44:38 +08:00
}
2020-10-02 17:22:46 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersWithSSLCertId(context.Context, *CountAllEnabledServersWithSSLCertIdRequest) (*CountAllEnabledServersWithSSLCertIdResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithSSLCertId not implemented")
}
func (*UnimplementedServerServiceServer) FindAllEnabledServersWithSSLCertId(context.Context, *FindAllEnabledServersWithSSLCertIdRequest) (*FindAllEnabledServersWithSSLCertIdResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledServersWithSSLCertId not implemented")
2020-09-30 17:46:33 +08:00
}
2020-10-02 17:22:46 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersWithCachePolicyId(context.Context, *CountAllEnabledServersWithCachePolicyIdRequest) (*CountAllEnabledServersWithCachePolicyIdResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithCachePolicyId not implemented")
}
func (*UnimplementedServerServiceServer) FindAllEnabledServersWithCachePolicyId(context.Context, *FindAllEnabledServersWithCachePolicyIdRequest) (*FindAllEnabledServersWithCachePolicyIdResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledServersWithCachePolicyId not implemented")
2020-09-30 17:46:33 +08:00
}
2020-10-06 21:02:21 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*CountAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithHTTPFirewallPolicyId not implemented")
}
2020-10-25 16:22:40 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersWithNodeClusterId(context.Context, *CountAllEnabledServersWithNodeClusterIdRequest) (*CountAllEnabledServersWithNodeClusterIdResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithNodeClusterId not implemented")
}
2020-09-13 19:27:47 +08:00
func RegisterServerServiceServer(s *grpc.Server, srv ServerServiceServer) {
s.RegisterService(&_ServerService_serviceDesc, srv)
}
func _ServerService_CreateServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateServerRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).CreateServer(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/CreateServer",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).CreateServer(ctx, req.(*CreateServerRequest))
}
return interceptor(ctx, in, info, handler)
}
2020-09-15 14:44:38 +08:00
func _ServerService_UpdateServerBasic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServerBasicRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).UpdateServerBasic(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/UpdateServerBasic",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).UpdateServerBasic(ctx, req.(*UpdateServerBasicRequest))
}
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 {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).UpdateServerHTTP(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/UpdateServerHTTP",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).UpdateServerHTTP(ctx, req.(*UpdateServerHTTPRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_UpdateServerHTTPS_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServerHTTPSRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).UpdateServerHTTPS(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/UpdateServerHTTPS",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).UpdateServerHTTPS(ctx, req.(*UpdateServerHTTPSRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_UpdateServerTCP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServerTCPRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).UpdateServerTCP(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/UpdateServerTCP",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).UpdateServerTCP(ctx, req.(*UpdateServerTCPRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_UpdateServerTLS_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServerTLSRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).UpdateServerTLS(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/UpdateServerTLS",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).UpdateServerTLS(ctx, req.(*UpdateServerTLSRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_UpdateServerUnix_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServerUnixRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).UpdateServerUnix(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/UpdateServerUnix",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).UpdateServerUnix(ctx, req.(*UpdateServerUnixRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_UpdateServerUDP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServerUDPRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).UpdateServerUDP(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/UpdateServerUDP",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).UpdateServerUDP(ctx, req.(*UpdateServerUDPRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_UpdateServerWeb_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServerWebRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).UpdateServerWeb(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/UpdateServerWeb",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).UpdateServerWeb(ctx, req.(*UpdateServerWebRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_UpdateServerReverseProxy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServerReverseProxyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).UpdateServerReverseProxy(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/UpdateServerReverseProxy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).UpdateServerReverseProxy(ctx, req.(*UpdateServerReverseProxyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_UpdateServerNames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServerNamesRequest)
2020-09-13 19:27:47 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2020-09-15 14:44:38 +08:00
return srv.(ServerServiceServer).UpdateServerNames(ctx, in)
2020-09-13 19:27:47 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2020-09-15 14:44:38 +08:00
FullMethod: "/pb.ServerService/UpdateServerNames",
2020-09-13 19:27:47 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020-09-15 14:44:38 +08:00
return srv.(ServerServiceServer).UpdateServerNames(ctx, req.(*UpdateServerNamesRequest))
2020-09-13 19:27:47 +08:00
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_CountAllEnabledServers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllEnabledServersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).CountAllEnabledServers(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/CountAllEnabledServers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).CountAllEnabledServers(ctx, req.(*CountAllEnabledServersRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_ListEnabledServers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListEnabledServersRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).ListEnabledServers(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/ListEnabledServers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).ListEnabledServers(ctx, req.(*ListEnabledServersRequest))
}
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)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).DisableServer(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/DisableServer",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).DisableServer(ctx, req.(*DisableServerRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_FindEnabledServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindEnabledServerRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).FindEnabledServer(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/FindEnabledServer",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).FindEnabledServer(ctx, req.(*FindEnabledServerRequest))
}
return interceptor(ctx, in, info, handler)
}
2020-09-15 14:44:38 +08:00
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 {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).FindEnabledServerType(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/FindEnabledServerType",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).FindEnabledServerType(ctx, req.(*FindEnabledServerTypeRequest))
}
return interceptor(ctx, in, info, handler)
}
2020-09-21 11:37:09 +08:00
func _ServerService_FindAndInitServerReverseProxyConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindAndInitServerReverseProxyConfigRequest)
2020-09-15 14:44:38 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2020-09-21 11:37:09 +08:00
return srv.(ServerServiceServer).FindAndInitServerReverseProxyConfig(ctx, in)
2020-09-15 14:44:38 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2020-09-21 11:37:09 +08:00
FullMethod: "/pb.ServerService/FindAndInitServerReverseProxyConfig",
2020-09-15 14:44:38 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020-09-21 11:37:09 +08:00
return srv.(ServerServiceServer).FindAndInitServerReverseProxyConfig(ctx, req.(*FindAndInitServerReverseProxyConfigRequest))
2020-09-16 09:09:31 +08:00
}
return interceptor(ctx, in, info, handler)
}
2020-09-16 20:29:26 +08:00
func _ServerService_FindAndInitServerWebConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2020-09-21 19:52:10 +08:00
in := new(FindAndInitServerWebConfigRequest)
2020-09-16 09:09:31 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2020-09-16 20:29:26 +08:00
return srv.(ServerServiceServer).FindAndInitServerWebConfig(ctx, in)
2020-09-16 09:09:31 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2020-09-16 20:29:26 +08:00
FullMethod: "/pb.ServerService/FindAndInitServerWebConfig",
2020-09-16 09:09:31 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020-09-21 19:52:10 +08:00
return srv.(ServerServiceServer).FindAndInitServerWebConfig(ctx, req.(*FindAndInitServerWebConfigRequest))
2020-09-15 14:44:38 +08:00
}
return interceptor(ctx, in, info, handler)
}
2020-10-02 17:22:46 +08:00
func _ServerService_CountAllEnabledServersWithSSLCertId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllEnabledServersWithSSLCertIdRequest)
2020-09-30 17:46:33 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2020-10-02 17:22:46 +08:00
return srv.(ServerServiceServer).CountAllEnabledServersWithSSLCertId(ctx, in)
2020-09-30 17:46:33 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2020-10-02 17:22:46 +08:00
FullMethod: "/pb.ServerService/CountAllEnabledServersWithSSLCertId",
2020-09-30 17:46:33 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020-10-02 17:22:46 +08:00
return srv.(ServerServiceServer).CountAllEnabledServersWithSSLCertId(ctx, req.(*CountAllEnabledServersWithSSLCertIdRequest))
2020-09-30 17:46:33 +08:00
}
return interceptor(ctx, in, info, handler)
}
2020-10-02 17:22:46 +08:00
func _ServerService_FindAllEnabledServersWithSSLCertId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindAllEnabledServersWithSSLCertIdRequest)
2020-09-30 17:46:33 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2020-10-02 17:22:46 +08:00
return srv.(ServerServiceServer).FindAllEnabledServersWithSSLCertId(ctx, in)
2020-09-30 17:46:33 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2020-10-02 17:22:46 +08:00
FullMethod: "/pb.ServerService/FindAllEnabledServersWithSSLCertId",
2020-09-30 17:46:33 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020-10-02 17:22:46 +08:00
return srv.(ServerServiceServer).FindAllEnabledServersWithSSLCertId(ctx, req.(*FindAllEnabledServersWithSSLCertIdRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_CountAllEnabledServersWithCachePolicyId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllEnabledServersWithCachePolicyIdRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).CountAllEnabledServersWithCachePolicyId(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/CountAllEnabledServersWithCachePolicyId",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).CountAllEnabledServersWithCachePolicyId(ctx, req.(*CountAllEnabledServersWithCachePolicyIdRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_FindAllEnabledServersWithCachePolicyId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindAllEnabledServersWithCachePolicyIdRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).FindAllEnabledServersWithCachePolicyId(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/FindAllEnabledServersWithCachePolicyId",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).FindAllEnabledServersWithCachePolicyId(ctx, req.(*FindAllEnabledServersWithCachePolicyIdRequest))
2020-09-30 17:46:33 +08:00
}
return interceptor(ctx, in, info, handler)
}
2020-10-06 21:02:21 +08:00
func _ServerService_CountAllEnabledServersWithHTTPFirewallPolicyId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllEnabledServersWithHTTPFirewallPolicyIdRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).CountAllEnabledServersWithHTTPFirewallPolicyId(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/CountAllEnabledServersWithHTTPFirewallPolicyId",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).CountAllEnabledServersWithHTTPFirewallPolicyId(ctx, req.(*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest))
}
return interceptor(ctx, in, info, handler)
}
2020-10-25 16:22:40 +08:00
func _ServerService_CountAllEnabledServersWithNodeClusterId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllEnabledServersWithNodeClusterIdRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).CountAllEnabledServersWithNodeClusterId(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/CountAllEnabledServersWithNodeClusterId",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).CountAllEnabledServersWithNodeClusterId(ctx, req.(*CountAllEnabledServersWithNodeClusterIdRequest))
}
return interceptor(ctx, in, info, handler)
}
2020-09-13 19:27:47 +08:00
var _ServerService_serviceDesc = grpc.ServiceDesc{
ServiceName: "pb.ServerService",
HandlerType: (*ServerServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "createServer",
Handler: _ServerService_CreateServer_Handler,
},
{
2020-09-15 14:44:38 +08:00
MethodName: "updateServerBasic",
Handler: _ServerService_UpdateServerBasic_Handler,
},
{
MethodName: "updateServerHTTP",
Handler: _ServerService_UpdateServerHTTP_Handler,
},
{
MethodName: "updateServerHTTPS",
Handler: _ServerService_UpdateServerHTTPS_Handler,
},
{
MethodName: "updateServerTCP",
Handler: _ServerService_UpdateServerTCP_Handler,
},
{
MethodName: "updateServerTLS",
Handler: _ServerService_UpdateServerTLS_Handler,
},
{
MethodName: "updateServerUnix",
Handler: _ServerService_UpdateServerUnix_Handler,
},
{
MethodName: "updateServerUDP",
Handler: _ServerService_UpdateServerUDP_Handler,
},
{
MethodName: "updateServerWeb",
Handler: _ServerService_UpdateServerWeb_Handler,
},
{
MethodName: "updateServerReverseProxy",
Handler: _ServerService_UpdateServerReverseProxy_Handler,
},
{
MethodName: "updateServerNames",
Handler: _ServerService_UpdateServerNames_Handler,
2020-09-13 19:27:47 +08:00
},
{
MethodName: "countAllEnabledServers",
Handler: _ServerService_CountAllEnabledServers_Handler,
},
{
MethodName: "listEnabledServers",
Handler: _ServerService_ListEnabledServers_Handler,
},
{
MethodName: "disableServer",
Handler: _ServerService_DisableServer_Handler,
},
{
MethodName: "findEnabledServer",
Handler: _ServerService_FindEnabledServer_Handler,
},
2020-09-15 14:44:38 +08:00
{
MethodName: "findEnabledServerType",
Handler: _ServerService_FindEnabledServerType_Handler,
},
{
2020-09-21 11:37:09 +08:00
MethodName: "findAndInitServerReverseProxyConfig",
Handler: _ServerService_FindAndInitServerReverseProxyConfig_Handler,
2020-09-16 09:09:31 +08:00
},
{
2020-09-16 20:29:26 +08:00
MethodName: "findAndInitServerWebConfig",
Handler: _ServerService_FindAndInitServerWebConfig_Handler,
2020-09-15 14:44:38 +08:00
},
2020-09-30 17:46:33 +08:00
{
2020-10-02 17:22:46 +08:00
MethodName: "countAllEnabledServersWithSSLCertId",
Handler: _ServerService_CountAllEnabledServersWithSSLCertId_Handler,
},
{
MethodName: "findAllEnabledServersWithSSLCertId",
Handler: _ServerService_FindAllEnabledServersWithSSLCertId_Handler,
},
{
MethodName: "countAllEnabledServersWithCachePolicyId",
Handler: _ServerService_CountAllEnabledServersWithCachePolicyId_Handler,
2020-09-30 17:46:33 +08:00
},
{
2020-10-02 17:22:46 +08:00
MethodName: "findAllEnabledServersWithCachePolicyId",
Handler: _ServerService_FindAllEnabledServersWithCachePolicyId_Handler,
2020-09-30 17:46:33 +08:00
},
2020-10-06 21:02:21 +08:00
{
MethodName: "countAllEnabledServersWithHTTPFirewallPolicyId",
Handler: _ServerService_CountAllEnabledServersWithHTTPFirewallPolicyId_Handler,
},
2020-10-25 16:22:40 +08:00
{
MethodName: "countAllEnabledServersWithNodeClusterId",
Handler: _ServerService_CountAllEnabledServersWithNodeClusterId_Handler,
},
2020-09-13 19:27:47 +08:00
},
Streams: []grpc.StreamDesc{},
Metadata: "service_server.proto",
}