mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
3320 lines
107 KiB
Go
3320 lines
107 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v6.31.1
|
|
// source: service/manager_api/grpc/manager/manager.proto
|
|
|
|
package manager
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type Squad struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Squad) Reset() {
|
|
*x = Squad{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Squad) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Squad) ProtoMessage() {}
|
|
|
|
func (x *Squad) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Squad.ProtoReflect.Descriptor instead.
|
|
func (*Squad) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Squad) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Squad) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Squad) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Squad) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SquadCreate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SquadCreate) Reset() {
|
|
*x = SquadCreate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SquadCreate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SquadCreate) ProtoMessage() {}
|
|
|
|
func (x *SquadCreate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SquadCreate.ProtoReflect.Descriptor instead.
|
|
func (*SquadCreate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SquadCreate) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SquadUpdate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SquadUpdate) Reset() {
|
|
*x = SquadUpdate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SquadUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SquadUpdate) ProtoMessage() {}
|
|
|
|
func (x *SquadUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SquadUpdate.ProtoReflect.Descriptor instead.
|
|
func (*SquadUpdate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *SquadUpdate) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SquadList struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []*Squad `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SquadList) Reset() {
|
|
*x = SquadList{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SquadList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SquadList) ProtoMessage() {}
|
|
|
|
func (x *SquadList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SquadList.ProtoReflect.Descriptor instead.
|
|
func (*SquadList) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *SquadList) GetValues() []*Squad {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SquadUpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Update *SquadUpdate `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SquadUpdateRequest) Reset() {
|
|
*x = SquadUpdateRequest{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SquadUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SquadUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *SquadUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SquadUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*SquadUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SquadUpdateRequest) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SquadUpdateRequest) GetUpdate() *SquadUpdate {
|
|
if x != nil {
|
|
return x.Update
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Node struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
SquadIds []int32 `protobuf:"varint,3,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Node) Reset() {
|
|
*x = Node{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Node) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Node) ProtoMessage() {}
|
|
|
|
func (x *Node) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Node.ProtoReflect.Descriptor instead.
|
|
func (*Node) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *Node) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Node) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Node) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Node) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Node) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type NodeCreate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
SquadIds []int32 `protobuf:"varint,3,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NodeCreate) Reset() {
|
|
*x = NodeCreate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NodeCreate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeCreate) ProtoMessage() {}
|
|
|
|
func (x *NodeCreate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NodeCreate.ProtoReflect.Descriptor instead.
|
|
func (*NodeCreate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *NodeCreate) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeCreate) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeCreate) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NodeUpdate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NodeUpdate) Reset() {
|
|
*x = NodeUpdate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NodeUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeUpdate) ProtoMessage() {}
|
|
|
|
func (x *NodeUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NodeUpdate.ProtoReflect.Descriptor instead.
|
|
func (*NodeUpdate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *NodeUpdate) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NodeList struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []*Node `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NodeList) Reset() {
|
|
*x = NodeList{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NodeList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeList) ProtoMessage() {}
|
|
|
|
func (x *NodeList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NodeList.ProtoReflect.Descriptor instead.
|
|
func (*NodeList) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *NodeList) GetValues() []*Node {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NodeUpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
Update *NodeUpdate `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NodeUpdateRequest) Reset() {
|
|
*x = NodeUpdateRequest{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NodeUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *NodeUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NodeUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*NodeUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *NodeUpdateRequest) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeUpdateRequest) GetUpdate() *NodeUpdate {
|
|
if x != nil {
|
|
return x.Update
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type User struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
SquadIds []int32 `protobuf:"varint,2,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
|
Inbound string `protobuf:"bytes,4,opt,name=inbound,proto3" json:"inbound,omitempty"`
|
|
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
|
Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"`
|
|
Secret string `protobuf:"bytes,8,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
Flow string `protobuf:"bytes,9,opt,name=flow,proto3" json:"flow,omitempty"`
|
|
AlterId int32 `protobuf:"varint,10,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *User) Reset() {
|
|
*x = User{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *User) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*User) ProtoMessage() {}
|
|
|
|
func (x *User) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use User.ProtoReflect.Descriptor instead.
|
|
func (*User) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *User) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *User) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *User) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetInbound() string {
|
|
if x != nil {
|
|
return x.Inbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetSecret() string {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetFlow() string {
|
|
if x != nil {
|
|
return x.Flow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetAlterId() int32 {
|
|
if x != nil {
|
|
return x.AlterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *User) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *User) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UserCreate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SquadIds []int32 `protobuf:"varint,1,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Inbound string `protobuf:"bytes,3,opt,name=inbound,proto3" json:"inbound,omitempty"`
|
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
Uuid string `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
|
|
Secret string `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
Flow string `protobuf:"bytes,8,opt,name=flow,proto3" json:"flow,omitempty"`
|
|
AlterId int32 `protobuf:"varint,9,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserCreate) Reset() {
|
|
*x = UserCreate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserCreate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserCreate) ProtoMessage() {}
|
|
|
|
func (x *UserCreate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserCreate.ProtoReflect.Descriptor instead.
|
|
func (*UserCreate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *UserCreate) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserCreate) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserCreate) GetInbound() string {
|
|
if x != nil {
|
|
return x.Inbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserCreate) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserCreate) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserCreate) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserCreate) GetSecret() string {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserCreate) GetFlow() string {
|
|
if x != nil {
|
|
return x.Flow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserCreate) GetAlterId() int32 {
|
|
if x != nil {
|
|
return x.AlterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UserUpdate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
|
|
Flow string `protobuf:"bytes,4,opt,name=flow,proto3" json:"flow,omitempty"`
|
|
AlterId int32 `protobuf:"varint,5,opt,name=alter_id,json=alterId,proto3" json:"alter_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUpdate) Reset() {
|
|
*x = UserUpdate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUpdate) ProtoMessage() {}
|
|
|
|
func (x *UserUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUpdate.ProtoReflect.Descriptor instead.
|
|
func (*UserUpdate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *UserUpdate) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserUpdate) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserUpdate) GetSecret() string {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserUpdate) GetFlow() string {
|
|
if x != nil {
|
|
return x.Flow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserUpdate) GetAlterId() int32 {
|
|
if x != nil {
|
|
return x.AlterId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UserList struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []*User `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserList) Reset() {
|
|
*x = UserList{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserList) ProtoMessage() {}
|
|
|
|
func (x *UserList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserList.ProtoReflect.Descriptor instead.
|
|
func (*UserList) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *UserList) GetValues() []*User {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserUpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Update *UserUpdate `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUpdateRequest) Reset() {
|
|
*x = UserUpdateRequest{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *UserUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *UserUpdateRequest) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserUpdateRequest) GetUpdate() *UserUpdate {
|
|
if x != nil {
|
|
return x.Update
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BandwidthLimiter struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
SquadIds []int32 `protobuf:"varint,2,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,4,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
ConnectionType string `protobuf:"bytes,6,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
|
|
Mode string `protobuf:"bytes,7,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
FlowKeys []string `protobuf:"bytes,8,rep,name=flow_keys,json=flowKeys,proto3" json:"flow_keys,omitempty"`
|
|
Speed string `protobuf:"bytes,9,opt,name=speed,proto3" json:"speed,omitempty"`
|
|
RawSpeed uint64 `protobuf:"varint,10,opt,name=raw_speed,json=rawSpeed,proto3" json:"raw_speed,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BandwidthLimiter) Reset() {
|
|
*x = BandwidthLimiter{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BandwidthLimiter) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BandwidthLimiter) ProtoMessage() {}
|
|
|
|
func (x *BandwidthLimiter) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BandwidthLimiter.ProtoReflect.Descriptor instead.
|
|
func (*BandwidthLimiter) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetConnectionType() string {
|
|
if x != nil {
|
|
return x.ConnectionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetMode() string {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetFlowKeys() []string {
|
|
if x != nil {
|
|
return x.FlowKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetSpeed() string {
|
|
if x != nil {
|
|
return x.Speed
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetRawSpeed() uint64 {
|
|
if x != nil {
|
|
return x.RawSpeed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BandwidthLimiter) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type BandwidthLimiterCreate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SquadIds []int32 `protobuf:"varint,1,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,3,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
ConnectionType string `protobuf:"bytes,5,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
|
|
Mode string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
FlowKeys []string `protobuf:"bytes,7,rep,name=flow_keys,json=flowKeys,proto3" json:"flow_keys,omitempty"`
|
|
Speed string `protobuf:"bytes,8,opt,name=speed,proto3" json:"speed,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) Reset() {
|
|
*x = BandwidthLimiterCreate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BandwidthLimiterCreate) ProtoMessage() {}
|
|
|
|
func (x *BandwidthLimiterCreate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BandwidthLimiterCreate.ProtoReflect.Descriptor instead.
|
|
func (*BandwidthLimiterCreate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) GetConnectionType() string {
|
|
if x != nil {
|
|
return x.ConnectionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) GetMode() string {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) GetFlowKeys() []string {
|
|
if x != nil {
|
|
return x.FlowKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BandwidthLimiterCreate) GetSpeed() string {
|
|
if x != nil {
|
|
return x.Speed
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BandwidthLimiterUpdate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,2,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,3,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
ConnectionType string `protobuf:"bytes,4,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
|
|
Mode string `protobuf:"bytes,5,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
FlowKeys []string `protobuf:"bytes,6,rep,name=flow_keys,json=flowKeys,proto3" json:"flow_keys,omitempty"`
|
|
Speed string `protobuf:"bytes,7,opt,name=speed,proto3" json:"speed,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdate) Reset() {
|
|
*x = BandwidthLimiterUpdate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BandwidthLimiterUpdate) ProtoMessage() {}
|
|
|
|
func (x *BandwidthLimiterUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BandwidthLimiterUpdate.ProtoReflect.Descriptor instead.
|
|
func (*BandwidthLimiterUpdate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdate) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdate) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdate) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdate) GetConnectionType() string {
|
|
if x != nil {
|
|
return x.ConnectionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdate) GetMode() string {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdate) GetFlowKeys() []string {
|
|
if x != nil {
|
|
return x.FlowKeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdate) GetSpeed() string {
|
|
if x != nil {
|
|
return x.Speed
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BandwidthLimiterList struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []*BandwidthLimiter `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BandwidthLimiterList) Reset() {
|
|
*x = BandwidthLimiterList{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BandwidthLimiterList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BandwidthLimiterList) ProtoMessage() {}
|
|
|
|
func (x *BandwidthLimiterList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BandwidthLimiterList.ProtoReflect.Descriptor instead.
|
|
func (*BandwidthLimiterList) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *BandwidthLimiterList) GetValues() []*BandwidthLimiter {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BandwidthLimiterUpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Update *BandwidthLimiterUpdate `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdateRequest) Reset() {
|
|
*x = BandwidthLimiterUpdateRequest{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BandwidthLimiterUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *BandwidthLimiterUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BandwidthLimiterUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*BandwidthLimiterUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdateRequest) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BandwidthLimiterUpdateRequest) GetUpdate() *BandwidthLimiterUpdate {
|
|
if x != nil {
|
|
return x.Update
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TrafficLimiter struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
SquadIds []int32 `protobuf:"varint,2,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,4,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
Mode string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
RawUsed uint64 `protobuf:"varint,7,opt,name=raw_used,json=rawUsed,proto3" json:"raw_used,omitempty"`
|
|
Quota string `protobuf:"bytes,8,opt,name=quota,proto3" json:"quota,omitempty"`
|
|
RawQuota uint64 `protobuf:"varint,9,opt,name=raw_quota,json=rawQuota,proto3" json:"raw_quota,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TrafficLimiter) Reset() {
|
|
*x = TrafficLimiter{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TrafficLimiter) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrafficLimiter) ProtoMessage() {}
|
|
|
|
func (x *TrafficLimiter) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrafficLimiter.ProtoReflect.Descriptor instead.
|
|
func (*TrafficLimiter) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetMode() string {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetRawUsed() uint64 {
|
|
if x != nil {
|
|
return x.RawUsed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetQuota() string {
|
|
if x != nil {
|
|
return x.Quota
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetRawQuota() uint64 {
|
|
if x != nil {
|
|
return x.RawQuota
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TrafficLimiter) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type TrafficLimiterCreate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SquadIds []int32 `protobuf:"varint,1,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,3,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
Mode string `protobuf:"bytes,5,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
Quota string `protobuf:"bytes,6,opt,name=quota,proto3" json:"quota,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TrafficLimiterCreate) Reset() {
|
|
*x = TrafficLimiterCreate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TrafficLimiterCreate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrafficLimiterCreate) ProtoMessage() {}
|
|
|
|
func (x *TrafficLimiterCreate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrafficLimiterCreate.ProtoReflect.Descriptor instead.
|
|
func (*TrafficLimiterCreate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *TrafficLimiterCreate) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TrafficLimiterCreate) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiterCreate) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiterCreate) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiterCreate) GetMode() string {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiterCreate) GetQuota() string {
|
|
if x != nil {
|
|
return x.Quota
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TrafficLimiterUpdate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,2,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,3,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"`
|
|
Quota string `protobuf:"bytes,5,opt,name=quota,proto3" json:"quota,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdate) Reset() {
|
|
*x = TrafficLimiterUpdate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrafficLimiterUpdate) ProtoMessage() {}
|
|
|
|
func (x *TrafficLimiterUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrafficLimiterUpdate.ProtoReflect.Descriptor instead.
|
|
func (*TrafficLimiterUpdate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdate) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdate) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdate) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdate) GetMode() string {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdate) GetQuota() string {
|
|
if x != nil {
|
|
return x.Quota
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TrafficLimiterList struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []*TrafficLimiter `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TrafficLimiterList) Reset() {
|
|
*x = TrafficLimiterList{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TrafficLimiterList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrafficLimiterList) ProtoMessage() {}
|
|
|
|
func (x *TrafficLimiterList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrafficLimiterList.ProtoReflect.Descriptor instead.
|
|
func (*TrafficLimiterList) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *TrafficLimiterList) GetValues() []*TrafficLimiter {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TrafficLimiterUpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Update *TrafficLimiterUpdate `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdateRequest) Reset() {
|
|
*x = TrafficLimiterUpdateRequest{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TrafficLimiterUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *TrafficLimiterUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TrafficLimiterUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*TrafficLimiterUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdateRequest) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TrafficLimiterUpdateRequest) GetUpdate() *TrafficLimiterUpdate {
|
|
if x != nil {
|
|
return x.Update
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ConnectionLimiter struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
SquadIds []int32 `protobuf:"varint,2,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,4,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
ConnectionType string `protobuf:"bytes,6,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
|
|
LockType string `protobuf:"bytes,7,opt,name=lock_type,json=lockType,proto3" json:"lock_type,omitempty"`
|
|
Count uint32 `protobuf:"varint,8,opt,name=count,proto3" json:"count,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConnectionLimiter) Reset() {
|
|
*x = ConnectionLimiter{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConnectionLimiter) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConnectionLimiter) ProtoMessage() {}
|
|
|
|
func (x *ConnectionLimiter) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConnectionLimiter.ProtoReflect.Descriptor instead.
|
|
func (*ConnectionLimiter) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetConnectionType() string {
|
|
if x != nil {
|
|
return x.ConnectionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetLockType() string {
|
|
if x != nil {
|
|
return x.LockType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetCount() uint32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConnectionLimiter) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ConnectionLimiterCreate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SquadIds []int32 `protobuf:"varint,1,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,3,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
ConnectionType string `protobuf:"bytes,5,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
|
|
LockType string `protobuf:"bytes,6,opt,name=lock_type,json=lockType,proto3" json:"lock_type,omitempty"`
|
|
Count uint32 `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConnectionLimiterCreate) Reset() {
|
|
*x = ConnectionLimiterCreate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConnectionLimiterCreate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConnectionLimiterCreate) ProtoMessage() {}
|
|
|
|
func (x *ConnectionLimiterCreate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConnectionLimiterCreate.ProtoReflect.Descriptor instead.
|
|
func (*ConnectionLimiterCreate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *ConnectionLimiterCreate) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConnectionLimiterCreate) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterCreate) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterCreate) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterCreate) GetConnectionType() string {
|
|
if x != nil {
|
|
return x.ConnectionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterCreate) GetLockType() string {
|
|
if x != nil {
|
|
return x.LockType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterCreate) GetCount() uint32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ConnectionLimiterUpdate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,2,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,3,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
ConnectionType string `protobuf:"bytes,4,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
|
|
LockType string `protobuf:"bytes,5,opt,name=lock_type,json=lockType,proto3" json:"lock_type,omitempty"`
|
|
Count uint32 `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdate) Reset() {
|
|
*x = ConnectionLimiterUpdate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConnectionLimiterUpdate) ProtoMessage() {}
|
|
|
|
func (x *ConnectionLimiterUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConnectionLimiterUpdate.ProtoReflect.Descriptor instead.
|
|
func (*ConnectionLimiterUpdate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdate) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdate) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdate) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdate) GetConnectionType() string {
|
|
if x != nil {
|
|
return x.ConnectionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdate) GetLockType() string {
|
|
if x != nil {
|
|
return x.LockType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdate) GetCount() uint32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ConnectionLimiterList struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []*ConnectionLimiter `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConnectionLimiterList) Reset() {
|
|
*x = ConnectionLimiterList{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConnectionLimiterList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConnectionLimiterList) ProtoMessage() {}
|
|
|
|
func (x *ConnectionLimiterList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConnectionLimiterList.ProtoReflect.Descriptor instead.
|
|
func (*ConnectionLimiterList) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *ConnectionLimiterList) GetValues() []*ConnectionLimiter {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ConnectionLimiterUpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Update *ConnectionLimiterUpdate `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdateRequest) Reset() {
|
|
*x = ConnectionLimiterUpdateRequest{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConnectionLimiterUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *ConnectionLimiterUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ConnectionLimiterUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConnectionLimiterUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdateRequest) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConnectionLimiterUpdateRequest) GetUpdate() *ConnectionLimiterUpdate {
|
|
if x != nil {
|
|
return x.Update
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RateLimiter struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
SquadIds []int32 `protobuf:"varint,2,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,4,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
ConnectionType string `protobuf:"bytes,6,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
|
|
Count uint32 `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"`
|
|
Interval string `protobuf:"bytes,8,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RateLimiter) Reset() {
|
|
*x = RateLimiter{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RateLimiter) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RateLimiter) ProtoMessage() {}
|
|
|
|
func (x *RateLimiter) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RateLimiter.ProtoReflect.Descriptor instead.
|
|
func (*RateLimiter) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *RateLimiter) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RateLimiter) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RateLimiter) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiter) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiter) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiter) GetConnectionType() string {
|
|
if x != nil {
|
|
return x.ConnectionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiter) GetCount() uint32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RateLimiter) GetInterval() string {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiter) GetCreatedAt() int64 {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RateLimiter) GetUpdatedAt() int64 {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RateLimiterCreate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SquadIds []int32 `protobuf:"varint,1,rep,packed,name=squad_ids,json=squadIds,proto3" json:"squad_ids,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,3,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,4,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
ConnectionType string `protobuf:"bytes,5,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
|
|
Count uint32 `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"`
|
|
Interval string `protobuf:"bytes,7,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RateLimiterCreate) Reset() {
|
|
*x = RateLimiterCreate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RateLimiterCreate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RateLimiterCreate) ProtoMessage() {}
|
|
|
|
func (x *RateLimiterCreate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RateLimiterCreate.ProtoReflect.Descriptor instead.
|
|
func (*RateLimiterCreate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *RateLimiterCreate) GetSquadIds() []int32 {
|
|
if x != nil {
|
|
return x.SquadIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RateLimiterCreate) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiterCreate) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiterCreate) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiterCreate) GetConnectionType() string {
|
|
if x != nil {
|
|
return x.ConnectionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiterCreate) GetCount() uint32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RateLimiterCreate) GetInterval() string {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RateLimiterUpdate struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Outbound string `protobuf:"bytes,2,opt,name=outbound,proto3" json:"outbound,omitempty"`
|
|
Strategy string `protobuf:"bytes,3,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
ConnectionType string `protobuf:"bytes,4,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
|
|
Count uint32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"`
|
|
Interval string `protobuf:"bytes,6,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RateLimiterUpdate) Reset() {
|
|
*x = RateLimiterUpdate{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RateLimiterUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RateLimiterUpdate) ProtoMessage() {}
|
|
|
|
func (x *RateLimiterUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RateLimiterUpdate.ProtoReflect.Descriptor instead.
|
|
func (*RateLimiterUpdate) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *RateLimiterUpdate) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiterUpdate) GetOutbound() string {
|
|
if x != nil {
|
|
return x.Outbound
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiterUpdate) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiterUpdate) GetConnectionType() string {
|
|
if x != nil {
|
|
return x.ConnectionType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RateLimiterUpdate) GetCount() uint32 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RateLimiterUpdate) GetInterval() string {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RateLimiterList struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []*RateLimiter `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RateLimiterList) Reset() {
|
|
*x = RateLimiterList{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RateLimiterList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RateLimiterList) ProtoMessage() {}
|
|
|
|
func (x *RateLimiterList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RateLimiterList.ProtoReflect.Descriptor instead.
|
|
func (*RateLimiterList) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *RateLimiterList) GetValues() []*RateLimiter {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RateLimiterUpdateRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Update *RateLimiterUpdate `protobuf:"bytes,2,opt,name=update,proto3" json:"update,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RateLimiterUpdateRequest) Reset() {
|
|
*x = RateLimiterUpdateRequest{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RateLimiterUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RateLimiterUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *RateLimiterUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RateLimiterUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*RateLimiterUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *RateLimiterUpdateRequest) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RateLimiterUpdateRequest) GetUpdate() *RateLimiterUpdate {
|
|
if x != nil {
|
|
return x.Update
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type IdRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IdRequest) Reset() {
|
|
*x = IdRequest{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IdRequest) ProtoMessage() {}
|
|
|
|
func (x *IdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IdRequest.ProtoReflect.Descriptor instead.
|
|
func (*IdRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *IdRequest) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UuidRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UuidRequest) Reset() {
|
|
*x = UuidRequest{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UuidRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UuidRequest) ProtoMessage() {}
|
|
|
|
func (x *UuidRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UuidRequest.ProtoReflect.Descriptor instead.
|
|
func (*UuidRequest) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *UuidRequest) GetUuid() string {
|
|
if x != nil {
|
|
return x.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CountReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CountReply) Reset() {
|
|
*x = CountReply{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CountReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CountReply) ProtoMessage() {}
|
|
|
|
func (x *CountReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CountReply.ProtoReflect.Descriptor instead.
|
|
func (*CountReply) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *CountReply) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type NodeStatusReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *NodeStatusReply) Reset() {
|
|
*x = NodeStatusReply{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *NodeStatusReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeStatusReply) ProtoMessage() {}
|
|
|
|
func (x *NodeStatusReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use NodeStatusReply.ProtoReflect.Descriptor instead.
|
|
func (*NodeStatusReply) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *NodeStatusReply) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StringList struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StringList) Reset() {
|
|
*x = StringList{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StringList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StringList) ProtoMessage() {}
|
|
|
|
func (x *StringList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StringList.ProtoReflect.Descriptor instead.
|
|
func (*StringList) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *StringList) GetValues() []string {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Filters struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values map[string]*StringList `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Filters) Reset() {
|
|
*x = Filters{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Filters) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Filters) ProtoMessage() {}
|
|
|
|
func (x *Filters) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Filters.ProtoReflect.Descriptor instead.
|
|
func (*Filters) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *Filters) GetValues() map[string]*StringList {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Empty struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Empty) Reset() {
|
|
*x = Empty{}
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Empty) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Empty) ProtoMessage() {}
|
|
|
|
func (x *Empty) ProtoReflect() protoreflect.Message {
|
|
mi := &file_service_manager_api_grpc_manager_manager_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
|
|
func (*Empty) Descriptor() ([]byte, []int) {
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
var File_service_manager_api_grpc_manager_manager_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_manager_api_grpc_manager_manager_proto_rawDesc = "" +
|
|
"\n" +
|
|
".service/manager_api/grpc/manager/manager.proto\x12\x0emanager_api.v1\"i\n" +
|
|
"\x05Squad\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\x03 \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\x04 \x01(\x03R\tupdatedAt\"!\n" +
|
|
"\vSquadCreate\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"!\n" +
|
|
"\vSquadUpdate\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\":\n" +
|
|
"\tSquadList\x12-\n" +
|
|
"\x06values\x18\x01 \x03(\v2\x15.manager_api.v1.SquadR\x06values\"Y\n" +
|
|
"\x12SquadUpdateRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x123\n" +
|
|
"\x06update\x18\x02 \x01(\v2\x1b.manager_api.v1.SquadUpdateR\x06update\"\x89\x01\n" +
|
|
"\x04Node\x12\x12\n" +
|
|
"\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x03 \x03(\x05R\bsquadIds\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\x04 \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\x05 \x01(\x03R\tupdatedAt\"Q\n" +
|
|
"\n" +
|
|
"NodeCreate\x12\x12\n" +
|
|
"\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x03 \x03(\x05R\bsquadIds\" \n" +
|
|
"\n" +
|
|
"NodeUpdate\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"8\n" +
|
|
"\bNodeList\x12,\n" +
|
|
"\x06values\x18\x01 \x03(\v2\x14.manager_api.v1.NodeR\x06values\"[\n" +
|
|
"\x11NodeUpdateRequest\x12\x12\n" +
|
|
"\x04uuid\x18\x01 \x01(\tR\x04uuid\x122\n" +
|
|
"\x06update\x18\x02 \x01(\v2\x1a.manager_api.v1.NodeUpdateR\x06update\"\xb2\x02\n" +
|
|
"\x04User\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x02 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x03 \x01(\tR\busername\x12\x18\n" +
|
|
"\ainbound\x18\x04 \x01(\tR\ainbound\x12\x12\n" +
|
|
"\x04type\x18\x05 \x01(\tR\x04type\x12\x12\n" +
|
|
"\x04uuid\x18\x06 \x01(\tR\x04uuid\x12\x1a\n" +
|
|
"\bpassword\x18\a \x01(\tR\bpassword\x12\x16\n" +
|
|
"\x06secret\x18\b \x01(\tR\x06secret\x12\x12\n" +
|
|
"\x04flow\x18\t \x01(\tR\x04flow\x12\x19\n" +
|
|
"\balter_id\x18\n" +
|
|
" \x01(\x05R\aalterId\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\v \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\f \x01(\x03R\tupdatedAt\"\xea\x01\n" +
|
|
"\n" +
|
|
"UserCreate\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x01 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x18\n" +
|
|
"\ainbound\x18\x03 \x01(\tR\ainbound\x12\x12\n" +
|
|
"\x04type\x18\x04 \x01(\tR\x04type\x12\x12\n" +
|
|
"\x04uuid\x18\x05 \x01(\tR\x04uuid\x12\x1a\n" +
|
|
"\bpassword\x18\x06 \x01(\tR\bpassword\x12\x16\n" +
|
|
"\x06secret\x18\a \x01(\tR\x06secret\x12\x12\n" +
|
|
"\x04flow\x18\b \x01(\tR\x04flow\x12\x19\n" +
|
|
"\balter_id\x18\t \x01(\x05R\aalterId\"\x83\x01\n" +
|
|
"\n" +
|
|
"UserUpdate\x12\x12\n" +
|
|
"\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x16\n" +
|
|
"\x06secret\x18\x03 \x01(\tR\x06secret\x12\x12\n" +
|
|
"\x04flow\x18\x04 \x01(\tR\x04flow\x12\x19\n" +
|
|
"\balter_id\x18\x05 \x01(\x05R\aalterId\"8\n" +
|
|
"\bUserList\x12,\n" +
|
|
"\x06values\x18\x01 \x03(\v2\x14.manager_api.v1.UserR\x06values\"W\n" +
|
|
"\x11UserUpdateRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x122\n" +
|
|
"\x06update\x18\x02 \x01(\v2\x1a.manager_api.v1.UserUpdateR\x06update\"\xde\x02\n" +
|
|
"\x10BandwidthLimiter\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x02 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x03 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x04 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x05 \x01(\tR\bstrategy\x12'\n" +
|
|
"\x0fconnection_type\x18\x06 \x01(\tR\x0econnectionType\x12\x12\n" +
|
|
"\x04mode\x18\a \x01(\tR\x04mode\x12\x1b\n" +
|
|
"\tflow_keys\x18\b \x03(\tR\bflowKeys\x12\x14\n" +
|
|
"\x05speed\x18\t \x01(\tR\x05speed\x12\x1b\n" +
|
|
"\traw_speed\x18\n" +
|
|
" \x01(\x04R\brawSpeed\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\v \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\f \x01(\x03R\tupdatedAt\"\xf9\x01\n" +
|
|
"\x16BandwidthLimiterCreate\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x01 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x03 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x04 \x01(\tR\bstrategy\x12'\n" +
|
|
"\x0fconnection_type\x18\x05 \x01(\tR\x0econnectionType\x12\x12\n" +
|
|
"\x04mode\x18\x06 \x01(\tR\x04mode\x12\x1b\n" +
|
|
"\tflow_keys\x18\a \x03(\tR\bflowKeys\x12\x14\n" +
|
|
"\x05speed\x18\b \x01(\tR\x05speed\"\xdc\x01\n" +
|
|
"\x16BandwidthLimiterUpdate\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x02 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x03 \x01(\tR\bstrategy\x12'\n" +
|
|
"\x0fconnection_type\x18\x04 \x01(\tR\x0econnectionType\x12\x12\n" +
|
|
"\x04mode\x18\x05 \x01(\tR\x04mode\x12\x1b\n" +
|
|
"\tflow_keys\x18\x06 \x03(\tR\bflowKeys\x12\x14\n" +
|
|
"\x05speed\x18\a \x01(\tR\x05speed\"P\n" +
|
|
"\x14BandwidthLimiterList\x128\n" +
|
|
"\x06values\x18\x01 \x03(\v2 .manager_api.v1.BandwidthLimiterR\x06values\"o\n" +
|
|
"\x1dBandwidthLimiterUpdateRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12>\n" +
|
|
"\x06update\x18\x02 \x01(\v2&.manager_api.v1.BandwidthLimiterUpdateR\x06update\"\xb1\x02\n" +
|
|
"\x0eTrafficLimiter\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x02 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x03 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x04 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x05 \x01(\tR\bstrategy\x12\x12\n" +
|
|
"\x04mode\x18\x06 \x01(\tR\x04mode\x12\x19\n" +
|
|
"\braw_used\x18\a \x01(\x04R\arawUsed\x12\x14\n" +
|
|
"\x05quota\x18\b \x01(\tR\x05quota\x12\x1b\n" +
|
|
"\traw_quota\x18\t \x01(\x04R\brawQuota\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\n" +
|
|
" \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\v \x01(\x03R\tupdatedAt\"\xb1\x01\n" +
|
|
"\x14TrafficLimiterCreate\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x01 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x03 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x04 \x01(\tR\bstrategy\x12\x12\n" +
|
|
"\x04mode\x18\x05 \x01(\tR\x04mode\x12\x14\n" +
|
|
"\x05quota\x18\x06 \x01(\tR\x05quota\"\x94\x01\n" +
|
|
"\x14TrafficLimiterUpdate\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x02 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x03 \x01(\tR\bstrategy\x12\x12\n" +
|
|
"\x04mode\x18\x04 \x01(\tR\x04mode\x12\x14\n" +
|
|
"\x05quota\x18\x05 \x01(\tR\x05quota\"L\n" +
|
|
"\x12TrafficLimiterList\x126\n" +
|
|
"\x06values\x18\x01 \x03(\v2\x1e.manager_api.v1.TrafficLimiterR\x06values\"k\n" +
|
|
"\x1bTrafficLimiterUpdateRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12<\n" +
|
|
"\x06update\x18\x02 \x01(\v2$.manager_api.v1.TrafficLimiterUpdateR\x06update\"\xae\x02\n" +
|
|
"\x11ConnectionLimiter\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x02 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x03 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x04 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x05 \x01(\tR\bstrategy\x12'\n" +
|
|
"\x0fconnection_type\x18\x06 \x01(\tR\x0econnectionType\x12\x1b\n" +
|
|
"\tlock_type\x18\a \x01(\tR\blockType\x12\x14\n" +
|
|
"\x05count\x18\b \x01(\rR\x05count\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\t \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\n" +
|
|
" \x01(\x03R\tupdatedAt\"\xe6\x01\n" +
|
|
"\x17ConnectionLimiterCreate\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x01 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x03 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x04 \x01(\tR\bstrategy\x12'\n" +
|
|
"\x0fconnection_type\x18\x05 \x01(\tR\x0econnectionType\x12\x1b\n" +
|
|
"\tlock_type\x18\x06 \x01(\tR\blockType\x12\x14\n" +
|
|
"\x05count\x18\a \x01(\rR\x05count\"\xc9\x01\n" +
|
|
"\x17ConnectionLimiterUpdate\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x02 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x03 \x01(\tR\bstrategy\x12'\n" +
|
|
"\x0fconnection_type\x18\x04 \x01(\tR\x0econnectionType\x12\x1b\n" +
|
|
"\tlock_type\x18\x05 \x01(\tR\blockType\x12\x14\n" +
|
|
"\x05count\x18\x06 \x01(\rR\x05count\"R\n" +
|
|
"\x15ConnectionLimiterList\x129\n" +
|
|
"\x06values\x18\x01 \x03(\v2!.manager_api.v1.ConnectionLimiterR\x06values\"q\n" +
|
|
"\x1eConnectionLimiterUpdateRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12?\n" +
|
|
"\x06update\x18\x02 \x01(\v2'.manager_api.v1.ConnectionLimiterUpdateR\x06update\"\xa7\x02\n" +
|
|
"\vRateLimiter\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x02 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x03 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x04 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x05 \x01(\tR\bstrategy\x12'\n" +
|
|
"\x0fconnection_type\x18\x06 \x01(\tR\x0econnectionType\x12\x14\n" +
|
|
"\x05count\x18\a \x01(\rR\x05count\x12\x1a\n" +
|
|
"\binterval\x18\b \x01(\tR\binterval\x12\x1d\n" +
|
|
"\n" +
|
|
"created_at\x18\t \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"updated_at\x18\n" +
|
|
" \x01(\x03R\tupdatedAt\"\xdf\x01\n" +
|
|
"\x11RateLimiterCreate\x12\x1b\n" +
|
|
"\tsquad_ids\x18\x01 \x03(\x05R\bsquadIds\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x03 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x04 \x01(\tR\bstrategy\x12'\n" +
|
|
"\x0fconnection_type\x18\x05 \x01(\tR\x0econnectionType\x12\x14\n" +
|
|
"\x05count\x18\x06 \x01(\rR\x05count\x12\x1a\n" +
|
|
"\binterval\x18\a \x01(\tR\binterval\"\xc2\x01\n" +
|
|
"\x11RateLimiterUpdate\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
|
|
"\boutbound\x18\x02 \x01(\tR\boutbound\x12\x1a\n" +
|
|
"\bstrategy\x18\x03 \x01(\tR\bstrategy\x12'\n" +
|
|
"\x0fconnection_type\x18\x04 \x01(\tR\x0econnectionType\x12\x14\n" +
|
|
"\x05count\x18\x05 \x01(\rR\x05count\x12\x1a\n" +
|
|
"\binterval\x18\x06 \x01(\tR\binterval\"F\n" +
|
|
"\x0fRateLimiterList\x123\n" +
|
|
"\x06values\x18\x01 \x03(\v2\x1b.manager_api.v1.RateLimiterR\x06values\"e\n" +
|
|
"\x18RateLimiterUpdateRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x129\n" +
|
|
"\x06update\x18\x02 \x01(\v2!.manager_api.v1.RateLimiterUpdateR\x06update\"\x1b\n" +
|
|
"\tIdRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\"!\n" +
|
|
"\vUuidRequest\x12\x12\n" +
|
|
"\x04uuid\x18\x01 \x01(\tR\x04uuid\"\"\n" +
|
|
"\n" +
|
|
"CountReply\x12\x14\n" +
|
|
"\x05count\x18\x01 \x01(\x03R\x05count\")\n" +
|
|
"\x0fNodeStatusReply\x12\x16\n" +
|
|
"\x06status\x18\x01 \x01(\tR\x06status\"$\n" +
|
|
"\n" +
|
|
"StringList\x12\x16\n" +
|
|
"\x06values\x18\x01 \x03(\tR\x06values\"\x9d\x01\n" +
|
|
"\aFilters\x12;\n" +
|
|
"\x06values\x18\x01 \x03(\v2#.manager_api.v1.Filters.ValuesEntryR\x06values\x1aU\n" +
|
|
"\vValuesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x120\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x1a.manager_api.v1.StringListR\x05value:\x028\x01\"\a\n" +
|
|
"\x05Empty2\xbc\x1a\n" +
|
|
"\aManager\x12A\n" +
|
|
"\vCreateSquad\x12\x1b.manager_api.v1.SquadCreate\x1a\x15.manager_api.v1.Squad\x12?\n" +
|
|
"\tGetSquads\x12\x17.manager_api.v1.Filters\x1a\x19.manager_api.v1.SquadList\x12E\n" +
|
|
"\x0eGetSquadsCount\x12\x17.manager_api.v1.Filters\x1a\x1a.manager_api.v1.CountReply\x12<\n" +
|
|
"\bGetSquad\x12\x19.manager_api.v1.IdRequest\x1a\x15.manager_api.v1.Squad\x12H\n" +
|
|
"\vUpdateSquad\x12\".manager_api.v1.SquadUpdateRequest\x1a\x15.manager_api.v1.Squad\x12?\n" +
|
|
"\vDeleteSquad\x12\x19.manager_api.v1.IdRequest\x1a\x15.manager_api.v1.Squad\x12>\n" +
|
|
"\n" +
|
|
"CreateNode\x12\x1a.manager_api.v1.NodeCreate\x1a\x14.manager_api.v1.Node\x12=\n" +
|
|
"\bGetNodes\x12\x17.manager_api.v1.Filters\x1a\x18.manager_api.v1.NodeList\x12D\n" +
|
|
"\rGetNodesCount\x12\x17.manager_api.v1.Filters\x1a\x1a.manager_api.v1.CountReply\x12<\n" +
|
|
"\aGetNode\x12\x1b.manager_api.v1.UuidRequest\x1a\x14.manager_api.v1.Node\x12M\n" +
|
|
"\rGetNodeStatus\x12\x1b.manager_api.v1.UuidRequest\x1a\x1f.manager_api.v1.NodeStatusReply\x12E\n" +
|
|
"\n" +
|
|
"UpdateNode\x12!.manager_api.v1.NodeUpdateRequest\x1a\x14.manager_api.v1.Node\x12?\n" +
|
|
"\n" +
|
|
"DeleteNode\x12\x1b.manager_api.v1.UuidRequest\x1a\x14.manager_api.v1.Node\x12>\n" +
|
|
"\n" +
|
|
"CreateUser\x12\x1a.manager_api.v1.UserCreate\x1a\x14.manager_api.v1.User\x12=\n" +
|
|
"\bGetUsers\x12\x17.manager_api.v1.Filters\x1a\x18.manager_api.v1.UserList\x12D\n" +
|
|
"\rGetUsersCount\x12\x17.manager_api.v1.Filters\x1a\x1a.manager_api.v1.CountReply\x12:\n" +
|
|
"\aGetUser\x12\x19.manager_api.v1.IdRequest\x1a\x14.manager_api.v1.User\x12E\n" +
|
|
"\n" +
|
|
"UpdateUser\x12!.manager_api.v1.UserUpdateRequest\x1a\x14.manager_api.v1.User\x12=\n" +
|
|
"\n" +
|
|
"DeleteUser\x12\x19.manager_api.v1.IdRequest\x1a\x14.manager_api.v1.User\x12b\n" +
|
|
"\x16CreateBandwidthLimiter\x12&.manager_api.v1.BandwidthLimiterCreate\x1a .manager_api.v1.BandwidthLimiter\x12U\n" +
|
|
"\x14GetBandwidthLimiters\x12\x17.manager_api.v1.Filters\x1a$.manager_api.v1.BandwidthLimiterList\x12P\n" +
|
|
"\x19GetBandwidthLimitersCount\x12\x17.manager_api.v1.Filters\x1a\x1a.manager_api.v1.CountReply\x12R\n" +
|
|
"\x13GetBandwidthLimiter\x12\x19.manager_api.v1.IdRequest\x1a .manager_api.v1.BandwidthLimiter\x12i\n" +
|
|
"\x16UpdateBandwidthLimiter\x12-.manager_api.v1.BandwidthLimiterUpdateRequest\x1a .manager_api.v1.BandwidthLimiter\x12U\n" +
|
|
"\x16DeleteBandwidthLimiter\x12\x19.manager_api.v1.IdRequest\x1a .manager_api.v1.BandwidthLimiter\x12\\\n" +
|
|
"\x14CreateTrafficLimiter\x12$.manager_api.v1.TrafficLimiterCreate\x1a\x1e.manager_api.v1.TrafficLimiter\x12Q\n" +
|
|
"\x12GetTrafficLimiters\x12\x17.manager_api.v1.Filters\x1a\".manager_api.v1.TrafficLimiterList\x12N\n" +
|
|
"\x17GetTrafficLimitersCount\x12\x17.manager_api.v1.Filters\x1a\x1a.manager_api.v1.CountReply\x12N\n" +
|
|
"\x11GetTrafficLimiter\x12\x19.manager_api.v1.IdRequest\x1a\x1e.manager_api.v1.TrafficLimiter\x12c\n" +
|
|
"\x14UpdateTrafficLimiter\x12+.manager_api.v1.TrafficLimiterUpdateRequest\x1a\x1e.manager_api.v1.TrafficLimiter\x12Q\n" +
|
|
"\x14DeleteTrafficLimiter\x12\x19.manager_api.v1.IdRequest\x1a\x1e.manager_api.v1.TrafficLimiter\x12e\n" +
|
|
"\x17CreateConnectionLimiter\x12'.manager_api.v1.ConnectionLimiterCreate\x1a!.manager_api.v1.ConnectionLimiter\x12W\n" +
|
|
"\x15GetConnectionLimiters\x12\x17.manager_api.v1.Filters\x1a%.manager_api.v1.ConnectionLimiterList\x12Q\n" +
|
|
"\x1aGetConnectionLimitersCount\x12\x17.manager_api.v1.Filters\x1a\x1a.manager_api.v1.CountReply\x12T\n" +
|
|
"\x14GetConnectionLimiter\x12\x19.manager_api.v1.IdRequest\x1a!.manager_api.v1.ConnectionLimiter\x12l\n" +
|
|
"\x17UpdateConnectionLimiter\x12..manager_api.v1.ConnectionLimiterUpdateRequest\x1a!.manager_api.v1.ConnectionLimiter\x12W\n" +
|
|
"\x17DeleteConnectionLimiter\x12\x19.manager_api.v1.IdRequest\x1a!.manager_api.v1.ConnectionLimiter\x12S\n" +
|
|
"\x11CreateRateLimiter\x12!.manager_api.v1.RateLimiterCreate\x1a\x1b.manager_api.v1.RateLimiter\x12K\n" +
|
|
"\x0fGetRateLimiters\x12\x17.manager_api.v1.Filters\x1a\x1f.manager_api.v1.RateLimiterList\x12K\n" +
|
|
"\x14GetRateLimitersCount\x12\x17.manager_api.v1.Filters\x1a\x1a.manager_api.v1.CountReply\x12H\n" +
|
|
"\x0eGetRateLimiter\x12\x19.manager_api.v1.IdRequest\x1a\x1b.manager_api.v1.RateLimiter\x12Z\n" +
|
|
"\x11UpdateRateLimiter\x12(.manager_api.v1.RateLimiterUpdateRequest\x1a\x1b.manager_api.v1.RateLimiter\x12K\n" +
|
|
"\x11DeleteRateLimiter\x12\x19.manager_api.v1.IdRequest\x1a\x1b.manager_api.v1.RateLimiterB?Z=github.com/sagernet/sing-box/service/manager_api/grpc/managerb\x06proto3"
|
|
|
|
var (
|
|
file_service_manager_api_grpc_manager_manager_proto_rawDescOnce sync.Once
|
|
file_service_manager_api_grpc_manager_manager_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_service_manager_api_grpc_manager_manager_proto_rawDescGZIP() []byte {
|
|
file_service_manager_api_grpc_manager_manager_proto_rawDescOnce.Do(func() {
|
|
file_service_manager_api_grpc_manager_manager_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_manager_api_grpc_manager_manager_proto_rawDesc), len(file_service_manager_api_grpc_manager_manager_proto_rawDesc)))
|
|
})
|
|
return file_service_manager_api_grpc_manager_manager_proto_rawDescData
|
|
}
|
|
|
|
var file_service_manager_api_grpc_manager_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 43)
|
|
var file_service_manager_api_grpc_manager_manager_proto_goTypes = []any{
|
|
(*Squad)(nil), // 0: manager_api.v1.Squad
|
|
(*SquadCreate)(nil), // 1: manager_api.v1.SquadCreate
|
|
(*SquadUpdate)(nil), // 2: manager_api.v1.SquadUpdate
|
|
(*SquadList)(nil), // 3: manager_api.v1.SquadList
|
|
(*SquadUpdateRequest)(nil), // 4: manager_api.v1.SquadUpdateRequest
|
|
(*Node)(nil), // 5: manager_api.v1.Node
|
|
(*NodeCreate)(nil), // 6: manager_api.v1.NodeCreate
|
|
(*NodeUpdate)(nil), // 7: manager_api.v1.NodeUpdate
|
|
(*NodeList)(nil), // 8: manager_api.v1.NodeList
|
|
(*NodeUpdateRequest)(nil), // 9: manager_api.v1.NodeUpdateRequest
|
|
(*User)(nil), // 10: manager_api.v1.User
|
|
(*UserCreate)(nil), // 11: manager_api.v1.UserCreate
|
|
(*UserUpdate)(nil), // 12: manager_api.v1.UserUpdate
|
|
(*UserList)(nil), // 13: manager_api.v1.UserList
|
|
(*UserUpdateRequest)(nil), // 14: manager_api.v1.UserUpdateRequest
|
|
(*BandwidthLimiter)(nil), // 15: manager_api.v1.BandwidthLimiter
|
|
(*BandwidthLimiterCreate)(nil), // 16: manager_api.v1.BandwidthLimiterCreate
|
|
(*BandwidthLimiterUpdate)(nil), // 17: manager_api.v1.BandwidthLimiterUpdate
|
|
(*BandwidthLimiterList)(nil), // 18: manager_api.v1.BandwidthLimiterList
|
|
(*BandwidthLimiterUpdateRequest)(nil), // 19: manager_api.v1.BandwidthLimiterUpdateRequest
|
|
(*TrafficLimiter)(nil), // 20: manager_api.v1.TrafficLimiter
|
|
(*TrafficLimiterCreate)(nil), // 21: manager_api.v1.TrafficLimiterCreate
|
|
(*TrafficLimiterUpdate)(nil), // 22: manager_api.v1.TrafficLimiterUpdate
|
|
(*TrafficLimiterList)(nil), // 23: manager_api.v1.TrafficLimiterList
|
|
(*TrafficLimiterUpdateRequest)(nil), // 24: manager_api.v1.TrafficLimiterUpdateRequest
|
|
(*ConnectionLimiter)(nil), // 25: manager_api.v1.ConnectionLimiter
|
|
(*ConnectionLimiterCreate)(nil), // 26: manager_api.v1.ConnectionLimiterCreate
|
|
(*ConnectionLimiterUpdate)(nil), // 27: manager_api.v1.ConnectionLimiterUpdate
|
|
(*ConnectionLimiterList)(nil), // 28: manager_api.v1.ConnectionLimiterList
|
|
(*ConnectionLimiterUpdateRequest)(nil), // 29: manager_api.v1.ConnectionLimiterUpdateRequest
|
|
(*RateLimiter)(nil), // 30: manager_api.v1.RateLimiter
|
|
(*RateLimiterCreate)(nil), // 31: manager_api.v1.RateLimiterCreate
|
|
(*RateLimiterUpdate)(nil), // 32: manager_api.v1.RateLimiterUpdate
|
|
(*RateLimiterList)(nil), // 33: manager_api.v1.RateLimiterList
|
|
(*RateLimiterUpdateRequest)(nil), // 34: manager_api.v1.RateLimiterUpdateRequest
|
|
(*IdRequest)(nil), // 35: manager_api.v1.IdRequest
|
|
(*UuidRequest)(nil), // 36: manager_api.v1.UuidRequest
|
|
(*CountReply)(nil), // 37: manager_api.v1.CountReply
|
|
(*NodeStatusReply)(nil), // 38: manager_api.v1.NodeStatusReply
|
|
(*StringList)(nil), // 39: manager_api.v1.StringList
|
|
(*Filters)(nil), // 40: manager_api.v1.Filters
|
|
(*Empty)(nil), // 41: manager_api.v1.Empty
|
|
nil, // 42: manager_api.v1.Filters.ValuesEntry
|
|
}
|
|
var file_service_manager_api_grpc_manager_manager_proto_depIdxs = []int32{
|
|
0, // 0: manager_api.v1.SquadList.values:type_name -> manager_api.v1.Squad
|
|
2, // 1: manager_api.v1.SquadUpdateRequest.update:type_name -> manager_api.v1.SquadUpdate
|
|
5, // 2: manager_api.v1.NodeList.values:type_name -> manager_api.v1.Node
|
|
7, // 3: manager_api.v1.NodeUpdateRequest.update:type_name -> manager_api.v1.NodeUpdate
|
|
10, // 4: manager_api.v1.UserList.values:type_name -> manager_api.v1.User
|
|
12, // 5: manager_api.v1.UserUpdateRequest.update:type_name -> manager_api.v1.UserUpdate
|
|
15, // 6: manager_api.v1.BandwidthLimiterList.values:type_name -> manager_api.v1.BandwidthLimiter
|
|
17, // 7: manager_api.v1.BandwidthLimiterUpdateRequest.update:type_name -> manager_api.v1.BandwidthLimiterUpdate
|
|
20, // 8: manager_api.v1.TrafficLimiterList.values:type_name -> manager_api.v1.TrafficLimiter
|
|
22, // 9: manager_api.v1.TrafficLimiterUpdateRequest.update:type_name -> manager_api.v1.TrafficLimiterUpdate
|
|
25, // 10: manager_api.v1.ConnectionLimiterList.values:type_name -> manager_api.v1.ConnectionLimiter
|
|
27, // 11: manager_api.v1.ConnectionLimiterUpdateRequest.update:type_name -> manager_api.v1.ConnectionLimiterUpdate
|
|
30, // 12: manager_api.v1.RateLimiterList.values:type_name -> manager_api.v1.RateLimiter
|
|
32, // 13: manager_api.v1.RateLimiterUpdateRequest.update:type_name -> manager_api.v1.RateLimiterUpdate
|
|
42, // 14: manager_api.v1.Filters.values:type_name -> manager_api.v1.Filters.ValuesEntry
|
|
39, // 15: manager_api.v1.Filters.ValuesEntry.value:type_name -> manager_api.v1.StringList
|
|
1, // 16: manager_api.v1.Manager.CreateSquad:input_type -> manager_api.v1.SquadCreate
|
|
40, // 17: manager_api.v1.Manager.GetSquads:input_type -> manager_api.v1.Filters
|
|
40, // 18: manager_api.v1.Manager.GetSquadsCount:input_type -> manager_api.v1.Filters
|
|
35, // 19: manager_api.v1.Manager.GetSquad:input_type -> manager_api.v1.IdRequest
|
|
4, // 20: manager_api.v1.Manager.UpdateSquad:input_type -> manager_api.v1.SquadUpdateRequest
|
|
35, // 21: manager_api.v1.Manager.DeleteSquad:input_type -> manager_api.v1.IdRequest
|
|
6, // 22: manager_api.v1.Manager.CreateNode:input_type -> manager_api.v1.NodeCreate
|
|
40, // 23: manager_api.v1.Manager.GetNodes:input_type -> manager_api.v1.Filters
|
|
40, // 24: manager_api.v1.Manager.GetNodesCount:input_type -> manager_api.v1.Filters
|
|
36, // 25: manager_api.v1.Manager.GetNode:input_type -> manager_api.v1.UuidRequest
|
|
36, // 26: manager_api.v1.Manager.GetNodeStatus:input_type -> manager_api.v1.UuidRequest
|
|
9, // 27: manager_api.v1.Manager.UpdateNode:input_type -> manager_api.v1.NodeUpdateRequest
|
|
36, // 28: manager_api.v1.Manager.DeleteNode:input_type -> manager_api.v1.UuidRequest
|
|
11, // 29: manager_api.v1.Manager.CreateUser:input_type -> manager_api.v1.UserCreate
|
|
40, // 30: manager_api.v1.Manager.GetUsers:input_type -> manager_api.v1.Filters
|
|
40, // 31: manager_api.v1.Manager.GetUsersCount:input_type -> manager_api.v1.Filters
|
|
35, // 32: manager_api.v1.Manager.GetUser:input_type -> manager_api.v1.IdRequest
|
|
14, // 33: manager_api.v1.Manager.UpdateUser:input_type -> manager_api.v1.UserUpdateRequest
|
|
35, // 34: manager_api.v1.Manager.DeleteUser:input_type -> manager_api.v1.IdRequest
|
|
16, // 35: manager_api.v1.Manager.CreateBandwidthLimiter:input_type -> manager_api.v1.BandwidthLimiterCreate
|
|
40, // 36: manager_api.v1.Manager.GetBandwidthLimiters:input_type -> manager_api.v1.Filters
|
|
40, // 37: manager_api.v1.Manager.GetBandwidthLimitersCount:input_type -> manager_api.v1.Filters
|
|
35, // 38: manager_api.v1.Manager.GetBandwidthLimiter:input_type -> manager_api.v1.IdRequest
|
|
19, // 39: manager_api.v1.Manager.UpdateBandwidthLimiter:input_type -> manager_api.v1.BandwidthLimiterUpdateRequest
|
|
35, // 40: manager_api.v1.Manager.DeleteBandwidthLimiter:input_type -> manager_api.v1.IdRequest
|
|
21, // 41: manager_api.v1.Manager.CreateTrafficLimiter:input_type -> manager_api.v1.TrafficLimiterCreate
|
|
40, // 42: manager_api.v1.Manager.GetTrafficLimiters:input_type -> manager_api.v1.Filters
|
|
40, // 43: manager_api.v1.Manager.GetTrafficLimitersCount:input_type -> manager_api.v1.Filters
|
|
35, // 44: manager_api.v1.Manager.GetTrafficLimiter:input_type -> manager_api.v1.IdRequest
|
|
24, // 45: manager_api.v1.Manager.UpdateTrafficLimiter:input_type -> manager_api.v1.TrafficLimiterUpdateRequest
|
|
35, // 46: manager_api.v1.Manager.DeleteTrafficLimiter:input_type -> manager_api.v1.IdRequest
|
|
26, // 47: manager_api.v1.Manager.CreateConnectionLimiter:input_type -> manager_api.v1.ConnectionLimiterCreate
|
|
40, // 48: manager_api.v1.Manager.GetConnectionLimiters:input_type -> manager_api.v1.Filters
|
|
40, // 49: manager_api.v1.Manager.GetConnectionLimitersCount:input_type -> manager_api.v1.Filters
|
|
35, // 50: manager_api.v1.Manager.GetConnectionLimiter:input_type -> manager_api.v1.IdRequest
|
|
29, // 51: manager_api.v1.Manager.UpdateConnectionLimiter:input_type -> manager_api.v1.ConnectionLimiterUpdateRequest
|
|
35, // 52: manager_api.v1.Manager.DeleteConnectionLimiter:input_type -> manager_api.v1.IdRequest
|
|
31, // 53: manager_api.v1.Manager.CreateRateLimiter:input_type -> manager_api.v1.RateLimiterCreate
|
|
40, // 54: manager_api.v1.Manager.GetRateLimiters:input_type -> manager_api.v1.Filters
|
|
40, // 55: manager_api.v1.Manager.GetRateLimitersCount:input_type -> manager_api.v1.Filters
|
|
35, // 56: manager_api.v1.Manager.GetRateLimiter:input_type -> manager_api.v1.IdRequest
|
|
34, // 57: manager_api.v1.Manager.UpdateRateLimiter:input_type -> manager_api.v1.RateLimiterUpdateRequest
|
|
35, // 58: manager_api.v1.Manager.DeleteRateLimiter:input_type -> manager_api.v1.IdRequest
|
|
0, // 59: manager_api.v1.Manager.CreateSquad:output_type -> manager_api.v1.Squad
|
|
3, // 60: manager_api.v1.Manager.GetSquads:output_type -> manager_api.v1.SquadList
|
|
37, // 61: manager_api.v1.Manager.GetSquadsCount:output_type -> manager_api.v1.CountReply
|
|
0, // 62: manager_api.v1.Manager.GetSquad:output_type -> manager_api.v1.Squad
|
|
0, // 63: manager_api.v1.Manager.UpdateSquad:output_type -> manager_api.v1.Squad
|
|
0, // 64: manager_api.v1.Manager.DeleteSquad:output_type -> manager_api.v1.Squad
|
|
5, // 65: manager_api.v1.Manager.CreateNode:output_type -> manager_api.v1.Node
|
|
8, // 66: manager_api.v1.Manager.GetNodes:output_type -> manager_api.v1.NodeList
|
|
37, // 67: manager_api.v1.Manager.GetNodesCount:output_type -> manager_api.v1.CountReply
|
|
5, // 68: manager_api.v1.Manager.GetNode:output_type -> manager_api.v1.Node
|
|
38, // 69: manager_api.v1.Manager.GetNodeStatus:output_type -> manager_api.v1.NodeStatusReply
|
|
5, // 70: manager_api.v1.Manager.UpdateNode:output_type -> manager_api.v1.Node
|
|
5, // 71: manager_api.v1.Manager.DeleteNode:output_type -> manager_api.v1.Node
|
|
10, // 72: manager_api.v1.Manager.CreateUser:output_type -> manager_api.v1.User
|
|
13, // 73: manager_api.v1.Manager.GetUsers:output_type -> manager_api.v1.UserList
|
|
37, // 74: manager_api.v1.Manager.GetUsersCount:output_type -> manager_api.v1.CountReply
|
|
10, // 75: manager_api.v1.Manager.GetUser:output_type -> manager_api.v1.User
|
|
10, // 76: manager_api.v1.Manager.UpdateUser:output_type -> manager_api.v1.User
|
|
10, // 77: manager_api.v1.Manager.DeleteUser:output_type -> manager_api.v1.User
|
|
15, // 78: manager_api.v1.Manager.CreateBandwidthLimiter:output_type -> manager_api.v1.BandwidthLimiter
|
|
18, // 79: manager_api.v1.Manager.GetBandwidthLimiters:output_type -> manager_api.v1.BandwidthLimiterList
|
|
37, // 80: manager_api.v1.Manager.GetBandwidthLimitersCount:output_type -> manager_api.v1.CountReply
|
|
15, // 81: manager_api.v1.Manager.GetBandwidthLimiter:output_type -> manager_api.v1.BandwidthLimiter
|
|
15, // 82: manager_api.v1.Manager.UpdateBandwidthLimiter:output_type -> manager_api.v1.BandwidthLimiter
|
|
15, // 83: manager_api.v1.Manager.DeleteBandwidthLimiter:output_type -> manager_api.v1.BandwidthLimiter
|
|
20, // 84: manager_api.v1.Manager.CreateTrafficLimiter:output_type -> manager_api.v1.TrafficLimiter
|
|
23, // 85: manager_api.v1.Manager.GetTrafficLimiters:output_type -> manager_api.v1.TrafficLimiterList
|
|
37, // 86: manager_api.v1.Manager.GetTrafficLimitersCount:output_type -> manager_api.v1.CountReply
|
|
20, // 87: manager_api.v1.Manager.GetTrafficLimiter:output_type -> manager_api.v1.TrafficLimiter
|
|
20, // 88: manager_api.v1.Manager.UpdateTrafficLimiter:output_type -> manager_api.v1.TrafficLimiter
|
|
20, // 89: manager_api.v1.Manager.DeleteTrafficLimiter:output_type -> manager_api.v1.TrafficLimiter
|
|
25, // 90: manager_api.v1.Manager.CreateConnectionLimiter:output_type -> manager_api.v1.ConnectionLimiter
|
|
28, // 91: manager_api.v1.Manager.GetConnectionLimiters:output_type -> manager_api.v1.ConnectionLimiterList
|
|
37, // 92: manager_api.v1.Manager.GetConnectionLimitersCount:output_type -> manager_api.v1.CountReply
|
|
25, // 93: manager_api.v1.Manager.GetConnectionLimiter:output_type -> manager_api.v1.ConnectionLimiter
|
|
25, // 94: manager_api.v1.Manager.UpdateConnectionLimiter:output_type -> manager_api.v1.ConnectionLimiter
|
|
25, // 95: manager_api.v1.Manager.DeleteConnectionLimiter:output_type -> manager_api.v1.ConnectionLimiter
|
|
30, // 96: manager_api.v1.Manager.CreateRateLimiter:output_type -> manager_api.v1.RateLimiter
|
|
33, // 97: manager_api.v1.Manager.GetRateLimiters:output_type -> manager_api.v1.RateLimiterList
|
|
37, // 98: manager_api.v1.Manager.GetRateLimitersCount:output_type -> manager_api.v1.CountReply
|
|
30, // 99: manager_api.v1.Manager.GetRateLimiter:output_type -> manager_api.v1.RateLimiter
|
|
30, // 100: manager_api.v1.Manager.UpdateRateLimiter:output_type -> manager_api.v1.RateLimiter
|
|
30, // 101: manager_api.v1.Manager.DeleteRateLimiter:output_type -> manager_api.v1.RateLimiter
|
|
59, // [59:102] is the sub-list for method output_type
|
|
16, // [16:59] is the sub-list for method input_type
|
|
16, // [16:16] is the sub-list for extension type_name
|
|
16, // [16:16] is the sub-list for extension extendee
|
|
0, // [0:16] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_service_manager_api_grpc_manager_manager_proto_init() }
|
|
func file_service_manager_api_grpc_manager_manager_proto_init() {
|
|
if File_service_manager_api_grpc_manager_manager_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_manager_api_grpc_manager_manager_proto_rawDesc), len(file_service_manager_api_grpc_manager_manager_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 43,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_manager_api_grpc_manager_manager_proto_goTypes,
|
|
DependencyIndexes: file_service_manager_api_grpc_manager_manager_proto_depIdxs,
|
|
MessageInfos: file_service_manager_api_grpc_manager_manager_proto_msgTypes,
|
|
}.Build()
|
|
File_service_manager_api_grpc_manager_manager_proto = out.File
|
|
file_service_manager_api_grpc_manager_manager_proto_goTypes = nil
|
|
file_service_manager_api_grpc_manager_manager_proto_depIdxs = nil
|
|
}
|