v1

package
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Group_GetNodeGroupList_FullMethodName         = "/api.admin.group.v1.Group/GetNodeGroupList"
	Group_CreateNodeGroup_FullMethodName          = "/api.admin.group.v1.Group/CreateNodeGroup"
	Group_UpdateNodeGroup_FullMethodName          = "/api.admin.group.v1.Group/UpdateNodeGroup"
	Group_DeleteNodeGroup_FullMethodName          = "/api.admin.group.v1.Group/DeleteNodeGroup"
	Group_GetGroupConfig_FullMethodName           = "/api.admin.group.v1.Group/GetGroupConfig"
	Group_UpdateGroupConfig_FullMethodName        = "/api.admin.group.v1.Group/UpdateGroupConfig"
	Group_RecalculateGroup_FullMethodName         = "/api.admin.group.v1.Group/RecalculateGroup"
	Group_GetRecalculationStatus_FullMethodName   = "/api.admin.group.v1.Group/GetRecalculationStatus"
	Group_GetGroupHistory_FullMethodName          = "/api.admin.group.v1.Group/GetGroupHistory"
	Group_GetGroupHistoryDetail_FullMethodName    = "/api.admin.group.v1.Group/GetGroupHistoryDetail"
	Group_ExportGroupResult_FullMethodName        = "/api.admin.group.v1.Group/ExportGroupResult"
	Group_MigrateUsers_FullMethodName             = "/api.admin.group.v1.Group/MigrateUsers"
	Group_PreviewUserNodes_FullMethodName         = "/api.admin.group.v1.Group/PreviewUserNodes"
	Group_ResetGroups_FullMethodName              = "/api.admin.group.v1.Group/ResetGroups"
	Group_GetSubscribeGroupMapping_FullMethodName = "/api.admin.group.v1.Group/GetSubscribeGroupMapping"
)
View Source
const OperationGroupCreateNodeGroup = "/api.admin.group.v1.Group/CreateNodeGroup"
View Source
const OperationGroupDeleteNodeGroup = "/api.admin.group.v1.Group/DeleteNodeGroup"
View Source
const OperationGroupExportGroupResult = "/api.admin.group.v1.Group/ExportGroupResult"
View Source
const OperationGroupGetGroupConfig = "/api.admin.group.v1.Group/GetGroupConfig"
View Source
const OperationGroupGetGroupHistory = "/api.admin.group.v1.Group/GetGroupHistory"
View Source
const OperationGroupGetGroupHistoryDetail = "/api.admin.group.v1.Group/GetGroupHistoryDetail"
View Source
const OperationGroupGetNodeGroupList = "/api.admin.group.v1.Group/GetNodeGroupList"
View Source
const OperationGroupGetRecalculationStatus = "/api.admin.group.v1.Group/GetRecalculationStatus"
View Source
const OperationGroupGetSubscribeGroupMapping = "/api.admin.group.v1.Group/GetSubscribeGroupMapping"
View Source
const OperationGroupMigrateUsers = "/api.admin.group.v1.Group/MigrateUsers"
View Source
const OperationGroupPreviewUserNodes = "/api.admin.group.v1.Group/PreviewUserNodes"
View Source
const OperationGroupRecalculateGroup = "/api.admin.group.v1.Group/RecalculateGroup"
View Source
const OperationGroupResetGroups = "/api.admin.group.v1.Group/ResetGroups"
View Source
const OperationGroupUpdateGroupConfig = "/api.admin.group.v1.Group/UpdateGroupConfig"
View Source
const OperationGroupUpdateNodeGroup = "/api.admin.group.v1.Group/UpdateNodeGroup"

Variables

View Source
var File_admin_group_v1_group_proto protoreflect.FileDescriptor
View Source
var Group_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.admin.group.v1.Group",
	HandlerType: (*GroupServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetNodeGroupList",
			Handler:    _Group_GetNodeGroupList_Handler,
		},
		{
			MethodName: "CreateNodeGroup",
			Handler:    _Group_CreateNodeGroup_Handler,
		},
		{
			MethodName: "UpdateNodeGroup",
			Handler:    _Group_UpdateNodeGroup_Handler,
		},
		{
			MethodName: "DeleteNodeGroup",
			Handler:    _Group_DeleteNodeGroup_Handler,
		},
		{
			MethodName: "GetGroupConfig",
			Handler:    _Group_GetGroupConfig_Handler,
		},
		{
			MethodName: "UpdateGroupConfig",
			Handler:    _Group_UpdateGroupConfig_Handler,
		},
		{
			MethodName: "RecalculateGroup",
			Handler:    _Group_RecalculateGroup_Handler,
		},
		{
			MethodName: "GetRecalculationStatus",
			Handler:    _Group_GetRecalculationStatus_Handler,
		},
		{
			MethodName: "GetGroupHistory",
			Handler:    _Group_GetGroupHistory_Handler,
		},
		{
			MethodName: "GetGroupHistoryDetail",
			Handler:    _Group_GetGroupHistoryDetail_Handler,
		},
		{
			MethodName: "ExportGroupResult",
			Handler:    _Group_ExportGroupResult_Handler,
		},
		{
			MethodName: "MigrateUsers",
			Handler:    _Group_MigrateUsers_Handler,
		},
		{
			MethodName: "PreviewUserNodes",
			Handler:    _Group_PreviewUserNodes_Handler,
		},
		{
			MethodName: "ResetGroups",
			Handler:    _Group_ResetGroups_Handler,
		},
		{
			MethodName: "GetSubscribeGroupMapping",
			Handler:    _Group_GetSubscribeGroupMapping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "admin/group/v1/group.proto",
}

Group_ServiceDesc is the grpc.ServiceDesc for Group service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGroupHTTPServer

func RegisterGroupHTTPServer(s *http.Server, srv GroupHTTPServer)

func RegisterGroupServer

func RegisterGroupServer(s grpc.ServiceRegistrar, srv GroupServer)

Types

type CreateNodeGroupData

type CreateNodeGroupData struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 创建的节点组ID
	// contains filtered or unexported fields
}

CreateNodeGroupData 创建节点组数据

func (*CreateNodeGroupData) Descriptor deprecated

func (*CreateNodeGroupData) Descriptor() ([]byte, []int)

Deprecated: Use CreateNodeGroupData.ProtoReflect.Descriptor instead.

func (*CreateNodeGroupData) GetId

func (x *CreateNodeGroupData) GetId() int64

func (*CreateNodeGroupData) ProtoMessage

func (*CreateNodeGroupData) ProtoMessage()

func (*CreateNodeGroupData) ProtoReflect

func (x *CreateNodeGroupData) ProtoReflect() protoreflect.Message

func (*CreateNodeGroupData) Reset

func (x *CreateNodeGroupData) Reset()

func (*CreateNodeGroupData) String

func (x *CreateNodeGroupData) String() string

func (*CreateNodeGroupData) Validate

func (m *CreateNodeGroupData) Validate() error

Validate checks the field values on CreateNodeGroupData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateNodeGroupData) ValidateAll

func (m *CreateNodeGroupData) ValidateAll() error

ValidateAll checks the field values on CreateNodeGroupData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateNodeGroupDataMultiError, or nil if none found.

type CreateNodeGroupDataMultiError

type CreateNodeGroupDataMultiError []error

CreateNodeGroupDataMultiError is an error wrapping multiple validation errors returned by CreateNodeGroupData.ValidateAll() if the designated constraints aren't met.

func (CreateNodeGroupDataMultiError) AllErrors

func (m CreateNodeGroupDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateNodeGroupDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateNodeGroupDataValidationError

type CreateNodeGroupDataValidationError struct {
	// contains filtered or unexported fields
}

CreateNodeGroupDataValidationError is the validation error returned by CreateNodeGroupData.Validate if the designated constraints aren't met.

func (CreateNodeGroupDataValidationError) Cause

Cause function returns cause value.

func (CreateNodeGroupDataValidationError) Error

Error satisfies the builtin error interface

func (CreateNodeGroupDataValidationError) ErrorName

ErrorName returns error name.

func (CreateNodeGroupDataValidationError) Field

Field function returns field value.

func (CreateNodeGroupDataValidationError) Key

Key function returns key value.

func (CreateNodeGroupDataValidationError) Reason

Reason function returns reason value.

type CreateNodeGroupReply

type CreateNodeGroupReply struct {
	Code    int32                `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string               `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *CreateNodeGroupData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

CreateNodeGroupReply 创建节点组响应

func (*CreateNodeGroupReply) Descriptor deprecated

func (*CreateNodeGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateNodeGroupReply.ProtoReflect.Descriptor instead.

func (*CreateNodeGroupReply) GetCode

func (x *CreateNodeGroupReply) GetCode() int32

func (*CreateNodeGroupReply) GetData

func (*CreateNodeGroupReply) GetMessage

func (x *CreateNodeGroupReply) GetMessage() string

func (*CreateNodeGroupReply) ProtoMessage

func (*CreateNodeGroupReply) ProtoMessage()

func (*CreateNodeGroupReply) ProtoReflect

func (x *CreateNodeGroupReply) ProtoReflect() protoreflect.Message

func (*CreateNodeGroupReply) Reset

func (x *CreateNodeGroupReply) Reset()

func (*CreateNodeGroupReply) String

func (x *CreateNodeGroupReply) String() string

func (*CreateNodeGroupReply) Validate

func (m *CreateNodeGroupReply) Validate() error

Validate checks the field values on CreateNodeGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateNodeGroupReply) ValidateAll

func (m *CreateNodeGroupReply) ValidateAll() error

ValidateAll checks the field values on CreateNodeGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateNodeGroupReplyMultiError, or nil if none found.

type CreateNodeGroupReplyMultiError

type CreateNodeGroupReplyMultiError []error

CreateNodeGroupReplyMultiError is an error wrapping multiple validation errors returned by CreateNodeGroupReply.ValidateAll() if the designated constraints aren't met.

func (CreateNodeGroupReplyMultiError) AllErrors

func (m CreateNodeGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateNodeGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateNodeGroupReplyValidationError

type CreateNodeGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateNodeGroupReplyValidationError is the validation error returned by CreateNodeGroupReply.Validate if the designated constraints aren't met.

func (CreateNodeGroupReplyValidationError) Cause

Cause function returns cause value.

func (CreateNodeGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateNodeGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateNodeGroupReplyValidationError) Field

Field function returns field value.

func (CreateNodeGroupReplyValidationError) Key

Key function returns key value.

func (CreateNodeGroupReplyValidationError) Reason

Reason function returns reason value.

type CreateNodeGroupRequest

type CreateNodeGroupRequest struct {
	Name                string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                                              // 节点组名称
	Type                string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                                                              // 节点组类型
	Description         string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`                                                // 节点组描述
	Sort                int32                  `protobuf:"varint,4,opt,name=sort,proto3" json:"sort,omitempty"`                                                             // 排序
	ForCalculation      *wrapperspb.BoolValue  `protobuf:"bytes,5,opt,name=for_calculation,json=forCalculation,proto3" json:"for_calculation,omitempty"`                    // 是否参与分组计算
	IsExpiredGroup      *wrapperspb.BoolValue  `protobuf:"bytes,6,opt,name=is_expired_group,json=isExpiredGroup,proto3" json:"is_expired_group,omitempty"`                  // 是否为过期组
	ExpiredDaysLimit    *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=expired_days_limit,json=expiredDaysLimit,proto3" json:"expired_days_limit,omitempty"`            // 过期天数限制
	MaxTrafficGbExpired *wrapperspb.Int64Value `protobuf:"bytes,8,opt,name=max_traffic_gb_expired,json=maxTrafficGbExpired,proto3" json:"max_traffic_gb_expired,omitempty"` // 过期后最大流量(GB)
	SpeedLimit          *wrapperspb.Int32Value `protobuf:"bytes,9,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`                                // 速度限制
	MinTrafficGb        *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=min_traffic_gb,json=minTrafficGb,proto3" json:"min_traffic_gb,omitempty"`                       // 最小流量(GB)
	MaxTrafficGb        *wrapperspb.Int64Value `protobuf:"bytes,11,opt,name=max_traffic_gb,json=maxTrafficGb,proto3" json:"max_traffic_gb,omitempty"`                       // 最大流量(GB)
	// contains filtered or unexported fields
}

CreateNodeGroupRequest 创建节点组请求

func (*CreateNodeGroupRequest) Descriptor deprecated

func (*CreateNodeGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNodeGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateNodeGroupRequest) GetDescription

func (x *CreateNodeGroupRequest) GetDescription() string

func (*CreateNodeGroupRequest) GetExpiredDaysLimit

func (x *CreateNodeGroupRequest) GetExpiredDaysLimit() *wrapperspb.Int32Value

func (*CreateNodeGroupRequest) GetForCalculation

func (x *CreateNodeGroupRequest) GetForCalculation() *wrapperspb.BoolValue

func (*CreateNodeGroupRequest) GetIsExpiredGroup

func (x *CreateNodeGroupRequest) GetIsExpiredGroup() *wrapperspb.BoolValue

func (*CreateNodeGroupRequest) GetMaxTrafficGb

func (x *CreateNodeGroupRequest) GetMaxTrafficGb() *wrapperspb.Int64Value

func (*CreateNodeGroupRequest) GetMaxTrafficGbExpired

func (x *CreateNodeGroupRequest) GetMaxTrafficGbExpired() *wrapperspb.Int64Value

func (*CreateNodeGroupRequest) GetMinTrafficGb

func (x *CreateNodeGroupRequest) GetMinTrafficGb() *wrapperspb.Int64Value

func (*CreateNodeGroupRequest) GetName

func (x *CreateNodeGroupRequest) GetName() string

func (*CreateNodeGroupRequest) GetSort

func (x *CreateNodeGroupRequest) GetSort() int32

func (*CreateNodeGroupRequest) GetSpeedLimit

func (x *CreateNodeGroupRequest) GetSpeedLimit() *wrapperspb.Int32Value

func (*CreateNodeGroupRequest) GetType

func (x *CreateNodeGroupRequest) GetType() string

func (*CreateNodeGroupRequest) ProtoMessage

func (*CreateNodeGroupRequest) ProtoMessage()

func (*CreateNodeGroupRequest) ProtoReflect

func (x *CreateNodeGroupRequest) ProtoReflect() protoreflect.Message

func (*CreateNodeGroupRequest) Reset

func (x *CreateNodeGroupRequest) Reset()

func (*CreateNodeGroupRequest) String

func (x *CreateNodeGroupRequest) String() string

func (*CreateNodeGroupRequest) Validate

func (m *CreateNodeGroupRequest) Validate() error

Validate checks the field values on CreateNodeGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateNodeGroupRequest) ValidateAll

func (m *CreateNodeGroupRequest) ValidateAll() error

ValidateAll checks the field values on CreateNodeGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateNodeGroupRequestMultiError, or nil if none found.

type CreateNodeGroupRequestMultiError

type CreateNodeGroupRequestMultiError []error

CreateNodeGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateNodeGroupRequest.ValidateAll() if the designated constraints aren't met.

func (CreateNodeGroupRequestMultiError) AllErrors

func (m CreateNodeGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateNodeGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateNodeGroupRequestValidationError

type CreateNodeGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateNodeGroupRequestValidationError is the validation error returned by CreateNodeGroupRequest.Validate if the designated constraints aren't met.

func (CreateNodeGroupRequestValidationError) Cause

Cause function returns cause value.

func (CreateNodeGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateNodeGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateNodeGroupRequestValidationError) Field

Field function returns field value.

func (CreateNodeGroupRequestValidationError) Key

Key function returns key value.

func (CreateNodeGroupRequestValidationError) Reason

Reason function returns reason value.

type DeleteNodeGroupData

type DeleteNodeGroupData struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // 是否成功
	// contains filtered or unexported fields
}

DeleteNodeGroupData 删除节点组数据

func (*DeleteNodeGroupData) Descriptor deprecated

func (*DeleteNodeGroupData) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNodeGroupData.ProtoReflect.Descriptor instead.

func (*DeleteNodeGroupData) GetSuccess

func (x *DeleteNodeGroupData) GetSuccess() bool

func (*DeleteNodeGroupData) ProtoMessage

func (*DeleteNodeGroupData) ProtoMessage()

func (*DeleteNodeGroupData) ProtoReflect

func (x *DeleteNodeGroupData) ProtoReflect() protoreflect.Message

func (*DeleteNodeGroupData) Reset

func (x *DeleteNodeGroupData) Reset()

func (*DeleteNodeGroupData) String

func (x *DeleteNodeGroupData) String() string

func (*DeleteNodeGroupData) Validate

func (m *DeleteNodeGroupData) Validate() error

Validate checks the field values on DeleteNodeGroupData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteNodeGroupData) ValidateAll

func (m *DeleteNodeGroupData) ValidateAll() error

ValidateAll checks the field values on DeleteNodeGroupData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteNodeGroupDataMultiError, or nil if none found.

type DeleteNodeGroupDataMultiError

type DeleteNodeGroupDataMultiError []error

DeleteNodeGroupDataMultiError is an error wrapping multiple validation errors returned by DeleteNodeGroupData.ValidateAll() if the designated constraints aren't met.

func (DeleteNodeGroupDataMultiError) AllErrors

func (m DeleteNodeGroupDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteNodeGroupDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteNodeGroupDataValidationError

type DeleteNodeGroupDataValidationError struct {
	// contains filtered or unexported fields
}

DeleteNodeGroupDataValidationError is the validation error returned by DeleteNodeGroupData.Validate if the designated constraints aren't met.

func (DeleteNodeGroupDataValidationError) Cause

Cause function returns cause value.

func (DeleteNodeGroupDataValidationError) Error

Error satisfies the builtin error interface

func (DeleteNodeGroupDataValidationError) ErrorName

ErrorName returns error name.

func (DeleteNodeGroupDataValidationError) Field

Field function returns field value.

func (DeleteNodeGroupDataValidationError) Key

Key function returns key value.

func (DeleteNodeGroupDataValidationError) Reason

Reason function returns reason value.

type DeleteNodeGroupReply

type DeleteNodeGroupReply struct {
	Code    int32                `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string               `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *DeleteNodeGroupData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

DeleteNodeGroupReply 删除节点组响应

func (*DeleteNodeGroupReply) Descriptor deprecated

func (*DeleteNodeGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNodeGroupReply.ProtoReflect.Descriptor instead.

func (*DeleteNodeGroupReply) GetCode

func (x *DeleteNodeGroupReply) GetCode() int32

func (*DeleteNodeGroupReply) GetData

func (*DeleteNodeGroupReply) GetMessage

func (x *DeleteNodeGroupReply) GetMessage() string

func (*DeleteNodeGroupReply) ProtoMessage

func (*DeleteNodeGroupReply) ProtoMessage()

func (*DeleteNodeGroupReply) ProtoReflect

func (x *DeleteNodeGroupReply) ProtoReflect() protoreflect.Message

func (*DeleteNodeGroupReply) Reset

func (x *DeleteNodeGroupReply) Reset()

func (*DeleteNodeGroupReply) String

func (x *DeleteNodeGroupReply) String() string

func (*DeleteNodeGroupReply) Validate

func (m *DeleteNodeGroupReply) Validate() error

Validate checks the field values on DeleteNodeGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteNodeGroupReply) ValidateAll

func (m *DeleteNodeGroupReply) ValidateAll() error

ValidateAll checks the field values on DeleteNodeGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteNodeGroupReplyMultiError, or nil if none found.

type DeleteNodeGroupReplyMultiError

type DeleteNodeGroupReplyMultiError []error

DeleteNodeGroupReplyMultiError is an error wrapping multiple validation errors returned by DeleteNodeGroupReply.ValidateAll() if the designated constraints aren't met.

func (DeleteNodeGroupReplyMultiError) AllErrors

func (m DeleteNodeGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteNodeGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteNodeGroupReplyValidationError

type DeleteNodeGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteNodeGroupReplyValidationError is the validation error returned by DeleteNodeGroupReply.Validate if the designated constraints aren't met.

func (DeleteNodeGroupReplyValidationError) Cause

Cause function returns cause value.

func (DeleteNodeGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteNodeGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteNodeGroupReplyValidationError) Field

Field function returns field value.

func (DeleteNodeGroupReplyValidationError) Key

Key function returns key value.

func (DeleteNodeGroupReplyValidationError) Reason

Reason function returns reason value.

type DeleteNodeGroupRequest

type DeleteNodeGroupRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 节点组ID
	// contains filtered or unexported fields
}

DeleteNodeGroupRequest 删除节点组请求

func (*DeleteNodeGroupRequest) Descriptor deprecated

func (*DeleteNodeGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNodeGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteNodeGroupRequest) GetId

func (x *DeleteNodeGroupRequest) GetId() int64

func (*DeleteNodeGroupRequest) ProtoMessage

func (*DeleteNodeGroupRequest) ProtoMessage()

func (*DeleteNodeGroupRequest) ProtoReflect

func (x *DeleteNodeGroupRequest) ProtoReflect() protoreflect.Message

func (*DeleteNodeGroupRequest) Reset

func (x *DeleteNodeGroupRequest) Reset()

func (*DeleteNodeGroupRequest) String

func (x *DeleteNodeGroupRequest) String() string

func (*DeleteNodeGroupRequest) Validate

func (m *DeleteNodeGroupRequest) Validate() error

Validate checks the field values on DeleteNodeGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteNodeGroupRequest) ValidateAll

func (m *DeleteNodeGroupRequest) ValidateAll() error

ValidateAll checks the field values on DeleteNodeGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteNodeGroupRequestMultiError, or nil if none found.

type DeleteNodeGroupRequestMultiError

type DeleteNodeGroupRequestMultiError []error

DeleteNodeGroupRequestMultiError is an error wrapping multiple validation errors returned by DeleteNodeGroupRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteNodeGroupRequestMultiError) AllErrors

func (m DeleteNodeGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteNodeGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteNodeGroupRequestValidationError

type DeleteNodeGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteNodeGroupRequestValidationError is the validation error returned by DeleteNodeGroupRequest.Validate if the designated constraints aren't met.

func (DeleteNodeGroupRequestValidationError) Cause

Cause function returns cause value.

func (DeleteNodeGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteNodeGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteNodeGroupRequestValidationError) Field

Field function returns field value.

func (DeleteNodeGroupRequestValidationError) Key

Key function returns key value.

func (DeleteNodeGroupRequestValidationError) Reason

Reason function returns reason value.

type ExportGroupResultData

type ExportGroupResultData struct {
	FileUrl string `protobuf:"bytes,1,opt,name=file_url,json=fileUrl,proto3" json:"file_url,omitempty"` // 导出文件URL
	// contains filtered or unexported fields
}

ExportGroupResultData 导出分组结果数据

func (*ExportGroupResultData) Descriptor deprecated

func (*ExportGroupResultData) Descriptor() ([]byte, []int)

Deprecated: Use ExportGroupResultData.ProtoReflect.Descriptor instead.

func (*ExportGroupResultData) GetFileUrl

func (x *ExportGroupResultData) GetFileUrl() string

func (*ExportGroupResultData) ProtoMessage

func (*ExportGroupResultData) ProtoMessage()

func (*ExportGroupResultData) ProtoReflect

func (x *ExportGroupResultData) ProtoReflect() protoreflect.Message

func (*ExportGroupResultData) Reset

func (x *ExportGroupResultData) Reset()

func (*ExportGroupResultData) String

func (x *ExportGroupResultData) String() string

func (*ExportGroupResultData) Validate

func (m *ExportGroupResultData) Validate() error

Validate checks the field values on ExportGroupResultData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExportGroupResultData) ValidateAll

func (m *ExportGroupResultData) ValidateAll() error

ValidateAll checks the field values on ExportGroupResultData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExportGroupResultDataMultiError, or nil if none found.

type ExportGroupResultDataMultiError

type ExportGroupResultDataMultiError []error

ExportGroupResultDataMultiError is an error wrapping multiple validation errors returned by ExportGroupResultData.ValidateAll() if the designated constraints aren't met.

func (ExportGroupResultDataMultiError) AllErrors

func (m ExportGroupResultDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportGroupResultDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ExportGroupResultDataValidationError

type ExportGroupResultDataValidationError struct {
	// contains filtered or unexported fields
}

ExportGroupResultDataValidationError is the validation error returned by ExportGroupResultData.Validate if the designated constraints aren't met.

func (ExportGroupResultDataValidationError) Cause

Cause function returns cause value.

func (ExportGroupResultDataValidationError) Error

Error satisfies the builtin error interface

func (ExportGroupResultDataValidationError) ErrorName

ErrorName returns error name.

func (ExportGroupResultDataValidationError) Field

Field function returns field value.

func (ExportGroupResultDataValidationError) Key

Key function returns key value.

func (ExportGroupResultDataValidationError) Reason

Reason function returns reason value.

type ExportGroupResultReply

type ExportGroupResultReply struct {
	Code    int32                  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *ExportGroupResultData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

ExportGroupResultReply 导出分组结果响应

func (*ExportGroupResultReply) Descriptor deprecated

func (*ExportGroupResultReply) Descriptor() ([]byte, []int)

Deprecated: Use ExportGroupResultReply.ProtoReflect.Descriptor instead.

func (*ExportGroupResultReply) GetCode

func (x *ExportGroupResultReply) GetCode() int32

func (*ExportGroupResultReply) GetData

func (*ExportGroupResultReply) GetMessage

func (x *ExportGroupResultReply) GetMessage() string

func (*ExportGroupResultReply) ProtoMessage

func (*ExportGroupResultReply) ProtoMessage()

func (*ExportGroupResultReply) ProtoReflect

func (x *ExportGroupResultReply) ProtoReflect() protoreflect.Message

func (*ExportGroupResultReply) Reset

func (x *ExportGroupResultReply) Reset()

func (*ExportGroupResultReply) String

func (x *ExportGroupResultReply) String() string

func (*ExportGroupResultReply) Validate

func (m *ExportGroupResultReply) Validate() error

Validate checks the field values on ExportGroupResultReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExportGroupResultReply) ValidateAll

func (m *ExportGroupResultReply) ValidateAll() error

ValidateAll checks the field values on ExportGroupResultReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExportGroupResultReplyMultiError, or nil if none found.

type ExportGroupResultReplyMultiError

type ExportGroupResultReplyMultiError []error

ExportGroupResultReplyMultiError is an error wrapping multiple validation errors returned by ExportGroupResultReply.ValidateAll() if the designated constraints aren't met.

func (ExportGroupResultReplyMultiError) AllErrors

func (m ExportGroupResultReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportGroupResultReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ExportGroupResultReplyValidationError

type ExportGroupResultReplyValidationError struct {
	// contains filtered or unexported fields
}

ExportGroupResultReplyValidationError is the validation error returned by ExportGroupResultReply.Validate if the designated constraints aren't met.

func (ExportGroupResultReplyValidationError) Cause

Cause function returns cause value.

func (ExportGroupResultReplyValidationError) Error

Error satisfies the builtin error interface

func (ExportGroupResultReplyValidationError) ErrorName

ErrorName returns error name.

func (ExportGroupResultReplyValidationError) Field

Field function returns field value.

func (ExportGroupResultReplyValidationError) Key

Key function returns key value.

func (ExportGroupResultReplyValidationError) Reason

Reason function returns reason value.

type ExportGroupResultRequest

type ExportGroupResultRequest struct {
	HistoryId int64 `protobuf:"varint,1,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"` // 历史记录ID(可选)
	// contains filtered or unexported fields
}

ExportGroupResultRequest 导出分组结果请求

func (*ExportGroupResultRequest) Descriptor deprecated

func (*ExportGroupResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportGroupResultRequest.ProtoReflect.Descriptor instead.

func (*ExportGroupResultRequest) GetHistoryId

func (x *ExportGroupResultRequest) GetHistoryId() int64

func (*ExportGroupResultRequest) ProtoMessage

func (*ExportGroupResultRequest) ProtoMessage()

func (*ExportGroupResultRequest) ProtoReflect

func (x *ExportGroupResultRequest) ProtoReflect() protoreflect.Message

func (*ExportGroupResultRequest) Reset

func (x *ExportGroupResultRequest) Reset()

func (*ExportGroupResultRequest) String

func (x *ExportGroupResultRequest) String() string

func (*ExportGroupResultRequest) Validate

func (m *ExportGroupResultRequest) Validate() error

Validate checks the field values on ExportGroupResultRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ExportGroupResultRequest) ValidateAll

func (m *ExportGroupResultRequest) ValidateAll() error

ValidateAll checks the field values on ExportGroupResultRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ExportGroupResultRequestMultiError, or nil if none found.

type ExportGroupResultRequestMultiError

type ExportGroupResultRequestMultiError []error

ExportGroupResultRequestMultiError is an error wrapping multiple validation errors returned by ExportGroupResultRequest.ValidateAll() if the designated constraints aren't met.

func (ExportGroupResultRequestMultiError) AllErrors

func (m ExportGroupResultRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExportGroupResultRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ExportGroupResultRequestValidationError

type ExportGroupResultRequestValidationError struct {
	// contains filtered or unexported fields
}

ExportGroupResultRequestValidationError is the validation error returned by ExportGroupResultRequest.Validate if the designated constraints aren't met.

func (ExportGroupResultRequestValidationError) Cause

Cause function returns cause value.

func (ExportGroupResultRequestValidationError) Error

Error satisfies the builtin error interface

func (ExportGroupResultRequestValidationError) ErrorName

ErrorName returns error name.

func (ExportGroupResultRequestValidationError) Field

Field function returns field value.

func (ExportGroupResultRequestValidationError) Key

Key function returns key value.

func (ExportGroupResultRequestValidationError) Reason

Reason function returns reason value.

type GetGroupConfigData

type GetGroupConfigData struct {
	Enabled bool                `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // 是否启用分组
	Mode    string              `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`        // 分组模式
	Config  string              `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`    // 其他配置(JSON字符串)
	State   *RecalculationState `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`      // 重算状态
	// contains filtered or unexported fields
}

GetGroupConfigData 获取分组配置数据

func (*GetGroupConfigData) Descriptor deprecated

func (*GetGroupConfigData) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupConfigData.ProtoReflect.Descriptor instead.

func (*GetGroupConfigData) GetConfig

func (x *GetGroupConfigData) GetConfig() string

func (*GetGroupConfigData) GetEnabled

func (x *GetGroupConfigData) GetEnabled() bool

func (*GetGroupConfigData) GetMode

func (x *GetGroupConfigData) GetMode() string

func (*GetGroupConfigData) GetState

func (x *GetGroupConfigData) GetState() *RecalculationState

func (*GetGroupConfigData) ProtoMessage

func (*GetGroupConfigData) ProtoMessage()

func (*GetGroupConfigData) ProtoReflect

func (x *GetGroupConfigData) ProtoReflect() protoreflect.Message

func (*GetGroupConfigData) Reset

func (x *GetGroupConfigData) Reset()

func (*GetGroupConfigData) String

func (x *GetGroupConfigData) String() string

func (*GetGroupConfigData) Validate

func (m *GetGroupConfigData) Validate() error

Validate checks the field values on GetGroupConfigData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupConfigData) ValidateAll

func (m *GetGroupConfigData) ValidateAll() error

ValidateAll checks the field values on GetGroupConfigData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupConfigDataMultiError, or nil if none found.

type GetGroupConfigDataMultiError

type GetGroupConfigDataMultiError []error

GetGroupConfigDataMultiError is an error wrapping multiple validation errors returned by GetGroupConfigData.ValidateAll() if the designated constraints aren't met.

func (GetGroupConfigDataMultiError) AllErrors

func (m GetGroupConfigDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupConfigDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupConfigDataValidationError

type GetGroupConfigDataValidationError struct {
	// contains filtered or unexported fields
}

GetGroupConfigDataValidationError is the validation error returned by GetGroupConfigData.Validate if the designated constraints aren't met.

func (GetGroupConfigDataValidationError) Cause

Cause function returns cause value.

func (GetGroupConfigDataValidationError) Error

Error satisfies the builtin error interface

func (GetGroupConfigDataValidationError) ErrorName

ErrorName returns error name.

func (GetGroupConfigDataValidationError) Field

Field function returns field value.

func (GetGroupConfigDataValidationError) Key

Key function returns key value.

func (GetGroupConfigDataValidationError) Reason

Reason function returns reason value.

type GetGroupConfigReply

type GetGroupConfigReply struct {
	Code    int32               `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string              `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *GetGroupConfigData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetGroupConfigReply 获取分组配置响应

func (*GetGroupConfigReply) Descriptor deprecated

func (*GetGroupConfigReply) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupConfigReply.ProtoReflect.Descriptor instead.

func (*GetGroupConfigReply) GetCode

func (x *GetGroupConfigReply) GetCode() int32

func (*GetGroupConfigReply) GetData

func (*GetGroupConfigReply) GetMessage

func (x *GetGroupConfigReply) GetMessage() string

func (*GetGroupConfigReply) ProtoMessage

func (*GetGroupConfigReply) ProtoMessage()

func (*GetGroupConfigReply) ProtoReflect

func (x *GetGroupConfigReply) ProtoReflect() protoreflect.Message

func (*GetGroupConfigReply) Reset

func (x *GetGroupConfigReply) Reset()

func (*GetGroupConfigReply) String

func (x *GetGroupConfigReply) String() string

func (*GetGroupConfigReply) Validate

func (m *GetGroupConfigReply) Validate() error

Validate checks the field values on GetGroupConfigReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupConfigReply) ValidateAll

func (m *GetGroupConfigReply) ValidateAll() error

ValidateAll checks the field values on GetGroupConfigReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupConfigReplyMultiError, or nil if none found.

type GetGroupConfigReplyMultiError

type GetGroupConfigReplyMultiError []error

GetGroupConfigReplyMultiError is an error wrapping multiple validation errors returned by GetGroupConfigReply.ValidateAll() if the designated constraints aren't met.

func (GetGroupConfigReplyMultiError) AllErrors

func (m GetGroupConfigReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupConfigReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupConfigReplyValidationError

type GetGroupConfigReplyValidationError struct {
	// contains filtered or unexported fields
}

GetGroupConfigReplyValidationError is the validation error returned by GetGroupConfigReply.Validate if the designated constraints aren't met.

func (GetGroupConfigReplyValidationError) Cause

Cause function returns cause value.

func (GetGroupConfigReplyValidationError) Error

Error satisfies the builtin error interface

func (GetGroupConfigReplyValidationError) ErrorName

ErrorName returns error name.

func (GetGroupConfigReplyValidationError) Field

Field function returns field value.

func (GetGroupConfigReplyValidationError) Key

Key function returns key value.

func (GetGroupConfigReplyValidationError) Reason

Reason function returns reason value.

type GetGroupConfigRequest

type GetGroupConfigRequest struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // 配置键列表(可选)
	// contains filtered or unexported fields
}

GetGroupConfigRequest 获取分组配置请求

func (*GetGroupConfigRequest) Descriptor deprecated

func (*GetGroupConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupConfigRequest.ProtoReflect.Descriptor instead.

func (*GetGroupConfigRequest) GetKeys

func (x *GetGroupConfigRequest) GetKeys() []string

func (*GetGroupConfigRequest) ProtoMessage

func (*GetGroupConfigRequest) ProtoMessage()

func (*GetGroupConfigRequest) ProtoReflect

func (x *GetGroupConfigRequest) ProtoReflect() protoreflect.Message

func (*GetGroupConfigRequest) Reset

func (x *GetGroupConfigRequest) Reset()

func (*GetGroupConfigRequest) String

func (x *GetGroupConfigRequest) String() string

func (*GetGroupConfigRequest) Validate

func (m *GetGroupConfigRequest) Validate() error

Validate checks the field values on GetGroupConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupConfigRequest) ValidateAll

func (m *GetGroupConfigRequest) ValidateAll() error

ValidateAll checks the field values on GetGroupConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupConfigRequestMultiError, or nil if none found.

type GetGroupConfigRequestMultiError

type GetGroupConfigRequestMultiError []error

GetGroupConfigRequestMultiError is an error wrapping multiple validation errors returned by GetGroupConfigRequest.ValidateAll() if the designated constraints aren't met.

func (GetGroupConfigRequestMultiError) AllErrors

func (m GetGroupConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupConfigRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupConfigRequestValidationError

type GetGroupConfigRequestValidationError struct {
	// contains filtered or unexported fields
}

GetGroupConfigRequestValidationError is the validation error returned by GetGroupConfigRequest.Validate if the designated constraints aren't met.

func (GetGroupConfigRequestValidationError) Cause

Cause function returns cause value.

func (GetGroupConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (GetGroupConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (GetGroupConfigRequestValidationError) Field

Field function returns field value.

func (GetGroupConfigRequestValidationError) Key

Key function returns key value.

func (GetGroupConfigRequestValidationError) Reason

Reason function returns reason value.

type GetGroupHistoryData

type GetGroupHistoryData struct {
	Total int32           `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总数
	List  []*GroupHistory `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`    // 分组历史列表
	// contains filtered or unexported fields
}

GetGroupHistoryData 获取分组历史数据

func (*GetGroupHistoryData) Descriptor deprecated

func (*GetGroupHistoryData) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupHistoryData.ProtoReflect.Descriptor instead.

func (*GetGroupHistoryData) GetList

func (x *GetGroupHistoryData) GetList() []*GroupHistory

func (*GetGroupHistoryData) GetTotal

func (x *GetGroupHistoryData) GetTotal() int32

func (*GetGroupHistoryData) ProtoMessage

func (*GetGroupHistoryData) ProtoMessage()

func (*GetGroupHistoryData) ProtoReflect

func (x *GetGroupHistoryData) ProtoReflect() protoreflect.Message

func (*GetGroupHistoryData) Reset

func (x *GetGroupHistoryData) Reset()

func (*GetGroupHistoryData) String

func (x *GetGroupHistoryData) String() string

func (*GetGroupHistoryData) Validate

func (m *GetGroupHistoryData) Validate() error

Validate checks the field values on GetGroupHistoryData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupHistoryData) ValidateAll

func (m *GetGroupHistoryData) ValidateAll() error

ValidateAll checks the field values on GetGroupHistoryData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupHistoryDataMultiError, or nil if none found.

type GetGroupHistoryDataMultiError

type GetGroupHistoryDataMultiError []error

GetGroupHistoryDataMultiError is an error wrapping multiple validation errors returned by GetGroupHistoryData.ValidateAll() if the designated constraints aren't met.

func (GetGroupHistoryDataMultiError) AllErrors

func (m GetGroupHistoryDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupHistoryDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupHistoryDataValidationError

type GetGroupHistoryDataValidationError struct {
	// contains filtered or unexported fields
}

GetGroupHistoryDataValidationError is the validation error returned by GetGroupHistoryData.Validate if the designated constraints aren't met.

func (GetGroupHistoryDataValidationError) Cause

Cause function returns cause value.

func (GetGroupHistoryDataValidationError) Error

Error satisfies the builtin error interface

func (GetGroupHistoryDataValidationError) ErrorName

ErrorName returns error name.

func (GetGroupHistoryDataValidationError) Field

Field function returns field value.

func (GetGroupHistoryDataValidationError) Key

Key function returns key value.

func (GetGroupHistoryDataValidationError) Reason

Reason function returns reason value.

type GetGroupHistoryDetailReply

type GetGroupHistoryDetailReply struct {
	Code    int32               `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string              `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *GroupHistoryDetail `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetGroupHistoryDetailReply 获取分组历史详情响应

func (*GetGroupHistoryDetailReply) Descriptor deprecated

func (*GetGroupHistoryDetailReply) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupHistoryDetailReply.ProtoReflect.Descriptor instead.

func (*GetGroupHistoryDetailReply) GetCode

func (x *GetGroupHistoryDetailReply) GetCode() int32

func (*GetGroupHistoryDetailReply) GetData

func (*GetGroupHistoryDetailReply) GetMessage

func (x *GetGroupHistoryDetailReply) GetMessage() string

func (*GetGroupHistoryDetailReply) ProtoMessage

func (*GetGroupHistoryDetailReply) ProtoMessage()

func (*GetGroupHistoryDetailReply) ProtoReflect

func (*GetGroupHistoryDetailReply) Reset

func (x *GetGroupHistoryDetailReply) Reset()

func (*GetGroupHistoryDetailReply) String

func (x *GetGroupHistoryDetailReply) String() string

func (*GetGroupHistoryDetailReply) Validate

func (m *GetGroupHistoryDetailReply) Validate() error

Validate checks the field values on GetGroupHistoryDetailReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupHistoryDetailReply) ValidateAll

func (m *GetGroupHistoryDetailReply) ValidateAll() error

ValidateAll checks the field values on GetGroupHistoryDetailReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupHistoryDetailReplyMultiError, or nil if none found.

type GetGroupHistoryDetailReplyMultiError

type GetGroupHistoryDetailReplyMultiError []error

GetGroupHistoryDetailReplyMultiError is an error wrapping multiple validation errors returned by GetGroupHistoryDetailReply.ValidateAll() if the designated constraints aren't met.

func (GetGroupHistoryDetailReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetGroupHistoryDetailReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupHistoryDetailReplyValidationError

type GetGroupHistoryDetailReplyValidationError struct {
	// contains filtered or unexported fields
}

GetGroupHistoryDetailReplyValidationError is the validation error returned by GetGroupHistoryDetailReply.Validate if the designated constraints aren't met.

func (GetGroupHistoryDetailReplyValidationError) Cause

Cause function returns cause value.

func (GetGroupHistoryDetailReplyValidationError) Error

Error satisfies the builtin error interface

func (GetGroupHistoryDetailReplyValidationError) ErrorName

ErrorName returns error name.

func (GetGroupHistoryDetailReplyValidationError) Field

Field function returns field value.

func (GetGroupHistoryDetailReplyValidationError) Key

Key function returns key value.

func (GetGroupHistoryDetailReplyValidationError) Reason

Reason function returns reason value.

type GetGroupHistoryDetailRequest

type GetGroupHistoryDetailRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 历史记录ID
	// contains filtered or unexported fields
}

GetGroupHistoryDetailRequest 获取分组历史详情请求

func (*GetGroupHistoryDetailRequest) Descriptor deprecated

func (*GetGroupHistoryDetailRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupHistoryDetailRequest.ProtoReflect.Descriptor instead.

func (*GetGroupHistoryDetailRequest) GetId

func (*GetGroupHistoryDetailRequest) ProtoMessage

func (*GetGroupHistoryDetailRequest) ProtoMessage()

func (*GetGroupHistoryDetailRequest) ProtoReflect

func (*GetGroupHistoryDetailRequest) Reset

func (x *GetGroupHistoryDetailRequest) Reset()

func (*GetGroupHistoryDetailRequest) String

func (*GetGroupHistoryDetailRequest) Validate

func (m *GetGroupHistoryDetailRequest) Validate() error

Validate checks the field values on GetGroupHistoryDetailRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupHistoryDetailRequest) ValidateAll

func (m *GetGroupHistoryDetailRequest) ValidateAll() error

ValidateAll checks the field values on GetGroupHistoryDetailRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupHistoryDetailRequestMultiError, or nil if none found.

type GetGroupHistoryDetailRequestMultiError

type GetGroupHistoryDetailRequestMultiError []error

GetGroupHistoryDetailRequestMultiError is an error wrapping multiple validation errors returned by GetGroupHistoryDetailRequest.ValidateAll() if the designated constraints aren't met.

func (GetGroupHistoryDetailRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetGroupHistoryDetailRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupHistoryDetailRequestValidationError

type GetGroupHistoryDetailRequestValidationError struct {
	// contains filtered or unexported fields
}

GetGroupHistoryDetailRequestValidationError is the validation error returned by GetGroupHistoryDetailRequest.Validate if the designated constraints aren't met.

func (GetGroupHistoryDetailRequestValidationError) Cause

Cause function returns cause value.

func (GetGroupHistoryDetailRequestValidationError) Error

Error satisfies the builtin error interface

func (GetGroupHistoryDetailRequestValidationError) ErrorName

ErrorName returns error name.

func (GetGroupHistoryDetailRequestValidationError) Field

Field function returns field value.

func (GetGroupHistoryDetailRequestValidationError) Key

Key function returns key value.

func (GetGroupHistoryDetailRequestValidationError) Reason

Reason function returns reason value.

type GetGroupHistoryReply

type GetGroupHistoryReply struct {
	Code    int32                `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string               `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *GetGroupHistoryData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetGroupHistoryReply 获取分组历史响应

func (*GetGroupHistoryReply) Descriptor deprecated

func (*GetGroupHistoryReply) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupHistoryReply.ProtoReflect.Descriptor instead.

func (*GetGroupHistoryReply) GetCode

func (x *GetGroupHistoryReply) GetCode() int32

func (*GetGroupHistoryReply) GetData

func (*GetGroupHistoryReply) GetMessage

func (x *GetGroupHistoryReply) GetMessage() string

func (*GetGroupHistoryReply) ProtoMessage

func (*GetGroupHistoryReply) ProtoMessage()

func (*GetGroupHistoryReply) ProtoReflect

func (x *GetGroupHistoryReply) ProtoReflect() protoreflect.Message

func (*GetGroupHistoryReply) Reset

func (x *GetGroupHistoryReply) Reset()

func (*GetGroupHistoryReply) String

func (x *GetGroupHistoryReply) String() string

func (*GetGroupHistoryReply) Validate

func (m *GetGroupHistoryReply) Validate() error

Validate checks the field values on GetGroupHistoryReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupHistoryReply) ValidateAll

func (m *GetGroupHistoryReply) ValidateAll() error

ValidateAll checks the field values on GetGroupHistoryReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupHistoryReplyMultiError, or nil if none found.

type GetGroupHistoryReplyMultiError

type GetGroupHistoryReplyMultiError []error

GetGroupHistoryReplyMultiError is an error wrapping multiple validation errors returned by GetGroupHistoryReply.ValidateAll() if the designated constraints aren't met.

func (GetGroupHistoryReplyMultiError) AllErrors

func (m GetGroupHistoryReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupHistoryReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupHistoryReplyValidationError

type GetGroupHistoryReplyValidationError struct {
	// contains filtered or unexported fields
}

GetGroupHistoryReplyValidationError is the validation error returned by GetGroupHistoryReply.Validate if the designated constraints aren't met.

func (GetGroupHistoryReplyValidationError) Cause

Cause function returns cause value.

func (GetGroupHistoryReplyValidationError) Error

Error satisfies the builtin error interface

func (GetGroupHistoryReplyValidationError) ErrorName

ErrorName returns error name.

func (GetGroupHistoryReplyValidationError) Field

Field function returns field value.

func (GetGroupHistoryReplyValidationError) Key

Key function returns key value.

func (GetGroupHistoryReplyValidationError) Reason

Reason function returns reason value.

type GetGroupHistoryRequest

type GetGroupHistoryRequest struct {
	Page        int64  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`                                 // 页码
	Size        int64  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`                                 // 每页数量
	GroupMode   string `protobuf:"bytes,3,opt,name=group_mode,json=groupMode,proto3" json:"group_mode,omitempty"`       // 分组模式过滤(可选)
	TriggerType string `protobuf:"bytes,4,opt,name=trigger_type,json=triggerType,proto3" json:"trigger_type,omitempty"` // 触发类型过滤(可选)
	// contains filtered or unexported fields
}

GetGroupHistoryRequest 获取分组历史请求

func (*GetGroupHistoryRequest) Descriptor deprecated

func (*GetGroupHistoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupHistoryRequest.ProtoReflect.Descriptor instead.

func (*GetGroupHistoryRequest) GetGroupMode

func (x *GetGroupHistoryRequest) GetGroupMode() string

func (*GetGroupHistoryRequest) GetPage

func (x *GetGroupHistoryRequest) GetPage() int64

func (*GetGroupHistoryRequest) GetSize

func (x *GetGroupHistoryRequest) GetSize() int64

func (*GetGroupHistoryRequest) GetTriggerType

func (x *GetGroupHistoryRequest) GetTriggerType() string

func (*GetGroupHistoryRequest) ProtoMessage

func (*GetGroupHistoryRequest) ProtoMessage()

func (*GetGroupHistoryRequest) ProtoReflect

func (x *GetGroupHistoryRequest) ProtoReflect() protoreflect.Message

func (*GetGroupHistoryRequest) Reset

func (x *GetGroupHistoryRequest) Reset()

func (*GetGroupHistoryRequest) String

func (x *GetGroupHistoryRequest) String() string

func (*GetGroupHistoryRequest) Validate

func (m *GetGroupHistoryRequest) Validate() error

Validate checks the field values on GetGroupHistoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupHistoryRequest) ValidateAll

func (m *GetGroupHistoryRequest) ValidateAll() error

ValidateAll checks the field values on GetGroupHistoryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupHistoryRequestMultiError, or nil if none found.

type GetGroupHistoryRequestMultiError

type GetGroupHistoryRequestMultiError []error

GetGroupHistoryRequestMultiError is an error wrapping multiple validation errors returned by GetGroupHistoryRequest.ValidateAll() if the designated constraints aren't met.

func (GetGroupHistoryRequestMultiError) AllErrors

func (m GetGroupHistoryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupHistoryRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetGroupHistoryRequestValidationError

type GetGroupHistoryRequestValidationError struct {
	// contains filtered or unexported fields
}

GetGroupHistoryRequestValidationError is the validation error returned by GetGroupHistoryRequest.Validate if the designated constraints aren't met.

func (GetGroupHistoryRequestValidationError) Cause

Cause function returns cause value.

func (GetGroupHistoryRequestValidationError) Error

Error satisfies the builtin error interface

func (GetGroupHistoryRequestValidationError) ErrorName

ErrorName returns error name.

func (GetGroupHistoryRequestValidationError) Field

Field function returns field value.

func (GetGroupHistoryRequestValidationError) Key

Key function returns key value.

func (GetGroupHistoryRequestValidationError) Reason

Reason function returns reason value.

type GetNodeGroupListData

type GetNodeGroupListData struct {
	Total int32        `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 总数
	List  []*NodeGroup `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`    // 节点组列表
	// contains filtered or unexported fields
}

GetNodeGroupListData 获取节点组列表数据

func (*GetNodeGroupListData) Descriptor deprecated

func (*GetNodeGroupListData) Descriptor() ([]byte, []int)

Deprecated: Use GetNodeGroupListData.ProtoReflect.Descriptor instead.

func (*GetNodeGroupListData) GetList

func (x *GetNodeGroupListData) GetList() []*NodeGroup

func (*GetNodeGroupListData) GetTotal

func (x *GetNodeGroupListData) GetTotal() int32

func (*GetNodeGroupListData) ProtoMessage

func (*GetNodeGroupListData) ProtoMessage()

func (*GetNodeGroupListData) ProtoReflect

func (x *GetNodeGroupListData) ProtoReflect() protoreflect.Message

func (*GetNodeGroupListData) Reset

func (x *GetNodeGroupListData) Reset()

func (*GetNodeGroupListData) String

func (x *GetNodeGroupListData) String() string

func (*GetNodeGroupListData) Validate

func (m *GetNodeGroupListData) Validate() error

Validate checks the field values on GetNodeGroupListData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetNodeGroupListData) ValidateAll

func (m *GetNodeGroupListData) ValidateAll() error

ValidateAll checks the field values on GetNodeGroupListData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNodeGroupListDataMultiError, or nil if none found.

type GetNodeGroupListDataMultiError

type GetNodeGroupListDataMultiError []error

GetNodeGroupListDataMultiError is an error wrapping multiple validation errors returned by GetNodeGroupListData.ValidateAll() if the designated constraints aren't met.

func (GetNodeGroupListDataMultiError) AllErrors

func (m GetNodeGroupListDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNodeGroupListDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetNodeGroupListDataValidationError

type GetNodeGroupListDataValidationError struct {
	// contains filtered or unexported fields
}

GetNodeGroupListDataValidationError is the validation error returned by GetNodeGroupListData.Validate if the designated constraints aren't met.

func (GetNodeGroupListDataValidationError) Cause

Cause function returns cause value.

func (GetNodeGroupListDataValidationError) Error

Error satisfies the builtin error interface

func (GetNodeGroupListDataValidationError) ErrorName

ErrorName returns error name.

func (GetNodeGroupListDataValidationError) Field

Field function returns field value.

func (GetNodeGroupListDataValidationError) Key

Key function returns key value.

func (GetNodeGroupListDataValidationError) Reason

Reason function returns reason value.

type GetNodeGroupListReply

type GetNodeGroupListReply struct {
	Code    int32                 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *GetNodeGroupListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetNodeGroupListReply 获取节点组列表响应

func (*GetNodeGroupListReply) Descriptor deprecated

func (*GetNodeGroupListReply) Descriptor() ([]byte, []int)

Deprecated: Use GetNodeGroupListReply.ProtoReflect.Descriptor instead.

func (*GetNodeGroupListReply) GetCode

func (x *GetNodeGroupListReply) GetCode() int32

func (*GetNodeGroupListReply) GetData

func (*GetNodeGroupListReply) GetMessage

func (x *GetNodeGroupListReply) GetMessage() string

func (*GetNodeGroupListReply) ProtoMessage

func (*GetNodeGroupListReply) ProtoMessage()

func (*GetNodeGroupListReply) ProtoReflect

func (x *GetNodeGroupListReply) ProtoReflect() protoreflect.Message

func (*GetNodeGroupListReply) Reset

func (x *GetNodeGroupListReply) Reset()

func (*GetNodeGroupListReply) String

func (x *GetNodeGroupListReply) String() string

func (*GetNodeGroupListReply) Validate

func (m *GetNodeGroupListReply) Validate() error

Validate checks the field values on GetNodeGroupListReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetNodeGroupListReply) ValidateAll

func (m *GetNodeGroupListReply) ValidateAll() error

ValidateAll checks the field values on GetNodeGroupListReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNodeGroupListReplyMultiError, or nil if none found.

type GetNodeGroupListReplyMultiError

type GetNodeGroupListReplyMultiError []error

GetNodeGroupListReplyMultiError is an error wrapping multiple validation errors returned by GetNodeGroupListReply.ValidateAll() if the designated constraints aren't met.

func (GetNodeGroupListReplyMultiError) AllErrors

func (m GetNodeGroupListReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNodeGroupListReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetNodeGroupListReplyValidationError

type GetNodeGroupListReplyValidationError struct {
	// contains filtered or unexported fields
}

GetNodeGroupListReplyValidationError is the validation error returned by GetNodeGroupListReply.Validate if the designated constraints aren't met.

func (GetNodeGroupListReplyValidationError) Cause

Cause function returns cause value.

func (GetNodeGroupListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetNodeGroupListReplyValidationError) ErrorName

ErrorName returns error name.

func (GetNodeGroupListReplyValidationError) Field

Field function returns field value.

func (GetNodeGroupListReplyValidationError) Key

Key function returns key value.

func (GetNodeGroupListReplyValidationError) Reason

Reason function returns reason value.

type GetNodeGroupListRequest

type GetNodeGroupListRequest struct {
	Page    int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`                      // 页码
	Size    int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`                      // 每页数量
	GroupId int64 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // 分组ID过滤(可选)
	// contains filtered or unexported fields
}

GetNodeGroupListRequest 获取节点组列表请求

func (*GetNodeGroupListRequest) Descriptor deprecated

func (*GetNodeGroupListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNodeGroupListRequest.ProtoReflect.Descriptor instead.

func (*GetNodeGroupListRequest) GetGroupId

func (x *GetNodeGroupListRequest) GetGroupId() int64

func (*GetNodeGroupListRequest) GetPage

func (x *GetNodeGroupListRequest) GetPage() int64

func (*GetNodeGroupListRequest) GetSize

func (x *GetNodeGroupListRequest) GetSize() int64

func (*GetNodeGroupListRequest) ProtoMessage

func (*GetNodeGroupListRequest) ProtoMessage()

func (*GetNodeGroupListRequest) ProtoReflect

func (x *GetNodeGroupListRequest) ProtoReflect() protoreflect.Message

func (*GetNodeGroupListRequest) Reset

func (x *GetNodeGroupListRequest) Reset()

func (*GetNodeGroupListRequest) String

func (x *GetNodeGroupListRequest) String() string

func (*GetNodeGroupListRequest) Validate

func (m *GetNodeGroupListRequest) Validate() error

Validate checks the field values on GetNodeGroupListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetNodeGroupListRequest) ValidateAll

func (m *GetNodeGroupListRequest) ValidateAll() error

ValidateAll checks the field values on GetNodeGroupListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetNodeGroupListRequestMultiError, or nil if none found.

type GetNodeGroupListRequestMultiError

type GetNodeGroupListRequestMultiError []error

GetNodeGroupListRequestMultiError is an error wrapping multiple validation errors returned by GetNodeGroupListRequest.ValidateAll() if the designated constraints aren't met.

func (GetNodeGroupListRequestMultiError) AllErrors

func (m GetNodeGroupListRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNodeGroupListRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetNodeGroupListRequestValidationError

type GetNodeGroupListRequestValidationError struct {
	// contains filtered or unexported fields
}

GetNodeGroupListRequestValidationError is the validation error returned by GetNodeGroupListRequest.Validate if the designated constraints aren't met.

func (GetNodeGroupListRequestValidationError) Cause

Cause function returns cause value.

func (GetNodeGroupListRequestValidationError) Error

Error satisfies the builtin error interface

func (GetNodeGroupListRequestValidationError) ErrorName

ErrorName returns error name.

func (GetNodeGroupListRequestValidationError) Field

Field function returns field value.

func (GetNodeGroupListRequestValidationError) Key

Key function returns key value.

func (GetNodeGroupListRequestValidationError) Reason

Reason function returns reason value.

type GetRecalculationStatusReply

type GetRecalculationStatusReply struct {
	Code    int32               `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string              `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *RecalculationState `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetRecalculationStatusReply 获取重新计算状态响应

func (*GetRecalculationStatusReply) Descriptor deprecated

func (*GetRecalculationStatusReply) Descriptor() ([]byte, []int)

Deprecated: Use GetRecalculationStatusReply.ProtoReflect.Descriptor instead.

func (*GetRecalculationStatusReply) GetCode

func (x *GetRecalculationStatusReply) GetCode() int32

func (*GetRecalculationStatusReply) GetData

func (*GetRecalculationStatusReply) GetMessage

func (x *GetRecalculationStatusReply) GetMessage() string

func (*GetRecalculationStatusReply) ProtoMessage

func (*GetRecalculationStatusReply) ProtoMessage()

func (*GetRecalculationStatusReply) ProtoReflect

func (*GetRecalculationStatusReply) Reset

func (x *GetRecalculationStatusReply) Reset()

func (*GetRecalculationStatusReply) String

func (x *GetRecalculationStatusReply) String() string

func (*GetRecalculationStatusReply) Validate

func (m *GetRecalculationStatusReply) Validate() error

Validate checks the field values on GetRecalculationStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRecalculationStatusReply) ValidateAll

func (m *GetRecalculationStatusReply) ValidateAll() error

ValidateAll checks the field values on GetRecalculationStatusReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRecalculationStatusReplyMultiError, or nil if none found.

type GetRecalculationStatusReplyMultiError

type GetRecalculationStatusReplyMultiError []error

GetRecalculationStatusReplyMultiError is an error wrapping multiple validation errors returned by GetRecalculationStatusReply.ValidateAll() if the designated constraints aren't met.

func (GetRecalculationStatusReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetRecalculationStatusReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRecalculationStatusReplyValidationError

type GetRecalculationStatusReplyValidationError struct {
	// contains filtered or unexported fields
}

GetRecalculationStatusReplyValidationError is the validation error returned by GetRecalculationStatusReply.Validate if the designated constraints aren't met.

func (GetRecalculationStatusReplyValidationError) Cause

Cause function returns cause value.

func (GetRecalculationStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (GetRecalculationStatusReplyValidationError) ErrorName

ErrorName returns error name.

func (GetRecalculationStatusReplyValidationError) Field

Field function returns field value.

func (GetRecalculationStatusReplyValidationError) Key

Key function returns key value.

func (GetRecalculationStatusReplyValidationError) Reason

Reason function returns reason value.

type GetRecalculationStatusRequest

type GetRecalculationStatusRequest struct {
	// contains filtered or unexported fields
}

GetRecalculationStatusRequest 获取重新计算状态请求

func (*GetRecalculationStatusRequest) Descriptor deprecated

func (*GetRecalculationStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRecalculationStatusRequest.ProtoReflect.Descriptor instead.

func (*GetRecalculationStatusRequest) ProtoMessage

func (*GetRecalculationStatusRequest) ProtoMessage()

func (*GetRecalculationStatusRequest) ProtoReflect

func (*GetRecalculationStatusRequest) Reset

func (x *GetRecalculationStatusRequest) Reset()

func (*GetRecalculationStatusRequest) String

func (*GetRecalculationStatusRequest) Validate

func (m *GetRecalculationStatusRequest) Validate() error

Validate checks the field values on GetRecalculationStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRecalculationStatusRequest) ValidateAll

func (m *GetRecalculationStatusRequest) ValidateAll() error

ValidateAll checks the field values on GetRecalculationStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRecalculationStatusRequestMultiError, or nil if none found.

type GetRecalculationStatusRequestMultiError

type GetRecalculationStatusRequestMultiError []error

GetRecalculationStatusRequestMultiError is an error wrapping multiple validation errors returned by GetRecalculationStatusRequest.ValidateAll() if the designated constraints aren't met.

func (GetRecalculationStatusRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetRecalculationStatusRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRecalculationStatusRequestValidationError

type GetRecalculationStatusRequestValidationError struct {
	// contains filtered or unexported fields
}

GetRecalculationStatusRequestValidationError is the validation error returned by GetRecalculationStatusRequest.Validate if the designated constraints aren't met.

func (GetRecalculationStatusRequestValidationError) Cause

Cause function returns cause value.

func (GetRecalculationStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRecalculationStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (GetRecalculationStatusRequestValidationError) Field

Field function returns field value.

func (GetRecalculationStatusRequestValidationError) Key

Key function returns key value.

func (GetRecalculationStatusRequestValidationError) Reason

Reason function returns reason value.

type GetSubscribeGroupMappingData

type GetSubscribeGroupMappingData struct {
	List []*SubscribeGroupMappingItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // 映射列表
	// contains filtered or unexported fields
}

GetSubscribeGroupMappingData 获取订阅组映射数据

func (*GetSubscribeGroupMappingData) Descriptor deprecated

func (*GetSubscribeGroupMappingData) Descriptor() ([]byte, []int)

Deprecated: Use GetSubscribeGroupMappingData.ProtoReflect.Descriptor instead.

func (*GetSubscribeGroupMappingData) GetList

func (*GetSubscribeGroupMappingData) ProtoMessage

func (*GetSubscribeGroupMappingData) ProtoMessage()

func (*GetSubscribeGroupMappingData) ProtoReflect

func (*GetSubscribeGroupMappingData) Reset

func (x *GetSubscribeGroupMappingData) Reset()

func (*GetSubscribeGroupMappingData) String

func (*GetSubscribeGroupMappingData) Validate

func (m *GetSubscribeGroupMappingData) Validate() error

Validate checks the field values on GetSubscribeGroupMappingData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetSubscribeGroupMappingData) ValidateAll

func (m *GetSubscribeGroupMappingData) ValidateAll() error

ValidateAll checks the field values on GetSubscribeGroupMappingData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSubscribeGroupMappingDataMultiError, or nil if none found.

type GetSubscribeGroupMappingDataMultiError

type GetSubscribeGroupMappingDataMultiError []error

GetSubscribeGroupMappingDataMultiError is an error wrapping multiple validation errors returned by GetSubscribeGroupMappingData.ValidateAll() if the designated constraints aren't met.

func (GetSubscribeGroupMappingDataMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetSubscribeGroupMappingDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSubscribeGroupMappingDataValidationError

type GetSubscribeGroupMappingDataValidationError struct {
	// contains filtered or unexported fields
}

GetSubscribeGroupMappingDataValidationError is the validation error returned by GetSubscribeGroupMappingData.Validate if the designated constraints aren't met.

func (GetSubscribeGroupMappingDataValidationError) Cause

Cause function returns cause value.

func (GetSubscribeGroupMappingDataValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeGroupMappingDataValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeGroupMappingDataValidationError) Field

Field function returns field value.

func (GetSubscribeGroupMappingDataValidationError) Key

Key function returns key value.

func (GetSubscribeGroupMappingDataValidationError) Reason

Reason function returns reason value.

type GetSubscribeGroupMappingReply

type GetSubscribeGroupMappingReply struct {
	Code    int32                         `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                        `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *GetSubscribeGroupMappingData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

GetSubscribeGroupMappingReply 获取订阅组映射响应

func (*GetSubscribeGroupMappingReply) Descriptor deprecated

func (*GetSubscribeGroupMappingReply) Descriptor() ([]byte, []int)

Deprecated: Use GetSubscribeGroupMappingReply.ProtoReflect.Descriptor instead.

func (*GetSubscribeGroupMappingReply) GetCode

func (x *GetSubscribeGroupMappingReply) GetCode() int32

func (*GetSubscribeGroupMappingReply) GetData

func (*GetSubscribeGroupMappingReply) GetMessage

func (x *GetSubscribeGroupMappingReply) GetMessage() string

func (*GetSubscribeGroupMappingReply) ProtoMessage

func (*GetSubscribeGroupMappingReply) ProtoMessage()

func (*GetSubscribeGroupMappingReply) ProtoReflect

func (*GetSubscribeGroupMappingReply) Reset

func (x *GetSubscribeGroupMappingReply) Reset()

func (*GetSubscribeGroupMappingReply) String

func (*GetSubscribeGroupMappingReply) Validate

func (m *GetSubscribeGroupMappingReply) Validate() error

Validate checks the field values on GetSubscribeGroupMappingReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetSubscribeGroupMappingReply) ValidateAll

func (m *GetSubscribeGroupMappingReply) ValidateAll() error

ValidateAll checks the field values on GetSubscribeGroupMappingReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSubscribeGroupMappingReplyMultiError, or nil if none found.

type GetSubscribeGroupMappingReplyMultiError

type GetSubscribeGroupMappingReplyMultiError []error

GetSubscribeGroupMappingReplyMultiError is an error wrapping multiple validation errors returned by GetSubscribeGroupMappingReply.ValidateAll() if the designated constraints aren't met.

func (GetSubscribeGroupMappingReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetSubscribeGroupMappingReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSubscribeGroupMappingReplyValidationError

type GetSubscribeGroupMappingReplyValidationError struct {
	// contains filtered or unexported fields
}

GetSubscribeGroupMappingReplyValidationError is the validation error returned by GetSubscribeGroupMappingReply.Validate if the designated constraints aren't met.

func (GetSubscribeGroupMappingReplyValidationError) Cause

Cause function returns cause value.

func (GetSubscribeGroupMappingReplyValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeGroupMappingReplyValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeGroupMappingReplyValidationError) Field

Field function returns field value.

func (GetSubscribeGroupMappingReplyValidationError) Key

Key function returns key value.

func (GetSubscribeGroupMappingReplyValidationError) Reason

Reason function returns reason value.

type GetSubscribeGroupMappingRequest

type GetSubscribeGroupMappingRequest struct {
	// contains filtered or unexported fields
}

GetSubscribeGroupMappingRequest 获取订阅组映射请求

func (*GetSubscribeGroupMappingRequest) Descriptor deprecated

func (*GetSubscribeGroupMappingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSubscribeGroupMappingRequest.ProtoReflect.Descriptor instead.

func (*GetSubscribeGroupMappingRequest) ProtoMessage

func (*GetSubscribeGroupMappingRequest) ProtoMessage()

func (*GetSubscribeGroupMappingRequest) ProtoReflect

func (*GetSubscribeGroupMappingRequest) Reset

func (*GetSubscribeGroupMappingRequest) String

func (*GetSubscribeGroupMappingRequest) Validate

func (m *GetSubscribeGroupMappingRequest) Validate() error

Validate checks the field values on GetSubscribeGroupMappingRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetSubscribeGroupMappingRequest) ValidateAll

func (m *GetSubscribeGroupMappingRequest) ValidateAll() error

ValidateAll checks the field values on GetSubscribeGroupMappingRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetSubscribeGroupMappingRequestMultiError, or nil if none found.

type GetSubscribeGroupMappingRequestMultiError

type GetSubscribeGroupMappingRequestMultiError []error

GetSubscribeGroupMappingRequestMultiError is an error wrapping multiple validation errors returned by GetSubscribeGroupMappingRequest.ValidateAll() if the designated constraints aren't met.

func (GetSubscribeGroupMappingRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetSubscribeGroupMappingRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetSubscribeGroupMappingRequestValidationError

type GetSubscribeGroupMappingRequestValidationError struct {
	// contains filtered or unexported fields
}

GetSubscribeGroupMappingRequestValidationError is the validation error returned by GetSubscribeGroupMappingRequest.Validate if the designated constraints aren't met.

func (GetSubscribeGroupMappingRequestValidationError) Cause

Cause function returns cause value.

func (GetSubscribeGroupMappingRequestValidationError) Error

Error satisfies the builtin error interface

func (GetSubscribeGroupMappingRequestValidationError) ErrorName

ErrorName returns error name.

func (GetSubscribeGroupMappingRequestValidationError) Field

Field function returns field value.

func (GetSubscribeGroupMappingRequestValidationError) Key

Key function returns key value.

func (GetSubscribeGroupMappingRequestValidationError) Reason

Reason function returns reason value.

type GroupClient

type GroupClient interface {
	// ===== 节点组管理 =====
	// GetNodeGroupList 获取节点组列表
	GetNodeGroupList(ctx context.Context, in *GetNodeGroupListRequest, opts ...grpc.CallOption) (*GetNodeGroupListReply, error)
	// CreateNodeGroup 创建节点组
	CreateNodeGroup(ctx context.Context, in *CreateNodeGroupRequest, opts ...grpc.CallOption) (*CreateNodeGroupReply, error)
	// UpdateNodeGroup 更新节点组
	UpdateNodeGroup(ctx context.Context, in *UpdateNodeGroupRequest, opts ...grpc.CallOption) (*UpdateNodeGroupReply, error)
	// DeleteNodeGroup 删除节点组
	DeleteNodeGroup(ctx context.Context, in *DeleteNodeGroupRequest, opts ...grpc.CallOption) (*DeleteNodeGroupReply, error)
	// ===== 分组配置管理 =====
	// GetGroupConfig 获取分组配置
	GetGroupConfig(ctx context.Context, in *GetGroupConfigRequest, opts ...grpc.CallOption) (*GetGroupConfigReply, error)
	// UpdateGroupConfig 更新分组配置
	UpdateGroupConfig(ctx context.Context, in *UpdateGroupConfigRequest, opts ...grpc.CallOption) (*UpdateGroupConfigReply, error)
	// ===== 分组操作 =====
	// RecalculateGroup 重新计算分组
	RecalculateGroup(ctx context.Context, in *RecalculateGroupRequest, opts ...grpc.CallOption) (*RecalculateGroupReply, error)
	// GetRecalculationStatus 获取重新计算状态
	GetRecalculationStatus(ctx context.Context, in *GetRecalculationStatusRequest, opts ...grpc.CallOption) (*GetRecalculationStatusReply, error)
	// GetGroupHistory 获取分组历史
	GetGroupHistory(ctx context.Context, in *GetGroupHistoryRequest, opts ...grpc.CallOption) (*GetGroupHistoryReply, error)
	// GetGroupHistoryDetail 获取分组历史详情
	GetGroupHistoryDetail(ctx context.Context, in *GetGroupHistoryDetailRequest, opts ...grpc.CallOption) (*GetGroupHistoryDetailReply, error)
	// ExportGroupResult 导出分组结果
	ExportGroupResult(ctx context.Context, in *ExportGroupResultRequest, opts ...grpc.CallOption) (*ExportGroupResultReply, error)
	// MigrateUsers 迁移用户到另一个分组
	MigrateUsers(ctx context.Context, in *MigrateUsersRequest, opts ...grpc.CallOption) (*MigrateUsersReply, error)
	// PreviewUserNodes 预览用户节点
	PreviewUserNodes(ctx context.Context, in *PreviewUserNodesRequest, opts ...grpc.CallOption) (*PreviewUserNodesReply, error)
	// ResetGroups 重置所有分组
	ResetGroups(ctx context.Context, in *ResetGroupsRequest, opts ...grpc.CallOption) (*ResetGroupsReply, error)
	// GetSubscribeGroupMapping 获取订阅组映射
	GetSubscribeGroupMapping(ctx context.Context, in *GetSubscribeGroupMappingRequest, opts ...grpc.CallOption) (*GetSubscribeGroupMappingReply, error)
}

GroupClient is the client API for Group service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGroupClient

func NewGroupClient(cc grpc.ClientConnInterface) GroupClient

type GroupConfig

type GroupConfig struct {
	Enabled bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // 是否启用分组
	Mode    string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`        // 分组模式
	Config  string `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`    // 其他配置(JSON字符串)
	// contains filtered or unexported fields
}

GroupConfig 分组配置

func (*GroupConfig) Descriptor deprecated

func (*GroupConfig) Descriptor() ([]byte, []int)

Deprecated: Use GroupConfig.ProtoReflect.Descriptor instead.

func (*GroupConfig) GetConfig

func (x *GroupConfig) GetConfig() string

func (*GroupConfig) GetEnabled

func (x *GroupConfig) GetEnabled() bool

func (*GroupConfig) GetMode

func (x *GroupConfig) GetMode() string

func (*GroupConfig) ProtoMessage

func (*GroupConfig) ProtoMessage()

func (*GroupConfig) ProtoReflect

func (x *GroupConfig) ProtoReflect() protoreflect.Message

func (*GroupConfig) Reset

func (x *GroupConfig) Reset()

func (*GroupConfig) String

func (x *GroupConfig) String() string

func (*GroupConfig) Validate

func (m *GroupConfig) Validate() error

Validate checks the field values on GroupConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GroupConfig) ValidateAll

func (m *GroupConfig) ValidateAll() error

ValidateAll checks the field values on GroupConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupConfigMultiError, or nil if none found.

type GroupConfigMultiError

type GroupConfigMultiError []error

GroupConfigMultiError is an error wrapping multiple validation errors returned by GroupConfig.ValidateAll() if the designated constraints aren't met.

func (GroupConfigMultiError) AllErrors

func (m GroupConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupConfigMultiError) Error

func (m GroupConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GroupConfigValidationError

type GroupConfigValidationError struct {
	// contains filtered or unexported fields
}

GroupConfigValidationError is the validation error returned by GroupConfig.Validate if the designated constraints aren't met.

func (GroupConfigValidationError) Cause

Cause function returns cause value.

func (GroupConfigValidationError) Error

Error satisfies the builtin error interface

func (GroupConfigValidationError) ErrorName

func (e GroupConfigValidationError) ErrorName() string

ErrorName returns error name.

func (GroupConfigValidationError) Field

Field function returns field value.

func (GroupConfigValidationError) Key

Key function returns key value.

func (GroupConfigValidationError) Reason

Reason function returns reason value.

type GroupHTTPClient

type GroupHTTPClient interface {
	// CreateNodeGroup CreateNodeGroup 创建节点组
	CreateNodeGroup(ctx context.Context, req *CreateNodeGroupRequest, opts ...http.CallOption) (rsp *CreateNodeGroupReply, err error)
	// DeleteNodeGroup DeleteNodeGroup 删除节点组
	DeleteNodeGroup(ctx context.Context, req *DeleteNodeGroupRequest, opts ...http.CallOption) (rsp *DeleteNodeGroupReply, err error)
	// ExportGroupResult ExportGroupResult 导出分组结果
	ExportGroupResult(ctx context.Context, req *ExportGroupResultRequest, opts ...http.CallOption) (rsp *ExportGroupResultReply, err error)
	// GetGroupConfig ===== 分组配置管理 =====
	// GetGroupConfig 获取分组配置
	GetGroupConfig(ctx context.Context, req *GetGroupConfigRequest, opts ...http.CallOption) (rsp *GetGroupConfigReply, err error)
	// GetGroupHistory GetGroupHistory 获取分组历史
	GetGroupHistory(ctx context.Context, req *GetGroupHistoryRequest, opts ...http.CallOption) (rsp *GetGroupHistoryReply, err error)
	// GetGroupHistoryDetail GetGroupHistoryDetail 获取分组历史详情
	GetGroupHistoryDetail(ctx context.Context, req *GetGroupHistoryDetailRequest, opts ...http.CallOption) (rsp *GetGroupHistoryDetailReply, err error)
	// GetNodeGroupList ===== 节点组管理 =====
	// GetNodeGroupList 获取节点组列表
	GetNodeGroupList(ctx context.Context, req *GetNodeGroupListRequest, opts ...http.CallOption) (rsp *GetNodeGroupListReply, err error)
	// GetRecalculationStatus GetRecalculationStatus 获取重新计算状态
	GetRecalculationStatus(ctx context.Context, req *GetRecalculationStatusRequest, opts ...http.CallOption) (rsp *GetRecalculationStatusReply, err error)
	// GetSubscribeGroupMapping GetSubscribeGroupMapping 获取订阅组映射
	GetSubscribeGroupMapping(ctx context.Context, req *GetSubscribeGroupMappingRequest, opts ...http.CallOption) (rsp *GetSubscribeGroupMappingReply, err error)
	// MigrateUsers MigrateUsers 迁移用户到另一个分组
	MigrateUsers(ctx context.Context, req *MigrateUsersRequest, opts ...http.CallOption) (rsp *MigrateUsersReply, err error)
	// PreviewUserNodes PreviewUserNodes 预览用户节点
	PreviewUserNodes(ctx context.Context, req *PreviewUserNodesRequest, opts ...http.CallOption) (rsp *PreviewUserNodesReply, err error)
	// RecalculateGroup ===== 分组操作 =====
	// RecalculateGroup 重新计算分组
	RecalculateGroup(ctx context.Context, req *RecalculateGroupRequest, opts ...http.CallOption) (rsp *RecalculateGroupReply, err error)
	// ResetGroups ResetGroups 重置所有分组
	ResetGroups(ctx context.Context, req *ResetGroupsRequest, opts ...http.CallOption) (rsp *ResetGroupsReply, err error)
	// UpdateGroupConfig UpdateGroupConfig 更新分组配置
	UpdateGroupConfig(ctx context.Context, req *UpdateGroupConfigRequest, opts ...http.CallOption) (rsp *UpdateGroupConfigReply, err error)
	// UpdateNodeGroup UpdateNodeGroup 更新节点组
	UpdateNodeGroup(ctx context.Context, req *UpdateNodeGroupRequest, opts ...http.CallOption) (rsp *UpdateNodeGroupReply, err error)
}

func NewGroupHTTPClient

func NewGroupHTTPClient(client *http.Client) GroupHTTPClient

type GroupHTTPClientImpl

type GroupHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*GroupHTTPClientImpl) CreateNodeGroup

CreateNodeGroup CreateNodeGroup 创建节点组

func (*GroupHTTPClientImpl) DeleteNodeGroup

DeleteNodeGroup DeleteNodeGroup 删除节点组

func (*GroupHTTPClientImpl) ExportGroupResult

ExportGroupResult ExportGroupResult 导出分组结果

func (*GroupHTTPClientImpl) GetGroupConfig

GetGroupConfig ===== 分组配置管理 ===== GetGroupConfig 获取分组配置

func (*GroupHTTPClientImpl) GetGroupHistory

GetGroupHistory GetGroupHistory 获取分组历史

func (*GroupHTTPClientImpl) GetGroupHistoryDetail

GetGroupHistoryDetail GetGroupHistoryDetail 获取分组历史详情

func (*GroupHTTPClientImpl) GetNodeGroupList

GetNodeGroupList ===== 节点组管理 ===== GetNodeGroupList 获取节点组列表

func (*GroupHTTPClientImpl) GetRecalculationStatus

GetRecalculationStatus GetRecalculationStatus 获取重新计算状态

func (*GroupHTTPClientImpl) GetSubscribeGroupMapping

GetSubscribeGroupMapping GetSubscribeGroupMapping 获取订阅组映射

func (*GroupHTTPClientImpl) MigrateUsers

MigrateUsers MigrateUsers 迁移用户到另一个分组

func (*GroupHTTPClientImpl) PreviewUserNodes

PreviewUserNodes PreviewUserNodes 预览用户节点

func (*GroupHTTPClientImpl) RecalculateGroup

RecalculateGroup ===== 分组操作 ===== RecalculateGroup 重新计算分组

func (*GroupHTTPClientImpl) ResetGroups

ResetGroups ResetGroups 重置所有分组

func (*GroupHTTPClientImpl) UpdateGroupConfig

UpdateGroupConfig UpdateGroupConfig 更新分组配置

func (*GroupHTTPClientImpl) UpdateNodeGroup

UpdateNodeGroup UpdateNodeGroup 更新节点组

type GroupHTTPServer

type GroupHTTPServer interface {
	// CreateNodeGroup CreateNodeGroup 创建节点组
	CreateNodeGroup(context.Context, *CreateNodeGroupRequest) (*CreateNodeGroupReply, error)
	// DeleteNodeGroup DeleteNodeGroup 删除节点组
	DeleteNodeGroup(context.Context, *DeleteNodeGroupRequest) (*DeleteNodeGroupReply, error)
	// ExportGroupResult ExportGroupResult 导出分组结果
	ExportGroupResult(context.Context, *ExportGroupResultRequest) (*ExportGroupResultReply, error)
	// GetGroupConfig ===== 分组配置管理 =====
	// GetGroupConfig 获取分组配置
	GetGroupConfig(context.Context, *GetGroupConfigRequest) (*GetGroupConfigReply, error)
	// GetGroupHistory GetGroupHistory 获取分组历史
	GetGroupHistory(context.Context, *GetGroupHistoryRequest) (*GetGroupHistoryReply, error)
	// GetGroupHistoryDetail GetGroupHistoryDetail 获取分组历史详情
	GetGroupHistoryDetail(context.Context, *GetGroupHistoryDetailRequest) (*GetGroupHistoryDetailReply, error)
	// GetNodeGroupList ===== 节点组管理 =====
	// GetNodeGroupList 获取节点组列表
	GetNodeGroupList(context.Context, *GetNodeGroupListRequest) (*GetNodeGroupListReply, error)
	// GetRecalculationStatus GetRecalculationStatus 获取重新计算状态
	GetRecalculationStatus(context.Context, *GetRecalculationStatusRequest) (*GetRecalculationStatusReply, error)
	// GetSubscribeGroupMapping GetSubscribeGroupMapping 获取订阅组映射
	GetSubscribeGroupMapping(context.Context, *GetSubscribeGroupMappingRequest) (*GetSubscribeGroupMappingReply, error)
	// MigrateUsers MigrateUsers 迁移用户到另一个分组
	MigrateUsers(context.Context, *MigrateUsersRequest) (*MigrateUsersReply, error)
	// PreviewUserNodes PreviewUserNodes 预览用户节点
	PreviewUserNodes(context.Context, *PreviewUserNodesRequest) (*PreviewUserNodesReply, error)
	// RecalculateGroup ===== 分组操作 =====
	// RecalculateGroup 重新计算分组
	RecalculateGroup(context.Context, *RecalculateGroupRequest) (*RecalculateGroupReply, error)
	// ResetGroups ResetGroups 重置所有分组
	ResetGroups(context.Context, *ResetGroupsRequest) (*ResetGroupsReply, error)
	// UpdateGroupConfig UpdateGroupConfig 更新分组配置
	UpdateGroupConfig(context.Context, *UpdateGroupConfigRequest) (*UpdateGroupConfigReply, error)
	// UpdateNodeGroup UpdateNodeGroup 更新节点组
	UpdateNodeGroup(context.Context, *UpdateNodeGroupRequest) (*UpdateNodeGroupReply, error)
}

type GroupHistory

type GroupHistory struct {
	Id           int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                         // 历史记录ID
	GroupMode    string `protobuf:"bytes,2,opt,name=group_mode,json=groupMode,proto3" json:"group_mode,omitempty"`           // 分组模式
	TriggerType  string `protobuf:"bytes,3,opt,name=trigger_type,json=triggerType,proto3" json:"trigger_type,omitempty"`     // 触发类型
	TotalUsers   int32  `protobuf:"varint,4,opt,name=total_users,json=totalUsers,proto3" json:"total_users,omitempty"`       // 用户总数
	SuccessCount int32  `protobuf:"varint,5,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` // 成功数量
	FailedCount  int32  `protobuf:"varint,6,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"`    // 失败数量
	StartTime    *int64 `protobuf:"varint,7,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`    // 开始时间(可选)
	EndTime      *int64 `protobuf:"varint,8,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"`          // 结束时间(可选)
	Operator     string `protobuf:"bytes,9,opt,name=operator,proto3" json:"operator,omitempty"`                              // 操作人
	ErrorLog     string `protobuf:"bytes,10,opt,name=error_log,json=errorLog,proto3" json:"error_log,omitempty"`             // 错误日志
	CreatedAt    int64  `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`         // 创建时间
	// contains filtered or unexported fields
}

GroupHistory 分组历史

func (*GroupHistory) Descriptor deprecated

func (*GroupHistory) Descriptor() ([]byte, []int)

Deprecated: Use GroupHistory.ProtoReflect.Descriptor instead.

func (*GroupHistory) GetCreatedAt

func (x *GroupHistory) GetCreatedAt() int64

func (*GroupHistory) GetEndTime

func (x *GroupHistory) GetEndTime() int64

func (*GroupHistory) GetErrorLog

func (x *GroupHistory) GetErrorLog() string

func (*GroupHistory) GetFailedCount

func (x *GroupHistory) GetFailedCount() int32

func (*GroupHistory) GetGroupMode

func (x *GroupHistory) GetGroupMode() string

func (*GroupHistory) GetId

func (x *GroupHistory) GetId() int64

func (*GroupHistory) GetOperator

func (x *GroupHistory) GetOperator() string

func (*GroupHistory) GetStartTime

func (x *GroupHistory) GetStartTime() int64

func (*GroupHistory) GetSuccessCount

func (x *GroupHistory) GetSuccessCount() int32

func (*GroupHistory) GetTotalUsers

func (x *GroupHistory) GetTotalUsers() int32

func (*GroupHistory) GetTriggerType

func (x *GroupHistory) GetTriggerType() string

func (*GroupHistory) ProtoMessage

func (*GroupHistory) ProtoMessage()

func (*GroupHistory) ProtoReflect

func (x *GroupHistory) ProtoReflect() protoreflect.Message

func (*GroupHistory) Reset

func (x *GroupHistory) Reset()

func (*GroupHistory) String

func (x *GroupHistory) String() string

func (*GroupHistory) Validate

func (m *GroupHistory) Validate() error

Validate checks the field values on GroupHistory with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GroupHistory) ValidateAll

func (m *GroupHistory) ValidateAll() error

ValidateAll checks the field values on GroupHistory with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupHistoryMultiError, or nil if none found.

type GroupHistoryDetail

type GroupHistoryDetail struct {
	Id             int64                     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                               // 历史记录ID
	GroupMode      string                    `protobuf:"bytes,2,opt,name=group_mode,json=groupMode,proto3" json:"group_mode,omitempty"`                 // 分组模式
	TriggerType    string                    `protobuf:"bytes,3,opt,name=trigger_type,json=triggerType,proto3" json:"trigger_type,omitempty"`           // 触发类型
	TotalUsers     int32                     `protobuf:"varint,4,opt,name=total_users,json=totalUsers,proto3" json:"total_users,omitempty"`             // 用户总数
	SuccessCount   int32                     `protobuf:"varint,5,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`       // 成功数量
	FailedCount    int32                     `protobuf:"varint,6,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"`          // 失败数量
	StartTime      *int64                    `protobuf:"varint,7,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`          // 开始时间(可选)
	EndTime        *int64                    `protobuf:"varint,8,opt,name=end_time,json=endTime,proto3,oneof" json:"end_time,omitempty"`                // 结束时间(可选)
	Operator       string                    `protobuf:"bytes,9,opt,name=operator,proto3" json:"operator,omitempty"`                                    // 操作人
	ErrorLog       string                    `protobuf:"bytes,10,opt,name=error_log,json=errorLog,proto3" json:"error_log,omitempty"`                   // 错误日志
	CreatedAt      int64                     `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`               // 创建时间
	ConfigSnapshot string                    `protobuf:"bytes,12,opt,name=config_snapshot,json=configSnapshot,proto3" json:"config_snapshot,omitempty"` // 配置快照(JSON字符串,可选)
	GroupDetails   []*GroupHistoryDetailItem `protobuf:"bytes,13,rep,name=group_details,json=groupDetails,proto3" json:"group_details,omitempty"`       // 分组详情列表(可选)
	// contains filtered or unexported fields
}

GroupHistoryDetail 分组历史详情

func (*GroupHistoryDetail) Descriptor deprecated

func (*GroupHistoryDetail) Descriptor() ([]byte, []int)

Deprecated: Use GroupHistoryDetail.ProtoReflect.Descriptor instead.

func (*GroupHistoryDetail) GetConfigSnapshot

func (x *GroupHistoryDetail) GetConfigSnapshot() string

func (*GroupHistoryDetail) GetCreatedAt

func (x *GroupHistoryDetail) GetCreatedAt() int64

func (*GroupHistoryDetail) GetEndTime

func (x *GroupHistoryDetail) GetEndTime() int64

func (*GroupHistoryDetail) GetErrorLog

func (x *GroupHistoryDetail) GetErrorLog() string

func (*GroupHistoryDetail) GetFailedCount

func (x *GroupHistoryDetail) GetFailedCount() int32

func (*GroupHistoryDetail) GetGroupDetails

func (x *GroupHistoryDetail) GetGroupDetails() []*GroupHistoryDetailItem

func (*GroupHistoryDetail) GetGroupMode

func (x *GroupHistoryDetail) GetGroupMode() string

func (*GroupHistoryDetail) GetId

func (x *GroupHistoryDetail) GetId() int64

func (*GroupHistoryDetail) GetOperator

func (x *GroupHistoryDetail) GetOperator() string

func (*GroupHistoryDetail) GetStartTime

func (x *GroupHistoryDetail) GetStartTime() int64

func (*GroupHistoryDetail) GetSuccessCount

func (x *GroupHistoryDetail) GetSuccessCount() int32

func (*GroupHistoryDetail) GetTotalUsers

func (x *GroupHistoryDetail) GetTotalUsers() int32

func (*GroupHistoryDetail) GetTriggerType

func (x *GroupHistoryDetail) GetTriggerType() string

func (*GroupHistoryDetail) ProtoMessage

func (*GroupHistoryDetail) ProtoMessage()

func (*GroupHistoryDetail) ProtoReflect

func (x *GroupHistoryDetail) ProtoReflect() protoreflect.Message

func (*GroupHistoryDetail) Reset

func (x *GroupHistoryDetail) Reset()

func (*GroupHistoryDetail) String

func (x *GroupHistoryDetail) String() string

func (*GroupHistoryDetail) Validate

func (m *GroupHistoryDetail) Validate() error

Validate checks the field values on GroupHistoryDetail with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GroupHistoryDetail) ValidateAll

func (m *GroupHistoryDetail) ValidateAll() error

ValidateAll checks the field values on GroupHistoryDetail with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupHistoryDetailMultiError, or nil if none found.

type GroupHistoryDetailItem

type GroupHistoryDetailItem struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                        // 条目ID
	HistoryId   int64  `protobuf:"varint,2,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"`         // 历史记录ID
	UserGroupId int64  `protobuf:"varint,3,opt,name=user_group_id,json=userGroupId,proto3" json:"user_group_id,omitempty"` // 用户组ID
	NodeGroupId int64  `protobuf:"varint,4,opt,name=node_group_id,json=nodeGroupId,proto3" json:"node_group_id,omitempty"` // 节点组ID
	UserCount   int32  `protobuf:"varint,5,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`         // 用户数量
	NodeCount   int32  `protobuf:"varint,6,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`         // 节点数量
	UserData    string `protobuf:"bytes,7,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"`             // 用户数据(JSON,可选)
	CreatedAt   int64  `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`         // 创建时间
	// contains filtered or unexported fields
}

GroupHistoryDetailItem 分组历史详情条目

func (*GroupHistoryDetailItem) Descriptor deprecated

func (*GroupHistoryDetailItem) Descriptor() ([]byte, []int)

Deprecated: Use GroupHistoryDetailItem.ProtoReflect.Descriptor instead.

func (*GroupHistoryDetailItem) GetCreatedAt

func (x *GroupHistoryDetailItem) GetCreatedAt() int64

func (*GroupHistoryDetailItem) GetHistoryId

func (x *GroupHistoryDetailItem) GetHistoryId() int64

func (*GroupHistoryDetailItem) GetId

func (x *GroupHistoryDetailItem) GetId() int64

func (*GroupHistoryDetailItem) GetNodeCount

func (x *GroupHistoryDetailItem) GetNodeCount() int32

func (*GroupHistoryDetailItem) GetNodeGroupId

func (x *GroupHistoryDetailItem) GetNodeGroupId() int64

func (*GroupHistoryDetailItem) GetUserCount

func (x *GroupHistoryDetailItem) GetUserCount() int32

func (*GroupHistoryDetailItem) GetUserData

func (x *GroupHistoryDetailItem) GetUserData() string

func (*GroupHistoryDetailItem) GetUserGroupId

func (x *GroupHistoryDetailItem) GetUserGroupId() int64

func (*GroupHistoryDetailItem) ProtoMessage

func (*GroupHistoryDetailItem) ProtoMessage()

func (*GroupHistoryDetailItem) ProtoReflect

func (x *GroupHistoryDetailItem) ProtoReflect() protoreflect.Message

func (*GroupHistoryDetailItem) Reset

func (x *GroupHistoryDetailItem) Reset()

func (*GroupHistoryDetailItem) String

func (x *GroupHistoryDetailItem) String() string

func (*GroupHistoryDetailItem) Validate

func (m *GroupHistoryDetailItem) Validate() error

Validate checks the field values on GroupHistoryDetailItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GroupHistoryDetailItem) ValidateAll

func (m *GroupHistoryDetailItem) ValidateAll() error

ValidateAll checks the field values on GroupHistoryDetailItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GroupHistoryDetailItemMultiError, or nil if none found.

type GroupHistoryDetailItemMultiError

type GroupHistoryDetailItemMultiError []error

GroupHistoryDetailItemMultiError is an error wrapping multiple validation errors returned by GroupHistoryDetailItem.ValidateAll() if the designated constraints aren't met.

func (GroupHistoryDetailItemMultiError) AllErrors

func (m GroupHistoryDetailItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupHistoryDetailItemMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GroupHistoryDetailItemValidationError

type GroupHistoryDetailItemValidationError struct {
	// contains filtered or unexported fields
}

GroupHistoryDetailItemValidationError is the validation error returned by GroupHistoryDetailItem.Validate if the designated constraints aren't met.

func (GroupHistoryDetailItemValidationError) Cause

Cause function returns cause value.

func (GroupHistoryDetailItemValidationError) Error

Error satisfies the builtin error interface

func (GroupHistoryDetailItemValidationError) ErrorName

ErrorName returns error name.

func (GroupHistoryDetailItemValidationError) Field

Field function returns field value.

func (GroupHistoryDetailItemValidationError) Key

Key function returns key value.

func (GroupHistoryDetailItemValidationError) Reason

Reason function returns reason value.

type GroupHistoryDetailMultiError

type GroupHistoryDetailMultiError []error

GroupHistoryDetailMultiError is an error wrapping multiple validation errors returned by GroupHistoryDetail.ValidateAll() if the designated constraints aren't met.

func (GroupHistoryDetailMultiError) AllErrors

func (m GroupHistoryDetailMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupHistoryDetailMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GroupHistoryDetailValidationError

type GroupHistoryDetailValidationError struct {
	// contains filtered or unexported fields
}

GroupHistoryDetailValidationError is the validation error returned by GroupHistoryDetail.Validate if the designated constraints aren't met.

func (GroupHistoryDetailValidationError) Cause

Cause function returns cause value.

func (GroupHistoryDetailValidationError) Error

Error satisfies the builtin error interface

func (GroupHistoryDetailValidationError) ErrorName

ErrorName returns error name.

func (GroupHistoryDetailValidationError) Field

Field function returns field value.

func (GroupHistoryDetailValidationError) Key

Key function returns key value.

func (GroupHistoryDetailValidationError) Reason

Reason function returns reason value.

type GroupHistoryMultiError

type GroupHistoryMultiError []error

GroupHistoryMultiError is an error wrapping multiple validation errors returned by GroupHistory.ValidateAll() if the designated constraints aren't met.

func (GroupHistoryMultiError) AllErrors

func (m GroupHistoryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupHistoryMultiError) Error

func (m GroupHistoryMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GroupHistoryValidationError

type GroupHistoryValidationError struct {
	// contains filtered or unexported fields
}

GroupHistoryValidationError is the validation error returned by GroupHistory.Validate if the designated constraints aren't met.

func (GroupHistoryValidationError) Cause

Cause function returns cause value.

func (GroupHistoryValidationError) Error

Error satisfies the builtin error interface

func (GroupHistoryValidationError) ErrorName

func (e GroupHistoryValidationError) ErrorName() string

ErrorName returns error name.

func (GroupHistoryValidationError) Field

Field function returns field value.

func (GroupHistoryValidationError) Key

Key function returns key value.

func (GroupHistoryValidationError) Reason

Reason function returns reason value.

type GroupServer

type GroupServer interface {
	// ===== 节点组管理 =====
	// GetNodeGroupList 获取节点组列表
	GetNodeGroupList(context.Context, *GetNodeGroupListRequest) (*GetNodeGroupListReply, error)
	// CreateNodeGroup 创建节点组
	CreateNodeGroup(context.Context, *CreateNodeGroupRequest) (*CreateNodeGroupReply, error)
	// UpdateNodeGroup 更新节点组
	UpdateNodeGroup(context.Context, *UpdateNodeGroupRequest) (*UpdateNodeGroupReply, error)
	// DeleteNodeGroup 删除节点组
	DeleteNodeGroup(context.Context, *DeleteNodeGroupRequest) (*DeleteNodeGroupReply, error)
	// ===== 分组配置管理 =====
	// GetGroupConfig 获取分组配置
	GetGroupConfig(context.Context, *GetGroupConfigRequest) (*GetGroupConfigReply, error)
	// UpdateGroupConfig 更新分组配置
	UpdateGroupConfig(context.Context, *UpdateGroupConfigRequest) (*UpdateGroupConfigReply, error)
	// ===== 分组操作 =====
	// RecalculateGroup 重新计算分组
	RecalculateGroup(context.Context, *RecalculateGroupRequest) (*RecalculateGroupReply, error)
	// GetRecalculationStatus 获取重新计算状态
	GetRecalculationStatus(context.Context, *GetRecalculationStatusRequest) (*GetRecalculationStatusReply, error)
	// GetGroupHistory 获取分组历史
	GetGroupHistory(context.Context, *GetGroupHistoryRequest) (*GetGroupHistoryReply, error)
	// GetGroupHistoryDetail 获取分组历史详情
	GetGroupHistoryDetail(context.Context, *GetGroupHistoryDetailRequest) (*GetGroupHistoryDetailReply, error)
	// ExportGroupResult 导出分组结果
	ExportGroupResult(context.Context, *ExportGroupResultRequest) (*ExportGroupResultReply, error)
	// MigrateUsers 迁移用户到另一个分组
	MigrateUsers(context.Context, *MigrateUsersRequest) (*MigrateUsersReply, error)
	// PreviewUserNodes 预览用户节点
	PreviewUserNodes(context.Context, *PreviewUserNodesRequest) (*PreviewUserNodesReply, error)
	// ResetGroups 重置所有分组
	ResetGroups(context.Context, *ResetGroupsRequest) (*ResetGroupsReply, error)
	// GetSubscribeGroupMapping 获取订阅组映射
	GetSubscribeGroupMapping(context.Context, *GetSubscribeGroupMappingRequest) (*GetSubscribeGroupMappingReply, error)
	// contains filtered or unexported methods
}

GroupServer is the server API for Group service. All implementations must embed UnimplementedGroupServer for forward compatibility.

type MigrateUsersData

type MigrateUsersData struct {
	SuccessCount int32 `protobuf:"varint,1,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"` // 成功数量
	FailedCount  int32 `protobuf:"varint,2,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"`    // 失败数量
	// contains filtered or unexported fields
}

MigrateUsersData 迁移用户数据

func (*MigrateUsersData) Descriptor deprecated

func (*MigrateUsersData) Descriptor() ([]byte, []int)

Deprecated: Use MigrateUsersData.ProtoReflect.Descriptor instead.

func (*MigrateUsersData) GetFailedCount

func (x *MigrateUsersData) GetFailedCount() int32

func (*MigrateUsersData) GetSuccessCount

func (x *MigrateUsersData) GetSuccessCount() int32

func (*MigrateUsersData) ProtoMessage

func (*MigrateUsersData) ProtoMessage()

func (*MigrateUsersData) ProtoReflect

func (x *MigrateUsersData) ProtoReflect() protoreflect.Message

func (*MigrateUsersData) Reset

func (x *MigrateUsersData) Reset()

func (*MigrateUsersData) String

func (x *MigrateUsersData) String() string

func (*MigrateUsersData) Validate

func (m *MigrateUsersData) Validate() error

Validate checks the field values on MigrateUsersData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MigrateUsersData) ValidateAll

func (m *MigrateUsersData) ValidateAll() error

ValidateAll checks the field values on MigrateUsersData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MigrateUsersDataMultiError, or nil if none found.

type MigrateUsersDataMultiError

type MigrateUsersDataMultiError []error

MigrateUsersDataMultiError is an error wrapping multiple validation errors returned by MigrateUsersData.ValidateAll() if the designated constraints aren't met.

func (MigrateUsersDataMultiError) AllErrors

func (m MigrateUsersDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MigrateUsersDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MigrateUsersDataValidationError

type MigrateUsersDataValidationError struct {
	// contains filtered or unexported fields
}

MigrateUsersDataValidationError is the validation error returned by MigrateUsersData.Validate if the designated constraints aren't met.

func (MigrateUsersDataValidationError) Cause

Cause function returns cause value.

func (MigrateUsersDataValidationError) Error

Error satisfies the builtin error interface

func (MigrateUsersDataValidationError) ErrorName

ErrorName returns error name.

func (MigrateUsersDataValidationError) Field

Field function returns field value.

func (MigrateUsersDataValidationError) Key

Key function returns key value.

func (MigrateUsersDataValidationError) Reason

Reason function returns reason value.

type MigrateUsersReply

type MigrateUsersReply struct {
	Code    int32             `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *MigrateUsersData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

MigrateUsersReply 迁移用户响应

func (*MigrateUsersReply) Descriptor deprecated

func (*MigrateUsersReply) Descriptor() ([]byte, []int)

Deprecated: Use MigrateUsersReply.ProtoReflect.Descriptor instead.

func (*MigrateUsersReply) GetCode

func (x *MigrateUsersReply) GetCode() int32

func (*MigrateUsersReply) GetData

func (x *MigrateUsersReply) GetData() *MigrateUsersData

func (*MigrateUsersReply) GetMessage

func (x *MigrateUsersReply) GetMessage() string

func (*MigrateUsersReply) ProtoMessage

func (*MigrateUsersReply) ProtoMessage()

func (*MigrateUsersReply) ProtoReflect

func (x *MigrateUsersReply) ProtoReflect() protoreflect.Message

func (*MigrateUsersReply) Reset

func (x *MigrateUsersReply) Reset()

func (*MigrateUsersReply) String

func (x *MigrateUsersReply) String() string

func (*MigrateUsersReply) Validate

func (m *MigrateUsersReply) Validate() error

Validate checks the field values on MigrateUsersReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MigrateUsersReply) ValidateAll

func (m *MigrateUsersReply) ValidateAll() error

ValidateAll checks the field values on MigrateUsersReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MigrateUsersReplyMultiError, or nil if none found.

type MigrateUsersReplyMultiError

type MigrateUsersReplyMultiError []error

MigrateUsersReplyMultiError is an error wrapping multiple validation errors returned by MigrateUsersReply.ValidateAll() if the designated constraints aren't met.

func (MigrateUsersReplyMultiError) AllErrors

func (m MigrateUsersReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MigrateUsersReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MigrateUsersReplyValidationError

type MigrateUsersReplyValidationError struct {
	// contains filtered or unexported fields
}

MigrateUsersReplyValidationError is the validation error returned by MigrateUsersReply.Validate if the designated constraints aren't met.

func (MigrateUsersReplyValidationError) Cause

Cause function returns cause value.

func (MigrateUsersReplyValidationError) Error

Error satisfies the builtin error interface

func (MigrateUsersReplyValidationError) ErrorName

ErrorName returns error name.

func (MigrateUsersReplyValidationError) Field

Field function returns field value.

func (MigrateUsersReplyValidationError) Key

Key function returns key value.

func (MigrateUsersReplyValidationError) Reason

Reason function returns reason value.

type MigrateUsersRequest

type MigrateUsersRequest struct {
	FromUserGroupId int64 `protobuf:"varint,1,opt,name=from_user_group_id,json=fromUserGroupId,proto3" json:"from_user_group_id,omitempty"` // 源用户组ID(已废弃)
	ToUserGroupId   int64 `protobuf:"varint,2,opt,name=to_user_group_id,json=toUserGroupId,proto3" json:"to_user_group_id,omitempty"`       // 目标用户组ID(已废弃)
	IncludeLocked   bool  `protobuf:"varint,3,opt,name=include_locked,json=includeLocked,proto3" json:"include_locked,omitempty"`           // 是否包含锁定用户
	// contains filtered or unexported fields
}

MigrateUsersRequest 迁移用户请求(已废弃 - UserGroup已移除) 此API暂时保留但返回错误,提示使用分组重算功能

func (*MigrateUsersRequest) Descriptor deprecated

func (*MigrateUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use MigrateUsersRequest.ProtoReflect.Descriptor instead.

func (*MigrateUsersRequest) GetFromUserGroupId

func (x *MigrateUsersRequest) GetFromUserGroupId() int64

func (*MigrateUsersRequest) GetIncludeLocked

func (x *MigrateUsersRequest) GetIncludeLocked() bool

func (*MigrateUsersRequest) GetToUserGroupId

func (x *MigrateUsersRequest) GetToUserGroupId() int64

func (*MigrateUsersRequest) ProtoMessage

func (*MigrateUsersRequest) ProtoMessage()

func (*MigrateUsersRequest) ProtoReflect

func (x *MigrateUsersRequest) ProtoReflect() protoreflect.Message

func (*MigrateUsersRequest) Reset

func (x *MigrateUsersRequest) Reset()

func (*MigrateUsersRequest) String

func (x *MigrateUsersRequest) String() string

func (*MigrateUsersRequest) Validate

func (m *MigrateUsersRequest) Validate() error

Validate checks the field values on MigrateUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MigrateUsersRequest) ValidateAll

func (m *MigrateUsersRequest) ValidateAll() error

ValidateAll checks the field values on MigrateUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MigrateUsersRequestMultiError, or nil if none found.

type MigrateUsersRequestMultiError

type MigrateUsersRequestMultiError []error

MigrateUsersRequestMultiError is an error wrapping multiple validation errors returned by MigrateUsersRequest.ValidateAll() if the designated constraints aren't met.

func (MigrateUsersRequestMultiError) AllErrors

func (m MigrateUsersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MigrateUsersRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type MigrateUsersRequestValidationError

type MigrateUsersRequestValidationError struct {
	// contains filtered or unexported fields
}

MigrateUsersRequestValidationError is the validation error returned by MigrateUsersRequest.Validate if the designated constraints aren't met.

func (MigrateUsersRequestValidationError) Cause

Cause function returns cause value.

func (MigrateUsersRequestValidationError) Error

Error satisfies the builtin error interface

func (MigrateUsersRequestValidationError) ErrorName

ErrorName returns error name.

func (MigrateUsersRequestValidationError) Field

Field function returns field value.

func (MigrateUsersRequestValidationError) Key

Key function returns key value.

func (MigrateUsersRequestValidationError) Reason

Reason function returns reason value.

type Node

type Node struct {
	Id      int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`          // 节点ID
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`       // 节点名称
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // 节点地址
	Port    int32  `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`      // 节点端口
	Tags    string `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"`       // 节点标签
	Sort    int32  `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`      // 排序
	// contains filtered or unexported fields
}

Node 节点信息

func (*Node) Descriptor deprecated

func (*Node) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetAddress

func (x *Node) GetAddress() string

func (*Node) GetId

func (x *Node) GetId() int64

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetPort

func (x *Node) GetPort() int32

func (*Node) GetSort

func (x *Node) GetSort() int32

func (*Node) GetTags

func (x *Node) GetTags() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

func (*Node) Validate

func (m *Node) Validate() error

Validate checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Node) ValidateAll

func (m *Node) ValidateAll() error

ValidateAll checks the field values on Node with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeMultiError, or nil if none found.

type NodeGroup

type NodeGroup struct {
	Id                  int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                                                  // 节点组ID
	Name                string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                               // 节点组名称
	Type                string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`                                                               // 节点组类型
	Description         string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`                                                 // 节点组描述
	Sort                int32  `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`                                                              // 排序
	ForCalculation      bool   `protobuf:"varint,6,opt,name=for_calculation,json=forCalculation,proto3" json:"for_calculation,omitempty"`                    // 是否参与分组计算
	IsExpiredGroup      bool   `protobuf:"varint,7,opt,name=is_expired_group,json=isExpiredGroup,proto3" json:"is_expired_group,omitempty"`                  // 是否为过期组
	ExpiredDaysLimit    int32  `protobuf:"varint,8,opt,name=expired_days_limit,json=expiredDaysLimit,proto3" json:"expired_days_limit,omitempty"`            // 过期天数限制
	MaxTrafficGbExpired int64  `protobuf:"varint,9,opt,name=max_traffic_gb_expired,json=maxTrafficGbExpired,proto3" json:"max_traffic_gb_expired,omitempty"` // 过期后最大流量(GB)
	SpeedLimit          int32  `protobuf:"varint,10,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`                               // 速度限制
	MinTrafficGb        int64  `protobuf:"varint,11,opt,name=min_traffic_gb,json=minTrafficGb,proto3" json:"min_traffic_gb,omitempty"`                       // 最小流量(GB)
	MaxTrafficGb        int64  `protobuf:"varint,12,opt,name=max_traffic_gb,json=maxTrafficGb,proto3" json:"max_traffic_gb,omitempty"`                       // 最大流量(GB)
	NodeCount           int64  `protobuf:"varint,13,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`                                  // 节点数量
	CreatedAt           int64  `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`                                  // 创建时间
	UpdatedAt           int64  `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`                                  // 更新时间
	// contains filtered or unexported fields
}

NodeGroup 节点组信息

func (*NodeGroup) Descriptor deprecated

func (*NodeGroup) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroup.ProtoReflect.Descriptor instead.

func (*NodeGroup) GetCreatedAt

func (x *NodeGroup) GetCreatedAt() int64

func (*NodeGroup) GetDescription

func (x *NodeGroup) GetDescription() string

func (*NodeGroup) GetExpiredDaysLimit

func (x *NodeGroup) GetExpiredDaysLimit() int32

func (*NodeGroup) GetForCalculation

func (x *NodeGroup) GetForCalculation() bool

func (*NodeGroup) GetId

func (x *NodeGroup) GetId() int64

func (*NodeGroup) GetIsExpiredGroup

func (x *NodeGroup) GetIsExpiredGroup() bool

func (*NodeGroup) GetMaxTrafficGb

func (x *NodeGroup) GetMaxTrafficGb() int64

func (*NodeGroup) GetMaxTrafficGbExpired

func (x *NodeGroup) GetMaxTrafficGbExpired() int64

func (*NodeGroup) GetMinTrafficGb

func (x *NodeGroup) GetMinTrafficGb() int64

func (*NodeGroup) GetName

func (x *NodeGroup) GetName() string

func (*NodeGroup) GetNodeCount

func (x *NodeGroup) GetNodeCount() int64

func (*NodeGroup) GetSort

func (x *NodeGroup) GetSort() int32

func (*NodeGroup) GetSpeedLimit

func (x *NodeGroup) GetSpeedLimit() int32

func (*NodeGroup) GetType

func (x *NodeGroup) GetType() string

func (*NodeGroup) GetUpdatedAt

func (x *NodeGroup) GetUpdatedAt() int64

func (*NodeGroup) ProtoMessage

func (*NodeGroup) ProtoMessage()

func (*NodeGroup) ProtoReflect

func (x *NodeGroup) ProtoReflect() protoreflect.Message

func (*NodeGroup) Reset

func (x *NodeGroup) Reset()

func (*NodeGroup) String

func (x *NodeGroup) String() string

func (*NodeGroup) Validate

func (m *NodeGroup) Validate() error

Validate checks the field values on NodeGroup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NodeGroup) ValidateAll

func (m *NodeGroup) ValidateAll() error

ValidateAll checks the field values on NodeGroup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeGroupMultiError, or nil if none found.

type NodeGroupItem

type NodeGroupItem struct {
	Id    int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`      // 节点组ID
	Name  string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`   // 节点组名称
	Nodes []*Node `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"` // 节点列表
	// contains filtered or unexported fields
}

NodeGroupItem 节点组条目(含节点列表)

func (*NodeGroupItem) Descriptor deprecated

func (*NodeGroupItem) Descriptor() ([]byte, []int)

Deprecated: Use NodeGroupItem.ProtoReflect.Descriptor instead.

func (*NodeGroupItem) GetId

func (x *NodeGroupItem) GetId() int64

func (*NodeGroupItem) GetName

func (x *NodeGroupItem) GetName() string

func (*NodeGroupItem) GetNodes

func (x *NodeGroupItem) GetNodes() []*Node

func (*NodeGroupItem) ProtoMessage

func (*NodeGroupItem) ProtoMessage()

func (*NodeGroupItem) ProtoReflect

func (x *NodeGroupItem) ProtoReflect() protoreflect.Message

func (*NodeGroupItem) Reset

func (x *NodeGroupItem) Reset()

func (*NodeGroupItem) String

func (x *NodeGroupItem) String() string

func (*NodeGroupItem) Validate

func (m *NodeGroupItem) Validate() error

Validate checks the field values on NodeGroupItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NodeGroupItem) ValidateAll

func (m *NodeGroupItem) ValidateAll() error

ValidateAll checks the field values on NodeGroupItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NodeGroupItemMultiError, or nil if none found.

type NodeGroupItemMultiError

type NodeGroupItemMultiError []error

NodeGroupItemMultiError is an error wrapping multiple validation errors returned by NodeGroupItem.ValidateAll() if the designated constraints aren't met.

func (NodeGroupItemMultiError) AllErrors

func (m NodeGroupItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeGroupItemMultiError) Error

func (m NodeGroupItemMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NodeGroupItemValidationError

type NodeGroupItemValidationError struct {
	// contains filtered or unexported fields
}

NodeGroupItemValidationError is the validation error returned by NodeGroupItem.Validate if the designated constraints aren't met.

func (NodeGroupItemValidationError) Cause

Cause function returns cause value.

func (NodeGroupItemValidationError) Error

Error satisfies the builtin error interface

func (NodeGroupItemValidationError) ErrorName

func (e NodeGroupItemValidationError) ErrorName() string

ErrorName returns error name.

func (NodeGroupItemValidationError) Field

Field function returns field value.

func (NodeGroupItemValidationError) Key

Key function returns key value.

func (NodeGroupItemValidationError) Reason

Reason function returns reason value.

type NodeGroupMultiError

type NodeGroupMultiError []error

NodeGroupMultiError is an error wrapping multiple validation errors returned by NodeGroup.ValidateAll() if the designated constraints aren't met.

func (NodeGroupMultiError) AllErrors

func (m NodeGroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeGroupMultiError) Error

func (m NodeGroupMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NodeGroupValidationError

type NodeGroupValidationError struct {
	// contains filtered or unexported fields
}

NodeGroupValidationError is the validation error returned by NodeGroup.Validate if the designated constraints aren't met.

func (NodeGroupValidationError) Cause

func (e NodeGroupValidationError) Cause() error

Cause function returns cause value.

func (NodeGroupValidationError) Error

func (e NodeGroupValidationError) Error() string

Error satisfies the builtin error interface

func (NodeGroupValidationError) ErrorName

func (e NodeGroupValidationError) ErrorName() string

ErrorName returns error name.

func (NodeGroupValidationError) Field

func (e NodeGroupValidationError) Field() string

Field function returns field value.

func (NodeGroupValidationError) Key

Key function returns key value.

func (NodeGroupValidationError) Reason

func (e NodeGroupValidationError) Reason() string

Reason function returns reason value.

type NodeMultiError

type NodeMultiError []error

NodeMultiError is an error wrapping multiple validation errors returned by Node.ValidateAll() if the designated constraints aren't met.

func (NodeMultiError) AllErrors

func (m NodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NodeMultiError) Error

func (m NodeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type NodeValidationError

type NodeValidationError struct {
	// contains filtered or unexported fields
}

NodeValidationError is the validation error returned by Node.Validate if the designated constraints aren't met.

func (NodeValidationError) Cause

func (e NodeValidationError) Cause() error

Cause function returns cause value.

func (NodeValidationError) Error

func (e NodeValidationError) Error() string

Error satisfies the builtin error interface

func (NodeValidationError) ErrorName

func (e NodeValidationError) ErrorName() string

ErrorName returns error name.

func (NodeValidationError) Field

func (e NodeValidationError) Field() string

Field function returns field value.

func (NodeValidationError) Key

func (e NodeValidationError) Key() bool

Key function returns key value.

func (NodeValidationError) Reason

func (e NodeValidationError) Reason() string

Reason function returns reason value.

type PreviewUserNodesData

type PreviewUserNodesData struct {
	UserId     int64            `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`            // 用户ID
	NodeGroups []*NodeGroupItem `protobuf:"bytes,2,rep,name=node_groups,json=nodeGroups,proto3" json:"node_groups,omitempty"` // 节点组列表
	// contains filtered or unexported fields
}

PreviewUserNodesData 预览用户节点数据

func (*PreviewUserNodesData) Descriptor deprecated

func (*PreviewUserNodesData) Descriptor() ([]byte, []int)

Deprecated: Use PreviewUserNodesData.ProtoReflect.Descriptor instead.

func (*PreviewUserNodesData) GetNodeGroups

func (x *PreviewUserNodesData) GetNodeGroups() []*NodeGroupItem

func (*PreviewUserNodesData) GetUserId

func (x *PreviewUserNodesData) GetUserId() int64

func (*PreviewUserNodesData) ProtoMessage

func (*PreviewUserNodesData) ProtoMessage()

func (*PreviewUserNodesData) ProtoReflect

func (x *PreviewUserNodesData) ProtoReflect() protoreflect.Message

func (*PreviewUserNodesData) Reset

func (x *PreviewUserNodesData) Reset()

func (*PreviewUserNodesData) String

func (x *PreviewUserNodesData) String() string

func (*PreviewUserNodesData) Validate

func (m *PreviewUserNodesData) Validate() error

Validate checks the field values on PreviewUserNodesData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PreviewUserNodesData) ValidateAll

func (m *PreviewUserNodesData) ValidateAll() error

ValidateAll checks the field values on PreviewUserNodesData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreviewUserNodesDataMultiError, or nil if none found.

type PreviewUserNodesDataMultiError

type PreviewUserNodesDataMultiError []error

PreviewUserNodesDataMultiError is an error wrapping multiple validation errors returned by PreviewUserNodesData.ValidateAll() if the designated constraints aren't met.

func (PreviewUserNodesDataMultiError) AllErrors

func (m PreviewUserNodesDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreviewUserNodesDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PreviewUserNodesDataValidationError

type PreviewUserNodesDataValidationError struct {
	// contains filtered or unexported fields
}

PreviewUserNodesDataValidationError is the validation error returned by PreviewUserNodesData.Validate if the designated constraints aren't met.

func (PreviewUserNodesDataValidationError) Cause

Cause function returns cause value.

func (PreviewUserNodesDataValidationError) Error

Error satisfies the builtin error interface

func (PreviewUserNodesDataValidationError) ErrorName

ErrorName returns error name.

func (PreviewUserNodesDataValidationError) Field

Field function returns field value.

func (PreviewUserNodesDataValidationError) Key

Key function returns key value.

func (PreviewUserNodesDataValidationError) Reason

Reason function returns reason value.

type PreviewUserNodesReply

type PreviewUserNodesReply struct {
	Code    int32                 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *PreviewUserNodesData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

PreviewUserNodesReply 预览用户节点响应

func (*PreviewUserNodesReply) Descriptor deprecated

func (*PreviewUserNodesReply) Descriptor() ([]byte, []int)

Deprecated: Use PreviewUserNodesReply.ProtoReflect.Descriptor instead.

func (*PreviewUserNodesReply) GetCode

func (x *PreviewUserNodesReply) GetCode() int32

func (*PreviewUserNodesReply) GetData

func (*PreviewUserNodesReply) GetMessage

func (x *PreviewUserNodesReply) GetMessage() string

func (*PreviewUserNodesReply) ProtoMessage

func (*PreviewUserNodesReply) ProtoMessage()

func (*PreviewUserNodesReply) ProtoReflect

func (x *PreviewUserNodesReply) ProtoReflect() protoreflect.Message

func (*PreviewUserNodesReply) Reset

func (x *PreviewUserNodesReply) Reset()

func (*PreviewUserNodesReply) String

func (x *PreviewUserNodesReply) String() string

func (*PreviewUserNodesReply) Validate

func (m *PreviewUserNodesReply) Validate() error

Validate checks the field values on PreviewUserNodesReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PreviewUserNodesReply) ValidateAll

func (m *PreviewUserNodesReply) ValidateAll() error

ValidateAll checks the field values on PreviewUserNodesReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreviewUserNodesReplyMultiError, or nil if none found.

type PreviewUserNodesReplyMultiError

type PreviewUserNodesReplyMultiError []error

PreviewUserNodesReplyMultiError is an error wrapping multiple validation errors returned by PreviewUserNodesReply.ValidateAll() if the designated constraints aren't met.

func (PreviewUserNodesReplyMultiError) AllErrors

func (m PreviewUserNodesReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreviewUserNodesReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PreviewUserNodesReplyValidationError

type PreviewUserNodesReplyValidationError struct {
	// contains filtered or unexported fields
}

PreviewUserNodesReplyValidationError is the validation error returned by PreviewUserNodesReply.Validate if the designated constraints aren't met.

func (PreviewUserNodesReplyValidationError) Cause

Cause function returns cause value.

func (PreviewUserNodesReplyValidationError) Error

Error satisfies the builtin error interface

func (PreviewUserNodesReplyValidationError) ErrorName

ErrorName returns error name.

func (PreviewUserNodesReplyValidationError) Field

Field function returns field value.

func (PreviewUserNodesReplyValidationError) Key

Key function returns key value.

func (PreviewUserNodesReplyValidationError) Reason

Reason function returns reason value.

type PreviewUserNodesRequest

type PreviewUserNodesRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID
	// contains filtered or unexported fields
}

PreviewUserNodesRequest 预览用户节点请求

func (*PreviewUserNodesRequest) Descriptor deprecated

func (*PreviewUserNodesRequest) Descriptor() ([]byte, []int)

Deprecated: Use PreviewUserNodesRequest.ProtoReflect.Descriptor instead.

func (*PreviewUserNodesRequest) GetUserId

func (x *PreviewUserNodesRequest) GetUserId() int64

func (*PreviewUserNodesRequest) ProtoMessage

func (*PreviewUserNodesRequest) ProtoMessage()

func (*PreviewUserNodesRequest) ProtoReflect

func (x *PreviewUserNodesRequest) ProtoReflect() protoreflect.Message

func (*PreviewUserNodesRequest) Reset

func (x *PreviewUserNodesRequest) Reset()

func (*PreviewUserNodesRequest) String

func (x *PreviewUserNodesRequest) String() string

func (*PreviewUserNodesRequest) Validate

func (m *PreviewUserNodesRequest) Validate() error

Validate checks the field values on PreviewUserNodesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PreviewUserNodesRequest) ValidateAll

func (m *PreviewUserNodesRequest) ValidateAll() error

ValidateAll checks the field values on PreviewUserNodesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreviewUserNodesRequestMultiError, or nil if none found.

type PreviewUserNodesRequestMultiError

type PreviewUserNodesRequestMultiError []error

PreviewUserNodesRequestMultiError is an error wrapping multiple validation errors returned by PreviewUserNodesRequest.ValidateAll() if the designated constraints aren't met.

func (PreviewUserNodesRequestMultiError) AllErrors

func (m PreviewUserNodesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreviewUserNodesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PreviewUserNodesRequestValidationError

type PreviewUserNodesRequestValidationError struct {
	// contains filtered or unexported fields
}

PreviewUserNodesRequestValidationError is the validation error returned by PreviewUserNodesRequest.Validate if the designated constraints aren't met.

func (PreviewUserNodesRequestValidationError) Cause

Cause function returns cause value.

func (PreviewUserNodesRequestValidationError) Error

Error satisfies the builtin error interface

func (PreviewUserNodesRequestValidationError) ErrorName

ErrorName returns error name.

func (PreviewUserNodesRequestValidationError) Field

Field function returns field value.

func (PreviewUserNodesRequestValidationError) Key

Key function returns key value.

func (PreviewUserNodesRequestValidationError) Reason

Reason function returns reason value.

type RecalculateGroupData

type RecalculateGroupData struct {
	HistoryId int64 `protobuf:"varint,1,opt,name=history_id,json=historyId,proto3" json:"history_id,omitempty"` // 历史记录ID
	// contains filtered or unexported fields
}

RecalculateGroupData 重新计算分组数据

func (*RecalculateGroupData) Descriptor deprecated

func (*RecalculateGroupData) Descriptor() ([]byte, []int)

Deprecated: Use RecalculateGroupData.ProtoReflect.Descriptor instead.

func (*RecalculateGroupData) GetHistoryId

func (x *RecalculateGroupData) GetHistoryId() int64

func (*RecalculateGroupData) ProtoMessage

func (*RecalculateGroupData) ProtoMessage()

func (*RecalculateGroupData) ProtoReflect

func (x *RecalculateGroupData) ProtoReflect() protoreflect.Message

func (*RecalculateGroupData) Reset

func (x *RecalculateGroupData) Reset()

func (*RecalculateGroupData) String

func (x *RecalculateGroupData) String() string

func (*RecalculateGroupData) Validate

func (m *RecalculateGroupData) Validate() error

Validate checks the field values on RecalculateGroupData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RecalculateGroupData) ValidateAll

func (m *RecalculateGroupData) ValidateAll() error

ValidateAll checks the field values on RecalculateGroupData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RecalculateGroupDataMultiError, or nil if none found.

type RecalculateGroupDataMultiError

type RecalculateGroupDataMultiError []error

RecalculateGroupDataMultiError is an error wrapping multiple validation errors returned by RecalculateGroupData.ValidateAll() if the designated constraints aren't met.

func (RecalculateGroupDataMultiError) AllErrors

func (m RecalculateGroupDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RecalculateGroupDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RecalculateGroupDataValidationError

type RecalculateGroupDataValidationError struct {
	// contains filtered or unexported fields
}

RecalculateGroupDataValidationError is the validation error returned by RecalculateGroupData.Validate if the designated constraints aren't met.

func (RecalculateGroupDataValidationError) Cause

Cause function returns cause value.

func (RecalculateGroupDataValidationError) Error

Error satisfies the builtin error interface

func (RecalculateGroupDataValidationError) ErrorName

ErrorName returns error name.

func (RecalculateGroupDataValidationError) Field

Field function returns field value.

func (RecalculateGroupDataValidationError) Key

Key function returns key value.

func (RecalculateGroupDataValidationError) Reason

Reason function returns reason value.

type RecalculateGroupReply

type RecalculateGroupReply struct {
	Code    int32                 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *RecalculateGroupData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

RecalculateGroupReply 重新计算分组响应

func (*RecalculateGroupReply) Descriptor deprecated

func (*RecalculateGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use RecalculateGroupReply.ProtoReflect.Descriptor instead.

func (*RecalculateGroupReply) GetCode

func (x *RecalculateGroupReply) GetCode() int32

func (*RecalculateGroupReply) GetData

func (*RecalculateGroupReply) GetMessage

func (x *RecalculateGroupReply) GetMessage() string

func (*RecalculateGroupReply) ProtoMessage

func (*RecalculateGroupReply) ProtoMessage()

func (*RecalculateGroupReply) ProtoReflect

func (x *RecalculateGroupReply) ProtoReflect() protoreflect.Message

func (*RecalculateGroupReply) Reset

func (x *RecalculateGroupReply) Reset()

func (*RecalculateGroupReply) String

func (x *RecalculateGroupReply) String() string

func (*RecalculateGroupReply) Validate

func (m *RecalculateGroupReply) Validate() error

Validate checks the field values on RecalculateGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RecalculateGroupReply) ValidateAll

func (m *RecalculateGroupReply) ValidateAll() error

ValidateAll checks the field values on RecalculateGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RecalculateGroupReplyMultiError, or nil if none found.

type RecalculateGroupReplyMultiError

type RecalculateGroupReplyMultiError []error

RecalculateGroupReplyMultiError is an error wrapping multiple validation errors returned by RecalculateGroupReply.ValidateAll() if the designated constraints aren't met.

func (RecalculateGroupReplyMultiError) AllErrors

func (m RecalculateGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RecalculateGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RecalculateGroupReplyValidationError

type RecalculateGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

RecalculateGroupReplyValidationError is the validation error returned by RecalculateGroupReply.Validate if the designated constraints aren't met.

func (RecalculateGroupReplyValidationError) Cause

Cause function returns cause value.

func (RecalculateGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (RecalculateGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (RecalculateGroupReplyValidationError) Field

Field function returns field value.

func (RecalculateGroupReplyValidationError) Key

Key function returns key value.

func (RecalculateGroupReplyValidationError) Reason

Reason function returns reason value.

type RecalculateGroupRequest

type RecalculateGroupRequest struct {
	Mode        string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`                                  // 分组模式
	TriggerType string `protobuf:"bytes,2,opt,name=trigger_type,json=triggerType,proto3" json:"trigger_type,omitempty"` // 触发类型: manual/scheduled
	// contains filtered or unexported fields
}

RecalculateGroupRequest 重新计算分组请求

func (*RecalculateGroupRequest) Descriptor deprecated

func (*RecalculateGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use RecalculateGroupRequest.ProtoReflect.Descriptor instead.

func (*RecalculateGroupRequest) GetMode

func (x *RecalculateGroupRequest) GetMode() string

func (*RecalculateGroupRequest) GetTriggerType

func (x *RecalculateGroupRequest) GetTriggerType() string

func (*RecalculateGroupRequest) ProtoMessage

func (*RecalculateGroupRequest) ProtoMessage()

func (*RecalculateGroupRequest) ProtoReflect

func (x *RecalculateGroupRequest) ProtoReflect() protoreflect.Message

func (*RecalculateGroupRequest) Reset

func (x *RecalculateGroupRequest) Reset()

func (*RecalculateGroupRequest) String

func (x *RecalculateGroupRequest) String() string

func (*RecalculateGroupRequest) Validate

func (m *RecalculateGroupRequest) Validate() error

Validate checks the field values on RecalculateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RecalculateGroupRequest) ValidateAll

func (m *RecalculateGroupRequest) ValidateAll() error

ValidateAll checks the field values on RecalculateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RecalculateGroupRequestMultiError, or nil if none found.

type RecalculateGroupRequestMultiError

type RecalculateGroupRequestMultiError []error

RecalculateGroupRequestMultiError is an error wrapping multiple validation errors returned by RecalculateGroupRequest.ValidateAll() if the designated constraints aren't met.

func (RecalculateGroupRequestMultiError) AllErrors

func (m RecalculateGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RecalculateGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RecalculateGroupRequestValidationError

type RecalculateGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

RecalculateGroupRequestValidationError is the validation error returned by RecalculateGroupRequest.Validate if the designated constraints aren't met.

func (RecalculateGroupRequestValidationError) Cause

Cause function returns cause value.

func (RecalculateGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (RecalculateGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (RecalculateGroupRequestValidationError) Field

Field function returns field value.

func (RecalculateGroupRequestValidationError) Key

Key function returns key value.

func (RecalculateGroupRequestValidationError) Reason

Reason function returns reason value.

type RecalculationState

type RecalculationState struct {
	State    string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`        // 状态:pending/running/completed/failed
	Progress int64  `protobuf:"varint,2,opt,name=progress,proto3" json:"progress,omitempty"` // 进度
	Total    int32  `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`       // 总数
	// contains filtered or unexported fields
}

RecalculationState 重算状态

func (*RecalculationState) Descriptor deprecated

func (*RecalculationState) Descriptor() ([]byte, []int)

Deprecated: Use RecalculationState.ProtoReflect.Descriptor instead.

func (*RecalculationState) GetProgress

func (x *RecalculationState) GetProgress() int64

func (*RecalculationState) GetState

func (x *RecalculationState) GetState() string

func (*RecalculationState) GetTotal

func (x *RecalculationState) GetTotal() int32

func (*RecalculationState) ProtoMessage

func (*RecalculationState) ProtoMessage()

func (*RecalculationState) ProtoReflect

func (x *RecalculationState) ProtoReflect() protoreflect.Message

func (*RecalculationState) Reset

func (x *RecalculationState) Reset()

func (*RecalculationState) String

func (x *RecalculationState) String() string

func (*RecalculationState) Validate

func (m *RecalculationState) Validate() error

Validate checks the field values on RecalculationState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RecalculationState) ValidateAll

func (m *RecalculationState) ValidateAll() error

ValidateAll checks the field values on RecalculationState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RecalculationStateMultiError, or nil if none found.

type RecalculationStateMultiError

type RecalculationStateMultiError []error

RecalculationStateMultiError is an error wrapping multiple validation errors returned by RecalculationState.ValidateAll() if the designated constraints aren't met.

func (RecalculationStateMultiError) AllErrors

func (m RecalculationStateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RecalculationStateMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RecalculationStateValidationError

type RecalculationStateValidationError struct {
	// contains filtered or unexported fields
}

RecalculationStateValidationError is the validation error returned by RecalculationState.Validate if the designated constraints aren't met.

func (RecalculationStateValidationError) Cause

Cause function returns cause value.

func (RecalculationStateValidationError) Error

Error satisfies the builtin error interface

func (RecalculationStateValidationError) ErrorName

ErrorName returns error name.

func (RecalculationStateValidationError) Field

Field function returns field value.

func (RecalculationStateValidationError) Key

Key function returns key value.

func (RecalculationStateValidationError) Reason

Reason function returns reason value.

type ResetGroupsData

type ResetGroupsData struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // 是否成功
	// contains filtered or unexported fields
}

ResetGroupsData 重置所有分组数据

func (*ResetGroupsData) Descriptor deprecated

func (*ResetGroupsData) Descriptor() ([]byte, []int)

Deprecated: Use ResetGroupsData.ProtoReflect.Descriptor instead.

func (*ResetGroupsData) GetSuccess

func (x *ResetGroupsData) GetSuccess() bool

func (*ResetGroupsData) ProtoMessage

func (*ResetGroupsData) ProtoMessage()

func (*ResetGroupsData) ProtoReflect

func (x *ResetGroupsData) ProtoReflect() protoreflect.Message

func (*ResetGroupsData) Reset

func (x *ResetGroupsData) Reset()

func (*ResetGroupsData) String

func (x *ResetGroupsData) String() string

func (*ResetGroupsData) Validate

func (m *ResetGroupsData) Validate() error

Validate checks the field values on ResetGroupsData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ResetGroupsData) ValidateAll

func (m *ResetGroupsData) ValidateAll() error

ValidateAll checks the field values on ResetGroupsData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResetGroupsDataMultiError, or nil if none found.

type ResetGroupsDataMultiError

type ResetGroupsDataMultiError []error

ResetGroupsDataMultiError is an error wrapping multiple validation errors returned by ResetGroupsData.ValidateAll() if the designated constraints aren't met.

func (ResetGroupsDataMultiError) AllErrors

func (m ResetGroupsDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResetGroupsDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ResetGroupsDataValidationError

type ResetGroupsDataValidationError struct {
	// contains filtered or unexported fields
}

ResetGroupsDataValidationError is the validation error returned by ResetGroupsData.Validate if the designated constraints aren't met.

func (ResetGroupsDataValidationError) Cause

Cause function returns cause value.

func (ResetGroupsDataValidationError) Error

Error satisfies the builtin error interface

func (ResetGroupsDataValidationError) ErrorName

func (e ResetGroupsDataValidationError) ErrorName() string

ErrorName returns error name.

func (ResetGroupsDataValidationError) Field

Field function returns field value.

func (ResetGroupsDataValidationError) Key

Key function returns key value.

func (ResetGroupsDataValidationError) Reason

Reason function returns reason value.

type ResetGroupsReply

type ResetGroupsReply struct {
	Code    int32            `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *ResetGroupsData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

ResetGroupsReply 重置所有分组响应

func (*ResetGroupsReply) Descriptor deprecated

func (*ResetGroupsReply) Descriptor() ([]byte, []int)

Deprecated: Use ResetGroupsReply.ProtoReflect.Descriptor instead.

func (*ResetGroupsReply) GetCode

func (x *ResetGroupsReply) GetCode() int32

func (*ResetGroupsReply) GetData

func (x *ResetGroupsReply) GetData() *ResetGroupsData

func (*ResetGroupsReply) GetMessage

func (x *ResetGroupsReply) GetMessage() string

func (*ResetGroupsReply) ProtoMessage

func (*ResetGroupsReply) ProtoMessage()

func (*ResetGroupsReply) ProtoReflect

func (x *ResetGroupsReply) ProtoReflect() protoreflect.Message

func (*ResetGroupsReply) Reset

func (x *ResetGroupsReply) Reset()

func (*ResetGroupsReply) String

func (x *ResetGroupsReply) String() string

func (*ResetGroupsReply) Validate

func (m *ResetGroupsReply) Validate() error

Validate checks the field values on ResetGroupsReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ResetGroupsReply) ValidateAll

func (m *ResetGroupsReply) ValidateAll() error

ValidateAll checks the field values on ResetGroupsReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResetGroupsReplyMultiError, or nil if none found.

type ResetGroupsReplyMultiError

type ResetGroupsReplyMultiError []error

ResetGroupsReplyMultiError is an error wrapping multiple validation errors returned by ResetGroupsReply.ValidateAll() if the designated constraints aren't met.

func (ResetGroupsReplyMultiError) AllErrors

func (m ResetGroupsReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResetGroupsReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ResetGroupsReplyValidationError

type ResetGroupsReplyValidationError struct {
	// contains filtered or unexported fields
}

ResetGroupsReplyValidationError is the validation error returned by ResetGroupsReply.Validate if the designated constraints aren't met.

func (ResetGroupsReplyValidationError) Cause

Cause function returns cause value.

func (ResetGroupsReplyValidationError) Error

Error satisfies the builtin error interface

func (ResetGroupsReplyValidationError) ErrorName

ErrorName returns error name.

func (ResetGroupsReplyValidationError) Field

Field function returns field value.

func (ResetGroupsReplyValidationError) Key

Key function returns key value.

func (ResetGroupsReplyValidationError) Reason

Reason function returns reason value.

type ResetGroupsRequest

type ResetGroupsRequest struct {
	Confirm bool `protobuf:"varint,1,opt,name=confirm,proto3" json:"confirm,omitempty"` // 确认重置
	// contains filtered or unexported fields
}

ResetGroupsRequest 重置所有分组请求

func (*ResetGroupsRequest) Descriptor deprecated

func (*ResetGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetGroupsRequest.ProtoReflect.Descriptor instead.

func (*ResetGroupsRequest) GetConfirm

func (x *ResetGroupsRequest) GetConfirm() bool

func (*ResetGroupsRequest) ProtoMessage

func (*ResetGroupsRequest) ProtoMessage()

func (*ResetGroupsRequest) ProtoReflect

func (x *ResetGroupsRequest) ProtoReflect() protoreflect.Message

func (*ResetGroupsRequest) Reset

func (x *ResetGroupsRequest) Reset()

func (*ResetGroupsRequest) String

func (x *ResetGroupsRequest) String() string

func (*ResetGroupsRequest) Validate

func (m *ResetGroupsRequest) Validate() error

Validate checks the field values on ResetGroupsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ResetGroupsRequest) ValidateAll

func (m *ResetGroupsRequest) ValidateAll() error

ValidateAll checks the field values on ResetGroupsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResetGroupsRequestMultiError, or nil if none found.

type ResetGroupsRequestMultiError

type ResetGroupsRequestMultiError []error

ResetGroupsRequestMultiError is an error wrapping multiple validation errors returned by ResetGroupsRequest.ValidateAll() if the designated constraints aren't met.

func (ResetGroupsRequestMultiError) AllErrors

func (m ResetGroupsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResetGroupsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ResetGroupsRequestValidationError

type ResetGroupsRequestValidationError struct {
	// contains filtered or unexported fields
}

ResetGroupsRequestValidationError is the validation error returned by ResetGroupsRequest.Validate if the designated constraints aren't met.

func (ResetGroupsRequestValidationError) Cause

Cause function returns cause value.

func (ResetGroupsRequestValidationError) Error

Error satisfies the builtin error interface

func (ResetGroupsRequestValidationError) ErrorName

ErrorName returns error name.

func (ResetGroupsRequestValidationError) Field

Field function returns field value.

func (ResetGroupsRequestValidationError) Key

Key function returns key value.

func (ResetGroupsRequestValidationError) Reason

Reason function returns reason value.

type SubscribeGroupMappingItem

type SubscribeGroupMappingItem struct {
	SubscribeName string `protobuf:"bytes,1,opt,name=subscribe_name,json=subscribeName,proto3" json:"subscribe_name,omitempty"`   // 订阅名称
	NodeGroupName string `protobuf:"bytes,2,opt,name=node_group_name,json=nodeGroupName,proto3" json:"node_group_name,omitempty"` // 节点组名称
	// contains filtered or unexported fields
}

SubscribeGroupMappingItem 订阅组映射项

func (*SubscribeGroupMappingItem) Descriptor deprecated

func (*SubscribeGroupMappingItem) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeGroupMappingItem.ProtoReflect.Descriptor instead.

func (*SubscribeGroupMappingItem) GetNodeGroupName

func (x *SubscribeGroupMappingItem) GetNodeGroupName() string

func (*SubscribeGroupMappingItem) GetSubscribeName

func (x *SubscribeGroupMappingItem) GetSubscribeName() string

func (*SubscribeGroupMappingItem) ProtoMessage

func (*SubscribeGroupMappingItem) ProtoMessage()

func (*SubscribeGroupMappingItem) ProtoReflect

func (*SubscribeGroupMappingItem) Reset

func (x *SubscribeGroupMappingItem) Reset()

func (*SubscribeGroupMappingItem) String

func (x *SubscribeGroupMappingItem) String() string

func (*SubscribeGroupMappingItem) Validate

func (m *SubscribeGroupMappingItem) Validate() error

Validate checks the field values on SubscribeGroupMappingItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SubscribeGroupMappingItem) ValidateAll

func (m *SubscribeGroupMappingItem) ValidateAll() error

ValidateAll checks the field values on SubscribeGroupMappingItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeGroupMappingItemMultiError, or nil if none found.

type SubscribeGroupMappingItemMultiError

type SubscribeGroupMappingItemMultiError []error

SubscribeGroupMappingItemMultiError is an error wrapping multiple validation errors returned by SubscribeGroupMappingItem.ValidateAll() if the designated constraints aren't met.

func (SubscribeGroupMappingItemMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SubscribeGroupMappingItemMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SubscribeGroupMappingItemValidationError

type SubscribeGroupMappingItemValidationError struct {
	// contains filtered or unexported fields
}

SubscribeGroupMappingItemValidationError is the validation error returned by SubscribeGroupMappingItem.Validate if the designated constraints aren't met.

func (SubscribeGroupMappingItemValidationError) Cause

Cause function returns cause value.

func (SubscribeGroupMappingItemValidationError) Error

Error satisfies the builtin error interface

func (SubscribeGroupMappingItemValidationError) ErrorName

ErrorName returns error name.

func (SubscribeGroupMappingItemValidationError) Field

Field function returns field value.

func (SubscribeGroupMappingItemValidationError) Key

Key function returns key value.

func (SubscribeGroupMappingItemValidationError) Reason

Reason function returns reason value.

type UnimplementedGroupServer

type UnimplementedGroupServer struct{}

UnimplementedGroupServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedGroupServer) CreateNodeGroup

func (UnimplementedGroupServer) DeleteNodeGroup

func (UnimplementedGroupServer) ExportGroupResult

func (UnimplementedGroupServer) GetGroupConfig

func (UnimplementedGroupServer) GetGroupHistory

func (UnimplementedGroupServer) GetNodeGroupList

func (UnimplementedGroupServer) MigrateUsers

func (UnimplementedGroupServer) PreviewUserNodes

func (UnimplementedGroupServer) RecalculateGroup

func (UnimplementedGroupServer) ResetGroups

func (UnimplementedGroupServer) UpdateGroupConfig

func (UnimplementedGroupServer) UpdateNodeGroup

type UnsafeGroupServer

type UnsafeGroupServer interface {
	// contains filtered or unexported methods
}

UnsafeGroupServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupServer will result in compilation errors.

type UpdateGroupConfigData

type UpdateGroupConfigData struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // 是否成功
	// contains filtered or unexported fields
}

UpdateGroupConfigData 更新分组配置数据

func (*UpdateGroupConfigData) Descriptor deprecated

func (*UpdateGroupConfigData) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupConfigData.ProtoReflect.Descriptor instead.

func (*UpdateGroupConfigData) GetSuccess

func (x *UpdateGroupConfigData) GetSuccess() bool

func (*UpdateGroupConfigData) ProtoMessage

func (*UpdateGroupConfigData) ProtoMessage()

func (*UpdateGroupConfigData) ProtoReflect

func (x *UpdateGroupConfigData) ProtoReflect() protoreflect.Message

func (*UpdateGroupConfigData) Reset

func (x *UpdateGroupConfigData) Reset()

func (*UpdateGroupConfigData) String

func (x *UpdateGroupConfigData) String() string

func (*UpdateGroupConfigData) Validate

func (m *UpdateGroupConfigData) Validate() error

Validate checks the field values on UpdateGroupConfigData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateGroupConfigData) ValidateAll

func (m *UpdateGroupConfigData) ValidateAll() error

ValidateAll checks the field values on UpdateGroupConfigData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateGroupConfigDataMultiError, or nil if none found.

type UpdateGroupConfigDataMultiError

type UpdateGroupConfigDataMultiError []error

UpdateGroupConfigDataMultiError is an error wrapping multiple validation errors returned by UpdateGroupConfigData.ValidateAll() if the designated constraints aren't met.

func (UpdateGroupConfigDataMultiError) AllErrors

func (m UpdateGroupConfigDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateGroupConfigDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateGroupConfigDataValidationError

type UpdateGroupConfigDataValidationError struct {
	// contains filtered or unexported fields
}

UpdateGroupConfigDataValidationError is the validation error returned by UpdateGroupConfigData.Validate if the designated constraints aren't met.

func (UpdateGroupConfigDataValidationError) Cause

Cause function returns cause value.

func (UpdateGroupConfigDataValidationError) Error

Error satisfies the builtin error interface

func (UpdateGroupConfigDataValidationError) ErrorName

ErrorName returns error name.

func (UpdateGroupConfigDataValidationError) Field

Field function returns field value.

func (UpdateGroupConfigDataValidationError) Key

Key function returns key value.

func (UpdateGroupConfigDataValidationError) Reason

Reason function returns reason value.

type UpdateGroupConfigReply

type UpdateGroupConfigReply struct {
	Code    int32                  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *UpdateGroupConfigData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

UpdateGroupConfigReply 更新分组配置响应

func (*UpdateGroupConfigReply) Descriptor deprecated

func (*UpdateGroupConfigReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupConfigReply.ProtoReflect.Descriptor instead.

func (*UpdateGroupConfigReply) GetCode

func (x *UpdateGroupConfigReply) GetCode() int32

func (*UpdateGroupConfigReply) GetData

func (*UpdateGroupConfigReply) GetMessage

func (x *UpdateGroupConfigReply) GetMessage() string

func (*UpdateGroupConfigReply) ProtoMessage

func (*UpdateGroupConfigReply) ProtoMessage()

func (*UpdateGroupConfigReply) ProtoReflect

func (x *UpdateGroupConfigReply) ProtoReflect() protoreflect.Message

func (*UpdateGroupConfigReply) Reset

func (x *UpdateGroupConfigReply) Reset()

func (*UpdateGroupConfigReply) String

func (x *UpdateGroupConfigReply) String() string

func (*UpdateGroupConfigReply) Validate

func (m *UpdateGroupConfigReply) Validate() error

Validate checks the field values on UpdateGroupConfigReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateGroupConfigReply) ValidateAll

func (m *UpdateGroupConfigReply) ValidateAll() error

ValidateAll checks the field values on UpdateGroupConfigReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateGroupConfigReplyMultiError, or nil if none found.

type UpdateGroupConfigReplyMultiError

type UpdateGroupConfigReplyMultiError []error

UpdateGroupConfigReplyMultiError is an error wrapping multiple validation errors returned by UpdateGroupConfigReply.ValidateAll() if the designated constraints aren't met.

func (UpdateGroupConfigReplyMultiError) AllErrors

func (m UpdateGroupConfigReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateGroupConfigReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateGroupConfigReplyValidationError

type UpdateGroupConfigReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateGroupConfigReplyValidationError is the validation error returned by UpdateGroupConfigReply.Validate if the designated constraints aren't met.

func (UpdateGroupConfigReplyValidationError) Cause

Cause function returns cause value.

func (UpdateGroupConfigReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateGroupConfigReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateGroupConfigReplyValidationError) Field

Field function returns field value.

func (UpdateGroupConfigReplyValidationError) Key

Key function returns key value.

func (UpdateGroupConfigReplyValidationError) Reason

Reason function returns reason value.

type UpdateGroupConfigRequest

type UpdateGroupConfigRequest struct {
	Enabled bool   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // 是否启用分组
	Mode    string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`        // 分组模式
	Config  string `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`    // 其他配置(JSON字符串)
	// contains filtered or unexported fields
}

UpdateGroupConfigRequest 更新分组配置请求

func (*UpdateGroupConfigRequest) Descriptor deprecated

func (*UpdateGroupConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupConfigRequest) GetConfig

func (x *UpdateGroupConfigRequest) GetConfig() string

func (*UpdateGroupConfigRequest) GetEnabled

func (x *UpdateGroupConfigRequest) GetEnabled() bool

func (*UpdateGroupConfigRequest) GetMode

func (x *UpdateGroupConfigRequest) GetMode() string

func (*UpdateGroupConfigRequest) ProtoMessage

func (*UpdateGroupConfigRequest) ProtoMessage()

func (*UpdateGroupConfigRequest) ProtoReflect

func (x *UpdateGroupConfigRequest) ProtoReflect() protoreflect.Message

func (*UpdateGroupConfigRequest) Reset

func (x *UpdateGroupConfigRequest) Reset()

func (*UpdateGroupConfigRequest) String

func (x *UpdateGroupConfigRequest) String() string

func (*UpdateGroupConfigRequest) Validate

func (m *UpdateGroupConfigRequest) Validate() error

Validate checks the field values on UpdateGroupConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateGroupConfigRequest) ValidateAll

func (m *UpdateGroupConfigRequest) ValidateAll() error

ValidateAll checks the field values on UpdateGroupConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateGroupConfigRequestMultiError, or nil if none found.

type UpdateGroupConfigRequestMultiError

type UpdateGroupConfigRequestMultiError []error

UpdateGroupConfigRequestMultiError is an error wrapping multiple validation errors returned by UpdateGroupConfigRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateGroupConfigRequestMultiError) AllErrors

func (m UpdateGroupConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateGroupConfigRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateGroupConfigRequestValidationError

type UpdateGroupConfigRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateGroupConfigRequestValidationError is the validation error returned by UpdateGroupConfigRequest.Validate if the designated constraints aren't met.

func (UpdateGroupConfigRequestValidationError) Cause

Cause function returns cause value.

func (UpdateGroupConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateGroupConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateGroupConfigRequestValidationError) Field

Field function returns field value.

func (UpdateGroupConfigRequestValidationError) Key

Key function returns key value.

func (UpdateGroupConfigRequestValidationError) Reason

Reason function returns reason value.

type UpdateNodeGroupData

type UpdateNodeGroupData struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // 是否成功
	// contains filtered or unexported fields
}

UpdateNodeGroupData 更新节点组数据

func (*UpdateNodeGroupData) Descriptor deprecated

func (*UpdateNodeGroupData) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodeGroupData.ProtoReflect.Descriptor instead.

func (*UpdateNodeGroupData) GetSuccess

func (x *UpdateNodeGroupData) GetSuccess() bool

func (*UpdateNodeGroupData) ProtoMessage

func (*UpdateNodeGroupData) ProtoMessage()

func (*UpdateNodeGroupData) ProtoReflect

func (x *UpdateNodeGroupData) ProtoReflect() protoreflect.Message

func (*UpdateNodeGroupData) Reset

func (x *UpdateNodeGroupData) Reset()

func (*UpdateNodeGroupData) String

func (x *UpdateNodeGroupData) String() string

func (*UpdateNodeGroupData) Validate

func (m *UpdateNodeGroupData) Validate() error

Validate checks the field values on UpdateNodeGroupData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateNodeGroupData) ValidateAll

func (m *UpdateNodeGroupData) ValidateAll() error

ValidateAll checks the field values on UpdateNodeGroupData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateNodeGroupDataMultiError, or nil if none found.

type UpdateNodeGroupDataMultiError

type UpdateNodeGroupDataMultiError []error

UpdateNodeGroupDataMultiError is an error wrapping multiple validation errors returned by UpdateNodeGroupData.ValidateAll() if the designated constraints aren't met.

func (UpdateNodeGroupDataMultiError) AllErrors

func (m UpdateNodeGroupDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateNodeGroupDataMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateNodeGroupDataValidationError

type UpdateNodeGroupDataValidationError struct {
	// contains filtered or unexported fields
}

UpdateNodeGroupDataValidationError is the validation error returned by UpdateNodeGroupData.Validate if the designated constraints aren't met.

func (UpdateNodeGroupDataValidationError) Cause

Cause function returns cause value.

func (UpdateNodeGroupDataValidationError) Error

Error satisfies the builtin error interface

func (UpdateNodeGroupDataValidationError) ErrorName

ErrorName returns error name.

func (UpdateNodeGroupDataValidationError) Field

Field function returns field value.

func (UpdateNodeGroupDataValidationError) Key

Key function returns key value.

func (UpdateNodeGroupDataValidationError) Reason

Reason function returns reason value.

type UpdateNodeGroupReply

type UpdateNodeGroupReply struct {
	Code    int32                `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string               `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 消息内容
	Data    *UpdateNodeGroupData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // 响应数据
	// contains filtered or unexported fields
}

UpdateNodeGroupReply 更新节点组响应

func (*UpdateNodeGroupReply) Descriptor deprecated

func (*UpdateNodeGroupReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodeGroupReply.ProtoReflect.Descriptor instead.

func (*UpdateNodeGroupReply) GetCode

func (x *UpdateNodeGroupReply) GetCode() int32

func (*UpdateNodeGroupReply) GetData

func (*UpdateNodeGroupReply) GetMessage

func (x *UpdateNodeGroupReply) GetMessage() string

func (*UpdateNodeGroupReply) ProtoMessage

func (*UpdateNodeGroupReply) ProtoMessage()

func (*UpdateNodeGroupReply) ProtoReflect

func (x *UpdateNodeGroupReply) ProtoReflect() protoreflect.Message

func (*UpdateNodeGroupReply) Reset

func (x *UpdateNodeGroupReply) Reset()

func (*UpdateNodeGroupReply) String

func (x *UpdateNodeGroupReply) String() string

func (*UpdateNodeGroupReply) Validate

func (m *UpdateNodeGroupReply) Validate() error

Validate checks the field values on UpdateNodeGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateNodeGroupReply) ValidateAll

func (m *UpdateNodeGroupReply) ValidateAll() error

ValidateAll checks the field values on UpdateNodeGroupReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateNodeGroupReplyMultiError, or nil if none found.

type UpdateNodeGroupReplyMultiError

type UpdateNodeGroupReplyMultiError []error

UpdateNodeGroupReplyMultiError is an error wrapping multiple validation errors returned by UpdateNodeGroupReply.ValidateAll() if the designated constraints aren't met.

func (UpdateNodeGroupReplyMultiError) AllErrors

func (m UpdateNodeGroupReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateNodeGroupReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateNodeGroupReplyValidationError

type UpdateNodeGroupReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateNodeGroupReplyValidationError is the validation error returned by UpdateNodeGroupReply.Validate if the designated constraints aren't met.

func (UpdateNodeGroupReplyValidationError) Cause

Cause function returns cause value.

func (UpdateNodeGroupReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateNodeGroupReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateNodeGroupReplyValidationError) Field

Field function returns field value.

func (UpdateNodeGroupReplyValidationError) Key

Key function returns key value.

func (UpdateNodeGroupReplyValidationError) Reason

Reason function returns reason value.

type UpdateNodeGroupRequest

type UpdateNodeGroupRequest struct {
	Id                  int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                                                 // 节点组ID
	Name                string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                              // 节点组名称
	Type                string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`                                                              // 节点组类型
	Description         string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`                                                // 节点组描述
	Sort                int32                  `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`                                                             // 排序
	ForCalculation      *wrapperspb.BoolValue  `protobuf:"bytes,6,opt,name=for_calculation,json=forCalculation,proto3" json:"for_calculation,omitempty"`                    // 是否参与分组计算
	IsExpiredGroup      *wrapperspb.BoolValue  `protobuf:"bytes,7,opt,name=is_expired_group,json=isExpiredGroup,proto3" json:"is_expired_group,omitempty"`                  // 是否为过期组
	ExpiredDaysLimit    *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=expired_days_limit,json=expiredDaysLimit,proto3" json:"expired_days_limit,omitempty"`            // 过期天数限制
	MaxTrafficGbExpired *wrapperspb.Int64Value `protobuf:"bytes,9,opt,name=max_traffic_gb_expired,json=maxTrafficGbExpired,proto3" json:"max_traffic_gb_expired,omitempty"` // 过期后最大流量(GB)
	SpeedLimit          *wrapperspb.Int32Value `protobuf:"bytes,10,opt,name=speed_limit,json=speedLimit,proto3" json:"speed_limit,omitempty"`                               // 速度限制
	MinTrafficGb        *wrapperspb.Int64Value `protobuf:"bytes,11,opt,name=min_traffic_gb,json=minTrafficGb,proto3" json:"min_traffic_gb,omitempty"`                       // 最小流量(GB)
	MaxTrafficGb        *wrapperspb.Int64Value `protobuf:"bytes,12,opt,name=max_traffic_gb,json=maxTrafficGb,proto3" json:"max_traffic_gb,omitempty"`                       // 最大流量(GB)
	// contains filtered or unexported fields
}

UpdateNodeGroupRequest 更新节点组请求

func (*UpdateNodeGroupRequest) Descriptor deprecated

func (*UpdateNodeGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodeGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateNodeGroupRequest) GetDescription

func (x *UpdateNodeGroupRequest) GetDescription() string

func (*UpdateNodeGroupRequest) GetExpiredDaysLimit

func (x *UpdateNodeGroupRequest) GetExpiredDaysLimit() *wrapperspb.Int32Value

func (*UpdateNodeGroupRequest) GetForCalculation

func (x *UpdateNodeGroupRequest) GetForCalculation() *wrapperspb.BoolValue

func (*UpdateNodeGroupRequest) GetId

func (x *UpdateNodeGroupRequest) GetId() int64

func (*UpdateNodeGroupRequest) GetIsExpiredGroup

func (x *UpdateNodeGroupRequest) GetIsExpiredGroup() *wrapperspb.BoolValue

func (*UpdateNodeGroupRequest) GetMaxTrafficGb

func (x *UpdateNodeGroupRequest) GetMaxTrafficGb() *wrapperspb.Int64Value

func (*UpdateNodeGroupRequest) GetMaxTrafficGbExpired

func (x *UpdateNodeGroupRequest) GetMaxTrafficGbExpired() *wrapperspb.Int64Value

func (*UpdateNodeGroupRequest) GetMinTrafficGb

func (x *UpdateNodeGroupRequest) GetMinTrafficGb() *wrapperspb.Int64Value

func (*UpdateNodeGroupRequest) GetName

func (x *UpdateNodeGroupRequest) GetName() string

func (*UpdateNodeGroupRequest) GetSort

func (x *UpdateNodeGroupRequest) GetSort() int32

func (*UpdateNodeGroupRequest) GetSpeedLimit

func (x *UpdateNodeGroupRequest) GetSpeedLimit() *wrapperspb.Int32Value

func (*UpdateNodeGroupRequest) GetType

func (x *UpdateNodeGroupRequest) GetType() string

func (*UpdateNodeGroupRequest) ProtoMessage

func (*UpdateNodeGroupRequest) ProtoMessage()

func (*UpdateNodeGroupRequest) ProtoReflect

func (x *UpdateNodeGroupRequest) ProtoReflect() protoreflect.Message

func (*UpdateNodeGroupRequest) Reset

func (x *UpdateNodeGroupRequest) Reset()

func (*UpdateNodeGroupRequest) String

func (x *UpdateNodeGroupRequest) String() string

func (*UpdateNodeGroupRequest) Validate

func (m *UpdateNodeGroupRequest) Validate() error

Validate checks the field values on UpdateNodeGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateNodeGroupRequest) ValidateAll

func (m *UpdateNodeGroupRequest) ValidateAll() error

ValidateAll checks the field values on UpdateNodeGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateNodeGroupRequestMultiError, or nil if none found.

type UpdateNodeGroupRequestMultiError

type UpdateNodeGroupRequestMultiError []error

UpdateNodeGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateNodeGroupRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateNodeGroupRequestMultiError) AllErrors

func (m UpdateNodeGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateNodeGroupRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateNodeGroupRequestValidationError

type UpdateNodeGroupRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateNodeGroupRequestValidationError is the validation error returned by UpdateNodeGroupRequest.Validate if the designated constraints aren't met.

func (UpdateNodeGroupRequestValidationError) Cause

Cause function returns cause value.

func (UpdateNodeGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateNodeGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateNodeGroupRequestValidationError) Field

Field function returns field value.

func (UpdateNodeGroupRequestValidationError) Key

Key function returns key value.

func (UpdateNodeGroupRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL