Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterGroupHTTPServer(s *http.Server, srv GroupHTTPServer)
- func RegisterGroupServer(s grpc.ServiceRegistrar, srv GroupServer)
- type BatchDeleteGroupReply
- func (*BatchDeleteGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteGroupReply) GetIds() []uint32
- func (*BatchDeleteGroupReply) ProtoMessage()
- func (x *BatchDeleteGroupReply) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteGroupReply) Reset()
- func (x *BatchDeleteGroupReply) String() string
- func (m *BatchDeleteGroupReply) Validate() error
- func (m *BatchDeleteGroupReply) ValidateAll() error
- type BatchDeleteGroupReplyMultiError
- type BatchDeleteGroupReplyValidationError
- func (e BatchDeleteGroupReplyValidationError) Cause() error
- func (e BatchDeleteGroupReplyValidationError) Error() string
- func (e BatchDeleteGroupReplyValidationError) ErrorName() string
- func (e BatchDeleteGroupReplyValidationError) Field() string
- func (e BatchDeleteGroupReplyValidationError) Key() bool
- func (e BatchDeleteGroupReplyValidationError) Reason() string
- type BatchDeleteGroupRequest
- func (*BatchDeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteGroupRequest) GetIds() []uint32
- func (*BatchDeleteGroupRequest) ProtoMessage()
- func (x *BatchDeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteGroupRequest) Reset()
- func (x *BatchDeleteGroupRequest) String() string
- func (m *BatchDeleteGroupRequest) Validate() error
- func (m *BatchDeleteGroupRequest) ValidateAll() error
- type BatchDeleteGroupRequestMultiError
- type BatchDeleteGroupRequestValidationError
- func (e BatchDeleteGroupRequestValidationError) Cause() error
- func (e BatchDeleteGroupRequestValidationError) Error() string
- func (e BatchDeleteGroupRequestValidationError) ErrorName() string
- func (e BatchDeleteGroupRequestValidationError) Field() string
- func (e BatchDeleteGroupRequestValidationError) Key() bool
- func (e BatchDeleteGroupRequestValidationError) Reason() string
- type BatchUpdateGroupStatusReply
- func (*BatchUpdateGroupStatusReply) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateGroupStatusReply) GetIds() []uint32
- func (*BatchUpdateGroupStatusReply) ProtoMessage()
- func (x *BatchUpdateGroupStatusReply) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateGroupStatusReply) Reset()
- func (x *BatchUpdateGroupStatusReply) String() string
- func (m *BatchUpdateGroupStatusReply) Validate() error
- func (m *BatchUpdateGroupStatusReply) ValidateAll() error
- type BatchUpdateGroupStatusReplyMultiError
- type BatchUpdateGroupStatusReplyValidationError
- func (e BatchUpdateGroupStatusReplyValidationError) Cause() error
- func (e BatchUpdateGroupStatusReplyValidationError) Error() string
- func (e BatchUpdateGroupStatusReplyValidationError) ErrorName() string
- func (e BatchUpdateGroupStatusReplyValidationError) Field() string
- func (e BatchUpdateGroupStatusReplyValidationError) Key() bool
- func (e BatchUpdateGroupStatusReplyValidationError) Reason() string
- type BatchUpdateGroupStatusRequest
- func (*BatchUpdateGroupStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateGroupStatusRequest) GetIds() []uint32
- func (x *BatchUpdateGroupStatusRequest) GetStatus() api.Status
- func (*BatchUpdateGroupStatusRequest) ProtoMessage()
- func (x *BatchUpdateGroupStatusRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateGroupStatusRequest) Reset()
- func (x *BatchUpdateGroupStatusRequest) String() string
- func (m *BatchUpdateGroupStatusRequest) Validate() error
- func (m *BatchUpdateGroupStatusRequest) ValidateAll() error
- type BatchUpdateGroupStatusRequestMultiError
- type BatchUpdateGroupStatusRequestValidationError
- func (e BatchUpdateGroupStatusRequestValidationError) Cause() error
- func (e BatchUpdateGroupStatusRequestValidationError) Error() string
- func (e BatchUpdateGroupStatusRequestValidationError) ErrorName() string
- func (e BatchUpdateGroupStatusRequestValidationError) Field() string
- func (e BatchUpdateGroupStatusRequestValidationError) Key() bool
- func (e BatchUpdateGroupStatusRequestValidationError) Reason() string
- type CreateGroupReply
- func (*CreateGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupReply) GetId() uint32
- func (*CreateGroupReply) ProtoMessage()
- func (x *CreateGroupReply) ProtoReflect() protoreflect.Message
- func (x *CreateGroupReply) Reset()
- func (x *CreateGroupReply) String() string
- func (m *CreateGroupReply) Validate() error
- func (m *CreateGroupReply) ValidateAll() error
- type CreateGroupReplyMultiError
- type CreateGroupReplyValidationError
- func (e CreateGroupReplyValidationError) Cause() error
- func (e CreateGroupReplyValidationError) Error() string
- func (e CreateGroupReplyValidationError) ErrorName() string
- func (e CreateGroupReplyValidationError) Field() string
- func (e CreateGroupReplyValidationError) Key() bool
- func (e CreateGroupReplyValidationError) Reason() string
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGroupRequest) GetCategoryIds() []uint32
- func (x *CreateGroupRequest) GetName() string
- func (x *CreateGroupRequest) GetRemark() string
- func (*CreateGroupRequest) ProtoMessage()
- func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGroupRequest) Reset()
- func (x *CreateGroupRequest) String() string
- func (m *CreateGroupRequest) Validate() error
- func (m *CreateGroupRequest) ValidateAll() error
- type CreateGroupRequestMultiError
- type CreateGroupRequestValidationError
- func (e CreateGroupRequestValidationError) Cause() error
- func (e CreateGroupRequestValidationError) Error() string
- func (e CreateGroupRequestValidationError) ErrorName() string
- func (e CreateGroupRequestValidationError) Field() string
- func (e CreateGroupRequestValidationError) Key() bool
- func (e CreateGroupRequestValidationError) Reason() string
- type DeleteGroupReply
- func (*DeleteGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupReply) GetId() uint32
- func (*DeleteGroupReply) ProtoMessage()
- func (x *DeleteGroupReply) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupReply) Reset()
- func (x *DeleteGroupReply) String() string
- func (m *DeleteGroupReply) Validate() error
- func (m *DeleteGroupReply) ValidateAll() error
- type DeleteGroupReplyMultiError
- type DeleteGroupReplyValidationError
- func (e DeleteGroupReplyValidationError) Cause() error
- func (e DeleteGroupReplyValidationError) Error() string
- func (e DeleteGroupReplyValidationError) ErrorName() string
- func (e DeleteGroupReplyValidationError) Field() string
- func (e DeleteGroupReplyValidationError) Key() bool
- func (e DeleteGroupReplyValidationError) Reason() string
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGroupRequest) GetId() uint32
- func (*DeleteGroupRequest) ProtoMessage()
- func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGroupRequest) Reset()
- func (x *DeleteGroupRequest) String() string
- func (m *DeleteGroupRequest) Validate() error
- func (m *DeleteGroupRequest) ValidateAll() error
- type DeleteGroupRequestMultiError
- type DeleteGroupRequestValidationError
- func (e DeleteGroupRequestValidationError) Cause() error
- func (e DeleteGroupRequestValidationError) Error() string
- func (e DeleteGroupRequestValidationError) ErrorName() string
- func (e DeleteGroupRequestValidationError) Field() string
- func (e DeleteGroupRequestValidationError) Key() bool
- func (e DeleteGroupRequestValidationError) Reason() string
- type ExportGroupReply
- func (*ExportGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *ExportGroupReply) GetGroups() []*api.PromRuleGroup
- func (*ExportGroupReply) ProtoMessage()
- func (x *ExportGroupReply) ProtoReflect() protoreflect.Message
- func (x *ExportGroupReply) Reset()
- func (x *ExportGroupReply) String() string
- func (m *ExportGroupReply) Validate() error
- func (m *ExportGroupReply) ValidateAll() error
- type ExportGroupReplyMultiError
- type ExportGroupReplyValidationError
- func (e ExportGroupReplyValidationError) Cause() error
- func (e ExportGroupReplyValidationError) Error() string
- func (e ExportGroupReplyValidationError) ErrorName() string
- func (e ExportGroupReplyValidationError) Field() string
- func (e ExportGroupReplyValidationError) Key() bool
- func (e ExportGroupReplyValidationError) Reason() string
- type ExportGroupRequest
- func (*ExportGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportGroupRequest) GetIds() []uint32
- func (*ExportGroupRequest) ProtoMessage()
- func (x *ExportGroupRequest) ProtoReflect() protoreflect.Message
- func (x *ExportGroupRequest) Reset()
- func (x *ExportGroupRequest) String() string
- func (m *ExportGroupRequest) Validate() error
- func (m *ExportGroupRequest) ValidateAll() error
- type ExportGroupRequestMultiError
- type ExportGroupRequestValidationError
- func (e ExportGroupRequestValidationError) Cause() error
- func (e ExportGroupRequestValidationError) Error() string
- func (e ExportGroupRequestValidationError) ErrorName() string
- func (e ExportGroupRequestValidationError) Field() string
- func (e ExportGroupRequestValidationError) Key() bool
- func (e ExportGroupRequestValidationError) Reason() string
- type GetGroupReply
- func (*GetGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupReply) GetDetail() *api.PromGroup
- func (*GetGroupReply) ProtoMessage()
- func (x *GetGroupReply) ProtoReflect() protoreflect.Message
- func (x *GetGroupReply) Reset()
- func (x *GetGroupReply) String() string
- func (m *GetGroupReply) Validate() error
- func (m *GetGroupReply) ValidateAll() error
- type GetGroupReplyMultiError
- type GetGroupReplyValidationError
- func (e GetGroupReplyValidationError) Cause() error
- func (e GetGroupReplyValidationError) Error() string
- func (e GetGroupReplyValidationError) ErrorName() string
- func (e GetGroupReplyValidationError) Field() string
- func (e GetGroupReplyValidationError) Key() bool
- func (e GetGroupReplyValidationError) Reason() string
- type GetGroupRequest
- func (*GetGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGroupRequest) GetId() uint32
- func (*GetGroupRequest) ProtoMessage()
- func (x *GetGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetGroupRequest) Reset()
- func (x *GetGroupRequest) String() string
- func (m *GetGroupRequest) Validate() error
- func (m *GetGroupRequest) ValidateAll() error
- type GetGroupRequestMultiError
- type GetGroupRequestValidationError
- func (e GetGroupRequestValidationError) Cause() error
- func (e GetGroupRequestValidationError) Error() string
- func (e GetGroupRequestValidationError) ErrorName() string
- func (e GetGroupRequestValidationError) Field() string
- func (e GetGroupRequestValidationError) Key() bool
- func (e GetGroupRequestValidationError) Reason() string
- type GroupClient
- type GroupHTTPClient
- type GroupHTTPClientImpl
- func (c *GroupHTTPClientImpl) BatchDeleteGroup(ctx context.Context, in *BatchDeleteGroupRequest, opts ...http.CallOption) (*BatchDeleteGroupReply, error)
- func (c *GroupHTTPClientImpl) BatchUpdateGroupStatus(ctx context.Context, in *BatchUpdateGroupStatusRequest, ...) (*BatchUpdateGroupStatusReply, error)
- func (c *GroupHTTPClientImpl) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...http.CallOption) (*CreateGroupReply, error)
- func (c *GroupHTTPClientImpl) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...http.CallOption) (*DeleteGroupReply, error)
- func (c *GroupHTTPClientImpl) ExportGroup(ctx context.Context, in *ExportGroupRequest, opts ...http.CallOption) (*ExportGroupReply, error)
- func (c *GroupHTTPClientImpl) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...http.CallOption) (*GetGroupReply, error)
- func (c *GroupHTTPClientImpl) ImportGroup(ctx context.Context, in *ImportGroupRequest, opts ...http.CallOption) (*ImportGroupReply, error)
- func (c *GroupHTTPClientImpl) ListAllGroupDetail(ctx context.Context, in *ListAllGroupDetailRequest, opts ...http.CallOption) (*ListAllGroupDetailReply, error)
- func (c *GroupHTTPClientImpl) ListAllGroupDetailV2(ctx context.Context, in *ListAllGroupDetailV2Request, opts ...http.CallOption) (*ListAllGroupDetailV2Reply, error)
- func (c *GroupHTTPClientImpl) ListGroup(ctx context.Context, in *ListGroupRequest, opts ...http.CallOption) (*ListGroupReply, error)
- func (c *GroupHTTPClientImpl) SelectGroup(ctx context.Context, in *SelectGroupRequest, opts ...http.CallOption) (*SelectGroupReply, error)
- func (c *GroupHTTPClientImpl) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...http.CallOption) (*UpdateGroupReply, error)
- type GroupHTTPServer
- type GroupServer
- type ImportGroupReply
- func (*ImportGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *ImportGroupReply) GetIds() []uint32
- func (*ImportGroupReply) ProtoMessage()
- func (x *ImportGroupReply) ProtoReflect() protoreflect.Message
- func (x *ImportGroupReply) Reset()
- func (x *ImportGroupReply) String() string
- func (m *ImportGroupReply) Validate() error
- func (m *ImportGroupReply) ValidateAll() error
- type ImportGroupReplyMultiError
- type ImportGroupReplyValidationError
- func (e ImportGroupReplyValidationError) Cause() error
- func (e ImportGroupReplyValidationError) Error() string
- func (e ImportGroupReplyValidationError) ErrorName() string
- func (e ImportGroupReplyValidationError) Field() string
- func (e ImportGroupReplyValidationError) Key() bool
- func (e ImportGroupReplyValidationError) Reason() string
- type ImportGroupRequest
- func (*ImportGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportGroupRequest) GetDatasourceId() uint32
- func (x *ImportGroupRequest) GetDefaultAlarmNotifyIds() []uint32
- func (x *ImportGroupRequest) GetDefaultAlarmPageIds() []uint32
- func (x *ImportGroupRequest) GetDefaultCategoryIds() []uint32
- func (x *ImportGroupRequest) GetDefaultLevel() uint32
- func (x *ImportGroupRequest) GetGroups() []*api.PromRuleGroup
- func (*ImportGroupRequest) ProtoMessage()
- func (x *ImportGroupRequest) ProtoReflect() protoreflect.Message
- func (x *ImportGroupRequest) Reset()
- func (x *ImportGroupRequest) String() string
- func (m *ImportGroupRequest) Validate() error
- func (m *ImportGroupRequest) ValidateAll() error
- type ImportGroupRequestMultiError
- type ImportGroupRequestValidationError
- func (e ImportGroupRequestValidationError) Cause() error
- func (e ImportGroupRequestValidationError) Error() string
- func (e ImportGroupRequestValidationError) ErrorName() string
- func (e ImportGroupRequestValidationError) Field() string
- func (e ImportGroupRequestValidationError) Key() bool
- func (e ImportGroupRequestValidationError) Reason() string
- type ListAllGroupDetailReply
- func (*ListAllGroupDetailReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllGroupDetailReply) GetGroupList() []*api.GroupSimple
- func (*ListAllGroupDetailReply) ProtoMessage()
- func (x *ListAllGroupDetailReply) ProtoReflect() protoreflect.Message
- func (x *ListAllGroupDetailReply) Reset()
- func (x *ListAllGroupDetailReply) String() string
- func (m *ListAllGroupDetailReply) Validate() error
- func (m *ListAllGroupDetailReply) ValidateAll() error
- type ListAllGroupDetailReplyMultiError
- type ListAllGroupDetailReplyValidationError
- func (e ListAllGroupDetailReplyValidationError) Cause() error
- func (e ListAllGroupDetailReplyValidationError) Error() string
- func (e ListAllGroupDetailReplyValidationError) ErrorName() string
- func (e ListAllGroupDetailReplyValidationError) Field() string
- func (e ListAllGroupDetailReplyValidationError) Key() bool
- func (e ListAllGroupDetailReplyValidationError) Reason() string
- type ListAllGroupDetailRequest
- func (*ListAllGroupDetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllGroupDetailRequest) GetGroupIds() []uint32
- func (*ListAllGroupDetailRequest) ProtoMessage()
- func (x *ListAllGroupDetailRequest) ProtoReflect() protoreflect.Message
- func (x *ListAllGroupDetailRequest) Reset()
- func (x *ListAllGroupDetailRequest) String() string
- func (m *ListAllGroupDetailRequest) Validate() error
- func (m *ListAllGroupDetailRequest) ValidateAll() error
- type ListAllGroupDetailRequestMultiError
- type ListAllGroupDetailRequestValidationError
- func (e ListAllGroupDetailRequestValidationError) Cause() error
- func (e ListAllGroupDetailRequestValidationError) Error() string
- func (e ListAllGroupDetailRequestValidationError) ErrorName() string
- func (e ListAllGroupDetailRequestValidationError) Field() string
- func (e ListAllGroupDetailRequestValidationError) Key() bool
- func (e ListAllGroupDetailRequestValidationError) Reason() string
- type ListAllGroupDetailV2Reply
- func (*ListAllGroupDetailV2Reply) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllGroupDetailV2Reply) GetGroupList() []*api.EvaluateGroup
- func (*ListAllGroupDetailV2Reply) ProtoMessage()
- func (x *ListAllGroupDetailV2Reply) ProtoReflect() protoreflect.Message
- func (x *ListAllGroupDetailV2Reply) Reset()
- func (x *ListAllGroupDetailV2Reply) String() string
- func (m *ListAllGroupDetailV2Reply) Validate() error
- func (m *ListAllGroupDetailV2Reply) ValidateAll() error
- type ListAllGroupDetailV2ReplyMultiError
- type ListAllGroupDetailV2ReplyValidationError
- func (e ListAllGroupDetailV2ReplyValidationError) Cause() error
- func (e ListAllGroupDetailV2ReplyValidationError) Error() string
- func (e ListAllGroupDetailV2ReplyValidationError) ErrorName() string
- func (e ListAllGroupDetailV2ReplyValidationError) Field() string
- func (e ListAllGroupDetailV2ReplyValidationError) Key() bool
- func (e ListAllGroupDetailV2ReplyValidationError) Reason() string
- type ListAllGroupDetailV2Request
- func (*ListAllGroupDetailV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllGroupDetailV2Request) GetGroupIds() []uint32
- func (*ListAllGroupDetailV2Request) ProtoMessage()
- func (x *ListAllGroupDetailV2Request) ProtoReflect() protoreflect.Message
- func (x *ListAllGroupDetailV2Request) Reset()
- func (x *ListAllGroupDetailV2Request) String() string
- func (m *ListAllGroupDetailV2Request) Validate() error
- func (m *ListAllGroupDetailV2Request) ValidateAll() error
- type ListAllGroupDetailV2RequestMultiError
- type ListAllGroupDetailV2RequestValidationError
- func (e ListAllGroupDetailV2RequestValidationError) Cause() error
- func (e ListAllGroupDetailV2RequestValidationError) Error() string
- func (e ListAllGroupDetailV2RequestValidationError) ErrorName() string
- func (e ListAllGroupDetailV2RequestValidationError) Field() string
- func (e ListAllGroupDetailV2RequestValidationError) Key() bool
- func (e ListAllGroupDetailV2RequestValidationError) Reason() string
- type ListGroupReply
- func (*ListGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupReply) GetList() []*api.PromGroup
- func (x *ListGroupReply) GetPage() *api.PageReply
- func (*ListGroupReply) ProtoMessage()
- func (x *ListGroupReply) ProtoReflect() protoreflect.Message
- func (x *ListGroupReply) Reset()
- func (x *ListGroupReply) String() string
- func (m *ListGroupReply) Validate() error
- func (m *ListGroupReply) ValidateAll() error
- type ListGroupReplyMultiError
- type ListGroupReplyValidationError
- func (e ListGroupReplyValidationError) Cause() error
- func (e ListGroupReplyValidationError) Error() string
- func (e ListGroupReplyValidationError) ErrorName() string
- func (e ListGroupReplyValidationError) Field() string
- func (e ListGroupReplyValidationError) Key() bool
- func (e ListGroupReplyValidationError) Reason() string
- type ListGroupRequest
- func (*ListGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupRequest) GetCategoryIds() []uint32
- func (x *ListGroupRequest) GetEndAt() uint64
- func (x *ListGroupRequest) GetIds() []uint32
- func (x *ListGroupRequest) GetKeyword() string
- func (x *ListGroupRequest) GetPage() *api.PageRequest
- func (x *ListGroupRequest) GetStartAt() uint64
- func (x *ListGroupRequest) GetStatus() api.Status
- func (*ListGroupRequest) ProtoMessage()
- func (x *ListGroupRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupRequest) Reset()
- func (x *ListGroupRequest) String() string
- func (m *ListGroupRequest) Validate() error
- func (m *ListGroupRequest) ValidateAll() error
- type ListGroupRequestMultiError
- type ListGroupRequestValidationError
- func (e ListGroupRequestValidationError) Cause() error
- func (e ListGroupRequestValidationError) Error() string
- func (e ListGroupRequestValidationError) ErrorName() string
- func (e ListGroupRequestValidationError) Field() string
- func (e ListGroupRequestValidationError) Key() bool
- func (e ListGroupRequestValidationError) Reason() string
- type SelectGroupReply
- func (*SelectGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *SelectGroupReply) GetList() []*api.PromGroupSelectV1
- func (x *SelectGroupReply) GetPage() *api.PageReply
- func (*SelectGroupReply) ProtoMessage()
- func (x *SelectGroupReply) ProtoReflect() protoreflect.Message
- func (x *SelectGroupReply) Reset()
- func (x *SelectGroupReply) String() string
- func (m *SelectGroupReply) Validate() error
- func (m *SelectGroupReply) ValidateAll() error
- type SelectGroupReplyMultiError
- type SelectGroupReplyValidationError
- func (e SelectGroupReplyValidationError) Cause() error
- func (e SelectGroupReplyValidationError) Error() string
- func (e SelectGroupReplyValidationError) ErrorName() string
- func (e SelectGroupReplyValidationError) Field() string
- func (e SelectGroupReplyValidationError) Key() bool
- func (e SelectGroupReplyValidationError) Reason() string
- type SelectGroupRequest
- func (*SelectGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectGroupRequest) GetKeyword() string
- func (x *SelectGroupRequest) GetPage() *api.PageRequest
- func (x *SelectGroupRequest) GetStatus() api.Status
- func (*SelectGroupRequest) ProtoMessage()
- func (x *SelectGroupRequest) ProtoReflect() protoreflect.Message
- func (x *SelectGroupRequest) Reset()
- func (x *SelectGroupRequest) String() string
- func (m *SelectGroupRequest) Validate() error
- func (m *SelectGroupRequest) ValidateAll() error
- type SelectGroupRequestMultiError
- type SelectGroupRequestValidationError
- func (e SelectGroupRequestValidationError) Cause() error
- func (e SelectGroupRequestValidationError) Error() string
- func (e SelectGroupRequestValidationError) ErrorName() string
- func (e SelectGroupRequestValidationError) Field() string
- func (e SelectGroupRequestValidationError) Key() bool
- func (e SelectGroupRequestValidationError) Reason() string
- type UnimplementedGroupServer
- func (UnimplementedGroupServer) BatchDeleteGroup(context.Context, *BatchDeleteGroupRequest) (*BatchDeleteGroupReply, error)
- func (UnimplementedGroupServer) BatchUpdateGroupStatus(context.Context, *BatchUpdateGroupStatusRequest) (*BatchUpdateGroupStatusReply, error)
- func (UnimplementedGroupServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupReply, error)
- func (UnimplementedGroupServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupReply, error)
- func (UnimplementedGroupServer) ExportGroup(context.Context, *ExportGroupRequest) (*ExportGroupReply, error)
- func (UnimplementedGroupServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupReply, error)
- func (UnimplementedGroupServer) ImportGroup(context.Context, *ImportGroupRequest) (*ImportGroupReply, error)
- func (UnimplementedGroupServer) ListAllGroupDetail(context.Context, *ListAllGroupDetailRequest) (*ListAllGroupDetailReply, error)
- func (UnimplementedGroupServer) ListAllGroupDetailV2(context.Context, *ListAllGroupDetailV2Request) (*ListAllGroupDetailV2Reply, error)
- func (UnimplementedGroupServer) ListGroup(context.Context, *ListGroupRequest) (*ListGroupReply, error)
- func (UnimplementedGroupServer) SelectGroup(context.Context, *SelectGroupRequest) (*SelectGroupReply, error)
- func (UnimplementedGroupServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupReply, error)
- type UnsafeGroupServer
- type UpdateGroupReply
- func (*UpdateGroupReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGroupReply) GetId() uint32
- func (*UpdateGroupReply) ProtoMessage()
- func (x *UpdateGroupReply) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupReply) Reset()
- func (x *UpdateGroupReply) String() string
- func (m *UpdateGroupReply) Validate() error
- func (m *UpdateGroupReply) ValidateAll() error
- type UpdateGroupReplyMultiError
- type UpdateGroupReplyValidationError
- func (e UpdateGroupReplyValidationError) Cause() error
- func (e UpdateGroupReplyValidationError) Error() string
- func (e UpdateGroupReplyValidationError) ErrorName() string
- func (e UpdateGroupReplyValidationError) Field() string
- func (e UpdateGroupReplyValidationError) Key() bool
- func (e UpdateGroupReplyValidationError) Reason() string
- type UpdateGroupRequest
- func (*UpdateGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGroupRequest) GetCategoryIds() []uint32
- func (x *UpdateGroupRequest) GetId() uint32
- func (x *UpdateGroupRequest) GetName() string
- func (x *UpdateGroupRequest) GetRemark() string
- func (*UpdateGroupRequest) ProtoMessage()
- func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGroupRequest) Reset()
- func (x *UpdateGroupRequest) String() string
- func (m *UpdateGroupRequest) Validate() error
- func (m *UpdateGroupRequest) ValidateAll() error
- type UpdateGroupRequestMultiError
- type UpdateGroupRequestValidationError
- func (e UpdateGroupRequestValidationError) Cause() error
- func (e UpdateGroupRequestValidationError) Error() string
- func (e UpdateGroupRequestValidationError) ErrorName() string
- func (e UpdateGroupRequestValidationError) Field() string
- func (e UpdateGroupRequestValidationError) Key() bool
- func (e UpdateGroupRequestValidationError) Reason() string
Constants ¶
const ( Group_CreateGroup_FullMethodName = "/api.server.prom.strategy.group.Group/CreateGroup" Group_UpdateGroup_FullMethodName = "/api.server.prom.strategy.group.Group/UpdateGroup" Group_BatchUpdateGroupStatus_FullMethodName = "/api.server.prom.strategy.group.Group/BatchUpdateGroupStatus" Group_DeleteGroup_FullMethodName = "/api.server.prom.strategy.group.Group/DeleteGroup" Group_BatchDeleteGroup_FullMethodName = "/api.server.prom.strategy.group.Group/BatchDeleteGroup" Group_GetGroup_FullMethodName = "/api.server.prom.strategy.group.Group/GetGroup" Group_ListGroup_FullMethodName = "/api.server.prom.strategy.group.Group/ListGroup" Group_ListAllGroupDetail_FullMethodName = "/api.server.prom.strategy.group.Group/ListAllGroupDetail" Group_ListAllGroupDetailV2_FullMethodName = "/api.server.prom.strategy.group.Group/ListAllGroupDetailV2" Group_SelectGroup_FullMethodName = "/api.server.prom.strategy.group.Group/SelectGroup" Group_ImportGroup_FullMethodName = "/api.server.prom.strategy.group.Group/ImportGroup" Group_ExportGroup_FullMethodName = "/api.server.prom.strategy.group.Group/ExportGroup" )
const OperationGroupBatchDeleteGroup = "/api.server.prom.strategy.group.Group/BatchDeleteGroup"
const OperationGroupBatchUpdateGroupStatus = "/api.server.prom.strategy.group.Group/BatchUpdateGroupStatus"
const OperationGroupCreateGroup = "/api.server.prom.strategy.group.Group/CreateGroup"
const OperationGroupDeleteGroup = "/api.server.prom.strategy.group.Group/DeleteGroup"
const OperationGroupExportGroup = "/api.server.prom.strategy.group.Group/ExportGroup"
const OperationGroupGetGroup = "/api.server.prom.strategy.group.Group/GetGroup"
const OperationGroupImportGroup = "/api.server.prom.strategy.group.Group/ImportGroup"
const OperationGroupListAllGroupDetail = "/api.server.prom.strategy.group.Group/ListAllGroupDetail"
const OperationGroupListAllGroupDetailV2 = "/api.server.prom.strategy.group.Group/ListAllGroupDetailV2"
const OperationGroupListGroup = "/api.server.prom.strategy.group.Group/ListGroup"
const OperationGroupSelectGroup = "/api.server.prom.strategy.group.Group/SelectGroup"
const OperationGroupUpdateGroup = "/api.server.prom.strategy.group.Group/UpdateGroup"
Variables ¶
var File_server_prom_strategy_group_group_proto protoreflect.FileDescriptor
var Group_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.server.prom.strategy.group.Group", HandlerType: (*GroupServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateGroup", Handler: _Group_CreateGroup_Handler, }, { MethodName: "UpdateGroup", Handler: _Group_UpdateGroup_Handler, }, { MethodName: "BatchUpdateGroupStatus", Handler: _Group_BatchUpdateGroupStatus_Handler, }, { MethodName: "DeleteGroup", Handler: _Group_DeleteGroup_Handler, }, { MethodName: "BatchDeleteGroup", Handler: _Group_BatchDeleteGroup_Handler, }, { MethodName: "GetGroup", Handler: _Group_GetGroup_Handler, }, { MethodName: "ListGroup", Handler: _Group_ListGroup_Handler, }, { MethodName: "ListAllGroupDetail", Handler: _Group_ListAllGroupDetail_Handler, }, { MethodName: "ListAllGroupDetailV2", Handler: _Group_ListAllGroupDetailV2_Handler, }, { MethodName: "SelectGroup", Handler: _Group_SelectGroup_Handler, }, { MethodName: "ImportGroup", Handler: _Group_ImportGroup_Handler, }, { MethodName: "ExportGroup", Handler: _Group_ExportGroup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server/prom/strategy/group/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 BatchDeleteGroupReply ¶
type BatchDeleteGroupReply struct { // 策略组ID列表, 删除成功后返回 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
批量删除策略组响应参数
func (*BatchDeleteGroupReply) Descriptor
deprecated
func (*BatchDeleteGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteGroupReply.ProtoReflect.Descriptor instead.
func (*BatchDeleteGroupReply) GetIds ¶
func (x *BatchDeleteGroupReply) GetIds() []uint32
func (*BatchDeleteGroupReply) ProtoMessage ¶
func (*BatchDeleteGroupReply) ProtoMessage()
func (*BatchDeleteGroupReply) ProtoReflect ¶
func (x *BatchDeleteGroupReply) ProtoReflect() protoreflect.Message
func (*BatchDeleteGroupReply) Reset ¶
func (x *BatchDeleteGroupReply) Reset()
func (*BatchDeleteGroupReply) String ¶
func (x *BatchDeleteGroupReply) String() string
func (*BatchDeleteGroupReply) Validate ¶
func (m *BatchDeleteGroupReply) Validate() error
Validate checks the field values on BatchDeleteGroupReply 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 (*BatchDeleteGroupReply) ValidateAll ¶
func (m *BatchDeleteGroupReply) ValidateAll() error
ValidateAll checks the field values on BatchDeleteGroupReply 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 BatchDeleteGroupReplyMultiError, or nil if none found.
type BatchDeleteGroupReplyMultiError ¶
type BatchDeleteGroupReplyMultiError []error
BatchDeleteGroupReplyMultiError is an error wrapping multiple validation errors returned by BatchDeleteGroupReply.ValidateAll() if the designated constraints aren't met.
func (BatchDeleteGroupReplyMultiError) AllErrors ¶
func (m BatchDeleteGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchDeleteGroupReplyMultiError) Error ¶
func (m BatchDeleteGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchDeleteGroupReplyValidationError ¶
type BatchDeleteGroupReplyValidationError struct {
// contains filtered or unexported fields
}
BatchDeleteGroupReplyValidationError is the validation error returned by BatchDeleteGroupReply.Validate if the designated constraints aren't met.
func (BatchDeleteGroupReplyValidationError) Cause ¶
func (e BatchDeleteGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (BatchDeleteGroupReplyValidationError) Error ¶
func (e BatchDeleteGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BatchDeleteGroupReplyValidationError) ErrorName ¶
func (e BatchDeleteGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BatchDeleteGroupReplyValidationError) Field ¶
func (e BatchDeleteGroupReplyValidationError) Field() string
Field function returns field value.
func (BatchDeleteGroupReplyValidationError) Key ¶
func (e BatchDeleteGroupReplyValidationError) Key() bool
Key function returns key value.
func (BatchDeleteGroupReplyValidationError) Reason ¶
func (e BatchDeleteGroupReplyValidationError) Reason() string
Reason function returns reason value.
type BatchDeleteGroupRequest ¶
type BatchDeleteGroupRequest struct { // 策略组ID列表, 最少1个, 最多100个, 不允许为0, 不允许重复 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
批量删除策略组请求参数
func (*BatchDeleteGroupRequest) Descriptor
deprecated
func (*BatchDeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteGroupRequest) GetIds ¶
func (x *BatchDeleteGroupRequest) GetIds() []uint32
func (*BatchDeleteGroupRequest) ProtoMessage ¶
func (*BatchDeleteGroupRequest) ProtoMessage()
func (*BatchDeleteGroupRequest) ProtoReflect ¶
func (x *BatchDeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteGroupRequest) Reset ¶
func (x *BatchDeleteGroupRequest) Reset()
func (*BatchDeleteGroupRequest) String ¶
func (x *BatchDeleteGroupRequest) String() string
func (*BatchDeleteGroupRequest) Validate ¶
func (m *BatchDeleteGroupRequest) Validate() error
Validate checks the field values on BatchDeleteGroupRequest 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 (*BatchDeleteGroupRequest) ValidateAll ¶
func (m *BatchDeleteGroupRequest) ValidateAll() error
ValidateAll checks the field values on BatchDeleteGroupRequest 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 BatchDeleteGroupRequestMultiError, or nil if none found.
type BatchDeleteGroupRequestMultiError ¶
type BatchDeleteGroupRequestMultiError []error
BatchDeleteGroupRequestMultiError is an error wrapping multiple validation errors returned by BatchDeleteGroupRequest.ValidateAll() if the designated constraints aren't met.
func (BatchDeleteGroupRequestMultiError) AllErrors ¶
func (m BatchDeleteGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchDeleteGroupRequestMultiError) Error ¶
func (m BatchDeleteGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchDeleteGroupRequestValidationError ¶
type BatchDeleteGroupRequestValidationError struct {
// contains filtered or unexported fields
}
BatchDeleteGroupRequestValidationError is the validation error returned by BatchDeleteGroupRequest.Validate if the designated constraints aren't met.
func (BatchDeleteGroupRequestValidationError) Cause ¶
func (e BatchDeleteGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (BatchDeleteGroupRequestValidationError) Error ¶
func (e BatchDeleteGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatchDeleteGroupRequestValidationError) ErrorName ¶
func (e BatchDeleteGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatchDeleteGroupRequestValidationError) Field ¶
func (e BatchDeleteGroupRequestValidationError) Field() string
Field function returns field value.
func (BatchDeleteGroupRequestValidationError) Key ¶
func (e BatchDeleteGroupRequestValidationError) Key() bool
Key function returns key value.
func (BatchDeleteGroupRequestValidationError) Reason ¶
func (e BatchDeleteGroupRequestValidationError) Reason() string
Reason function returns reason value.
type BatchUpdateGroupStatusReply ¶
type BatchUpdateGroupStatusReply struct { // 策略组ID列表, 更新成功后返回 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
BatchUpdateGroupStatusReply 批量更新策略组状态回复
func (*BatchUpdateGroupStatusReply) Descriptor
deprecated
func (*BatchUpdateGroupStatusReply) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateGroupStatusReply.ProtoReflect.Descriptor instead.
func (*BatchUpdateGroupStatusReply) GetIds ¶
func (x *BatchUpdateGroupStatusReply) GetIds() []uint32
func (*BatchUpdateGroupStatusReply) ProtoMessage ¶
func (*BatchUpdateGroupStatusReply) ProtoMessage()
func (*BatchUpdateGroupStatusReply) ProtoReflect ¶
func (x *BatchUpdateGroupStatusReply) ProtoReflect() protoreflect.Message
func (*BatchUpdateGroupStatusReply) Reset ¶
func (x *BatchUpdateGroupStatusReply) Reset()
func (*BatchUpdateGroupStatusReply) String ¶
func (x *BatchUpdateGroupStatusReply) String() string
func (*BatchUpdateGroupStatusReply) Validate ¶
func (m *BatchUpdateGroupStatusReply) Validate() error
Validate checks the field values on BatchUpdateGroupStatusReply 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 (*BatchUpdateGroupStatusReply) ValidateAll ¶
func (m *BatchUpdateGroupStatusReply) ValidateAll() error
ValidateAll checks the field values on BatchUpdateGroupStatusReply 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 BatchUpdateGroupStatusReplyMultiError, or nil if none found.
type BatchUpdateGroupStatusReplyMultiError ¶
type BatchUpdateGroupStatusReplyMultiError []error
BatchUpdateGroupStatusReplyMultiError is an error wrapping multiple validation errors returned by BatchUpdateGroupStatusReply.ValidateAll() if the designated constraints aren't met.
func (BatchUpdateGroupStatusReplyMultiError) AllErrors ¶
func (m BatchUpdateGroupStatusReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchUpdateGroupStatusReplyMultiError) Error ¶
func (m BatchUpdateGroupStatusReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchUpdateGroupStatusReplyValidationError ¶
type BatchUpdateGroupStatusReplyValidationError struct {
// contains filtered or unexported fields
}
BatchUpdateGroupStatusReplyValidationError is the validation error returned by BatchUpdateGroupStatusReply.Validate if the designated constraints aren't met.
func (BatchUpdateGroupStatusReplyValidationError) Cause ¶
func (e BatchUpdateGroupStatusReplyValidationError) Cause() error
Cause function returns cause value.
func (BatchUpdateGroupStatusReplyValidationError) Error ¶
func (e BatchUpdateGroupStatusReplyValidationError) Error() string
Error satisfies the builtin error interface
func (BatchUpdateGroupStatusReplyValidationError) ErrorName ¶
func (e BatchUpdateGroupStatusReplyValidationError) ErrorName() string
ErrorName returns error name.
func (BatchUpdateGroupStatusReplyValidationError) Field ¶
func (e BatchUpdateGroupStatusReplyValidationError) Field() string
Field function returns field value.
func (BatchUpdateGroupStatusReplyValidationError) Key ¶
func (e BatchUpdateGroupStatusReplyValidationError) Key() bool
Key function returns key value.
func (BatchUpdateGroupStatusReplyValidationError) Reason ¶
func (e BatchUpdateGroupStatusReplyValidationError) Reason() string
Reason function returns reason value.
type BatchUpdateGroupStatusRequest ¶
type BatchUpdateGroupStatusRequest struct { // 策略组ID列表, 最少1个, 最多100个, 不允许为0, 不允许重复 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // 策略组状态 Status api.Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
批量更新策略组状态请求
func (*BatchUpdateGroupStatusRequest) Descriptor
deprecated
func (*BatchUpdateGroupStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateGroupStatusRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateGroupStatusRequest) GetIds ¶
func (x *BatchUpdateGroupStatusRequest) GetIds() []uint32
func (*BatchUpdateGroupStatusRequest) GetStatus ¶
func (x *BatchUpdateGroupStatusRequest) GetStatus() api.Status
func (*BatchUpdateGroupStatusRequest) ProtoMessage ¶
func (*BatchUpdateGroupStatusRequest) ProtoMessage()
func (*BatchUpdateGroupStatusRequest) ProtoReflect ¶
func (x *BatchUpdateGroupStatusRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateGroupStatusRequest) Reset ¶
func (x *BatchUpdateGroupStatusRequest) Reset()
func (*BatchUpdateGroupStatusRequest) String ¶
func (x *BatchUpdateGroupStatusRequest) String() string
func (*BatchUpdateGroupStatusRequest) Validate ¶
func (m *BatchUpdateGroupStatusRequest) Validate() error
Validate checks the field values on BatchUpdateGroupStatusRequest 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 (*BatchUpdateGroupStatusRequest) ValidateAll ¶
func (m *BatchUpdateGroupStatusRequest) ValidateAll() error
ValidateAll checks the field values on BatchUpdateGroupStatusRequest 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 BatchUpdateGroupStatusRequestMultiError, or nil if none found.
type BatchUpdateGroupStatusRequestMultiError ¶
type BatchUpdateGroupStatusRequestMultiError []error
BatchUpdateGroupStatusRequestMultiError is an error wrapping multiple validation errors returned by BatchUpdateGroupStatusRequest.ValidateAll() if the designated constraints aren't met.
func (BatchUpdateGroupStatusRequestMultiError) AllErrors ¶
func (m BatchUpdateGroupStatusRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchUpdateGroupStatusRequestMultiError) Error ¶
func (m BatchUpdateGroupStatusRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchUpdateGroupStatusRequestValidationError ¶
type BatchUpdateGroupStatusRequestValidationError struct {
// contains filtered or unexported fields
}
BatchUpdateGroupStatusRequestValidationError is the validation error returned by BatchUpdateGroupStatusRequest.Validate if the designated constraints aren't met.
func (BatchUpdateGroupStatusRequestValidationError) Cause ¶
func (e BatchUpdateGroupStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (BatchUpdateGroupStatusRequestValidationError) Error ¶
func (e BatchUpdateGroupStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (BatchUpdateGroupStatusRequestValidationError) ErrorName ¶
func (e BatchUpdateGroupStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (BatchUpdateGroupStatusRequestValidationError) Field ¶
func (e BatchUpdateGroupStatusRequestValidationError) Field() string
Field function returns field value.
func (BatchUpdateGroupStatusRequestValidationError) Key ¶
func (e BatchUpdateGroupStatusRequestValidationError) Key() bool
Key function returns key value.
func (BatchUpdateGroupStatusRequestValidationError) Reason ¶
func (e BatchUpdateGroupStatusRequestValidationError) Reason() string
Reason function returns reason value.
type CreateGroupReply ¶
type CreateGroupReply struct { // 策略组ID, 创建成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
创建策略组响应参数
func (*CreateGroupReply) Descriptor
deprecated
func (*CreateGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupReply.ProtoReflect.Descriptor instead.
func (*CreateGroupReply) GetId ¶
func (x *CreateGroupReply) GetId() uint32
func (*CreateGroupReply) ProtoMessage ¶
func (*CreateGroupReply) ProtoMessage()
func (*CreateGroupReply) ProtoReflect ¶
func (x *CreateGroupReply) ProtoReflect() protoreflect.Message
func (*CreateGroupReply) Reset ¶
func (x *CreateGroupReply) Reset()
func (*CreateGroupReply) String ¶
func (x *CreateGroupReply) String() string
func (*CreateGroupReply) Validate ¶
func (m *CreateGroupReply) Validate() error
Validate checks the field values on CreateGroupReply 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 (*CreateGroupReply) ValidateAll ¶
func (m *CreateGroupReply) ValidateAll() error
ValidateAll checks the field values on CreateGroupReply 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 CreateGroupReplyMultiError, or nil if none found.
type CreateGroupReplyMultiError ¶
type CreateGroupReplyMultiError []error
CreateGroupReplyMultiError is an error wrapping multiple validation errors returned by CreateGroupReply.ValidateAll() if the designated constraints aren't met.
func (CreateGroupReplyMultiError) AllErrors ¶
func (m CreateGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateGroupReplyMultiError) Error ¶
func (m CreateGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateGroupReplyValidationError ¶
type CreateGroupReplyValidationError struct {
// contains filtered or unexported fields
}
CreateGroupReplyValidationError is the validation error returned by CreateGroupReply.Validate if the designated constraints aren't met.
func (CreateGroupReplyValidationError) Cause ¶
func (e CreateGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateGroupReplyValidationError) Error ¶
func (e CreateGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGroupReplyValidationError) ErrorName ¶
func (e CreateGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGroupReplyValidationError) Field ¶
func (e CreateGroupReplyValidationError) Field() string
Field function returns field value.
func (CreateGroupReplyValidationError) Key ¶
func (e CreateGroupReplyValidationError) Key() bool
Key function returns key value.
func (CreateGroupReplyValidationError) Reason ¶
func (e CreateGroupReplyValidationError) Reason() string
Reason function returns reason value.
type CreateGroupRequest ¶
type CreateGroupRequest struct { // 策略组名称, 长度1-32, 字母数字下划线(^[a-zA-Z0-9_]+$) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 策略组分类的ID, 对应字典表ID, 不允许为0 CategoryIds []uint32 `protobuf:"varint,2,rep,packed,name=categoryIds,proto3" json:"categoryIds,omitempty"` // 策略组备注, 长度0-255 Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"` // contains filtered or unexported fields }
创建策略组请求参数
func (*CreateGroupRequest) Descriptor
deprecated
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateGroupRequest) GetCategoryIds ¶
func (x *CreateGroupRequest) GetCategoryIds() []uint32
func (*CreateGroupRequest) GetName ¶
func (x *CreateGroupRequest) GetName() string
func (*CreateGroupRequest) GetRemark ¶
func (x *CreateGroupRequest) GetRemark() string
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) ProtoReflect ¶
func (x *CreateGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateGroupRequest) Reset ¶
func (x *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (x *CreateGroupRequest) String() string
func (*CreateGroupRequest) Validate ¶
func (m *CreateGroupRequest) Validate() error
Validate checks the field values on CreateGroupRequest 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 (*CreateGroupRequest) ValidateAll ¶
func (m *CreateGroupRequest) ValidateAll() error
ValidateAll checks the field values on CreateGroupRequest 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 CreateGroupRequestMultiError, or nil if none found.
type CreateGroupRequestMultiError ¶
type CreateGroupRequestMultiError []error
CreateGroupRequestMultiError is an error wrapping multiple validation errors returned by CreateGroupRequest.ValidateAll() if the designated constraints aren't met.
func (CreateGroupRequestMultiError) AllErrors ¶
func (m CreateGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateGroupRequestMultiError) Error ¶
func (m CreateGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateGroupRequestValidationError ¶
type CreateGroupRequestValidationError struct {
// contains filtered or unexported fields
}
CreateGroupRequestValidationError is the validation error returned by CreateGroupRequest.Validate if the designated constraints aren't met.
func (CreateGroupRequestValidationError) Cause ¶
func (e CreateGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateGroupRequestValidationError) Error ¶
func (e CreateGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGroupRequestValidationError) ErrorName ¶
func (e CreateGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGroupRequestValidationError) Field ¶
func (e CreateGroupRequestValidationError) Field() string
Field function returns field value.
func (CreateGroupRequestValidationError) Key ¶
func (e CreateGroupRequestValidationError) Key() bool
Key function returns key value.
func (CreateGroupRequestValidationError) Reason ¶
func (e CreateGroupRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteGroupReply ¶
type DeleteGroupReply struct { // 策略组ID, 删除成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除策略组响应参数
func (*DeleteGroupReply) Descriptor
deprecated
func (*DeleteGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupReply.ProtoReflect.Descriptor instead.
func (*DeleteGroupReply) GetId ¶
func (x *DeleteGroupReply) GetId() uint32
func (*DeleteGroupReply) ProtoMessage ¶
func (*DeleteGroupReply) ProtoMessage()
func (*DeleteGroupReply) ProtoReflect ¶
func (x *DeleteGroupReply) ProtoReflect() protoreflect.Message
func (*DeleteGroupReply) Reset ¶
func (x *DeleteGroupReply) Reset()
func (*DeleteGroupReply) String ¶
func (x *DeleteGroupReply) String() string
func (*DeleteGroupReply) Validate ¶
func (m *DeleteGroupReply) Validate() error
Validate checks the field values on DeleteGroupReply 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 (*DeleteGroupReply) ValidateAll ¶
func (m *DeleteGroupReply) ValidateAll() error
ValidateAll checks the field values on DeleteGroupReply 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 DeleteGroupReplyMultiError, or nil if none found.
type DeleteGroupReplyMultiError ¶
type DeleteGroupReplyMultiError []error
DeleteGroupReplyMultiError is an error wrapping multiple validation errors returned by DeleteGroupReply.ValidateAll() if the designated constraints aren't met.
func (DeleteGroupReplyMultiError) AllErrors ¶
func (m DeleteGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteGroupReplyMultiError) Error ¶
func (m DeleteGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteGroupReplyValidationError ¶
type DeleteGroupReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteGroupReplyValidationError is the validation error returned by DeleteGroupReply.Validate if the designated constraints aren't met.
func (DeleteGroupReplyValidationError) Cause ¶
func (e DeleteGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteGroupReplyValidationError) Error ¶
func (e DeleteGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGroupReplyValidationError) ErrorName ¶
func (e DeleteGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteGroupReplyValidationError) Field ¶
func (e DeleteGroupReplyValidationError) Field() string
Field function returns field value.
func (DeleteGroupReplyValidationError) Key ¶
func (e DeleteGroupReplyValidationError) Key() bool
Key function returns key value.
func (DeleteGroupReplyValidationError) Reason ¶
func (e DeleteGroupReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { // 策略组ID, 不允许为0 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
删除策略组请求参数
func (*DeleteGroupRequest) Descriptor
deprecated
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteGroupRequest) GetId ¶
func (x *DeleteGroupRequest) GetId() uint32
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) ProtoReflect ¶
func (x *DeleteGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteGroupRequest) Reset ¶
func (x *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (x *DeleteGroupRequest) String() string
func (*DeleteGroupRequest) Validate ¶
func (m *DeleteGroupRequest) Validate() error
Validate checks the field values on DeleteGroupRequest 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 (*DeleteGroupRequest) ValidateAll ¶
func (m *DeleteGroupRequest) ValidateAll() error
ValidateAll checks the field values on DeleteGroupRequest 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 DeleteGroupRequestMultiError, or nil if none found.
type DeleteGroupRequestMultiError ¶
type DeleteGroupRequestMultiError []error
DeleteGroupRequestMultiError is an error wrapping multiple validation errors returned by DeleteGroupRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteGroupRequestMultiError) AllErrors ¶
func (m DeleteGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteGroupRequestMultiError) Error ¶
func (m DeleteGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteGroupRequestValidationError ¶
type DeleteGroupRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteGroupRequestValidationError is the validation error returned by DeleteGroupRequest.Validate if the designated constraints aren't met.
func (DeleteGroupRequestValidationError) Cause ¶
func (e DeleteGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteGroupRequestValidationError) Error ¶
func (e DeleteGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGroupRequestValidationError) ErrorName ¶
func (e DeleteGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteGroupRequestValidationError) Field ¶
func (e DeleteGroupRequestValidationError) Field() string
Field function returns field value.
func (DeleteGroupRequestValidationError) Key ¶
func (e DeleteGroupRequestValidationError) Key() bool
Key function returns key value.
func (DeleteGroupRequestValidationError) Reason ¶
func (e DeleteGroupRequestValidationError) Reason() string
Reason function returns reason value.
type ExportGroupReply ¶
type ExportGroupReply struct { // 策略列表 Groups []*api.PromRuleGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
导出策略组响应参数
func (*ExportGroupReply) Descriptor
deprecated
func (*ExportGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use ExportGroupReply.ProtoReflect.Descriptor instead.
func (*ExportGroupReply) GetGroups ¶
func (x *ExportGroupReply) GetGroups() []*api.PromRuleGroup
func (*ExportGroupReply) ProtoMessage ¶
func (*ExportGroupReply) ProtoMessage()
func (*ExportGroupReply) ProtoReflect ¶
func (x *ExportGroupReply) ProtoReflect() protoreflect.Message
func (*ExportGroupReply) Reset ¶
func (x *ExportGroupReply) Reset()
func (*ExportGroupReply) String ¶
func (x *ExportGroupReply) String() string
func (*ExportGroupReply) Validate ¶
func (m *ExportGroupReply) Validate() error
Validate checks the field values on ExportGroupReply 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 (*ExportGroupReply) ValidateAll ¶
func (m *ExportGroupReply) ValidateAll() error
ValidateAll checks the field values on ExportGroupReply 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 ExportGroupReplyMultiError, or nil if none found.
type ExportGroupReplyMultiError ¶
type ExportGroupReplyMultiError []error
ExportGroupReplyMultiError is an error wrapping multiple validation errors returned by ExportGroupReply.ValidateAll() if the designated constraints aren't met.
func (ExportGroupReplyMultiError) AllErrors ¶
func (m ExportGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExportGroupReplyMultiError) Error ¶
func (m ExportGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExportGroupReplyValidationError ¶
type ExportGroupReplyValidationError struct {
// contains filtered or unexported fields
}
ExportGroupReplyValidationError is the validation error returned by ExportGroupReply.Validate if the designated constraints aren't met.
func (ExportGroupReplyValidationError) Cause ¶
func (e ExportGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (ExportGroupReplyValidationError) Error ¶
func (e ExportGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ExportGroupReplyValidationError) ErrorName ¶
func (e ExportGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ExportGroupReplyValidationError) Field ¶
func (e ExportGroupReplyValidationError) Field() string
Field function returns field value.
func (ExportGroupReplyValidationError) Key ¶
func (e ExportGroupReplyValidationError) Key() bool
Key function returns key value.
func (ExportGroupReplyValidationError) Reason ¶
func (e ExportGroupReplyValidationError) Reason() string
Reason function returns reason value.
type ExportGroupRequest ¶
type ExportGroupRequest struct { // 策略组ID列表, 最少1个, 最多100个, 不允许为0, 不允许重复 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
导出策略组请求参数
func (*ExportGroupRequest) Descriptor
deprecated
func (*ExportGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportGroupRequest.ProtoReflect.Descriptor instead.
func (*ExportGroupRequest) GetIds ¶
func (x *ExportGroupRequest) GetIds() []uint32
func (*ExportGroupRequest) ProtoMessage ¶
func (*ExportGroupRequest) ProtoMessage()
func (*ExportGroupRequest) ProtoReflect ¶
func (x *ExportGroupRequest) ProtoReflect() protoreflect.Message
func (*ExportGroupRequest) Reset ¶
func (x *ExportGroupRequest) Reset()
func (*ExportGroupRequest) String ¶
func (x *ExportGroupRequest) String() string
func (*ExportGroupRequest) Validate ¶
func (m *ExportGroupRequest) Validate() error
Validate checks the field values on ExportGroupRequest 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 (*ExportGroupRequest) ValidateAll ¶
func (m *ExportGroupRequest) ValidateAll() error
ValidateAll checks the field values on ExportGroupRequest 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 ExportGroupRequestMultiError, or nil if none found.
type ExportGroupRequestMultiError ¶
type ExportGroupRequestMultiError []error
ExportGroupRequestMultiError is an error wrapping multiple validation errors returned by ExportGroupRequest.ValidateAll() if the designated constraints aren't met.
func (ExportGroupRequestMultiError) AllErrors ¶
func (m ExportGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExportGroupRequestMultiError) Error ¶
func (m ExportGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExportGroupRequestValidationError ¶
type ExportGroupRequestValidationError struct {
// contains filtered or unexported fields
}
ExportGroupRequestValidationError is the validation error returned by ExportGroupRequest.Validate if the designated constraints aren't met.
func (ExportGroupRequestValidationError) Cause ¶
func (e ExportGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (ExportGroupRequestValidationError) Error ¶
func (e ExportGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ExportGroupRequestValidationError) ErrorName ¶
func (e ExportGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ExportGroupRequestValidationError) Field ¶
func (e ExportGroupRequestValidationError) Field() string
Field function returns field value.
func (ExportGroupRequestValidationError) Key ¶
func (e ExportGroupRequestValidationError) Key() bool
Key function returns key value.
func (ExportGroupRequestValidationError) Reason ¶
func (e ExportGroupRequestValidationError) Reason() string
Reason function returns reason value.
type GetGroupReply ¶
type GetGroupReply struct { // 策略组信息 Detail *api.PromGroup `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
获取策略组响应参数
func (*GetGroupReply) Descriptor
deprecated
func (*GetGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupReply.ProtoReflect.Descriptor instead.
func (*GetGroupReply) GetDetail ¶
func (x *GetGroupReply) GetDetail() *api.PromGroup
func (*GetGroupReply) ProtoMessage ¶
func (*GetGroupReply) ProtoMessage()
func (*GetGroupReply) ProtoReflect ¶
func (x *GetGroupReply) ProtoReflect() protoreflect.Message
func (*GetGroupReply) Reset ¶
func (x *GetGroupReply) Reset()
func (*GetGroupReply) String ¶
func (x *GetGroupReply) String() string
func (*GetGroupReply) Validate ¶
func (m *GetGroupReply) Validate() error
Validate checks the field values on GetGroupReply 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 (*GetGroupReply) ValidateAll ¶
func (m *GetGroupReply) ValidateAll() error
ValidateAll checks the field values on GetGroupReply 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 GetGroupReplyMultiError, or nil if none found.
type GetGroupReplyMultiError ¶
type GetGroupReplyMultiError []error
GetGroupReplyMultiError is an error wrapping multiple validation errors returned by GetGroupReply.ValidateAll() if the designated constraints aren't met.
func (GetGroupReplyMultiError) AllErrors ¶
func (m GetGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGroupReplyMultiError) Error ¶
func (m GetGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGroupReplyValidationError ¶
type GetGroupReplyValidationError struct {
// contains filtered or unexported fields
}
GetGroupReplyValidationError is the validation error returned by GetGroupReply.Validate if the designated constraints aren't met.
func (GetGroupReplyValidationError) Cause ¶
func (e GetGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (GetGroupReplyValidationError) Error ¶
func (e GetGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupReplyValidationError) ErrorName ¶
func (e GetGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupReplyValidationError) Field ¶
func (e GetGroupReplyValidationError) Field() string
Field function returns field value.
func (GetGroupReplyValidationError) Key ¶
func (e GetGroupReplyValidationError) Key() bool
Key function returns key value.
func (GetGroupReplyValidationError) Reason ¶
func (e GetGroupReplyValidationError) Reason() string
Reason function returns reason value.
type GetGroupRequest ¶
type GetGroupRequest struct { // 策略组ID, 不允许为0, 路径参数 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
获取策略组请求参数
func (*GetGroupRequest) Descriptor
deprecated
func (*GetGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.
func (*GetGroupRequest) GetId ¶
func (x *GetGroupRequest) GetId() uint32
func (*GetGroupRequest) ProtoMessage ¶
func (*GetGroupRequest) ProtoMessage()
func (*GetGroupRequest) ProtoReflect ¶
func (x *GetGroupRequest) ProtoReflect() protoreflect.Message
func (*GetGroupRequest) Reset ¶
func (x *GetGroupRequest) Reset()
func (*GetGroupRequest) String ¶
func (x *GetGroupRequest) String() string
func (*GetGroupRequest) Validate ¶
func (m *GetGroupRequest) Validate() error
Validate checks the field values on GetGroupRequest 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 (*GetGroupRequest) ValidateAll ¶
func (m *GetGroupRequest) ValidateAll() error
ValidateAll checks the field values on GetGroupRequest 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 GetGroupRequestMultiError, or nil if none found.
type GetGroupRequestMultiError ¶
type GetGroupRequestMultiError []error
GetGroupRequestMultiError is an error wrapping multiple validation errors returned by GetGroupRequest.ValidateAll() if the designated constraints aren't met.
func (GetGroupRequestMultiError) AllErrors ¶
func (m GetGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetGroupRequestMultiError) Error ¶
func (m GetGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetGroupRequestValidationError ¶
type GetGroupRequestValidationError struct {
// contains filtered or unexported fields
}
GetGroupRequestValidationError is the validation error returned by GetGroupRequest.Validate if the designated constraints aren't met.
func (GetGroupRequestValidationError) Cause ¶
func (e GetGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (GetGroupRequestValidationError) Error ¶
func (e GetGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetGroupRequestValidationError) ErrorName ¶
func (e GetGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetGroupRequestValidationError) Field ¶
func (e GetGroupRequestValidationError) Field() string
Field function returns field value.
func (GetGroupRequestValidationError) Key ¶
func (e GetGroupRequestValidationError) Key() bool
Key function returns key value.
func (GetGroupRequestValidationError) Reason ¶
func (e GetGroupRequestValidationError) Reason() string
Reason function returns reason value.
type GroupClient ¶
type GroupClient interface { // 创建策略组 CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupReply, error) // 更新策略组 UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*UpdateGroupReply, error) // 批量更新策略组状态 BatchUpdateGroupStatus(ctx context.Context, in *BatchUpdateGroupStatusRequest, opts ...grpc.CallOption) (*BatchUpdateGroupStatusReply, error) // 删除策略组 DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupReply, error) // 批量删除策略组 BatchDeleteGroup(ctx context.Context, in *BatchDeleteGroupRequest, opts ...grpc.CallOption) (*BatchDeleteGroupReply, error) // GetGroup 获取策略组 GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupReply, error) // 获取策略组列表 ListGroup(ctx context.Context, in *ListGroupRequest, opts ...grpc.CallOption) (*ListGroupReply, error) // 获取策略组列表明细 ListAllGroupDetail(ctx context.Context, in *ListAllGroupDetailRequest, opts ...grpc.CallOption) (*ListAllGroupDetailReply, error) // 获取策略组列表明细V2 ListAllGroupDetailV2(ctx context.Context, in *ListAllGroupDetailV2Request, opts ...grpc.CallOption) (*ListAllGroupDetailV2Reply, error) // 获取策略组下拉列表 SelectGroup(ctx context.Context, in *SelectGroupRequest, opts ...grpc.CallOption) (*SelectGroupReply, error) // 导入策略组 ImportGroup(ctx context.Context, in *ImportGroupRequest, opts ...grpc.CallOption) (*ImportGroupReply, error) // 导出策略组 ExportGroup(ctx context.Context, in *ExportGroupRequest, opts ...grpc.CallOption) (*ExportGroupReply, 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 GroupHTTPClient ¶
type GroupHTTPClient interface { BatchDeleteGroup(ctx context.Context, req *BatchDeleteGroupRequest, opts ...http.CallOption) (rsp *BatchDeleteGroupReply, err error) BatchUpdateGroupStatus(ctx context.Context, req *BatchUpdateGroupStatusRequest, opts ...http.CallOption) (rsp *BatchUpdateGroupStatusReply, err error) CreateGroup(ctx context.Context, req *CreateGroupRequest, opts ...http.CallOption) (rsp *CreateGroupReply, err error) DeleteGroup(ctx context.Context, req *DeleteGroupRequest, opts ...http.CallOption) (rsp *DeleteGroupReply, err error) ExportGroup(ctx context.Context, req *ExportGroupRequest, opts ...http.CallOption) (rsp *ExportGroupReply, err error) GetGroup(ctx context.Context, req *GetGroupRequest, opts ...http.CallOption) (rsp *GetGroupReply, err error) ImportGroup(ctx context.Context, req *ImportGroupRequest, opts ...http.CallOption) (rsp *ImportGroupReply, err error) ListAllGroupDetail(ctx context.Context, req *ListAllGroupDetailRequest, opts ...http.CallOption) (rsp *ListAllGroupDetailReply, err error) ListAllGroupDetailV2(ctx context.Context, req *ListAllGroupDetailV2Request, opts ...http.CallOption) (rsp *ListAllGroupDetailV2Reply, err error) ListGroup(ctx context.Context, req *ListGroupRequest, opts ...http.CallOption) (rsp *ListGroupReply, err error) SelectGroup(ctx context.Context, req *SelectGroupRequest, opts ...http.CallOption) (rsp *SelectGroupReply, err error) UpdateGroup(ctx context.Context, req *UpdateGroupRequest, opts ...http.CallOption) (rsp *UpdateGroupReply, err error) }
func NewGroupHTTPClient ¶
func NewGroupHTTPClient(client *http.Client) GroupHTTPClient
type GroupHTTPClientImpl ¶
type GroupHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*GroupHTTPClientImpl) BatchDeleteGroup ¶
func (c *GroupHTTPClientImpl) BatchDeleteGroup(ctx context.Context, in *BatchDeleteGroupRequest, opts ...http.CallOption) (*BatchDeleteGroupReply, error)
func (*GroupHTTPClientImpl) BatchUpdateGroupStatus ¶
func (c *GroupHTTPClientImpl) BatchUpdateGroupStatus(ctx context.Context, in *BatchUpdateGroupStatusRequest, opts ...http.CallOption) (*BatchUpdateGroupStatusReply, error)
func (*GroupHTTPClientImpl) CreateGroup ¶
func (c *GroupHTTPClientImpl) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...http.CallOption) (*CreateGroupReply, error)
func (*GroupHTTPClientImpl) DeleteGroup ¶
func (c *GroupHTTPClientImpl) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...http.CallOption) (*DeleteGroupReply, error)
func (*GroupHTTPClientImpl) ExportGroup ¶
func (c *GroupHTTPClientImpl) ExportGroup(ctx context.Context, in *ExportGroupRequest, opts ...http.CallOption) (*ExportGroupReply, error)
func (*GroupHTTPClientImpl) GetGroup ¶
func (c *GroupHTTPClientImpl) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...http.CallOption) (*GetGroupReply, error)
func (*GroupHTTPClientImpl) ImportGroup ¶
func (c *GroupHTTPClientImpl) ImportGroup(ctx context.Context, in *ImportGroupRequest, opts ...http.CallOption) (*ImportGroupReply, error)
func (*GroupHTTPClientImpl) ListAllGroupDetail ¶
func (c *GroupHTTPClientImpl) ListAllGroupDetail(ctx context.Context, in *ListAllGroupDetailRequest, opts ...http.CallOption) (*ListAllGroupDetailReply, error)
func (*GroupHTTPClientImpl) ListAllGroupDetailV2 ¶ added in v0.0.16
func (c *GroupHTTPClientImpl) ListAllGroupDetailV2(ctx context.Context, in *ListAllGroupDetailV2Request, opts ...http.CallOption) (*ListAllGroupDetailV2Reply, error)
func (*GroupHTTPClientImpl) ListGroup ¶
func (c *GroupHTTPClientImpl) ListGroup(ctx context.Context, in *ListGroupRequest, opts ...http.CallOption) (*ListGroupReply, error)
func (*GroupHTTPClientImpl) SelectGroup ¶
func (c *GroupHTTPClientImpl) SelectGroup(ctx context.Context, in *SelectGroupRequest, opts ...http.CallOption) (*SelectGroupReply, error)
func (*GroupHTTPClientImpl) UpdateGroup ¶
func (c *GroupHTTPClientImpl) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...http.CallOption) (*UpdateGroupReply, error)
type GroupHTTPServer ¶
type GroupHTTPServer interface { // BatchDeleteGroup 批量删除策略组 BatchDeleteGroup(context.Context, *BatchDeleteGroupRequest) (*BatchDeleteGroupReply, error) // BatchUpdateGroupStatus 批量更新策略组状态 BatchUpdateGroupStatus(context.Context, *BatchUpdateGroupStatusRequest) (*BatchUpdateGroupStatusReply, error) // CreateGroup 创建策略组 CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupReply, error) // DeleteGroup 删除策略组 DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupReply, error) // ExportGroup 导出策略组 ExportGroup(context.Context, *ExportGroupRequest) (*ExportGroupReply, error) // GetGroup GetGroup 获取策略组 GetGroup(context.Context, *GetGroupRequest) (*GetGroupReply, error) // ImportGroup 导入策略组 ImportGroup(context.Context, *ImportGroupRequest) (*ImportGroupReply, error) // ListAllGroupDetail 获取策略组列表明细 ListAllGroupDetail(context.Context, *ListAllGroupDetailRequest) (*ListAllGroupDetailReply, error) // ListAllGroupDetailV2 获取策略组列表明细V2 ListAllGroupDetailV2(context.Context, *ListAllGroupDetailV2Request) (*ListAllGroupDetailV2Reply, error) // ListGroup 获取策略组列表 ListGroup(context.Context, *ListGroupRequest) (*ListGroupReply, error) // SelectGroup 获取策略组下拉列表 SelectGroup(context.Context, *SelectGroupRequest) (*SelectGroupReply, error) // UpdateGroup 更新策略组 UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupReply, error) }
type GroupServer ¶
type GroupServer interface { // 创建策略组 CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupReply, error) // 更新策略组 UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupReply, error) // 批量更新策略组状态 BatchUpdateGroupStatus(context.Context, *BatchUpdateGroupStatusRequest) (*BatchUpdateGroupStatusReply, error) // 删除策略组 DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupReply, error) // 批量删除策略组 BatchDeleteGroup(context.Context, *BatchDeleteGroupRequest) (*BatchDeleteGroupReply, error) // GetGroup 获取策略组 GetGroup(context.Context, *GetGroupRequest) (*GetGroupReply, error) // 获取策略组列表 ListGroup(context.Context, *ListGroupRequest) (*ListGroupReply, error) // 获取策略组列表明细 ListAllGroupDetail(context.Context, *ListAllGroupDetailRequest) (*ListAllGroupDetailReply, error) // 获取策略组列表明细V2 ListAllGroupDetailV2(context.Context, *ListAllGroupDetailV2Request) (*ListAllGroupDetailV2Reply, error) // 获取策略组下拉列表 SelectGroup(context.Context, *SelectGroupRequest) (*SelectGroupReply, error) // 导入策略组 ImportGroup(context.Context, *ImportGroupRequest) (*ImportGroupReply, error) // 导出策略组 ExportGroup(context.Context, *ExportGroupRequest) (*ExportGroupReply, error) // contains filtered or unexported methods }
GroupServer is the server API for Group service. All implementations must embed UnimplementedGroupServer for forward compatibility
type ImportGroupReply ¶
type ImportGroupReply struct { // 导入成功的策略组ID列表 Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
导入策略组响应参数
func (*ImportGroupReply) Descriptor
deprecated
func (*ImportGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use ImportGroupReply.ProtoReflect.Descriptor instead.
func (*ImportGroupReply) GetIds ¶
func (x *ImportGroupReply) GetIds() []uint32
func (*ImportGroupReply) ProtoMessage ¶
func (*ImportGroupReply) ProtoMessage()
func (*ImportGroupReply) ProtoReflect ¶
func (x *ImportGroupReply) ProtoReflect() protoreflect.Message
func (*ImportGroupReply) Reset ¶
func (x *ImportGroupReply) Reset()
func (*ImportGroupReply) String ¶
func (x *ImportGroupReply) String() string
func (*ImportGroupReply) Validate ¶
func (m *ImportGroupReply) Validate() error
Validate checks the field values on ImportGroupReply 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 (*ImportGroupReply) ValidateAll ¶
func (m *ImportGroupReply) ValidateAll() error
ValidateAll checks the field values on ImportGroupReply 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 ImportGroupReplyMultiError, or nil if none found.
type ImportGroupReplyMultiError ¶
type ImportGroupReplyMultiError []error
ImportGroupReplyMultiError is an error wrapping multiple validation errors returned by ImportGroupReply.ValidateAll() if the designated constraints aren't met.
func (ImportGroupReplyMultiError) AllErrors ¶
func (m ImportGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImportGroupReplyMultiError) Error ¶
func (m ImportGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImportGroupReplyValidationError ¶
type ImportGroupReplyValidationError struct {
// contains filtered or unexported fields
}
ImportGroupReplyValidationError is the validation error returned by ImportGroupReply.Validate if the designated constraints aren't met.
func (ImportGroupReplyValidationError) Cause ¶
func (e ImportGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (ImportGroupReplyValidationError) Error ¶
func (e ImportGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ImportGroupReplyValidationError) ErrorName ¶
func (e ImportGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ImportGroupReplyValidationError) Field ¶
func (e ImportGroupReplyValidationError) Field() string
Field function returns field value.
func (ImportGroupReplyValidationError) Key ¶
func (e ImportGroupReplyValidationError) Key() bool
Key function returns key value.
func (ImportGroupReplyValidationError) Reason ¶
func (e ImportGroupReplyValidationError) Reason() string
Reason function returns reason value.
type ImportGroupRequest ¶
type ImportGroupRequest struct { // 规则组, 最少1个, 最多100个, 不允许重复 Groups []*api.PromRuleGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // 数据源 DatasourceId uint32 `protobuf:"varint,2,opt,name=datasourceId,proto3" json:"datasourceId,omitempty"` // 默认告警等级 DefaultLevel uint32 `protobuf:"varint,3,opt,name=defaultLevel,proto3" json:"defaultLevel,omitempty"` // 默认告警页面 DefaultAlarmPageIds []uint32 `protobuf:"varint,4,rep,packed,name=defaultAlarmPageIds,proto3" json:"defaultAlarmPageIds,omitempty"` // 默认业务类型 DefaultCategoryIds []uint32 `protobuf:"varint,5,rep,packed,name=defaultCategoryIds,proto3" json:"defaultCategoryIds,omitempty"` // 告警通知对象 DefaultAlarmNotifyIds []uint32 `protobuf:"varint,6,rep,packed,name=defaultAlarmNotifyIds,proto3" json:"defaultAlarmNotifyIds,omitempty"` // contains filtered or unexported fields }
导入策略组请求参数
func (*ImportGroupRequest) Descriptor
deprecated
func (*ImportGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportGroupRequest.ProtoReflect.Descriptor instead.
func (*ImportGroupRequest) GetDatasourceId ¶
func (x *ImportGroupRequest) GetDatasourceId() uint32
func (*ImportGroupRequest) GetDefaultAlarmNotifyIds ¶
func (x *ImportGroupRequest) GetDefaultAlarmNotifyIds() []uint32
func (*ImportGroupRequest) GetDefaultAlarmPageIds ¶
func (x *ImportGroupRequest) GetDefaultAlarmPageIds() []uint32
func (*ImportGroupRequest) GetDefaultCategoryIds ¶
func (x *ImportGroupRequest) GetDefaultCategoryIds() []uint32
func (*ImportGroupRequest) GetDefaultLevel ¶
func (x *ImportGroupRequest) GetDefaultLevel() uint32
func (*ImportGroupRequest) GetGroups ¶
func (x *ImportGroupRequest) GetGroups() []*api.PromRuleGroup
func (*ImportGroupRequest) ProtoMessage ¶
func (*ImportGroupRequest) ProtoMessage()
func (*ImportGroupRequest) ProtoReflect ¶
func (x *ImportGroupRequest) ProtoReflect() protoreflect.Message
func (*ImportGroupRequest) Reset ¶
func (x *ImportGroupRequest) Reset()
func (*ImportGroupRequest) String ¶
func (x *ImportGroupRequest) String() string
func (*ImportGroupRequest) Validate ¶
func (m *ImportGroupRequest) Validate() error
Validate checks the field values on ImportGroupRequest 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 (*ImportGroupRequest) ValidateAll ¶
func (m *ImportGroupRequest) ValidateAll() error
ValidateAll checks the field values on ImportGroupRequest 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 ImportGroupRequestMultiError, or nil if none found.
type ImportGroupRequestMultiError ¶
type ImportGroupRequestMultiError []error
ImportGroupRequestMultiError is an error wrapping multiple validation errors returned by ImportGroupRequest.ValidateAll() if the designated constraints aren't met.
func (ImportGroupRequestMultiError) AllErrors ¶
func (m ImportGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImportGroupRequestMultiError) Error ¶
func (m ImportGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImportGroupRequestValidationError ¶
type ImportGroupRequestValidationError struct {
// contains filtered or unexported fields
}
ImportGroupRequestValidationError is the validation error returned by ImportGroupRequest.Validate if the designated constraints aren't met.
func (ImportGroupRequestValidationError) Cause ¶
func (e ImportGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (ImportGroupRequestValidationError) Error ¶
func (e ImportGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ImportGroupRequestValidationError) ErrorName ¶
func (e ImportGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ImportGroupRequestValidationError) Field ¶
func (e ImportGroupRequestValidationError) Field() string
Field function returns field value.
func (ImportGroupRequestValidationError) Key ¶
func (e ImportGroupRequestValidationError) Key() bool
Key function returns key value.
func (ImportGroupRequestValidationError) Reason ¶
func (e ImportGroupRequestValidationError) Reason() string
Reason function returns reason value.
type ListAllGroupDetailReply ¶
type ListAllGroupDetailReply struct { GroupList []*api.GroupSimple `protobuf:"bytes,1,rep,name=groupList,proto3" json:"groupList,omitempty"` // contains filtered or unexported fields }
func (*ListAllGroupDetailReply) Descriptor
deprecated
func (*ListAllGroupDetailReply) Descriptor() ([]byte, []int)
Deprecated: Use ListAllGroupDetailReply.ProtoReflect.Descriptor instead.
func (*ListAllGroupDetailReply) GetGroupList ¶
func (x *ListAllGroupDetailReply) GetGroupList() []*api.GroupSimple
func (*ListAllGroupDetailReply) ProtoMessage ¶
func (*ListAllGroupDetailReply) ProtoMessage()
func (*ListAllGroupDetailReply) ProtoReflect ¶
func (x *ListAllGroupDetailReply) ProtoReflect() protoreflect.Message
func (*ListAllGroupDetailReply) Reset ¶
func (x *ListAllGroupDetailReply) Reset()
func (*ListAllGroupDetailReply) String ¶
func (x *ListAllGroupDetailReply) String() string
func (*ListAllGroupDetailReply) Validate ¶
func (m *ListAllGroupDetailReply) Validate() error
Validate checks the field values on ListAllGroupDetailReply 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 (*ListAllGroupDetailReply) ValidateAll ¶
func (m *ListAllGroupDetailReply) ValidateAll() error
ValidateAll checks the field values on ListAllGroupDetailReply 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 ListAllGroupDetailReplyMultiError, or nil if none found.
type ListAllGroupDetailReplyMultiError ¶
type ListAllGroupDetailReplyMultiError []error
ListAllGroupDetailReplyMultiError is an error wrapping multiple validation errors returned by ListAllGroupDetailReply.ValidateAll() if the designated constraints aren't met.
func (ListAllGroupDetailReplyMultiError) AllErrors ¶
func (m ListAllGroupDetailReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAllGroupDetailReplyMultiError) Error ¶
func (m ListAllGroupDetailReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAllGroupDetailReplyValidationError ¶
type ListAllGroupDetailReplyValidationError struct {
// contains filtered or unexported fields
}
ListAllGroupDetailReplyValidationError is the validation error returned by ListAllGroupDetailReply.Validate if the designated constraints aren't met.
func (ListAllGroupDetailReplyValidationError) Cause ¶
func (e ListAllGroupDetailReplyValidationError) Cause() error
Cause function returns cause value.
func (ListAllGroupDetailReplyValidationError) Error ¶
func (e ListAllGroupDetailReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListAllGroupDetailReplyValidationError) ErrorName ¶
func (e ListAllGroupDetailReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListAllGroupDetailReplyValidationError) Field ¶
func (e ListAllGroupDetailReplyValidationError) Field() string
Field function returns field value.
func (ListAllGroupDetailReplyValidationError) Key ¶
func (e ListAllGroupDetailReplyValidationError) Key() bool
Key function returns key value.
func (ListAllGroupDetailReplyValidationError) Reason ¶
func (e ListAllGroupDetailReplyValidationError) Reason() string
Reason function returns reason value.
type ListAllGroupDetailRequest ¶
type ListAllGroupDetailRequest struct { GroupIds []uint32 `protobuf:"varint,1,rep,packed,name=groupIds,proto3" json:"groupIds,omitempty"` // contains filtered or unexported fields }
获取策略组列表明细请求参数
func (*ListAllGroupDetailRequest) Descriptor
deprecated
func (*ListAllGroupDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAllGroupDetailRequest.ProtoReflect.Descriptor instead.
func (*ListAllGroupDetailRequest) GetGroupIds ¶
func (x *ListAllGroupDetailRequest) GetGroupIds() []uint32
func (*ListAllGroupDetailRequest) ProtoMessage ¶
func (*ListAllGroupDetailRequest) ProtoMessage()
func (*ListAllGroupDetailRequest) ProtoReflect ¶
func (x *ListAllGroupDetailRequest) ProtoReflect() protoreflect.Message
func (*ListAllGroupDetailRequest) Reset ¶
func (x *ListAllGroupDetailRequest) Reset()
func (*ListAllGroupDetailRequest) String ¶
func (x *ListAllGroupDetailRequest) String() string
func (*ListAllGroupDetailRequest) Validate ¶
func (m *ListAllGroupDetailRequest) Validate() error
Validate checks the field values on ListAllGroupDetailRequest 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 (*ListAllGroupDetailRequest) ValidateAll ¶
func (m *ListAllGroupDetailRequest) ValidateAll() error
ValidateAll checks the field values on ListAllGroupDetailRequest 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 ListAllGroupDetailRequestMultiError, or nil if none found.
type ListAllGroupDetailRequestMultiError ¶
type ListAllGroupDetailRequestMultiError []error
ListAllGroupDetailRequestMultiError is an error wrapping multiple validation errors returned by ListAllGroupDetailRequest.ValidateAll() if the designated constraints aren't met.
func (ListAllGroupDetailRequestMultiError) AllErrors ¶
func (m ListAllGroupDetailRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAllGroupDetailRequestMultiError) Error ¶
func (m ListAllGroupDetailRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAllGroupDetailRequestValidationError ¶
type ListAllGroupDetailRequestValidationError struct {
// contains filtered or unexported fields
}
ListAllGroupDetailRequestValidationError is the validation error returned by ListAllGroupDetailRequest.Validate if the designated constraints aren't met.
func (ListAllGroupDetailRequestValidationError) Cause ¶
func (e ListAllGroupDetailRequestValidationError) Cause() error
Cause function returns cause value.
func (ListAllGroupDetailRequestValidationError) Error ¶
func (e ListAllGroupDetailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListAllGroupDetailRequestValidationError) ErrorName ¶
func (e ListAllGroupDetailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListAllGroupDetailRequestValidationError) Field ¶
func (e ListAllGroupDetailRequestValidationError) Field() string
Field function returns field value.
func (ListAllGroupDetailRequestValidationError) Key ¶
func (e ListAllGroupDetailRequestValidationError) Key() bool
Key function returns key value.
func (ListAllGroupDetailRequestValidationError) Reason ¶
func (e ListAllGroupDetailRequestValidationError) Reason() string
Reason function returns reason value.
type ListAllGroupDetailV2Reply ¶ added in v0.0.16
type ListAllGroupDetailV2Reply struct { GroupList []*api.EvaluateGroup `protobuf:"bytes,1,rep,name=groupList,proto3" json:"groupList,omitempty"` // contains filtered or unexported fields }
func (*ListAllGroupDetailV2Reply) Descriptor
deprecated
added in
v0.0.16
func (*ListAllGroupDetailV2Reply) Descriptor() ([]byte, []int)
Deprecated: Use ListAllGroupDetailV2Reply.ProtoReflect.Descriptor instead.
func (*ListAllGroupDetailV2Reply) GetGroupList ¶ added in v0.0.16
func (x *ListAllGroupDetailV2Reply) GetGroupList() []*api.EvaluateGroup
func (*ListAllGroupDetailV2Reply) ProtoMessage ¶ added in v0.0.16
func (*ListAllGroupDetailV2Reply) ProtoMessage()
func (*ListAllGroupDetailV2Reply) ProtoReflect ¶ added in v0.0.16
func (x *ListAllGroupDetailV2Reply) ProtoReflect() protoreflect.Message
func (*ListAllGroupDetailV2Reply) Reset ¶ added in v0.0.16
func (x *ListAllGroupDetailV2Reply) Reset()
func (*ListAllGroupDetailV2Reply) String ¶ added in v0.0.16
func (x *ListAllGroupDetailV2Reply) String() string
func (*ListAllGroupDetailV2Reply) Validate ¶ added in v0.0.16
func (m *ListAllGroupDetailV2Reply) Validate() error
Validate checks the field values on ListAllGroupDetailV2Reply 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 (*ListAllGroupDetailV2Reply) ValidateAll ¶ added in v0.0.16
func (m *ListAllGroupDetailV2Reply) ValidateAll() error
ValidateAll checks the field values on ListAllGroupDetailV2Reply 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 ListAllGroupDetailV2ReplyMultiError, or nil if none found.
type ListAllGroupDetailV2ReplyMultiError ¶ added in v0.0.16
type ListAllGroupDetailV2ReplyMultiError []error
ListAllGroupDetailV2ReplyMultiError is an error wrapping multiple validation errors returned by ListAllGroupDetailV2Reply.ValidateAll() if the designated constraints aren't met.
func (ListAllGroupDetailV2ReplyMultiError) AllErrors ¶ added in v0.0.16
func (m ListAllGroupDetailV2ReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAllGroupDetailV2ReplyMultiError) Error ¶ added in v0.0.16
func (m ListAllGroupDetailV2ReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAllGroupDetailV2ReplyValidationError ¶ added in v0.0.16
type ListAllGroupDetailV2ReplyValidationError struct {
// contains filtered or unexported fields
}
ListAllGroupDetailV2ReplyValidationError is the validation error returned by ListAllGroupDetailV2Reply.Validate if the designated constraints aren't met.
func (ListAllGroupDetailV2ReplyValidationError) Cause ¶ added in v0.0.16
func (e ListAllGroupDetailV2ReplyValidationError) Cause() error
Cause function returns cause value.
func (ListAllGroupDetailV2ReplyValidationError) Error ¶ added in v0.0.16
func (e ListAllGroupDetailV2ReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListAllGroupDetailV2ReplyValidationError) ErrorName ¶ added in v0.0.16
func (e ListAllGroupDetailV2ReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListAllGroupDetailV2ReplyValidationError) Field ¶ added in v0.0.16
func (e ListAllGroupDetailV2ReplyValidationError) Field() string
Field function returns field value.
func (ListAllGroupDetailV2ReplyValidationError) Key ¶ added in v0.0.16
func (e ListAllGroupDetailV2ReplyValidationError) Key() bool
Key function returns key value.
func (ListAllGroupDetailV2ReplyValidationError) Reason ¶ added in v0.0.16
func (e ListAllGroupDetailV2ReplyValidationError) Reason() string
Reason function returns reason value.
type ListAllGroupDetailV2Request ¶ added in v0.0.16
type ListAllGroupDetailV2Request struct { GroupIds []uint32 `protobuf:"varint,1,rep,packed,name=groupIds,proto3" json:"groupIds,omitempty"` // contains filtered or unexported fields }
获取策略组列表明细V2请求参数
func (*ListAllGroupDetailV2Request) Descriptor
deprecated
added in
v0.0.16
func (*ListAllGroupDetailV2Request) Descriptor() ([]byte, []int)
Deprecated: Use ListAllGroupDetailV2Request.ProtoReflect.Descriptor instead.
func (*ListAllGroupDetailV2Request) GetGroupIds ¶ added in v0.0.16
func (x *ListAllGroupDetailV2Request) GetGroupIds() []uint32
func (*ListAllGroupDetailV2Request) ProtoMessage ¶ added in v0.0.16
func (*ListAllGroupDetailV2Request) ProtoMessage()
func (*ListAllGroupDetailV2Request) ProtoReflect ¶ added in v0.0.16
func (x *ListAllGroupDetailV2Request) ProtoReflect() protoreflect.Message
func (*ListAllGroupDetailV2Request) Reset ¶ added in v0.0.16
func (x *ListAllGroupDetailV2Request) Reset()
func (*ListAllGroupDetailV2Request) String ¶ added in v0.0.16
func (x *ListAllGroupDetailV2Request) String() string
func (*ListAllGroupDetailV2Request) Validate ¶ added in v0.0.16
func (m *ListAllGroupDetailV2Request) Validate() error
Validate checks the field values on ListAllGroupDetailV2Request 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 (*ListAllGroupDetailV2Request) ValidateAll ¶ added in v0.0.16
func (m *ListAllGroupDetailV2Request) ValidateAll() error
ValidateAll checks the field values on ListAllGroupDetailV2Request 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 ListAllGroupDetailV2RequestMultiError, or nil if none found.
type ListAllGroupDetailV2RequestMultiError ¶ added in v0.0.16
type ListAllGroupDetailV2RequestMultiError []error
ListAllGroupDetailV2RequestMultiError is an error wrapping multiple validation errors returned by ListAllGroupDetailV2Request.ValidateAll() if the designated constraints aren't met.
func (ListAllGroupDetailV2RequestMultiError) AllErrors ¶ added in v0.0.16
func (m ListAllGroupDetailV2RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAllGroupDetailV2RequestMultiError) Error ¶ added in v0.0.16
func (m ListAllGroupDetailV2RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAllGroupDetailV2RequestValidationError ¶ added in v0.0.16
type ListAllGroupDetailV2RequestValidationError struct {
// contains filtered or unexported fields
}
ListAllGroupDetailV2RequestValidationError is the validation error returned by ListAllGroupDetailV2Request.Validate if the designated constraints aren't met.
func (ListAllGroupDetailV2RequestValidationError) Cause ¶ added in v0.0.16
func (e ListAllGroupDetailV2RequestValidationError) Cause() error
Cause function returns cause value.
func (ListAllGroupDetailV2RequestValidationError) Error ¶ added in v0.0.16
func (e ListAllGroupDetailV2RequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListAllGroupDetailV2RequestValidationError) ErrorName ¶ added in v0.0.16
func (e ListAllGroupDetailV2RequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListAllGroupDetailV2RequestValidationError) Field ¶ added in v0.0.16
func (e ListAllGroupDetailV2RequestValidationError) Field() string
Field function returns field value.
func (ListAllGroupDetailV2RequestValidationError) Key ¶ added in v0.0.16
func (e ListAllGroupDetailV2RequestValidationError) Key() bool
Key function returns key value.
func (ListAllGroupDetailV2RequestValidationError) Reason ¶ added in v0.0.16
func (e ListAllGroupDetailV2RequestValidationError) Reason() string
Reason function returns reason value.
type ListGroupReply ¶
type ListGroupReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 策略组列表 List []*api.PromGroup `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取策略组列表响应参数
func (*ListGroupReply) Descriptor
deprecated
func (*ListGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupReply.ProtoReflect.Descriptor instead.
func (*ListGroupReply) GetList ¶
func (x *ListGroupReply) GetList() []*api.PromGroup
func (*ListGroupReply) GetPage ¶
func (x *ListGroupReply) GetPage() *api.PageReply
func (*ListGroupReply) ProtoMessage ¶
func (*ListGroupReply) ProtoMessage()
func (*ListGroupReply) ProtoReflect ¶
func (x *ListGroupReply) ProtoReflect() protoreflect.Message
func (*ListGroupReply) Reset ¶
func (x *ListGroupReply) Reset()
func (*ListGroupReply) String ¶
func (x *ListGroupReply) String() string
func (*ListGroupReply) Validate ¶
func (m *ListGroupReply) Validate() error
Validate checks the field values on ListGroupReply 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 (*ListGroupReply) ValidateAll ¶
func (m *ListGroupReply) ValidateAll() error
ValidateAll checks the field values on ListGroupReply 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 ListGroupReplyMultiError, or nil if none found.
type ListGroupReplyMultiError ¶
type ListGroupReplyMultiError []error
ListGroupReplyMultiError is an error wrapping multiple validation errors returned by ListGroupReply.ValidateAll() if the designated constraints aren't met.
func (ListGroupReplyMultiError) AllErrors ¶
func (m ListGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListGroupReplyMultiError) Error ¶
func (m ListGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListGroupReplyValidationError ¶
type ListGroupReplyValidationError struct {
// contains filtered or unexported fields
}
ListGroupReplyValidationError is the validation error returned by ListGroupReply.Validate if the designated constraints aren't met.
func (ListGroupReplyValidationError) Cause ¶
func (e ListGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (ListGroupReplyValidationError) Error ¶
func (e ListGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupReplyValidationError) ErrorName ¶
func (e ListGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListGroupReplyValidationError) Field ¶
func (e ListGroupReplyValidationError) Field() string
Field function returns field value.
func (ListGroupReplyValidationError) Key ¶
func (e ListGroupReplyValidationError) Key() bool
Key function returns key value.
func (ListGroupReplyValidationError) Reason ¶
func (e ListGroupReplyValidationError) Reason() string
Reason function returns reason value.
type ListGroupRequest ¶
type ListGroupRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 长度0-32 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 分类ID列表, 不允许为0, 不允许重复, 非必填, 取自字典表ID CategoryIds []uint32 `protobuf:"varint,3,rep,packed,name=categoryIds,proto3" json:"categoryIds,omitempty"` // 策略组状态 Status api.Status `protobuf:"varint,4,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // 开始时间,unix时间戳 StartAt uint64 `protobuf:"varint,5,opt,name=startAt,proto3" json:"startAt,omitempty"` // 结束时间,unix时间戳 EndAt uint64 `protobuf:"varint,6,opt,name=endAt,proto3" json:"endAt,omitempty"` // id Ids []uint32 `protobuf:"varint,7,rep,packed,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
获取策略组列表请求参数
func (*ListGroupRequest) Descriptor
deprecated
func (*ListGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupRequest.ProtoReflect.Descriptor instead.
func (*ListGroupRequest) GetCategoryIds ¶
func (x *ListGroupRequest) GetCategoryIds() []uint32
func (*ListGroupRequest) GetEndAt ¶
func (x *ListGroupRequest) GetEndAt() uint64
func (*ListGroupRequest) GetIds ¶
func (x *ListGroupRequest) GetIds() []uint32
func (*ListGroupRequest) GetKeyword ¶
func (x *ListGroupRequest) GetKeyword() string
func (*ListGroupRequest) GetPage ¶
func (x *ListGroupRequest) GetPage() *api.PageRequest
func (*ListGroupRequest) GetStartAt ¶
func (x *ListGroupRequest) GetStartAt() uint64
func (*ListGroupRequest) GetStatus ¶
func (x *ListGroupRequest) GetStatus() api.Status
func (*ListGroupRequest) ProtoMessage ¶
func (*ListGroupRequest) ProtoMessage()
func (*ListGroupRequest) ProtoReflect ¶
func (x *ListGroupRequest) ProtoReflect() protoreflect.Message
func (*ListGroupRequest) Reset ¶
func (x *ListGroupRequest) Reset()
func (*ListGroupRequest) String ¶
func (x *ListGroupRequest) String() string
func (*ListGroupRequest) Validate ¶
func (m *ListGroupRequest) Validate() error
Validate checks the field values on ListGroupRequest 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 (*ListGroupRequest) ValidateAll ¶
func (m *ListGroupRequest) ValidateAll() error
ValidateAll checks the field values on ListGroupRequest 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 ListGroupRequestMultiError, or nil if none found.
type ListGroupRequestMultiError ¶
type ListGroupRequestMultiError []error
ListGroupRequestMultiError is an error wrapping multiple validation errors returned by ListGroupRequest.ValidateAll() if the designated constraints aren't met.
func (ListGroupRequestMultiError) AllErrors ¶
func (m ListGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListGroupRequestMultiError) Error ¶
func (m ListGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListGroupRequestValidationError ¶
type ListGroupRequestValidationError struct {
// contains filtered or unexported fields
}
ListGroupRequestValidationError is the validation error returned by ListGroupRequest.Validate if the designated constraints aren't met.
func (ListGroupRequestValidationError) Cause ¶
func (e ListGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (ListGroupRequestValidationError) Error ¶
func (e ListGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupRequestValidationError) ErrorName ¶
func (e ListGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListGroupRequestValidationError) Field ¶
func (e ListGroupRequestValidationError) Field() string
Field function returns field value.
func (ListGroupRequestValidationError) Key ¶
func (e ListGroupRequestValidationError) Key() bool
Key function returns key value.
func (ListGroupRequestValidationError) Reason ¶
func (e ListGroupRequestValidationError) Reason() string
Reason function returns reason value.
type SelectGroupReply ¶
type SelectGroupReply struct { // 分页参数 Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 策略组列表 List []*api.PromGroupSelectV1 `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
获取策略组下拉列表响应列表
func (*SelectGroupReply) Descriptor
deprecated
func (*SelectGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use SelectGroupReply.ProtoReflect.Descriptor instead.
func (*SelectGroupReply) GetList ¶
func (x *SelectGroupReply) GetList() []*api.PromGroupSelectV1
func (*SelectGroupReply) GetPage ¶
func (x *SelectGroupReply) GetPage() *api.PageReply
func (*SelectGroupReply) ProtoMessage ¶
func (*SelectGroupReply) ProtoMessage()
func (*SelectGroupReply) ProtoReflect ¶
func (x *SelectGroupReply) ProtoReflect() protoreflect.Message
func (*SelectGroupReply) Reset ¶
func (x *SelectGroupReply) Reset()
func (*SelectGroupReply) String ¶
func (x *SelectGroupReply) String() string
func (*SelectGroupReply) Validate ¶
func (m *SelectGroupReply) Validate() error
Validate checks the field values on SelectGroupReply 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 (*SelectGroupReply) ValidateAll ¶
func (m *SelectGroupReply) ValidateAll() error
ValidateAll checks the field values on SelectGroupReply 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 SelectGroupReplyMultiError, or nil if none found.
type SelectGroupReplyMultiError ¶
type SelectGroupReplyMultiError []error
SelectGroupReplyMultiError is an error wrapping multiple validation errors returned by SelectGroupReply.ValidateAll() if the designated constraints aren't met.
func (SelectGroupReplyMultiError) AllErrors ¶
func (m SelectGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectGroupReplyMultiError) Error ¶
func (m SelectGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectGroupReplyValidationError ¶
type SelectGroupReplyValidationError struct {
// contains filtered or unexported fields
}
SelectGroupReplyValidationError is the validation error returned by SelectGroupReply.Validate if the designated constraints aren't met.
func (SelectGroupReplyValidationError) Cause ¶
func (e SelectGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (SelectGroupReplyValidationError) Error ¶
func (e SelectGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (SelectGroupReplyValidationError) ErrorName ¶
func (e SelectGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (SelectGroupReplyValidationError) Field ¶
func (e SelectGroupReplyValidationError) Field() string
Field function returns field value.
func (SelectGroupReplyValidationError) Key ¶
func (e SelectGroupReplyValidationError) Key() bool
Key function returns key value.
func (SelectGroupReplyValidationError) Reason ¶
func (e SelectGroupReplyValidationError) Reason() string
Reason function returns reason value.
type SelectGroupRequest ¶
type SelectGroupRequest struct { // 分页参数, 必填 Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // 关键字, 长度0-32 Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"` // 状态 Status api.Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"` // contains filtered or unexported fields }
获取策略组下拉列表请求参数
func (*SelectGroupRequest) Descriptor
deprecated
func (*SelectGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectGroupRequest.ProtoReflect.Descriptor instead.
func (*SelectGroupRequest) GetKeyword ¶
func (x *SelectGroupRequest) GetKeyword() string
func (*SelectGroupRequest) GetPage ¶
func (x *SelectGroupRequest) GetPage() *api.PageRequest
func (*SelectGroupRequest) GetStatus ¶
func (x *SelectGroupRequest) GetStatus() api.Status
func (*SelectGroupRequest) ProtoMessage ¶
func (*SelectGroupRequest) ProtoMessage()
func (*SelectGroupRequest) ProtoReflect ¶
func (x *SelectGroupRequest) ProtoReflect() protoreflect.Message
func (*SelectGroupRequest) Reset ¶
func (x *SelectGroupRequest) Reset()
func (*SelectGroupRequest) String ¶
func (x *SelectGroupRequest) String() string
func (*SelectGroupRequest) Validate ¶
func (m *SelectGroupRequest) Validate() error
Validate checks the field values on SelectGroupRequest 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 (*SelectGroupRequest) ValidateAll ¶
func (m *SelectGroupRequest) ValidateAll() error
ValidateAll checks the field values on SelectGroupRequest 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 SelectGroupRequestMultiError, or nil if none found.
type SelectGroupRequestMultiError ¶
type SelectGroupRequestMultiError []error
SelectGroupRequestMultiError is an error wrapping multiple validation errors returned by SelectGroupRequest.ValidateAll() if the designated constraints aren't met.
func (SelectGroupRequestMultiError) AllErrors ¶
func (m SelectGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SelectGroupRequestMultiError) Error ¶
func (m SelectGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SelectGroupRequestValidationError ¶
type SelectGroupRequestValidationError struct {
// contains filtered or unexported fields
}
SelectGroupRequestValidationError is the validation error returned by SelectGroupRequest.Validate if the designated constraints aren't met.
func (SelectGroupRequestValidationError) Cause ¶
func (e SelectGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (SelectGroupRequestValidationError) Error ¶
func (e SelectGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SelectGroupRequestValidationError) ErrorName ¶
func (e SelectGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SelectGroupRequestValidationError) Field ¶
func (e SelectGroupRequestValidationError) Field() string
Field function returns field value.
func (SelectGroupRequestValidationError) Key ¶
func (e SelectGroupRequestValidationError) Key() bool
Key function returns key value.
func (SelectGroupRequestValidationError) Reason ¶
func (e SelectGroupRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedGroupServer ¶
type UnimplementedGroupServer struct { }
UnimplementedGroupServer must be embedded to have forward compatible implementations.
func (UnimplementedGroupServer) BatchDeleteGroup ¶
func (UnimplementedGroupServer) BatchDeleteGroup(context.Context, *BatchDeleteGroupRequest) (*BatchDeleteGroupReply, error)
func (UnimplementedGroupServer) BatchUpdateGroupStatus ¶
func (UnimplementedGroupServer) BatchUpdateGroupStatus(context.Context, *BatchUpdateGroupStatusRequest) (*BatchUpdateGroupStatusReply, error)
func (UnimplementedGroupServer) CreateGroup ¶
func (UnimplementedGroupServer) CreateGroup(context.Context, *CreateGroupRequest) (*CreateGroupReply, error)
func (UnimplementedGroupServer) DeleteGroup ¶
func (UnimplementedGroupServer) DeleteGroup(context.Context, *DeleteGroupRequest) (*DeleteGroupReply, error)
func (UnimplementedGroupServer) ExportGroup ¶
func (UnimplementedGroupServer) ExportGroup(context.Context, *ExportGroupRequest) (*ExportGroupReply, error)
func (UnimplementedGroupServer) GetGroup ¶
func (UnimplementedGroupServer) GetGroup(context.Context, *GetGroupRequest) (*GetGroupReply, error)
func (UnimplementedGroupServer) ImportGroup ¶
func (UnimplementedGroupServer) ImportGroup(context.Context, *ImportGroupRequest) (*ImportGroupReply, error)
func (UnimplementedGroupServer) ListAllGroupDetail ¶
func (UnimplementedGroupServer) ListAllGroupDetail(context.Context, *ListAllGroupDetailRequest) (*ListAllGroupDetailReply, error)
func (UnimplementedGroupServer) ListAllGroupDetailV2 ¶ added in v0.0.16
func (UnimplementedGroupServer) ListAllGroupDetailV2(context.Context, *ListAllGroupDetailV2Request) (*ListAllGroupDetailV2Reply, error)
func (UnimplementedGroupServer) ListGroup ¶
func (UnimplementedGroupServer) ListGroup(context.Context, *ListGroupRequest) (*ListGroupReply, error)
func (UnimplementedGroupServer) SelectGroup ¶
func (UnimplementedGroupServer) SelectGroup(context.Context, *SelectGroupRequest) (*SelectGroupReply, error)
func (UnimplementedGroupServer) UpdateGroup ¶
func (UnimplementedGroupServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*UpdateGroupReply, error)
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 UpdateGroupReply ¶
type UpdateGroupReply struct { // 策略组ID, 更新成功后返回 Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
更新策略组响应参数
func (*UpdateGroupReply) Descriptor
deprecated
func (*UpdateGroupReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGroupReply.ProtoReflect.Descriptor instead.
func (*UpdateGroupReply) GetId ¶
func (x *UpdateGroupReply) GetId() uint32
func (*UpdateGroupReply) ProtoMessage ¶
func (*UpdateGroupReply) ProtoMessage()
func (*UpdateGroupReply) ProtoReflect ¶
func (x *UpdateGroupReply) ProtoReflect() protoreflect.Message
func (*UpdateGroupReply) Reset ¶
func (x *UpdateGroupReply) Reset()
func (*UpdateGroupReply) String ¶
func (x *UpdateGroupReply) String() string
func (*UpdateGroupReply) Validate ¶
func (m *UpdateGroupReply) Validate() error
Validate checks the field values on UpdateGroupReply 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 (*UpdateGroupReply) ValidateAll ¶
func (m *UpdateGroupReply) ValidateAll() error
ValidateAll checks the field values on UpdateGroupReply 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 UpdateGroupReplyMultiError, or nil if none found.
type UpdateGroupReplyMultiError ¶
type UpdateGroupReplyMultiError []error
UpdateGroupReplyMultiError is an error wrapping multiple validation errors returned by UpdateGroupReply.ValidateAll() if the designated constraints aren't met.
func (UpdateGroupReplyMultiError) AllErrors ¶
func (m UpdateGroupReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateGroupReplyMultiError) Error ¶
func (m UpdateGroupReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateGroupReplyValidationError ¶
type UpdateGroupReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateGroupReplyValidationError is the validation error returned by UpdateGroupReply.Validate if the designated constraints aren't met.
func (UpdateGroupReplyValidationError) Cause ¶
func (e UpdateGroupReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateGroupReplyValidationError) Error ¶
func (e UpdateGroupReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateGroupReplyValidationError) ErrorName ¶
func (e UpdateGroupReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateGroupReplyValidationError) Field ¶
func (e UpdateGroupReplyValidationError) Field() string
Field function returns field value.
func (UpdateGroupReplyValidationError) Key ¶
func (e UpdateGroupReplyValidationError) Key() bool
Key function returns key value.
func (UpdateGroupReplyValidationError) Reason ¶
func (e UpdateGroupReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateGroupRequest ¶
type UpdateGroupRequest struct { // 策略组ID Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 策略组名称, 长度1-32, 字母数字下划线(^[a-zA-Z0-9_]+$) Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 策略组分类, 对应字典表ID, 不允许为0 CategoryIds []uint32 `protobuf:"varint,3,rep,packed,name=categoryIds,proto3" json:"categoryIds,omitempty"` // 策略组备注, 长度0-255 Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"` // contains filtered or unexported fields }
更新策略组请求
func (*UpdateGroupRequest) Descriptor
deprecated
func (*UpdateGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateGroupRequest) GetCategoryIds ¶
func (x *UpdateGroupRequest) GetCategoryIds() []uint32
func (*UpdateGroupRequest) GetId ¶
func (x *UpdateGroupRequest) GetId() uint32
func (*UpdateGroupRequest) GetName ¶
func (x *UpdateGroupRequest) GetName() string
func (*UpdateGroupRequest) GetRemark ¶
func (x *UpdateGroupRequest) GetRemark() string
func (*UpdateGroupRequest) ProtoMessage ¶
func (*UpdateGroupRequest) ProtoMessage()
func (*UpdateGroupRequest) ProtoReflect ¶
func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateGroupRequest) Reset ¶
func (x *UpdateGroupRequest) Reset()
func (*UpdateGroupRequest) String ¶
func (x *UpdateGroupRequest) String() string
func (*UpdateGroupRequest) Validate ¶
func (m *UpdateGroupRequest) Validate() error
Validate checks the field values on UpdateGroupRequest 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 (*UpdateGroupRequest) ValidateAll ¶
func (m *UpdateGroupRequest) ValidateAll() error
ValidateAll checks the field values on UpdateGroupRequest 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 UpdateGroupRequestMultiError, or nil if none found.
type UpdateGroupRequestMultiError ¶
type UpdateGroupRequestMultiError []error
UpdateGroupRequestMultiError is an error wrapping multiple validation errors returned by UpdateGroupRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateGroupRequestMultiError) AllErrors ¶
func (m UpdateGroupRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateGroupRequestMultiError) Error ¶
func (m UpdateGroupRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateGroupRequestValidationError ¶
type UpdateGroupRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateGroupRequestValidationError is the validation error returned by UpdateGroupRequest.Validate if the designated constraints aren't met.
func (UpdateGroupRequestValidationError) Cause ¶
func (e UpdateGroupRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateGroupRequestValidationError) Error ¶
func (e UpdateGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateGroupRequestValidationError) ErrorName ¶
func (e UpdateGroupRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateGroupRequestValidationError) Field ¶
func (e UpdateGroupRequestValidationError) Field() string
Field function returns field value.
func (UpdateGroupRequestValidationError) Key ¶
func (e UpdateGroupRequestValidationError) Key() bool
Key function returns key value.
func (UpdateGroupRequestValidationError) Reason ¶
func (e UpdateGroupRequestValidationError) Reason() string
Reason function returns reason value.