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

4168 lines
166 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"`
// 配置相关
2020-10-29 21:37:52 +08:00
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"`
ReverseProxyJSON []byte `protobuf:"bytes,16,opt,name=reverseProxyJSON,proto3" json:"reverseProxyJSON,omitempty"`
GroupIds []int64 `protobuf:"varint,17,rep,packed,name=groupIds,proto3" json:"groupIds,omitempty"`
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
}
2020-10-29 21:37:52 +08:00
func (x *CreateServerRequest) GetGroupIds() []int64 {
if x != nil {
return x.GroupIds
}
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-10-29 21:37:52 +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"`
IsOn bool `protobuf:"varint,5,opt,name=isOn,proto3" json:"isOn,omitempty"`
GroupIds []int64 `protobuf:"varint,6,rep,packed,name=groupIds,proto3" json:"groupIds,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-10-29 21:37:52 +08:00
func (x *UpdateServerBasicRequest) GetGroupIds() []int64 {
if x != nil {
return x.GroupIds
}
return nil
}
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
}
// 计算服务数量
2020-10-31 15:21:35 +08:00
type CountAllEnabledServersMatchRequest struct {
2020-09-15 14:44:38 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-10-31 15:21:35 +08:00
GroupId int64 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
2020-09-15 14:44:38 +08:00
}
2020-10-31 15:21:35 +08:00
func (x *CountAllEnabledServersMatchRequest) Reset() {
*x = CountAllEnabledServersMatchRequest{}
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[12]
2020-09-15 14:44:38 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-10-31 15:21:35 +08:00
func (x *CountAllEnabledServersMatchRequest) String() string {
2020-09-15 14:44:38 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-10-31 15:21:35 +08:00
func (*CountAllEnabledServersMatchRequest) ProtoMessage() {}
2020-09-15 14:44:38 +08:00
2020-10-31 15:21:35 +08:00
func (x *CountAllEnabledServersMatchRequest) 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)
}
2020-10-31 15:21:35 +08:00
// Deprecated: Use CountAllEnabledServersMatchRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersMatchRequest) 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
}
2020-10-31 15:21:35 +08:00
func (x *CountAllEnabledServersMatchRequest) GetGroupId() int64 {
if x != nil {
return x.GroupId
}
return 0
}
func (x *CountAllEnabledServersMatchRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
2020-09-15 14:44:38 +08:00
// 列出单页服务
2020-10-31 15:21:35 +08:00
type ListEnabledServersMatchRequest struct {
2020-09-15 14:44:38 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-10-31 15:21:35 +08:00
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
GroupId int64 `protobuf:"varint,3,opt,name=groupId,proto3" json:"groupId,omitempty"`
Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"`
2020-09-15 14:44:38 +08:00
}
2020-10-31 15:21:35 +08:00
func (x *ListEnabledServersMatchRequest) Reset() {
*x = ListEnabledServersMatchRequest{}
2020-09-15 14:44:38 +08:00
if protoimpl.UnsafeEnabled {
2020-11-12 14:41:23 +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)
}
}
2020-10-31 15:21:35 +08:00
func (x *ListEnabledServersMatchRequest) String() string {
2020-09-15 14:44:38 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-10-31 15:21:35 +08:00
func (*ListEnabledServersMatchRequest) ProtoMessage() {}
2020-09-15 14:44:38 +08:00
2020-10-31 15:21:35 +08:00
func (x *ListEnabledServersMatchRequest) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +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)
}
2020-10-31 15:21:35 +08:00
// Deprecated: Use ListEnabledServersMatchRequest.ProtoReflect.Descriptor instead.
func (*ListEnabledServersMatchRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{13}
2020-09-15 14:44:38 +08:00
}
2020-10-31 15:21:35 +08:00
func (x *ListEnabledServersMatchRequest) GetOffset() int64 {
2020-09-15 14:44:38 +08:00
if x != nil {
return x.Offset
}
return 0
}
2020-10-31 15:21:35 +08:00
func (x *ListEnabledServersMatchRequest) GetSize() int64 {
2020-09-15 14:44:38 +08:00
if x != nil {
return x.Size
}
return 0
}
2020-10-31 15:21:35 +08:00
func (x *ListEnabledServersMatchRequest) GetGroupId() int64 {
if x != nil {
return x.GroupId
}
return 0
}
func (x *ListEnabledServersMatchRequest) GetKeyword() string {
if x != nil {
return x.Keyword
}
return ""
}
type ListEnabledServersMatchResponse struct {
2020-09-15 14:44:38 +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-31 15:21:35 +08:00
func (x *ListEnabledServersMatchResponse) Reset() {
*x = ListEnabledServersMatchResponse{}
2020-09-15 14:44:38 +08:00
if protoimpl.UnsafeEnabled {
2020-11-12 14:41:23 +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)
}
}
2020-10-31 15:21:35 +08:00
func (x *ListEnabledServersMatchResponse) String() string {
2020-09-15 14:44:38 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-10-31 15:21:35 +08:00
func (*ListEnabledServersMatchResponse) ProtoMessage() {}
2020-09-15 14:44:38 +08:00
2020-10-31 15:21:35 +08:00
func (x *ListEnabledServersMatchResponse) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +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)
}
2020-10-31 15:21:35 +08:00
// Deprecated: Use ListEnabledServersMatchResponse.ProtoReflect.Descriptor instead.
func (*ListEnabledServersMatchResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{14}
2020-09-15 14:44:38 +08:00
}
2020-10-31 15:21:35 +08:00
func (x *ListEnabledServersMatchResponse) GetServers() []*Server {
2020-09-15 14:44:38 +08:00
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-11-12 14:41:23 +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 *DisableServerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisableServerRequest) ProtoMessage() {}
func (x *DisableServerRequest) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +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 DisableServerRequest.ProtoReflect.Descriptor instead.
func (*DisableServerRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{15}
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-11-12 14:41:23 +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 *DisableServerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DisableServerResponse) ProtoMessage() {}
func (x *DisableServerResponse) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +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 DisableServerResponse.ProtoReflect.Descriptor instead.
func (*DisableServerResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{16}
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-11-12 14:41:23 +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 *FindEnabledServerRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledServerRequest) ProtoMessage() {}
func (x *FindEnabledServerRequest) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +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 FindEnabledServerRequest.ProtoReflect.Descriptor instead.
func (*FindEnabledServerRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{17}
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-11-12 14:41:23 +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 *FindEnabledServerResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledServerResponse) ProtoMessage() {}
func (x *FindEnabledServerResponse) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +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 FindEnabledServerResponse.ProtoReflect.Descriptor instead.
func (*FindEnabledServerResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{18}
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-11-12 14:41:23 +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 *FindEnabledServerTypeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledServerTypeRequest) ProtoMessage() {}
func (x *FindEnabledServerTypeRequest) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +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 FindEnabledServerTypeRequest.ProtoReflect.Descriptor instead.
func (*FindEnabledServerTypeRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{19}
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-11-12 14:41:23 +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 *FindEnabledServerTypeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*FindEnabledServerTypeResponse) ProtoMessage() {}
func (x *FindEnabledServerTypeResponse) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +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 FindEnabledServerTypeResponse.ProtoReflect.Descriptor instead.
func (*FindEnabledServerTypeResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{20}
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-11-12 14:41:23 +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)
}
}
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-11-12 14:41:23 +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)
}
2020-09-21 11:37:09 +08:00
// Deprecated: Use FindAndInitServerReverseProxyConfigRequest.ProtoReflect.Descriptor instead.
func (*FindAndInitServerReverseProxyConfigRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{21}
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-11-12 14:41:23 +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 *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-11-12 14:41:23 +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 FindAndInitServerReverseProxyConfigResponse.ProtoReflect.Descriptor instead.
func (*FindAndInitServerReverseProxyConfigResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{22}
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-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[23]
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-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[23]
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-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{23}
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-11-12 14:41:23 +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 *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-11-12 14:41:23 +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 FindAndInitServerWebConfigResponse.ProtoReflect.Descriptor instead.
func (*FindAndInitServerWebConfigResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +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 *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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[25]
2020-09-30 17:46:33 +08:00
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-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[25]
2020-09-30 17:46:33 +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-10-02 17:22:46 +08:00
// Deprecated: Use CountAllEnabledServersWithSSLCertIdRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithSSLCertIdRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{25}
2020-09-30 17:46:33 +08:00
}
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
}
// 查找使用某个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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[26]
2020-09-30 17:46:33 +08:00
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-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[26]
2020-09-30 17:46:33 +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-10-02 17:22:46 +08:00
// Deprecated: Use FindAllEnabledServersWithSSLCertIdRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithSSLCertIdRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{26}
2020-09-30 17:46:33 +08:00
}
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[27]
2020-09-30 17:46:33 +08:00
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-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[27]
2020-09-30 17:46:33 +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-10-02 17:22:46 +08:00
// Deprecated: Use FindAllEnabledServersWithSSLCertIdResponse.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithSSLCertIdResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{27}
2020-09-30 17:46:33 +08:00
}
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[28]
2020-10-02 17:22:46 +08:00
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[28]
2020-10-02 17:22:46 +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 CountAllEnabledServersWithCachePolicyIdRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithCachePolicyIdRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{28}
2020-10-02 17:22:46 +08:00
}
func (x *CountAllEnabledServersWithCachePolicyIdRequest) GetCachePolicyId() int64 {
if x != nil {
return x.CachePolicyId
}
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[29]
2020-10-02 17:22:46 +08:00
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[29]
2020-10-02 17:22:46 +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 FindAllEnabledServersWithCachePolicyIdRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithCachePolicyIdRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{29}
2020-10-02 17:22:46 +08:00
}
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[30]
2020-10-02 17:22:46 +08:00
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[30]
2020-10-02 17:22:46 +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 FindAllEnabledServersWithCachePolicyIdResponse.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithCachePolicyIdResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{30}
2020-10-02 17:22:46 +08:00
}
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[31]
2020-10-06 21:02:21 +08:00
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[31]
2020-10-06 21:02:21 +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 CountAllEnabledServersWithHTTPFirewallPolicyIdRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{31}
2020-10-06 21:02:21 +08:00
}
func (x *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) GetFirewallPolicyId() int64 {
if x != nil {
return x.FirewallPolicyId
}
return 0
}
2020-11-12 14:41:23 +08:00
// 查找使用某个WAF策略的所有服务
type FindAllEnabledServersWithHTTPFirewallPolicyIdRequest struct {
2020-10-06 21:02:21 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-11-12 14:41:23 +08:00
FirewallPolicyId int64 `protobuf:"varint,1,opt,name=firewallPolicyId,proto3" json:"firewallPolicyId,omitempty"`
2020-10-06 21:02:21 +08:00
}
2020-11-12 14:41:23 +08:00
func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) Reset() {
*x = FindAllEnabledServersWithHTTPFirewallPolicyIdRequest{}
2020-10-06 21:02:21 +08:00
if protoimpl.UnsafeEnabled {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[32]
2020-10-06 21:02:21 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-11-12 14:41:23 +08:00
func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) String() string {
2020-10-06 21:02:21 +08:00
return protoimpl.X.MessageStringOf(x)
}
2020-11-12 14:41:23 +08:00
func (*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoMessage() {}
2020-10-06 21:02:21 +08:00
2020-11-12 14:41:23 +08:00
func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_server_proto_msgTypes[32]
2020-10-06 21:02:21 +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-11-12 14:41:23 +08:00
// Deprecated: Use FindAllEnabledServersWithHTTPFirewallPolicyIdRequest.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) Descriptor() ([]byte, []int) {
return file_service_server_proto_rawDescGZIP(), []int{32}
2020-10-06 21:02:21 +08:00
}
2020-11-12 14:41:23 +08:00
func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) GetFirewallPolicyId() int64 {
2020-10-06 21:02:21 +08:00
if x != nil {
2020-11-12 14:41:23 +08:00
return x.FirewallPolicyId
2020-10-06 21:02:21 +08:00
}
return 0
}
2020-11-12 14:41:23 +08:00
type FindAllEnabledServersWithHTTPFirewallPolicyIdResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2020-11-12 14:41:23 +08:00
Servers []*Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
}
2020-11-12 14:41:23 +08:00
func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) Reset() {
*x = FindAllEnabledServersWithHTTPFirewallPolicyIdResponse{}
if protoimpl.UnsafeEnabled {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2020-11-12 14:41:23 +08:00
func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
2020-11-12 14:41:23 +08:00
func (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) ProtoMessage() {}
func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +08:00
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 FindAllEnabledServersWithHTTPFirewallPolicyIdResponse.ProtoReflect.Descriptor instead.
func (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{33}
}
func (x *FindAllEnabledServersWithHTTPFirewallPolicyIdResponse) GetServers() []*Server {
if x != nil {
return x.Servers
}
return nil
}
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[34]
2020-10-25 16:22:40 +08:00
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 {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[34]
2020-10-25 16:22:40 +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 CountAllEnabledServersWithNodeClusterIdRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithNodeClusterIdRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{34}
2020-10-25 16:22:40 +08:00
}
func (x *CountAllEnabledServersWithNodeClusterIdRequest) GetNodeClusterId() int64 {
if x != nil {
return x.NodeClusterId
}
return 0
}
2020-10-29 20:53:47 +08:00
// 计算使用某个分组的服务数量
type CountAllEnabledServersWithGroupIdRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupId int64 `protobuf:"varint,1,opt,name=groupId,proto3" json:"groupId,omitempty"`
}
func (x *CountAllEnabledServersWithGroupIdRequest) Reset() {
*x = CountAllEnabledServersWithGroupIdRequest{}
if protoimpl.UnsafeEnabled {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[35]
2020-10-29 20:53:47 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CountAllEnabledServersWithGroupIdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountAllEnabledServersWithGroupIdRequest) ProtoMessage() {}
func (x *CountAllEnabledServersWithGroupIdRequest) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[35]
2020-10-29 20:53: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)
}
// Deprecated: Use CountAllEnabledServersWithGroupIdRequest.ProtoReflect.Descriptor instead.
func (*CountAllEnabledServersWithGroupIdRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{35}
2020-10-29 20:53:47 +08:00
}
func (x *CountAllEnabledServersWithGroupIdRequest) GetGroupId() int64 {
if x != nil {
return x.GroupId
}
return 0
}
// 通知更新
type NotifyServersChangeRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *NotifyServersChangeRequest) Reset() {
*x = NotifyServersChangeRequest{}
if protoimpl.UnsafeEnabled {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NotifyServersChangeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NotifyServersChangeRequest) ProtoMessage() {}
func (x *NotifyServersChangeRequest) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +08:00
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 NotifyServersChangeRequest.ProtoReflect.Descriptor instead.
func (*NotifyServersChangeRequest) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{36}
}
type NotifyServersChangeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *NotifyServersChangeResponse) Reset() {
*x = NotifyServersChangeResponse{}
if protoimpl.UnsafeEnabled {
2020-11-12 14:41:23 +08:00
mi := &file_service_server_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NotifyServersChangeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NotifyServersChangeResponse) ProtoMessage() {}
func (x *NotifyServersChangeResponse) ProtoReflect() protoreflect.Message {
2020-11-12 14:41:23 +08:00
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 NotifyServersChangeResponse.ProtoReflect.Descriptor instead.
func (*NotifyServersChangeResponse) Descriptor() ([]byte, []int) {
2020-11-12 14:41:23 +08:00
return file_service_server_proto_rawDescGZIP(), []int{37}
}
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-10-29 21:37:52 +08:00
0x74, 0x6f, 0x22, 0xb1, 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,
2020-10-29 21:37:52 +08:00
0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73,
0x18, 0x11, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73,
0x12, 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, 0x20, 0x01, 0x28, 0x03,
0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0xba, 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, 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, 0x12, 0x1a, 0x0a, 0x08, 0x67,
0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x67,
0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x22, 0x4d, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74,
0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,
0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4e, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x54, 0x54, 0x50, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,
0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x4c, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x22, 0x4c, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65,
0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x22, 0x4d, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76,
0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x22, 0x4c, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x55, 0x44, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73,
2020-09-21 11:37:09 +08:00
0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73,
2020-10-29 21:37:52 +08:00
0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22,
0x4a, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57,
0x65, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72,
0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72,
0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x77, 0x65, 0x62, 0x49, 0x64, 0x22, 0x69, 0x0a, 0x1f, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72,
0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65,
0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f,
0x78, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 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,
2020-10-31 15:21:35 +08:00
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x58, 0x0a, 0x22, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41,
2020-10-29 21:37:52 +08:00
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73,
2020-10-31 15:21:35 +08:00
0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07,
0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x67,
0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
2020-11-12 14:41:23 +08:00
0x22, 0x80, 0x01, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73,
0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12,
0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79,
0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77,
0x6f, 0x72, 0x64, 0x22, 0x47, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x32, 0x0a, 0x14,
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 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,
2020-10-31 15:21:35 +08:00
0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01,
2020-11-12 14:41:23 +08:00
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x33,
0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
0x79, 0x70, 0x65, 0x22, 0x48, 0x0a, 0x2a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e,
0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 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,
2020-10-29 21:37:52 +08:00
0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
2020-11-12 14:41:23 +08:00
0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x22,
0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0c, 0x52, 0x07, 0x77, 0x65, 0x62, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 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, 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, 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, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65,
0x72, 0x73, 0x22, 0x63, 0x0a, 0x35, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
2020-10-29 21:37:52 +08:00
0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68,
2020-10-31 15:21:35 +08:00
0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
2020-11-12 14:41:23 +08:00
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, 0x62, 0x0a, 0x34, 0x46, 0x69, 0x6e, 0x64, 0x41,
0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73,
2020-11-12 14:41:23 +08:00
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, 0x5d, 0x0a, 0x35, 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, 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, 0x24, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x56, 0x0a, 0x2e, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73,
0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d,
0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
0x49, 0x64, 0x22, 0x44, 0x0a, 0x28, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68,
0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18,
0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x4e, 0x6f, 0x74, 0x69,
0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79,
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xae, 0x14, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74,
0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76,
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 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,
2020-11-12 14:41:23 +08:00
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, 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, 0x54, 0x43, 0x50, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x43, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 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, 0x54, 0x4c, 0x53, 0x12, 0x1a, 0x2e, 0x70, 0x62,
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x4c, 0x53,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 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, 0x55, 0x6e, 0x69,
0x78, 0x12, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x55, 0x6e, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x63,
2020-11-12 14:41:23 +08:00
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,
2020-11-12 14:41:23 +08:00
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, 0x5b,
0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x2e,
0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f,
0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x6c,
0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74,
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x4d, 0x61,
0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e,
0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x44, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
0x12, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x62, 0x2e,
0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e,
0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65,
2020-11-12 14:41:23 +08:00
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,
2020-11-12 14:41:23 +08:00
0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79,
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e,
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65,
0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x78, 0x79,
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b,
0x0a, 0x1a, 0x66, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x2e, 0x70,
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72,
0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6e, 0x64,
0x49, 0x6e, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x57, 0x65, 0x62, 0x43, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x23, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65,
0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74,
0x49, 0x64, 0x12, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c,
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69,
0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e,
0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65,
0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x12,
0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53,
0x4c, 0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e,
0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x53, 0x4c,
2020-11-12 14:41:23 +08:00
0x43, 0x65, 0x72, 0x74, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73,
0x0a, 0x27, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x63, 0x68,
0x65, 0x50, 0x6f, 0x6c, 0x69, 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, 0x14, 0x2e,
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 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,
2020-10-31 15:21:35 +08:00
0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68,
2020-11-12 14:41:23 +08:00
0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 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,
2020-11-12 14:41:23 +08:00
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, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e,
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0xa4, 0x01, 0x0a, 0x2d, 0x66, 0x69,
0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76,
2020-11-12 14:41:23 +08:00
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, 0x38, 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, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69,
2020-11-12 14:41:23 +08:00
0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 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, 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, 0x73, 0x0a, 0x27, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f,
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x32, 0x2e, 0x70, 0x62,
0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x6f, 0x64, 0x65, 0x43,
2020-11-12 14:41:23 +08:00
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x21, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c,
0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57,
0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2c, 0x2e, 0x70, 0x62, 0x2e,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x53,
0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49,
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
0x43, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56,
0x0a, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43,
0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66,
0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66,
0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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-11-12 14:41:23 +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-11-12 14:41:23 +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
(*CountAllEnabledServersMatchRequest)(nil), // 12: pb.CountAllEnabledServersMatchRequest
(*ListEnabledServersMatchRequest)(nil), // 13: pb.ListEnabledServersMatchRequest
(*ListEnabledServersMatchResponse)(nil), // 14: pb.ListEnabledServersMatchResponse
(*DisableServerRequest)(nil), // 15: pb.DisableServerRequest
(*DisableServerResponse)(nil), // 16: pb.DisableServerResponse
(*FindEnabledServerRequest)(nil), // 17: pb.FindEnabledServerRequest
(*FindEnabledServerResponse)(nil), // 18: pb.FindEnabledServerResponse
(*FindEnabledServerTypeRequest)(nil), // 19: pb.FindEnabledServerTypeRequest
(*FindEnabledServerTypeResponse)(nil), // 20: pb.FindEnabledServerTypeResponse
(*FindAndInitServerReverseProxyConfigRequest)(nil), // 21: pb.FindAndInitServerReverseProxyConfigRequest
(*FindAndInitServerReverseProxyConfigResponse)(nil), // 22: pb.FindAndInitServerReverseProxyConfigResponse
(*FindAndInitServerWebConfigRequest)(nil), // 23: pb.FindAndInitServerWebConfigRequest
(*FindAndInitServerWebConfigResponse)(nil), // 24: pb.FindAndInitServerWebConfigResponse
(*CountAllEnabledServersWithSSLCertIdRequest)(nil), // 25: pb.CountAllEnabledServersWithSSLCertIdRequest
(*FindAllEnabledServersWithSSLCertIdRequest)(nil), // 26: pb.FindAllEnabledServersWithSSLCertIdRequest
(*FindAllEnabledServersWithSSLCertIdResponse)(nil), // 27: pb.FindAllEnabledServersWithSSLCertIdResponse
(*CountAllEnabledServersWithCachePolicyIdRequest)(nil), // 28: pb.CountAllEnabledServersWithCachePolicyIdRequest
(*FindAllEnabledServersWithCachePolicyIdRequest)(nil), // 29: pb.FindAllEnabledServersWithCachePolicyIdRequest
(*FindAllEnabledServersWithCachePolicyIdResponse)(nil), // 30: pb.FindAllEnabledServersWithCachePolicyIdResponse
(*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest)(nil), // 31: pb.CountAllEnabledServersWithHTTPFirewallPolicyIdRequest
(*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest)(nil), // 32: pb.FindAllEnabledServersWithHTTPFirewallPolicyIdRequest
(*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse)(nil), // 33: pb.FindAllEnabledServersWithHTTPFirewallPolicyIdResponse
(*CountAllEnabledServersWithNodeClusterIdRequest)(nil), // 34: pb.CountAllEnabledServersWithNodeClusterIdRequest
(*CountAllEnabledServersWithGroupIdRequest)(nil), // 35: pb.CountAllEnabledServersWithGroupIdRequest
(*NotifyServersChangeRequest)(nil), // 36: pb.NotifyServersChangeRequest
(*NotifyServersChangeResponse)(nil), // 37: pb.NotifyServersChangeResponse
(*Server)(nil), // 38: pb.Server
(*RPCUpdateSuccess)(nil), // 39: pb.RPCUpdateSuccess
(*RPCCountResponse)(nil), // 40: pb.RPCCountResponse
2020-09-15 14:44:38 +08:00
}
var file_service_server_proto_depIdxs = []int32{
2020-11-12 14:41:23 +08:00
38, // 0: pb.ListEnabledServersMatchResponse.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
38, // 4: pb.FindAllEnabledServersWithHTTPFirewallPolicyIdResponse.servers:type_name -> pb.Server
0, // 5: pb.ServerService.createServer:input_type -> pb.CreateServerRequest
2, // 6: pb.ServerService.updateServerBasic:input_type -> pb.UpdateServerBasicRequest
3, // 7: pb.ServerService.updateServerHTTP:input_type -> pb.UpdateServerHTTPRequest
4, // 8: pb.ServerService.updateServerHTTPS:input_type -> pb.UpdateServerHTTPSRequest
5, // 9: pb.ServerService.updateServerTCP:input_type -> pb.UpdateServerTCPRequest
6, // 10: pb.ServerService.updateServerTLS:input_type -> pb.UpdateServerTLSRequest
7, // 11: pb.ServerService.updateServerUnix:input_type -> pb.UpdateServerUnixRequest
8, // 12: pb.ServerService.updateServerUDP:input_type -> pb.UpdateServerUDPRequest
9, // 13: pb.ServerService.updateServerWeb:input_type -> pb.UpdateServerWebRequest
10, // 14: pb.ServerService.updateServerReverseProxy:input_type -> pb.UpdateServerReverseProxyRequest
11, // 15: pb.ServerService.updateServerNames:input_type -> pb.UpdateServerNamesRequest
12, // 16: pb.ServerService.countAllEnabledServersMatch:input_type -> pb.CountAllEnabledServersMatchRequest
2020-11-12 14:41:23 +08:00
13, // 17: pb.ServerService.listEnabledServersMatch:input_type -> pb.ListEnabledServersMatchRequest
15, // 18: pb.ServerService.disableServer:input_type -> pb.DisableServerRequest
17, // 19: pb.ServerService.findEnabledServer:input_type -> pb.FindEnabledServerRequest
19, // 20: pb.ServerService.findEnabledServerType:input_type -> pb.FindEnabledServerTypeRequest
21, // 21: pb.ServerService.findAndInitServerReverseProxyConfig:input_type -> pb.FindAndInitServerReverseProxyConfigRequest
23, // 22: pb.ServerService.findAndInitServerWebConfig:input_type -> pb.FindAndInitServerWebConfigRequest
25, // 23: pb.ServerService.countAllEnabledServersWithSSLCertId:input_type -> pb.CountAllEnabledServersWithSSLCertIdRequest
26, // 24: pb.ServerService.findAllEnabledServersWithSSLCertId:input_type -> pb.FindAllEnabledServersWithSSLCertIdRequest
28, // 25: pb.ServerService.countAllEnabledServersWithCachePolicyId:input_type -> pb.CountAllEnabledServersWithCachePolicyIdRequest
29, // 26: pb.ServerService.findAllEnabledServersWithCachePolicyId:input_type -> pb.FindAllEnabledServersWithCachePolicyIdRequest
31, // 27: pb.ServerService.countAllEnabledServersWithHTTPFirewallPolicyId:input_type -> pb.CountAllEnabledServersWithHTTPFirewallPolicyIdRequest
32, // 28: pb.ServerService.findAllEnabledServersWithHTTPFirewallPolicyId:input_type -> pb.FindAllEnabledServersWithHTTPFirewallPolicyIdRequest
34, // 29: pb.ServerService.countAllEnabledServersWithNodeClusterId:input_type -> pb.CountAllEnabledServersWithNodeClusterIdRequest
35, // 30: pb.ServerService.countAllEnabledServersWithGroupId:input_type -> pb.CountAllEnabledServersWithGroupIdRequest
36, // 31: pb.ServerService.notifyServersChange:input_type -> pb.NotifyServersChangeRequest
1, // 32: pb.ServerService.createServer:output_type -> pb.CreateServerResponse
2020-11-12 14:41:23 +08:00
39, // 33: pb.ServerService.updateServerBasic:output_type -> pb.RPCUpdateSuccess
39, // 34: pb.ServerService.updateServerHTTP:output_type -> pb.RPCUpdateSuccess
39, // 35: pb.ServerService.updateServerHTTPS:output_type -> pb.RPCUpdateSuccess
39, // 36: pb.ServerService.updateServerTCP:output_type -> pb.RPCUpdateSuccess
39, // 37: pb.ServerService.updateServerTLS:output_type -> pb.RPCUpdateSuccess
39, // 38: pb.ServerService.updateServerUnix:output_type -> pb.RPCUpdateSuccess
39, // 39: pb.ServerService.updateServerUDP:output_type -> pb.RPCUpdateSuccess
39, // 40: pb.ServerService.updateServerWeb:output_type -> pb.RPCUpdateSuccess
39, // 41: pb.ServerService.updateServerReverseProxy:output_type -> pb.RPCUpdateSuccess
39, // 42: pb.ServerService.updateServerNames:output_type -> pb.RPCUpdateSuccess
40, // 43: pb.ServerService.countAllEnabledServersMatch:output_type -> pb.RPCCountResponse
14, // 44: pb.ServerService.listEnabledServersMatch:output_type -> pb.ListEnabledServersMatchResponse
16, // 45: pb.ServerService.disableServer:output_type -> pb.DisableServerResponse
18, // 46: pb.ServerService.findEnabledServer:output_type -> pb.FindEnabledServerResponse
20, // 47: pb.ServerService.findEnabledServerType:output_type -> pb.FindEnabledServerTypeResponse
22, // 48: pb.ServerService.findAndInitServerReverseProxyConfig:output_type -> pb.FindAndInitServerReverseProxyConfigResponse
24, // 49: pb.ServerService.findAndInitServerWebConfig:output_type -> pb.FindAndInitServerWebConfigResponse
40, // 50: pb.ServerService.countAllEnabledServersWithSSLCertId:output_type -> pb.RPCCountResponse
27, // 51: pb.ServerService.findAllEnabledServersWithSSLCertId:output_type -> pb.FindAllEnabledServersWithSSLCertIdResponse
40, // 52: pb.ServerService.countAllEnabledServersWithCachePolicyId:output_type -> pb.RPCCountResponse
30, // 53: pb.ServerService.findAllEnabledServersWithCachePolicyId:output_type -> pb.FindAllEnabledServersWithCachePolicyIdResponse
40, // 54: pb.ServerService.countAllEnabledServersWithHTTPFirewallPolicyId:output_type -> pb.RPCCountResponse
33, // 55: pb.ServerService.findAllEnabledServersWithHTTPFirewallPolicyId:output_type -> pb.FindAllEnabledServersWithHTTPFirewallPolicyIdResponse
40, // 56: pb.ServerService.countAllEnabledServersWithNodeClusterId:output_type -> pb.RPCCountResponse
40, // 57: pb.ServerService.countAllEnabledServersWithGroupId:output_type -> pb.RPCCountResponse
37, // 58: pb.ServerService.notifyServersChange:output_type -> pb.NotifyServersChangeResponse
32, // [32:59] is the sub-list for method output_type
5, // [5:32] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
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-10-31 15:21:35 +08:00
switch v := v.(*CountAllEnabledServersMatchRequest); i {
2020-09-15 14:44:38 +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[13].Exporter = func(v interface{}, i int) interface{} {
2020-10-31 15:21:35 +08:00
switch v := v.(*ListEnabledServersMatchRequest); i {
2020-09-15 14:44:38 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2020-10-31 15:21:35 +08:00
switch v := v.(*ListEnabledServersMatchResponse); i {
2020-09-15 14:44:38 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +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.(*DisableServerRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +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.(*DisableServerResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +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.(*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-11-12 14:41:23 +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.(*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-11-12 14:41:23 +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.(*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-11-12 14:41:23 +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.(*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-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[21].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-11-12 14:41:23 +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.(*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-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[23].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-11-12 14:41:23 +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.(*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-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[25].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
}
}
2020-11-12 14:41:23 +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.(*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
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[27].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
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
2020-10-02 17:22:46 +08:00
switch v := v.(*CountAllEnabledServersWithCachePolicyIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
2020-10-02 17:22:46 +08:00
switch v := v.(*FindAllEnabledServersWithCachePolicyIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
2020-10-02 17:22:46 +08:00
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-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
2020-10-06 21:02:21 +08:00
switch v := v.(*CountAllEnabledServersWithHTTPFirewallPolicyIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest); i {
2020-10-25 16:22:40 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse); i {
2020-10-25 16:22:40 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledServersWithNodeClusterIdRequest); i {
2020-10-29 20:53:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CountAllEnabledServersWithGroupIdRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NotifyServersChangeRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2020-11-12 14:41:23 +08:00
file_service_server_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NotifyServersChangeResponse); 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-11-12 14:41:23 +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-10-31 15:21:35 +08:00
// 计算匹配的服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersMatch(ctx context.Context, in *CountAllEnabledServersMatchRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
2020-09-13 19:27:47 +08:00
// 列出单页服务
2020-10-31 15:21:35 +08:00
ListEnabledServersMatch(ctx context.Context, in *ListEnabledServersMatchRequest, opts ...grpc.CallOption) (*ListEnabledServersMatchResponse, error)
2020-09-13 19:27:47 +08:00
// 禁用某服务
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-11-12 14:41:23 +08:00
CountAllEnabledServersWithSSLCertId(ctx context.Context, in *CountAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, 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)
// 计算使用某个缓存策略的服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersWithCachePolicyId(ctx context.Context, in *CountAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
2020-10-02 17:22:46 +08:00
// 查找使用某个缓存策略的所有服务
FindAllEnabledServersWithCachePolicyId(ctx context.Context, in *FindAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithCachePolicyIdResponse, error)
2020-10-06 21:02:21 +08:00
// 计算使用某个WAF策略的服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
// 查找使用WAF策略的所有服务
FindAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse, error)
2020-10-25 16:22:40 +08:00
// 计算运行在某个集群上的所有服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersWithNodeClusterId(ctx context.Context, in *CountAllEnabledServersWithNodeClusterIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
2020-10-29 20:53:47 +08:00
// 计算使用某个分组的服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersWithGroupId(ctx context.Context, in *CountAllEnabledServersWithGroupIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error)
// 通知更新
NotifyServersChange(ctx context.Context, in *NotifyServersChangeRequest, opts ...grpc.CallOption) (*NotifyServersChangeResponse, 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
}
2020-11-12 14:41:23 +08:00
func (c *serverServiceClient) CountAllEnabledServersMatch(ctx context.Context, in *CountAllEnabledServersMatchRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
2020-10-31 15:21:35 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersMatch", in, out, opts...)
2020-09-13 19:27:47 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2020-10-31 15:21:35 +08:00
func (c *serverServiceClient) ListEnabledServersMatch(ctx context.Context, in *ListEnabledServersMatchRequest, opts ...grpc.CallOption) (*ListEnabledServersMatchResponse, error) {
out := new(ListEnabledServersMatchResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/listEnabledServersMatch", in, out, opts...)
2020-09-13 19:27:47 +08:00
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-11-12 14:41:23 +08:00
func (c *serverServiceClient) CountAllEnabledServersWithSSLCertId(ctx context.Context, in *CountAllEnabledServersWithSSLCertIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
2020-10-02 17:22:46 +08:00
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
}
2020-11-12 14:41:23 +08:00
func (c *serverServiceClient) CountAllEnabledServersWithCachePolicyId(ctx context.Context, in *CountAllEnabledServersWithCachePolicyIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
2020-10-02 17:22:46 +08:00
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-11-12 14:41:23 +08:00
func (c *serverServiceClient) CountAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
2020-10-06 21:02:21 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithHTTPFirewallPolicyId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serverServiceClient) FindAllEnabledServersWithHTTPFirewallPolicyId(ctx context.Context, in *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest, opts ...grpc.CallOption) (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) {
out := new(FindAllEnabledServersWithHTTPFirewallPolicyIdResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/findAllEnabledServersWithHTTPFirewallPolicyId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-11-12 14:41:23 +08:00
func (c *serverServiceClient) CountAllEnabledServersWithNodeClusterId(ctx context.Context, in *CountAllEnabledServersWithNodeClusterIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
2020-10-25 16:22:40 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithNodeClusterId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
2020-11-12 14:41:23 +08:00
func (c *serverServiceClient) CountAllEnabledServersWithGroupId(ctx context.Context, in *CountAllEnabledServersWithGroupIdRequest, opts ...grpc.CallOption) (*RPCCountResponse, error) {
out := new(RPCCountResponse)
2020-10-29 20:53:47 +08:00
err := c.cc.Invoke(ctx, "/pb.ServerService/countAllEnabledServersWithGroupId", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serverServiceClient) NotifyServersChange(ctx context.Context, in *NotifyServersChangeRequest, opts ...grpc.CallOption) (*NotifyServersChangeResponse, error) {
out := new(NotifyServersChangeResponse)
err := c.cc.Invoke(ctx, "/pb.ServerService/notifyServersChange", 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-10-31 15:21:35 +08:00
// 计算匹配的服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersMatch(context.Context, *CountAllEnabledServersMatchRequest) (*RPCCountResponse, error)
2020-09-13 19:27:47 +08:00
// 列出单页服务
2020-10-31 15:21:35 +08:00
ListEnabledServersMatch(context.Context, *ListEnabledServersMatchRequest) (*ListEnabledServersMatchResponse, error)
2020-09-13 19:27:47 +08:00
// 禁用某服务
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-11-12 14:41:23 +08:00
CountAllEnabledServersWithSSLCertId(context.Context, *CountAllEnabledServersWithSSLCertIdRequest) (*RPCCountResponse, error)
2020-09-30 17:46:33 +08:00
// 查找使用某个SSL证书的所有服务
2020-10-02 17:22:46 +08:00
FindAllEnabledServersWithSSLCertId(context.Context, *FindAllEnabledServersWithSSLCertIdRequest) (*FindAllEnabledServersWithSSLCertIdResponse, error)
// 计算使用某个缓存策略的服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersWithCachePolicyId(context.Context, *CountAllEnabledServersWithCachePolicyIdRequest) (*RPCCountResponse, error)
2020-10-02 17:22:46 +08:00
// 查找使用某个缓存策略的所有服务
FindAllEnabledServersWithCachePolicyId(context.Context, *FindAllEnabledServersWithCachePolicyIdRequest) (*FindAllEnabledServersWithCachePolicyIdResponse, error)
2020-10-06 21:02:21 +08:00
// 计算使用某个WAF策略的服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*RPCCountResponse, error)
// 查找使用WAF策略的所有服务
FindAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse, error)
2020-10-25 16:22:40 +08:00
// 计算运行在某个集群上的所有服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersWithNodeClusterId(context.Context, *CountAllEnabledServersWithNodeClusterIdRequest) (*RPCCountResponse, error)
2020-10-29 20:53:47 +08:00
// 计算使用某个分组的服务数量
2020-11-12 14:41:23 +08:00
CountAllEnabledServersWithGroupId(context.Context, *CountAllEnabledServersWithGroupIdRequest) (*RPCCountResponse, error)
// 通知更新
NotifyServersChange(context.Context, *NotifyServersChangeRequest) (*NotifyServersChangeResponse, 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
}
2020-11-12 14:41:23 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersMatch(context.Context, *CountAllEnabledServersMatchRequest) (*RPCCountResponse, error) {
2020-10-31 15:21:35 +08:00
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersMatch not implemented")
2020-09-13 19:27:47 +08:00
}
2020-10-31 15:21:35 +08:00
func (*UnimplementedServerServiceServer) ListEnabledServersMatch(context.Context, *ListEnabledServersMatchRequest) (*ListEnabledServersMatchResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListEnabledServersMatch not implemented")
2020-09-13 19:27:47 +08:00
}
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-11-12 14:41:23 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersWithSSLCertId(context.Context, *CountAllEnabledServersWithSSLCertIdRequest) (*RPCCountResponse, error) {
2020-10-02 17:22:46 +08:00
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-11-12 14:41:23 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersWithCachePolicyId(context.Context, *CountAllEnabledServersWithCachePolicyIdRequest) (*RPCCountResponse, error) {
2020-10-02 17:22:46 +08:00
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-11-12 14:41:23 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *CountAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*RPCCountResponse, error) {
2020-10-06 21:02:21 +08:00
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithHTTPFirewallPolicyId not implemented")
}
func (*UnimplementedServerServiceServer) FindAllEnabledServersWithHTTPFirewallPolicyId(context.Context, *FindAllEnabledServersWithHTTPFirewallPolicyIdRequest) (*FindAllEnabledServersWithHTTPFirewallPolicyIdResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindAllEnabledServersWithHTTPFirewallPolicyId not implemented")
}
2020-11-12 14:41:23 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersWithNodeClusterId(context.Context, *CountAllEnabledServersWithNodeClusterIdRequest) (*RPCCountResponse, error) {
2020-10-25 16:22:40 +08:00
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithNodeClusterId not implemented")
}
2020-11-12 14:41:23 +08:00
func (*UnimplementedServerServiceServer) CountAllEnabledServersWithGroupId(context.Context, *CountAllEnabledServersWithGroupIdRequest) (*RPCCountResponse, error) {
2020-10-29 20:53:47 +08:00
return nil, status.Errorf(codes.Unimplemented, "method CountAllEnabledServersWithGroupId not implemented")
}
func (*UnimplementedServerServiceServer) NotifyServersChange(context.Context, *NotifyServersChangeRequest) (*NotifyServersChangeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method NotifyServersChange 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)
}
2020-10-31 15:21:35 +08:00
func _ServerService_CountAllEnabledServersMatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllEnabledServersMatchRequest)
2020-09-13 19:27:47 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2020-10-31 15:21:35 +08:00
return srv.(ServerServiceServer).CountAllEnabledServersMatch(ctx, in)
2020-09-13 19:27:47 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2020-10-31 15:21:35 +08:00
FullMethod: "/pb.ServerService/CountAllEnabledServersMatch",
2020-09-13 19:27:47 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020-10-31 15:21:35 +08:00
return srv.(ServerServiceServer).CountAllEnabledServersMatch(ctx, req.(*CountAllEnabledServersMatchRequest))
2020-09-13 19:27:47 +08:00
}
return interceptor(ctx, in, info, handler)
}
2020-10-31 15:21:35 +08:00
func _ServerService_ListEnabledServersMatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListEnabledServersMatchRequest)
2020-09-13 19:27:47 +08:00
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
2020-10-31 15:21:35 +08:00
return srv.(ServerServiceServer).ListEnabledServersMatch(ctx, in)
2020-09-13 19:27:47 +08:00
}
info := &grpc.UnaryServerInfo{
Server: srv,
2020-10-31 15:21:35 +08:00
FullMethod: "/pb.ServerService/ListEnabledServersMatch",
2020-09-13 19:27:47 +08:00
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2020-10-31 15:21:35 +08:00
return srv.(ServerServiceServer).ListEnabledServersMatch(ctx, req.(*ListEnabledServersMatchRequest))
2020-09-13 19:27:47 +08:00
}
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)
}
func _ServerService_FindAllEnabledServersWithHTTPFirewallPolicyId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindAllEnabledServersWithHTTPFirewallPolicyIdRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).FindAllEnabledServersWithHTTPFirewallPolicyId(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/FindAllEnabledServersWithHTTPFirewallPolicyId",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).FindAllEnabledServersWithHTTPFirewallPolicyId(ctx, req.(*FindAllEnabledServersWithHTTPFirewallPolicyIdRequest))
}
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-10-29 20:53:47 +08:00
func _ServerService_CountAllEnabledServersWithGroupId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CountAllEnabledServersWithGroupIdRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).CountAllEnabledServersWithGroupId(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/CountAllEnabledServersWithGroupId",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).CountAllEnabledServersWithGroupId(ctx, req.(*CountAllEnabledServersWithGroupIdRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServerService_NotifyServersChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(NotifyServersChangeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).NotifyServersChange(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.ServerService/NotifyServersChange",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).NotifyServersChange(ctx, req.(*NotifyServersChangeRequest))
}
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
},
{
2020-10-31 15:21:35 +08:00
MethodName: "countAllEnabledServersMatch",
Handler: _ServerService_CountAllEnabledServersMatch_Handler,
2020-09-13 19:27:47 +08:00
},
{
2020-10-31 15:21:35 +08:00
MethodName: "listEnabledServersMatch",
Handler: _ServerService_ListEnabledServersMatch_Handler,
2020-09-13 19:27:47 +08:00
},
{
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,
},
{
MethodName: "findAllEnabledServersWithHTTPFirewallPolicyId",
Handler: _ServerService_FindAllEnabledServersWithHTTPFirewallPolicyId_Handler,
},
2020-10-25 16:22:40 +08:00
{
MethodName: "countAllEnabledServersWithNodeClusterId",
Handler: _ServerService_CountAllEnabledServersWithNodeClusterId_Handler,
},
2020-10-29 20:53:47 +08:00
{
MethodName: "countAllEnabledServersWithGroupId",
Handler: _ServerService_CountAllEnabledServersWithGroupId_Handler,
},
{
MethodName: "notifyServersChange",
Handler: _ServerService_NotifyServersChange_Handler,
},
2020-09-13 19:27:47 +08:00
},
Streams: []grpc.StreamDesc{},
Metadata: "service_server.proto",
}