notice

package
v0.0.0-...-d36d6b6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Notice_ListNoticeClassify_FullMethodName   = "/manager.api.notice.Notice/ListNoticeClassify"
	Notice_CreateNoticeClassify_FullMethodName = "/manager.api.notice.Notice/CreateNoticeClassify"
	Notice_UpdateNoticeClassify_FullMethodName = "/manager.api.notice.Notice/UpdateNoticeClassify"
	Notice_DeleteNoticeClassify_FullMethodName = "/manager.api.notice.Notice/DeleteNoticeClassify"
	Notice_GetNotice_FullMethodName            = "/manager.api.notice.Notice/GetNotice"
	Notice_ListVisibleNotice_FullMethodName    = "/manager.api.notice.Notice/ListVisibleNotice"
	Notice_GetVisibleNotice_FullMethodName     = "/manager.api.notice.Notice/GetVisibleNotice"
	Notice_ListNotice_FullMethodName           = "/manager.api.notice.Notice/ListNotice"
	Notice_CreateNotice_FullMethodName         = "/manager.api.notice.Notice/CreateNotice"
	Notice_UpdateNotice_FullMethodName         = "/manager.api.notice.Notice/UpdateNotice"
	Notice_DeleteNotice_FullMethodName         = "/manager.api.notice.Notice/DeleteNotice"
)
View Source
const (
	OperationNoticeCreateNotice         = "/manager.api.notice.Notice/CreateNotice"
	OperationNoticeCreateNoticeClassify = "/manager.api.notice.Notice/CreateNoticeClassify"
	OperationNoticeDeleteNotice         = "/manager.api.notice.Notice/DeleteNotice"
	OperationNoticeDeleteNoticeClassify = "/manager.api.notice.Notice/DeleteNoticeClassify"
	OperationNoticeGetNotice            = "/manager.api.notice.Notice/GetNotice"
	OperationNoticeGetVisibleNotice     = "/manager.api.notice.Notice/GetVisibleNotice"
	OperationNoticeListNotice           = "/manager.api.notice.Notice/ListNotice"
	OperationNoticeListNoticeClassify   = "/manager.api.notice.Notice/ListNoticeClassify"
	OperationNoticeListVisibleNotice    = "/manager.api.notice.Notice/ListVisibleNotice"
	OperationNoticeUpdateNotice         = "/manager.api.notice.Notice/UpdateNotice"
	OperationNoticeUpdateNoticeClassify = "/manager.api.notice.Notice/UpdateNoticeClassify"
)

Variables

View Source
var File_api_notice_proto_notice_proto protoreflect.FileDescriptor
View Source
var File_api_notice_proto_notice_service_proto protoreflect.FileDescriptor
View Source
var Notice_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "manager.api.notice.Notice",
	HandlerType: (*NoticeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListNoticeClassify",
			Handler:    _Notice_ListNoticeClassify_Handler,
		},
		{
			MethodName: "CreateNoticeClassify",
			Handler:    _Notice_CreateNoticeClassify_Handler,
		},
		{
			MethodName: "UpdateNoticeClassify",
			Handler:    _Notice_UpdateNoticeClassify_Handler,
		},
		{
			MethodName: "DeleteNoticeClassify",
			Handler:    _Notice_DeleteNoticeClassify_Handler,
		},
		{
			MethodName: "GetNotice",
			Handler:    _Notice_GetNotice_Handler,
		},
		{
			MethodName: "ListVisibleNotice",
			Handler:    _Notice_ListVisibleNotice_Handler,
		},
		{
			MethodName: "GetVisibleNotice",
			Handler:    _Notice_GetVisibleNotice_Handler,
		},
		{
			MethodName: "ListNotice",
			Handler:    _Notice_ListNotice_Handler,
		},
		{
			MethodName: "CreateNotice",
			Handler:    _Notice_CreateNotice_Handler,
		},
		{
			MethodName: "UpdateNotice",
			Handler:    _Notice_UpdateNotice_Handler,
		},
		{
			MethodName: "DeleteNotice",
			Handler:    _Notice_DeleteNotice_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/notice/proto/notice_service.proto",
}

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

Functions

func RegisterNoticeHTTPServer

func RegisterNoticeHTTPServer(s *http.Server, srv NoticeHTTPServer)

func RegisterNoticeServer

func RegisterNoticeServer(s grpc.ServiceRegistrar, srv NoticeServer)

Types

type CreateNoticeClassifyReply

type CreateNoticeClassifyReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNoticeClassifyReply) Descriptor deprecated

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

Deprecated: Use CreateNoticeClassifyReply.ProtoReflect.Descriptor instead.

func (*CreateNoticeClassifyReply) GetId

func (x *CreateNoticeClassifyReply) GetId() uint32

func (*CreateNoticeClassifyReply) ProtoMessage

func (*CreateNoticeClassifyReply) ProtoMessage()

func (*CreateNoticeClassifyReply) ProtoReflect

func (*CreateNoticeClassifyReply) Reset

func (x *CreateNoticeClassifyReply) Reset()

func (*CreateNoticeClassifyReply) String

func (x *CreateNoticeClassifyReply) String() string

func (*CreateNoticeClassifyReply) Validate

func (m *CreateNoticeClassifyReply) Validate() error

Validate checks the field values on CreateNoticeClassifyReply 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 (*CreateNoticeClassifyReply) ValidateAll

func (m *CreateNoticeClassifyReply) ValidateAll() error

ValidateAll checks the field values on CreateNoticeClassifyReply 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 CreateNoticeClassifyReplyMultiError, or nil if none found.

type CreateNoticeClassifyReplyMultiError

type CreateNoticeClassifyReplyMultiError []error

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

func (CreateNoticeClassifyReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateNoticeClassifyReplyMultiError) Error

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

type CreateNoticeClassifyReplyValidationError

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

CreateNoticeClassifyReplyValidationError is the validation error returned by CreateNoticeClassifyReply.Validate if the designated constraints aren't met.

func (CreateNoticeClassifyReplyValidationError) Cause

Cause function returns cause value.

func (CreateNoticeClassifyReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateNoticeClassifyReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateNoticeClassifyReplyValidationError) Field

Field function returns field value.

func (CreateNoticeClassifyReplyValidationError) Key

Key function returns key value.

func (CreateNoticeClassifyReplyValidationError) Reason

Reason function returns reason value.

type CreateNoticeClassifyRequest

type CreateNoticeClassifyRequest struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Weight uint32 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNoticeClassifyRequest) Descriptor deprecated

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

Deprecated: Use CreateNoticeClassifyRequest.ProtoReflect.Descriptor instead.

func (x *CreateNoticeClassifyRequest) GetLogo() string

func (*CreateNoticeClassifyRequest) GetName

func (x *CreateNoticeClassifyRequest) GetName() string

func (*CreateNoticeClassifyRequest) GetWeight

func (x *CreateNoticeClassifyRequest) GetWeight() uint32

func (*CreateNoticeClassifyRequest) ProtoMessage

func (*CreateNoticeClassifyRequest) ProtoMessage()

func (*CreateNoticeClassifyRequest) ProtoReflect

func (*CreateNoticeClassifyRequest) Reset

func (x *CreateNoticeClassifyRequest) Reset()

func (*CreateNoticeClassifyRequest) String

func (x *CreateNoticeClassifyRequest) String() string

func (*CreateNoticeClassifyRequest) Validate

func (m *CreateNoticeClassifyRequest) Validate() error

Validate checks the field values on CreateNoticeClassifyRequest 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 (*CreateNoticeClassifyRequest) ValidateAll

func (m *CreateNoticeClassifyRequest) ValidateAll() error

ValidateAll checks the field values on CreateNoticeClassifyRequest 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 CreateNoticeClassifyRequestMultiError, or nil if none found.

type CreateNoticeClassifyRequestMultiError

type CreateNoticeClassifyRequestMultiError []error

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

func (CreateNoticeClassifyRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateNoticeClassifyRequestMultiError) Error

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

type CreateNoticeClassifyRequestValidationError

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

CreateNoticeClassifyRequestValidationError is the validation error returned by CreateNoticeClassifyRequest.Validate if the designated constraints aren't met.

func (CreateNoticeClassifyRequestValidationError) Cause

Cause function returns cause value.

func (CreateNoticeClassifyRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateNoticeClassifyRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateNoticeClassifyRequestValidationError) Field

Field function returns field value.

func (CreateNoticeClassifyRequestValidationError) Key

Key function returns key value.

func (CreateNoticeClassifyRequestValidationError) Reason

Reason function returns reason value.

type CreateNoticeReply

type CreateNoticeReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNoticeReply) Descriptor deprecated

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

Deprecated: Use CreateNoticeReply.ProtoReflect.Descriptor instead.

func (*CreateNoticeReply) GetId

func (x *CreateNoticeReply) GetId() uint32

func (*CreateNoticeReply) ProtoMessage

func (*CreateNoticeReply) ProtoMessage()

func (*CreateNoticeReply) ProtoReflect

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

func (*CreateNoticeReply) Reset

func (x *CreateNoticeReply) Reset()

func (*CreateNoticeReply) String

func (x *CreateNoticeReply) String() string

func (*CreateNoticeReply) Validate

func (m *CreateNoticeReply) Validate() error

Validate checks the field values on CreateNoticeReply 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 (*CreateNoticeReply) ValidateAll

func (m *CreateNoticeReply) ValidateAll() error

ValidateAll checks the field values on CreateNoticeReply 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 CreateNoticeReplyMultiError, or nil if none found.

type CreateNoticeReplyMultiError

type CreateNoticeReplyMultiError []error

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

func (CreateNoticeReplyMultiError) AllErrors

func (m CreateNoticeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateNoticeReplyMultiError) Error

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

type CreateNoticeReplyValidationError

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

CreateNoticeReplyValidationError is the validation error returned by CreateNoticeReply.Validate if the designated constraints aren't met.

func (CreateNoticeReplyValidationError) Cause

Cause function returns cause value.

func (CreateNoticeReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateNoticeReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateNoticeReplyValidationError) Field

Field function returns field value.

func (CreateNoticeReplyValidationError) Key

Key function returns key value.

func (CreateNoticeReplyValidationError) Reason

Reason function returns reason value.

type CreateNoticeRequest

type CreateNoticeRequest struct {
	AppId       uint32 `protobuf:"varint,1,opt,name=appId,proto3" json:"appId,omitempty"`
	ClassifyId  uint32 `protobuf:"varint,2,opt,name=classifyId,proto3" json:"classifyId,omitempty"`
	Title       string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Unit        string `protobuf:"bytes,5,opt,name=unit,proto3" json:"unit,omitempty"`
	Content     string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
	IsTop       *bool  `protobuf:"varint,7,opt,name=isTop,proto3,oneof" json:"isTop,omitempty"`
	Status      *bool  `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNoticeRequest) Descriptor deprecated

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

Deprecated: Use CreateNoticeRequest.ProtoReflect.Descriptor instead.

func (*CreateNoticeRequest) GetAppId

func (x *CreateNoticeRequest) GetAppId() uint32

func (*CreateNoticeRequest) GetClassifyId

func (x *CreateNoticeRequest) GetClassifyId() uint32

func (*CreateNoticeRequest) GetContent

func (x *CreateNoticeRequest) GetContent() string

func (*CreateNoticeRequest) GetDescription

func (x *CreateNoticeRequest) GetDescription() string

func (*CreateNoticeRequest) GetIsTop

func (x *CreateNoticeRequest) GetIsTop() bool

func (*CreateNoticeRequest) GetStatus

func (x *CreateNoticeRequest) GetStatus() bool

func (*CreateNoticeRequest) GetTitle

func (x *CreateNoticeRequest) GetTitle() string

func (*CreateNoticeRequest) GetUnit

func (x *CreateNoticeRequest) GetUnit() string

func (*CreateNoticeRequest) ProtoMessage

func (*CreateNoticeRequest) ProtoMessage()

func (*CreateNoticeRequest) ProtoReflect

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

func (*CreateNoticeRequest) Reset

func (x *CreateNoticeRequest) Reset()

func (*CreateNoticeRequest) String

func (x *CreateNoticeRequest) String() string

func (*CreateNoticeRequest) Validate

func (m *CreateNoticeRequest) Validate() error

Validate checks the field values on CreateNoticeRequest 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 (*CreateNoticeRequest) ValidateAll

func (m *CreateNoticeRequest) ValidateAll() error

ValidateAll checks the field values on CreateNoticeRequest 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 CreateNoticeRequestMultiError, or nil if none found.

type CreateNoticeRequestMultiError

type CreateNoticeRequestMultiError []error

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

func (CreateNoticeRequestMultiError) AllErrors

func (m CreateNoticeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateNoticeRequestMultiError) Error

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

type CreateNoticeRequestValidationError

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

CreateNoticeRequestValidationError is the validation error returned by CreateNoticeRequest.Validate if the designated constraints aren't met.

func (CreateNoticeRequestValidationError) Cause

Cause function returns cause value.

func (CreateNoticeRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateNoticeRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateNoticeRequestValidationError) Field

Field function returns field value.

func (CreateNoticeRequestValidationError) Key

Key function returns key value.

func (CreateNoticeRequestValidationError) Reason

Reason function returns reason value.

type DeleteNoticeClassifyReply

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

func (*DeleteNoticeClassifyReply) Descriptor deprecated

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

Deprecated: Use DeleteNoticeClassifyReply.ProtoReflect.Descriptor instead.

func (*DeleteNoticeClassifyReply) ProtoMessage

func (*DeleteNoticeClassifyReply) ProtoMessage()

func (*DeleteNoticeClassifyReply) ProtoReflect

func (*DeleteNoticeClassifyReply) Reset

func (x *DeleteNoticeClassifyReply) Reset()

func (*DeleteNoticeClassifyReply) String

func (x *DeleteNoticeClassifyReply) String() string

func (*DeleteNoticeClassifyReply) Validate

func (m *DeleteNoticeClassifyReply) Validate() error

Validate checks the field values on DeleteNoticeClassifyReply 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 (*DeleteNoticeClassifyReply) ValidateAll

func (m *DeleteNoticeClassifyReply) ValidateAll() error

ValidateAll checks the field values on DeleteNoticeClassifyReply 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 DeleteNoticeClassifyReplyMultiError, or nil if none found.

type DeleteNoticeClassifyReplyMultiError

type DeleteNoticeClassifyReplyMultiError []error

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

func (DeleteNoticeClassifyReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteNoticeClassifyReplyMultiError) Error

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

type DeleteNoticeClassifyReplyValidationError

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

DeleteNoticeClassifyReplyValidationError is the validation error returned by DeleteNoticeClassifyReply.Validate if the designated constraints aren't met.

func (DeleteNoticeClassifyReplyValidationError) Cause

Cause function returns cause value.

func (DeleteNoticeClassifyReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteNoticeClassifyReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteNoticeClassifyReplyValidationError) Field

Field function returns field value.

func (DeleteNoticeClassifyReplyValidationError) Key

Key function returns key value.

func (DeleteNoticeClassifyReplyValidationError) Reason

Reason function returns reason value.

type DeleteNoticeClassifyRequest

type DeleteNoticeClassifyRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNoticeClassifyRequest) Descriptor deprecated

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

Deprecated: Use DeleteNoticeClassifyRequest.ProtoReflect.Descriptor instead.

func (*DeleteNoticeClassifyRequest) GetId

func (*DeleteNoticeClassifyRequest) ProtoMessage

func (*DeleteNoticeClassifyRequest) ProtoMessage()

func (*DeleteNoticeClassifyRequest) ProtoReflect

func (*DeleteNoticeClassifyRequest) Reset

func (x *DeleteNoticeClassifyRequest) Reset()

func (*DeleteNoticeClassifyRequest) String

func (x *DeleteNoticeClassifyRequest) String() string

func (*DeleteNoticeClassifyRequest) Validate

func (m *DeleteNoticeClassifyRequest) Validate() error

Validate checks the field values on DeleteNoticeClassifyRequest 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 (*DeleteNoticeClassifyRequest) ValidateAll

func (m *DeleteNoticeClassifyRequest) ValidateAll() error

ValidateAll checks the field values on DeleteNoticeClassifyRequest 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 DeleteNoticeClassifyRequestMultiError, or nil if none found.

type DeleteNoticeClassifyRequestMultiError

type DeleteNoticeClassifyRequestMultiError []error

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

func (DeleteNoticeClassifyRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteNoticeClassifyRequestMultiError) Error

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

type DeleteNoticeClassifyRequestValidationError

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

DeleteNoticeClassifyRequestValidationError is the validation error returned by DeleteNoticeClassifyRequest.Validate if the designated constraints aren't met.

func (DeleteNoticeClassifyRequestValidationError) Cause

Cause function returns cause value.

func (DeleteNoticeClassifyRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteNoticeClassifyRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteNoticeClassifyRequestValidationError) Field

Field function returns field value.

func (DeleteNoticeClassifyRequestValidationError) Key

Key function returns key value.

func (DeleteNoticeClassifyRequestValidationError) Reason

Reason function returns reason value.

type DeleteNoticeReply

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

func (*DeleteNoticeReply) Descriptor deprecated

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

Deprecated: Use DeleteNoticeReply.ProtoReflect.Descriptor instead.

func (*DeleteNoticeReply) ProtoMessage

func (*DeleteNoticeReply) ProtoMessage()

func (*DeleteNoticeReply) ProtoReflect

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

func (*DeleteNoticeReply) Reset

func (x *DeleteNoticeReply) Reset()

func (*DeleteNoticeReply) String

func (x *DeleteNoticeReply) String() string

func (*DeleteNoticeReply) Validate

func (m *DeleteNoticeReply) Validate() error

Validate checks the field values on DeleteNoticeReply 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 (*DeleteNoticeReply) ValidateAll

func (m *DeleteNoticeReply) ValidateAll() error

ValidateAll checks the field values on DeleteNoticeReply 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 DeleteNoticeReplyMultiError, or nil if none found.

type DeleteNoticeReplyMultiError

type DeleteNoticeReplyMultiError []error

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

func (DeleteNoticeReplyMultiError) AllErrors

func (m DeleteNoticeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteNoticeReplyMultiError) Error

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

type DeleteNoticeReplyValidationError

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

DeleteNoticeReplyValidationError is the validation error returned by DeleteNoticeReply.Validate if the designated constraints aren't met.

func (DeleteNoticeReplyValidationError) Cause

Cause function returns cause value.

func (DeleteNoticeReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteNoticeReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteNoticeReplyValidationError) Field

Field function returns field value.

func (DeleteNoticeReplyValidationError) Key

Key function returns key value.

func (DeleteNoticeReplyValidationError) Reason

Reason function returns reason value.

type DeleteNoticeRequest

type DeleteNoticeRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNoticeRequest) Descriptor deprecated

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

Deprecated: Use DeleteNoticeRequest.ProtoReflect.Descriptor instead.

func (*DeleteNoticeRequest) GetId

func (x *DeleteNoticeRequest) GetId() uint32

func (*DeleteNoticeRequest) ProtoMessage

func (*DeleteNoticeRequest) ProtoMessage()

func (*DeleteNoticeRequest) ProtoReflect

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

func (*DeleteNoticeRequest) Reset

func (x *DeleteNoticeRequest) Reset()

func (*DeleteNoticeRequest) String

func (x *DeleteNoticeRequest) String() string

func (*DeleteNoticeRequest) Validate

func (m *DeleteNoticeRequest) Validate() error

Validate checks the field values on DeleteNoticeRequest 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 (*DeleteNoticeRequest) ValidateAll

func (m *DeleteNoticeRequest) ValidateAll() error

ValidateAll checks the field values on DeleteNoticeRequest 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 DeleteNoticeRequestMultiError, or nil if none found.

type DeleteNoticeRequestMultiError

type DeleteNoticeRequestMultiError []error

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

func (DeleteNoticeRequestMultiError) AllErrors

func (m DeleteNoticeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteNoticeRequestMultiError) Error

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

type DeleteNoticeRequestValidationError

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

DeleteNoticeRequestValidationError is the validation error returned by DeleteNoticeRequest.Validate if the designated constraints aren't met.

func (DeleteNoticeRequestValidationError) Cause

Cause function returns cause value.

func (DeleteNoticeRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteNoticeRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteNoticeRequestValidationError) Field

Field function returns field value.

func (DeleteNoticeRequestValidationError) Key

Key function returns key value.

func (DeleteNoticeRequestValidationError) Reason

Reason function returns reason value.

type GetNoticeReply

type GetNoticeReply struct {
	Id          uint32                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AppId       uint32                   `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
	ClassifyId  uint32                   `protobuf:"varint,3,opt,name=classifyId,proto3" json:"classifyId,omitempty"`
	Title       string                   `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Description string                   `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Unit        string                   `protobuf:"bytes,6,opt,name=unit,proto3" json:"unit,omitempty"`
	Content     string                   `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`
	IsTop       *bool                    `protobuf:"varint,8,opt,name=isTop,proto3,oneof" json:"isTop,omitempty"`
	Status      *bool                    `protobuf:"varint,9,opt,name=status,proto3,oneof" json:"status,omitempty"`
	CreatedAt   uint32                   `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32                   `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	App         *GetNoticeReply_App      `protobuf:"bytes,12,opt,name=app,proto3" json:"app,omitempty"`
	Classify    *GetNoticeReply_Classify `protobuf:"bytes,13,opt,name=classify,proto3" json:"classify,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNoticeReply) Descriptor deprecated

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

Deprecated: Use GetNoticeReply.ProtoReflect.Descriptor instead.

func (*GetNoticeReply) GetApp

func (x *GetNoticeReply) GetApp() *GetNoticeReply_App

func (*GetNoticeReply) GetAppId

func (x *GetNoticeReply) GetAppId() uint32

func (*GetNoticeReply) GetClassify

func (x *GetNoticeReply) GetClassify() *GetNoticeReply_Classify

func (*GetNoticeReply) GetClassifyId

func (x *GetNoticeReply) GetClassifyId() uint32

func (*GetNoticeReply) GetContent

func (x *GetNoticeReply) GetContent() string

func (*GetNoticeReply) GetCreatedAt

func (x *GetNoticeReply) GetCreatedAt() uint32

func (*GetNoticeReply) GetDescription

func (x *GetNoticeReply) GetDescription() string

func (*GetNoticeReply) GetId

func (x *GetNoticeReply) GetId() uint32

func (*GetNoticeReply) GetIsTop

func (x *GetNoticeReply) GetIsTop() bool

func (*GetNoticeReply) GetStatus

func (x *GetNoticeReply) GetStatus() bool

func (*GetNoticeReply) GetTitle

func (x *GetNoticeReply) GetTitle() string

func (*GetNoticeReply) GetUnit

func (x *GetNoticeReply) GetUnit() string

func (*GetNoticeReply) GetUpdatedAt

func (x *GetNoticeReply) GetUpdatedAt() uint32

func (*GetNoticeReply) ProtoMessage

func (*GetNoticeReply) ProtoMessage()

func (*GetNoticeReply) ProtoReflect

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

func (*GetNoticeReply) Reset

func (x *GetNoticeReply) Reset()

func (*GetNoticeReply) String

func (x *GetNoticeReply) String() string

func (*GetNoticeReply) Validate

func (m *GetNoticeReply) Validate() error

Validate checks the field values on GetNoticeReply 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 (*GetNoticeReply) ValidateAll

func (m *GetNoticeReply) ValidateAll() error

ValidateAll checks the field values on GetNoticeReply 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 GetNoticeReplyMultiError, or nil if none found.

type GetNoticeReplyMultiError

type GetNoticeReplyMultiError []error

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

func (GetNoticeReplyMultiError) AllErrors

func (m GetNoticeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNoticeReplyMultiError) Error

func (m GetNoticeReplyMultiError) Error() string

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

type GetNoticeReplyValidationError

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

GetNoticeReplyValidationError is the validation error returned by GetNoticeReply.Validate if the designated constraints aren't met.

func (GetNoticeReplyValidationError) Cause

Cause function returns cause value.

func (GetNoticeReplyValidationError) Error

Error satisfies the builtin error interface

func (GetNoticeReplyValidationError) ErrorName

func (e GetNoticeReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetNoticeReplyValidationError) Field

Field function returns field value.

func (GetNoticeReplyValidationError) Key

Key function returns key value.

func (GetNoticeReplyValidationError) Reason

Reason function returns reason value.

type GetNoticeReply_App

type GetNoticeReply_App struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNoticeReply_App) Descriptor deprecated

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

Deprecated: Use GetNoticeReply_App.ProtoReflect.Descriptor instead.

func (*GetNoticeReply_App) GetId

func (x *GetNoticeReply_App) GetId() uint32
func (x *GetNoticeReply_App) GetLogo() string

func (*GetNoticeReply_App) GetName

func (x *GetNoticeReply_App) GetName() string

func (*GetNoticeReply_App) ProtoMessage

func (*GetNoticeReply_App) ProtoMessage()

func (*GetNoticeReply_App) ProtoReflect

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

func (*GetNoticeReply_App) Reset

func (x *GetNoticeReply_App) Reset()

func (*GetNoticeReply_App) String

func (x *GetNoticeReply_App) String() string

func (*GetNoticeReply_App) Validate

func (m *GetNoticeReply_App) Validate() error

Validate checks the field values on GetNoticeReply_App 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 (*GetNoticeReply_App) ValidateAll

func (m *GetNoticeReply_App) ValidateAll() error

ValidateAll checks the field values on GetNoticeReply_App 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 GetNoticeReply_AppMultiError, or nil if none found.

type GetNoticeReply_AppMultiError

type GetNoticeReply_AppMultiError []error

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

func (GetNoticeReply_AppMultiError) AllErrors

func (m GetNoticeReply_AppMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNoticeReply_AppMultiError) Error

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

type GetNoticeReply_AppValidationError

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

GetNoticeReply_AppValidationError is the validation error returned by GetNoticeReply_App.Validate if the designated constraints aren't met.

func (GetNoticeReply_AppValidationError) Cause

Cause function returns cause value.

func (GetNoticeReply_AppValidationError) Error

Error satisfies the builtin error interface

func (GetNoticeReply_AppValidationError) ErrorName

ErrorName returns error name.

func (GetNoticeReply_AppValidationError) Field

Field function returns field value.

func (GetNoticeReply_AppValidationError) Key

Key function returns key value.

func (GetNoticeReply_AppValidationError) Reason

Reason function returns reason value.

type GetNoticeReply_Classify

type GetNoticeReply_Classify struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNoticeReply_Classify) Descriptor deprecated

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

Deprecated: Use GetNoticeReply_Classify.ProtoReflect.Descriptor instead.

func (*GetNoticeReply_Classify) GetId

func (x *GetNoticeReply_Classify) GetId() uint32
func (x *GetNoticeReply_Classify) GetLogo() string

func (*GetNoticeReply_Classify) GetName

func (x *GetNoticeReply_Classify) GetName() string

func (*GetNoticeReply_Classify) ProtoMessage

func (*GetNoticeReply_Classify) ProtoMessage()

func (*GetNoticeReply_Classify) ProtoReflect

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

func (*GetNoticeReply_Classify) Reset

func (x *GetNoticeReply_Classify) Reset()

func (*GetNoticeReply_Classify) String

func (x *GetNoticeReply_Classify) String() string

func (*GetNoticeReply_Classify) Validate

func (m *GetNoticeReply_Classify) Validate() error

Validate checks the field values on GetNoticeReply_Classify 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 (*GetNoticeReply_Classify) ValidateAll

func (m *GetNoticeReply_Classify) ValidateAll() error

ValidateAll checks the field values on GetNoticeReply_Classify 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 GetNoticeReply_ClassifyMultiError, or nil if none found.

type GetNoticeReply_ClassifyMultiError

type GetNoticeReply_ClassifyMultiError []error

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

func (GetNoticeReply_ClassifyMultiError) AllErrors

func (m GetNoticeReply_ClassifyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNoticeReply_ClassifyMultiError) Error

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

type GetNoticeReply_ClassifyValidationError

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

GetNoticeReply_ClassifyValidationError is the validation error returned by GetNoticeReply_Classify.Validate if the designated constraints aren't met.

func (GetNoticeReply_ClassifyValidationError) Cause

Cause function returns cause value.

func (GetNoticeReply_ClassifyValidationError) Error

Error satisfies the builtin error interface

func (GetNoticeReply_ClassifyValidationError) ErrorName

ErrorName returns error name.

func (GetNoticeReply_ClassifyValidationError) Field

Field function returns field value.

func (GetNoticeReply_ClassifyValidationError) Key

Key function returns key value.

func (GetNoticeReply_ClassifyValidationError) Reason

Reason function returns reason value.

type GetNoticeRequest

type GetNoticeRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNoticeRequest) Descriptor deprecated

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

Deprecated: Use GetNoticeRequest.ProtoReflect.Descriptor instead.

func (*GetNoticeRequest) GetId

func (x *GetNoticeRequest) GetId() uint32

func (*GetNoticeRequest) ProtoMessage

func (*GetNoticeRequest) ProtoMessage()

func (*GetNoticeRequest) ProtoReflect

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

func (*GetNoticeRequest) Reset

func (x *GetNoticeRequest) Reset()

func (*GetNoticeRequest) String

func (x *GetNoticeRequest) String() string

func (*GetNoticeRequest) Validate

func (m *GetNoticeRequest) Validate() error

Validate checks the field values on GetNoticeRequest 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 (*GetNoticeRequest) ValidateAll

func (m *GetNoticeRequest) ValidateAll() error

ValidateAll checks the field values on GetNoticeRequest 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 GetNoticeRequestMultiError, or nil if none found.

type GetNoticeRequestMultiError

type GetNoticeRequestMultiError []error

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

func (GetNoticeRequestMultiError) AllErrors

func (m GetNoticeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNoticeRequestMultiError) Error

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

type GetNoticeRequestValidationError

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

GetNoticeRequestValidationError is the validation error returned by GetNoticeRequest.Validate if the designated constraints aren't met.

func (GetNoticeRequestValidationError) Cause

Cause function returns cause value.

func (GetNoticeRequestValidationError) Error

Error satisfies the builtin error interface

func (GetNoticeRequestValidationError) ErrorName

ErrorName returns error name.

func (GetNoticeRequestValidationError) Field

Field function returns field value.

func (GetNoticeRequestValidationError) Key

Key function returns key value.

func (GetNoticeRequestValidationError) Reason

Reason function returns reason value.

type ListNoticeClassifyReply

type ListNoticeClassifyReply struct {
	List []*ListNoticeClassifyReply_NoticeClassify `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoticeClassifyReply) Descriptor deprecated

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

Deprecated: Use ListNoticeClassifyReply.ProtoReflect.Descriptor instead.

func (*ListNoticeClassifyReply) GetList

func (*ListNoticeClassifyReply) ProtoMessage

func (*ListNoticeClassifyReply) ProtoMessage()

func (*ListNoticeClassifyReply) ProtoReflect

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

func (*ListNoticeClassifyReply) Reset

func (x *ListNoticeClassifyReply) Reset()

func (*ListNoticeClassifyReply) String

func (x *ListNoticeClassifyReply) String() string

func (*ListNoticeClassifyReply) Validate

func (m *ListNoticeClassifyReply) Validate() error

Validate checks the field values on ListNoticeClassifyReply 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 (*ListNoticeClassifyReply) ValidateAll

func (m *ListNoticeClassifyReply) ValidateAll() error

ValidateAll checks the field values on ListNoticeClassifyReply 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 ListNoticeClassifyReplyMultiError, or nil if none found.

type ListNoticeClassifyReplyMultiError

type ListNoticeClassifyReplyMultiError []error

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

func (ListNoticeClassifyReplyMultiError) AllErrors

func (m ListNoticeClassifyReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNoticeClassifyReplyMultiError) Error

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

type ListNoticeClassifyReplyValidationError

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

ListNoticeClassifyReplyValidationError is the validation error returned by ListNoticeClassifyReply.Validate if the designated constraints aren't met.

func (ListNoticeClassifyReplyValidationError) Cause

Cause function returns cause value.

func (ListNoticeClassifyReplyValidationError) Error

Error satisfies the builtin error interface

func (ListNoticeClassifyReplyValidationError) ErrorName

ErrorName returns error name.

func (ListNoticeClassifyReplyValidationError) Field

Field function returns field value.

func (ListNoticeClassifyReplyValidationError) Key

Key function returns key value.

func (ListNoticeClassifyReplyValidationError) Reason

Reason function returns reason value.

type ListNoticeClassifyReply_NoticeClassify

type ListNoticeClassifyReply_NoticeClassify struct {
	Id        uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Weight    uint32 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"`
	CreatedAt uint32 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt uint32 `protobuf:"varint,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoticeClassifyReply_NoticeClassify) Descriptor deprecated

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

Deprecated: Use ListNoticeClassifyReply_NoticeClassify.ProtoReflect.Descriptor instead.

func (*ListNoticeClassifyReply_NoticeClassify) GetCreatedAt

func (*ListNoticeClassifyReply_NoticeClassify) GetId

func (*ListNoticeClassifyReply_NoticeClassify) GetName

func (*ListNoticeClassifyReply_NoticeClassify) GetUpdatedAt

func (*ListNoticeClassifyReply_NoticeClassify) GetWeight

func (*ListNoticeClassifyReply_NoticeClassify) ProtoMessage

func (*ListNoticeClassifyReply_NoticeClassify) ProtoReflect

func (*ListNoticeClassifyReply_NoticeClassify) Reset

func (*ListNoticeClassifyReply_NoticeClassify) String

func (*ListNoticeClassifyReply_NoticeClassify) Validate

Validate checks the field values on ListNoticeClassifyReply_NoticeClassify 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 (*ListNoticeClassifyReply_NoticeClassify) ValidateAll

ValidateAll checks the field values on ListNoticeClassifyReply_NoticeClassify 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 ListNoticeClassifyReply_NoticeClassifyMultiError, or nil if none found.

type ListNoticeClassifyReply_NoticeClassifyMultiError

type ListNoticeClassifyReply_NoticeClassifyMultiError []error

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

func (ListNoticeClassifyReply_NoticeClassifyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListNoticeClassifyReply_NoticeClassifyMultiError) Error

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

type ListNoticeClassifyReply_NoticeClassifyValidationError

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

ListNoticeClassifyReply_NoticeClassifyValidationError is the validation error returned by ListNoticeClassifyReply_NoticeClassify.Validate if the designated constraints aren't met.

func (ListNoticeClassifyReply_NoticeClassifyValidationError) Cause

Cause function returns cause value.

func (ListNoticeClassifyReply_NoticeClassifyValidationError) Error

Error satisfies the builtin error interface

func (ListNoticeClassifyReply_NoticeClassifyValidationError) ErrorName

ErrorName returns error name.

func (ListNoticeClassifyReply_NoticeClassifyValidationError) Field

Field function returns field value.

func (ListNoticeClassifyReply_NoticeClassifyValidationError) Key

Key function returns key value.

func (ListNoticeClassifyReply_NoticeClassifyValidationError) Reason

Reason function returns reason value.

type ListNoticeClassifyRequest

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

func (*ListNoticeClassifyRequest) Descriptor deprecated

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

Deprecated: Use ListNoticeClassifyRequest.ProtoReflect.Descriptor instead.

func (*ListNoticeClassifyRequest) ProtoMessage

func (*ListNoticeClassifyRequest) ProtoMessage()

func (*ListNoticeClassifyRequest) ProtoReflect

func (*ListNoticeClassifyRequest) Reset

func (x *ListNoticeClassifyRequest) Reset()

func (*ListNoticeClassifyRequest) String

func (x *ListNoticeClassifyRequest) String() string

func (*ListNoticeClassifyRequest) Validate

func (m *ListNoticeClassifyRequest) Validate() error

Validate checks the field values on ListNoticeClassifyRequest 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 (*ListNoticeClassifyRequest) ValidateAll

func (m *ListNoticeClassifyRequest) ValidateAll() error

ValidateAll checks the field values on ListNoticeClassifyRequest 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 ListNoticeClassifyRequestMultiError, or nil if none found.

type ListNoticeClassifyRequestMultiError

type ListNoticeClassifyRequestMultiError []error

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

func (ListNoticeClassifyRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ListNoticeClassifyRequestMultiError) Error

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

type ListNoticeClassifyRequestValidationError

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

ListNoticeClassifyRequestValidationError is the validation error returned by ListNoticeClassifyRequest.Validate if the designated constraints aren't met.

func (ListNoticeClassifyRequestValidationError) Cause

Cause function returns cause value.

func (ListNoticeClassifyRequestValidationError) Error

Error satisfies the builtin error interface

func (ListNoticeClassifyRequestValidationError) ErrorName

ErrorName returns error name.

func (ListNoticeClassifyRequestValidationError) Field

Field function returns field value.

func (ListNoticeClassifyRequestValidationError) Key

Key function returns key value.

func (ListNoticeClassifyRequestValidationError) Reason

Reason function returns reason value.

type ListNoticeReply

type ListNoticeReply struct {
	Total uint32                    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListNoticeReply_Notice `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoticeReply) Descriptor deprecated

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

Deprecated: Use ListNoticeReply.ProtoReflect.Descriptor instead.

func (*ListNoticeReply) GetList

func (x *ListNoticeReply) GetList() []*ListNoticeReply_Notice

func (*ListNoticeReply) GetTotal

func (x *ListNoticeReply) GetTotal() uint32

func (*ListNoticeReply) ProtoMessage

func (*ListNoticeReply) ProtoMessage()

func (*ListNoticeReply) ProtoReflect

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

func (*ListNoticeReply) Reset

func (x *ListNoticeReply) Reset()

func (*ListNoticeReply) String

func (x *ListNoticeReply) String() string

func (*ListNoticeReply) Validate

func (m *ListNoticeReply) Validate() error

Validate checks the field values on ListNoticeReply 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 (*ListNoticeReply) ValidateAll

func (m *ListNoticeReply) ValidateAll() error

ValidateAll checks the field values on ListNoticeReply 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 ListNoticeReplyMultiError, or nil if none found.

type ListNoticeReplyMultiError

type ListNoticeReplyMultiError []error

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

func (ListNoticeReplyMultiError) AllErrors

func (m ListNoticeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNoticeReplyMultiError) Error

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

type ListNoticeReplyValidationError

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

ListNoticeReplyValidationError is the validation error returned by ListNoticeReply.Validate if the designated constraints aren't met.

func (ListNoticeReplyValidationError) Cause

Cause function returns cause value.

func (ListNoticeReplyValidationError) Error

Error satisfies the builtin error interface

func (ListNoticeReplyValidationError) ErrorName

func (e ListNoticeReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListNoticeReplyValidationError) Field

Field function returns field value.

func (ListNoticeReplyValidationError) Key

Key function returns key value.

func (ListNoticeReplyValidationError) Reason

Reason function returns reason value.

type ListNoticeReply_App

type ListNoticeReply_App struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoticeReply_App) Descriptor deprecated

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

Deprecated: Use ListNoticeReply_App.ProtoReflect.Descriptor instead.

func (*ListNoticeReply_App) GetId

func (x *ListNoticeReply_App) GetId() uint32
func (x *ListNoticeReply_App) GetLogo() string

func (*ListNoticeReply_App) GetName

func (x *ListNoticeReply_App) GetName() string

func (*ListNoticeReply_App) ProtoMessage

func (*ListNoticeReply_App) ProtoMessage()

func (*ListNoticeReply_App) ProtoReflect

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

func (*ListNoticeReply_App) Reset

func (x *ListNoticeReply_App) Reset()

func (*ListNoticeReply_App) String

func (x *ListNoticeReply_App) String() string

func (*ListNoticeReply_App) Validate

func (m *ListNoticeReply_App) Validate() error

Validate checks the field values on ListNoticeReply_App 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 (*ListNoticeReply_App) ValidateAll

func (m *ListNoticeReply_App) ValidateAll() error

ValidateAll checks the field values on ListNoticeReply_App 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 ListNoticeReply_AppMultiError, or nil if none found.

type ListNoticeReply_AppMultiError

type ListNoticeReply_AppMultiError []error

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

func (ListNoticeReply_AppMultiError) AllErrors

func (m ListNoticeReply_AppMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNoticeReply_AppMultiError) Error

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

type ListNoticeReply_AppValidationError

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

ListNoticeReply_AppValidationError is the validation error returned by ListNoticeReply_App.Validate if the designated constraints aren't met.

func (ListNoticeReply_AppValidationError) Cause

Cause function returns cause value.

func (ListNoticeReply_AppValidationError) Error

Error satisfies the builtin error interface

func (ListNoticeReply_AppValidationError) ErrorName

ErrorName returns error name.

func (ListNoticeReply_AppValidationError) Field

Field function returns field value.

func (ListNoticeReply_AppValidationError) Key

Key function returns key value.

func (ListNoticeReply_AppValidationError) Reason

Reason function returns reason value.

type ListNoticeReply_Classify

type ListNoticeReply_Classify struct {
	Id   uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoticeReply_Classify) Descriptor deprecated

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

Deprecated: Use ListNoticeReply_Classify.ProtoReflect.Descriptor instead.

func (*ListNoticeReply_Classify) GetId

func (x *ListNoticeReply_Classify) GetId() uint32
func (x *ListNoticeReply_Classify) GetLogo() string

func (*ListNoticeReply_Classify) GetName

func (x *ListNoticeReply_Classify) GetName() string

func (*ListNoticeReply_Classify) ProtoMessage

func (*ListNoticeReply_Classify) ProtoMessage()

func (*ListNoticeReply_Classify) ProtoReflect

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

func (*ListNoticeReply_Classify) Reset

func (x *ListNoticeReply_Classify) Reset()

func (*ListNoticeReply_Classify) String

func (x *ListNoticeReply_Classify) String() string

func (*ListNoticeReply_Classify) Validate

func (m *ListNoticeReply_Classify) Validate() error

Validate checks the field values on ListNoticeReply_Classify 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 (*ListNoticeReply_Classify) ValidateAll

func (m *ListNoticeReply_Classify) ValidateAll() error

ValidateAll checks the field values on ListNoticeReply_Classify 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 ListNoticeReply_ClassifyMultiError, or nil if none found.

type ListNoticeReply_ClassifyMultiError

type ListNoticeReply_ClassifyMultiError []error

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

func (ListNoticeReply_ClassifyMultiError) AllErrors

func (m ListNoticeReply_ClassifyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNoticeReply_ClassifyMultiError) Error

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

type ListNoticeReply_ClassifyValidationError

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

ListNoticeReply_ClassifyValidationError is the validation error returned by ListNoticeReply_Classify.Validate if the designated constraints aren't met.

func (ListNoticeReply_ClassifyValidationError) Cause

Cause function returns cause value.

func (ListNoticeReply_ClassifyValidationError) Error

Error satisfies the builtin error interface

func (ListNoticeReply_ClassifyValidationError) ErrorName

ErrorName returns error name.

func (ListNoticeReply_ClassifyValidationError) Field

Field function returns field value.

func (ListNoticeReply_ClassifyValidationError) Key

Key function returns key value.

func (ListNoticeReply_ClassifyValidationError) Reason

Reason function returns reason value.

type ListNoticeReply_Notice

type ListNoticeReply_Notice struct {
	Id          uint32                    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AppId       uint32                    `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
	ClassifyId  uint32                    `protobuf:"varint,3,opt,name=classifyId,proto3" json:"classifyId,omitempty"`
	Title       string                    `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Description string                    `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Unit        string                    `protobuf:"bytes,6,opt,name=unit,proto3" json:"unit,omitempty"`
	IsTop       *bool                     `protobuf:"varint,7,opt,name=isTop,proto3,oneof" json:"isTop,omitempty"`
	Status      *bool                     `protobuf:"varint,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
	CreatedAt   uint32                    `protobuf:"varint,9,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32                    `protobuf:"varint,10,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	App         *ListNoticeReply_App      `protobuf:"bytes,11,opt,name=app,proto3" json:"app,omitempty"`
	Classify    *ListNoticeReply_Classify `protobuf:"bytes,12,opt,name=classify,proto3" json:"classify,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoticeReply_Notice) Descriptor deprecated

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

Deprecated: Use ListNoticeReply_Notice.ProtoReflect.Descriptor instead.

func (*ListNoticeReply_Notice) GetApp

func (*ListNoticeReply_Notice) GetAppId

func (x *ListNoticeReply_Notice) GetAppId() uint32

func (*ListNoticeReply_Notice) GetClassify

func (*ListNoticeReply_Notice) GetClassifyId

func (x *ListNoticeReply_Notice) GetClassifyId() uint32

func (*ListNoticeReply_Notice) GetCreatedAt

func (x *ListNoticeReply_Notice) GetCreatedAt() uint32

func (*ListNoticeReply_Notice) GetDescription

func (x *ListNoticeReply_Notice) GetDescription() string

func (*ListNoticeReply_Notice) GetId

func (x *ListNoticeReply_Notice) GetId() uint32

func (*ListNoticeReply_Notice) GetIsTop

func (x *ListNoticeReply_Notice) GetIsTop() bool

func (*ListNoticeReply_Notice) GetStatus

func (x *ListNoticeReply_Notice) GetStatus() bool

func (*ListNoticeReply_Notice) GetTitle

func (x *ListNoticeReply_Notice) GetTitle() string

func (*ListNoticeReply_Notice) GetUnit

func (x *ListNoticeReply_Notice) GetUnit() string

func (*ListNoticeReply_Notice) GetUpdatedAt

func (x *ListNoticeReply_Notice) GetUpdatedAt() uint32

func (*ListNoticeReply_Notice) ProtoMessage

func (*ListNoticeReply_Notice) ProtoMessage()

func (*ListNoticeReply_Notice) ProtoReflect

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

func (*ListNoticeReply_Notice) Reset

func (x *ListNoticeReply_Notice) Reset()

func (*ListNoticeReply_Notice) String

func (x *ListNoticeReply_Notice) String() string

func (*ListNoticeReply_Notice) Validate

func (m *ListNoticeReply_Notice) Validate() error

Validate checks the field values on ListNoticeReply_Notice 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 (*ListNoticeReply_Notice) ValidateAll

func (m *ListNoticeReply_Notice) ValidateAll() error

ValidateAll checks the field values on ListNoticeReply_Notice 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 ListNoticeReply_NoticeMultiError, or nil if none found.

type ListNoticeReply_NoticeMultiError

type ListNoticeReply_NoticeMultiError []error

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

func (ListNoticeReply_NoticeMultiError) AllErrors

func (m ListNoticeReply_NoticeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNoticeReply_NoticeMultiError) Error

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

type ListNoticeReply_NoticeValidationError

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

ListNoticeReply_NoticeValidationError is the validation error returned by ListNoticeReply_Notice.Validate if the designated constraints aren't met.

func (ListNoticeReply_NoticeValidationError) Cause

Cause function returns cause value.

func (ListNoticeReply_NoticeValidationError) Error

Error satisfies the builtin error interface

func (ListNoticeReply_NoticeValidationError) ErrorName

ErrorName returns error name.

func (ListNoticeReply_NoticeValidationError) Field

Field function returns field value.

func (ListNoticeReply_NoticeValidationError) Key

Key function returns key value.

func (ListNoticeReply_NoticeValidationError) Reason

Reason function returns reason value.

type ListNoticeRequest

type ListNoticeRequest struct {
	Page       uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   uint32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	AppId      *uint32 `protobuf:"varint,3,opt,name=appId,proto3,oneof" json:"appId,omitempty"`
	ClassifyId *uint32 `protobuf:"varint,4,opt,name=classifyId,proto3,oneof" json:"classifyId,omitempty"`
	Title      *string `protobuf:"bytes,5,opt,name=title,proto3,oneof" json:"title,omitempty"`
	IsTop      *bool   `protobuf:"varint,6,opt,name=isTop,proto3,oneof" json:"isTop,omitempty"`
	Status     *bool   `protobuf:"varint,7,opt,name=status,proto3,oneof" json:"status,omitempty"`
	NotRead    *bool   `protobuf:"varint,8,opt,name=notRead,proto3,oneof" json:"notRead,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoticeRequest) Descriptor deprecated

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

Deprecated: Use ListNoticeRequest.ProtoReflect.Descriptor instead.

func (*ListNoticeRequest) GetAppId

func (x *ListNoticeRequest) GetAppId() uint32

func (*ListNoticeRequest) GetClassifyId

func (x *ListNoticeRequest) GetClassifyId() uint32

func (*ListNoticeRequest) GetIsTop

func (x *ListNoticeRequest) GetIsTop() bool

func (*ListNoticeRequest) GetNotRead

func (x *ListNoticeRequest) GetNotRead() bool

func (*ListNoticeRequest) GetPage

func (x *ListNoticeRequest) GetPage() uint32

func (*ListNoticeRequest) GetPageSize

func (x *ListNoticeRequest) GetPageSize() uint32

func (*ListNoticeRequest) GetStatus

func (x *ListNoticeRequest) GetStatus() bool

func (*ListNoticeRequest) GetTitle

func (x *ListNoticeRequest) GetTitle() string

func (*ListNoticeRequest) ProtoMessage

func (*ListNoticeRequest) ProtoMessage()

func (*ListNoticeRequest) ProtoReflect

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

func (*ListNoticeRequest) Reset

func (x *ListNoticeRequest) Reset()

func (*ListNoticeRequest) String

func (x *ListNoticeRequest) String() string

func (*ListNoticeRequest) Validate

func (m *ListNoticeRequest) Validate() error

Validate checks the field values on ListNoticeRequest 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 (*ListNoticeRequest) ValidateAll

func (m *ListNoticeRequest) ValidateAll() error

ValidateAll checks the field values on ListNoticeRequest 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 ListNoticeRequestMultiError, or nil if none found.

type ListNoticeRequestMultiError

type ListNoticeRequestMultiError []error

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

func (ListNoticeRequestMultiError) AllErrors

func (m ListNoticeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListNoticeRequestMultiError) Error

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

type ListNoticeRequestValidationError

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

ListNoticeRequestValidationError is the validation error returned by ListNoticeRequest.Validate if the designated constraints aren't met.

func (ListNoticeRequestValidationError) Cause

Cause function returns cause value.

func (ListNoticeRequestValidationError) Error

Error satisfies the builtin error interface

func (ListNoticeRequestValidationError) ErrorName

ErrorName returns error name.

func (ListNoticeRequestValidationError) Field

Field function returns field value.

func (ListNoticeRequestValidationError) Key

Key function returns key value.

func (ListNoticeRequestValidationError) Reason

Reason function returns reason value.

type ListVisibleNoticeRequest

type ListVisibleNoticeRequest struct {
	Page       uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   uint32  `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	AppId      *uint32 `protobuf:"varint,3,opt,name=appId,proto3,oneof" json:"appId,omitempty"`
	ClassifyId *uint32 `protobuf:"varint,4,opt,name=classifyId,proto3,oneof" json:"classifyId,omitempty"`
	Title      *string `protobuf:"bytes,5,opt,name=title,proto3,oneof" json:"title,omitempty"`
	NotRead    *bool   `protobuf:"varint,8,opt,name=notRead,proto3,oneof" json:"notRead,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVisibleNoticeRequest) Descriptor deprecated

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

Deprecated: Use ListVisibleNoticeRequest.ProtoReflect.Descriptor instead.

func (*ListVisibleNoticeRequest) GetAppId

func (x *ListVisibleNoticeRequest) GetAppId() uint32

func (*ListVisibleNoticeRequest) GetClassifyId

func (x *ListVisibleNoticeRequest) GetClassifyId() uint32

func (*ListVisibleNoticeRequest) GetNotRead

func (x *ListVisibleNoticeRequest) GetNotRead() bool

func (*ListVisibleNoticeRequest) GetPage

func (x *ListVisibleNoticeRequest) GetPage() uint32

func (*ListVisibleNoticeRequest) GetPageSize

func (x *ListVisibleNoticeRequest) GetPageSize() uint32

func (*ListVisibleNoticeRequest) GetTitle

func (x *ListVisibleNoticeRequest) GetTitle() string

func (*ListVisibleNoticeRequest) ProtoMessage

func (*ListVisibleNoticeRequest) ProtoMessage()

func (*ListVisibleNoticeRequest) ProtoReflect

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

func (*ListVisibleNoticeRequest) Reset

func (x *ListVisibleNoticeRequest) Reset()

func (*ListVisibleNoticeRequest) String

func (x *ListVisibleNoticeRequest) String() string

func (*ListVisibleNoticeRequest) Validate

func (m *ListVisibleNoticeRequest) Validate() error

Validate checks the field values on ListVisibleNoticeRequest 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 (*ListVisibleNoticeRequest) ValidateAll

func (m *ListVisibleNoticeRequest) ValidateAll() error

ValidateAll checks the field values on ListVisibleNoticeRequest 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 ListVisibleNoticeRequestMultiError, or nil if none found.

type ListVisibleNoticeRequestMultiError

type ListVisibleNoticeRequestMultiError []error

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

func (ListVisibleNoticeRequestMultiError) AllErrors

func (m ListVisibleNoticeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListVisibleNoticeRequestMultiError) Error

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

type ListVisibleNoticeRequestValidationError

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

ListVisibleNoticeRequestValidationError is the validation error returned by ListVisibleNoticeRequest.Validate if the designated constraints aren't met.

func (ListVisibleNoticeRequestValidationError) Cause

Cause function returns cause value.

func (ListVisibleNoticeRequestValidationError) Error

Error satisfies the builtin error interface

func (ListVisibleNoticeRequestValidationError) ErrorName

ErrorName returns error name.

func (ListVisibleNoticeRequestValidationError) Field

Field function returns field value.

func (ListVisibleNoticeRequestValidationError) Key

Key function returns key value.

func (ListVisibleNoticeRequestValidationError) Reason

Reason function returns reason value.

type NoticeClient

type NoticeClient interface {
	// ListNoticeClassify 获取通知分类列表
	ListNoticeClassify(ctx context.Context, in *ListNoticeClassifyRequest, opts ...grpc.CallOption) (*ListNoticeClassifyReply, error)
	// CreateNoticeClassify 创建通知分类
	CreateNoticeClassify(ctx context.Context, in *CreateNoticeClassifyRequest, opts ...grpc.CallOption) (*CreateNoticeClassifyReply, error)
	// UpdateNoticeClassify 更新通知分类
	UpdateNoticeClassify(ctx context.Context, in *UpdateNoticeClassifyRequest, opts ...grpc.CallOption) (*UpdateNoticeClassifyReply, error)
	// DeleteNoticeClassify 删除通知分类
	DeleteNoticeClassify(ctx context.Context, in *DeleteNoticeClassifyRequest, opts ...grpc.CallOption) (*DeleteNoticeClassifyReply, error)
	// GetNotice 获取指定的通知信息
	GetNotice(ctx context.Context, in *GetNoticeRequest, opts ...grpc.CallOption) (*GetNoticeReply, error)
	// ListNotice 获取通知信息列表
	ListVisibleNotice(ctx context.Context, in *ListVisibleNoticeRequest, opts ...grpc.CallOption) (*ListNoticeReply, error)
	// GetVisibleNotice 获取可见通知信息
	GetVisibleNotice(ctx context.Context, in *GetNoticeRequest, opts ...grpc.CallOption) (*GetNoticeReply, error)
	// ListNotice 获取通知信息列表
	ListNotice(ctx context.Context, in *ListNoticeRequest, opts ...grpc.CallOption) (*ListNoticeReply, error)
	// CreateNotice 创建通知信息
	CreateNotice(ctx context.Context, in *CreateNoticeRequest, opts ...grpc.CallOption) (*CreateNoticeReply, error)
	// UpdateNotice 更新通知信息
	UpdateNotice(ctx context.Context, in *UpdateNoticeRequest, opts ...grpc.CallOption) (*UpdateNoticeReply, error)
	// DeleteNotice 删除通知信息
	DeleteNotice(ctx context.Context, in *DeleteNoticeRequest, opts ...grpc.CallOption) (*DeleteNoticeReply, error)
}

NoticeClient is the client API for Notice 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 NewNoticeClient

func NewNoticeClient(cc grpc.ClientConnInterface) NoticeClient

type NoticeHTTPClient

type NoticeHTTPClient interface {
	CreateNotice(ctx context.Context, req *CreateNoticeRequest, opts ...http.CallOption) (rsp *CreateNoticeReply, err error)
	CreateNoticeClassify(ctx context.Context, req *CreateNoticeClassifyRequest, opts ...http.CallOption) (rsp *CreateNoticeClassifyReply, err error)
	DeleteNotice(ctx context.Context, req *DeleteNoticeRequest, opts ...http.CallOption) (rsp *DeleteNoticeReply, err error)
	DeleteNoticeClassify(ctx context.Context, req *DeleteNoticeClassifyRequest, opts ...http.CallOption) (rsp *DeleteNoticeClassifyReply, err error)
	GetNotice(ctx context.Context, req *GetNoticeRequest, opts ...http.CallOption) (rsp *GetNoticeReply, err error)
	GetVisibleNotice(ctx context.Context, req *GetNoticeRequest, opts ...http.CallOption) (rsp *GetNoticeReply, err error)
	ListNotice(ctx context.Context, req *ListNoticeRequest, opts ...http.CallOption) (rsp *ListNoticeReply, err error)
	ListNoticeClassify(ctx context.Context, req *ListNoticeClassifyRequest, opts ...http.CallOption) (rsp *ListNoticeClassifyReply, err error)
	ListVisibleNotice(ctx context.Context, req *ListVisibleNoticeRequest, opts ...http.CallOption) (rsp *ListNoticeReply, err error)
	UpdateNotice(ctx context.Context, req *UpdateNoticeRequest, opts ...http.CallOption) (rsp *UpdateNoticeReply, err error)
	UpdateNoticeClassify(ctx context.Context, req *UpdateNoticeClassifyRequest, opts ...http.CallOption) (rsp *UpdateNoticeClassifyReply, err error)
}

func NewNoticeHTTPClient

func NewNoticeHTTPClient(client *http.Client) NoticeHTTPClient

type NoticeHTTPClientImpl

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

func (*NoticeHTTPClientImpl) CreateNotice

func (*NoticeHTTPClientImpl) CreateNoticeClassify

func (*NoticeHTTPClientImpl) DeleteNotice

func (*NoticeHTTPClientImpl) DeleteNoticeClassify

func (*NoticeHTTPClientImpl) GetNotice

func (*NoticeHTTPClientImpl) GetVisibleNotice

func (c *NoticeHTTPClientImpl) GetVisibleNotice(ctx context.Context, in *GetNoticeRequest, opts ...http.CallOption) (*GetNoticeReply, error)

func (*NoticeHTTPClientImpl) ListNotice

func (*NoticeHTTPClientImpl) ListNoticeClassify

func (*NoticeHTTPClientImpl) ListVisibleNotice

func (*NoticeHTTPClientImpl) UpdateNotice

func (*NoticeHTTPClientImpl) UpdateNoticeClassify

type NoticeHTTPServer

type NoticeHTTPServer interface {
	// CreateNotice CreateNotice 创建通知信息
	CreateNotice(context.Context, *CreateNoticeRequest) (*CreateNoticeReply, error)
	// CreateNoticeClassify CreateNoticeClassify 创建通知分类
	CreateNoticeClassify(context.Context, *CreateNoticeClassifyRequest) (*CreateNoticeClassifyReply, error)
	// DeleteNotice DeleteNotice 删除通知信息
	DeleteNotice(context.Context, *DeleteNoticeRequest) (*DeleteNoticeReply, error)
	// DeleteNoticeClassify DeleteNoticeClassify 删除通知分类
	DeleteNoticeClassify(context.Context, *DeleteNoticeClassifyRequest) (*DeleteNoticeClassifyReply, error)
	// GetNotice GetNotice 获取指定的通知信息
	GetNotice(context.Context, *GetNoticeRequest) (*GetNoticeReply, error)
	// GetVisibleNotice GetVisibleNotice 获取可见通知信息
	GetVisibleNotice(context.Context, *GetNoticeRequest) (*GetNoticeReply, error)
	// ListNotice ListNotice 获取通知信息列表
	ListNotice(context.Context, *ListNoticeRequest) (*ListNoticeReply, error)
	// ListNoticeClassify ListNoticeClassify 获取通知分类列表
	ListNoticeClassify(context.Context, *ListNoticeClassifyRequest) (*ListNoticeClassifyReply, error)
	// ListVisibleNotice ListNotice 获取通知信息列表
	ListVisibleNotice(context.Context, *ListVisibleNoticeRequest) (*ListNoticeReply, error)
	// UpdateNotice UpdateNotice 更新通知信息
	UpdateNotice(context.Context, *UpdateNoticeRequest) (*UpdateNoticeReply, error)
	// UpdateNoticeClassify UpdateNoticeClassify 更新通知分类
	UpdateNoticeClassify(context.Context, *UpdateNoticeClassifyRequest) (*UpdateNoticeClassifyReply, error)
}

type NoticeServer

type NoticeServer interface {
	// ListNoticeClassify 获取通知分类列表
	ListNoticeClassify(context.Context, *ListNoticeClassifyRequest) (*ListNoticeClassifyReply, error)
	// CreateNoticeClassify 创建通知分类
	CreateNoticeClassify(context.Context, *CreateNoticeClassifyRequest) (*CreateNoticeClassifyReply, error)
	// UpdateNoticeClassify 更新通知分类
	UpdateNoticeClassify(context.Context, *UpdateNoticeClassifyRequest) (*UpdateNoticeClassifyReply, error)
	// DeleteNoticeClassify 删除通知分类
	DeleteNoticeClassify(context.Context, *DeleteNoticeClassifyRequest) (*DeleteNoticeClassifyReply, error)
	// GetNotice 获取指定的通知信息
	GetNotice(context.Context, *GetNoticeRequest) (*GetNoticeReply, error)
	// ListNotice 获取通知信息列表
	ListVisibleNotice(context.Context, *ListVisibleNoticeRequest) (*ListNoticeReply, error)
	// GetVisibleNotice 获取可见通知信息
	GetVisibleNotice(context.Context, *GetNoticeRequest) (*GetNoticeReply, error)
	// ListNotice 获取通知信息列表
	ListNotice(context.Context, *ListNoticeRequest) (*ListNoticeReply, error)
	// CreateNotice 创建通知信息
	CreateNotice(context.Context, *CreateNoticeRequest) (*CreateNoticeReply, error)
	// UpdateNotice 更新通知信息
	UpdateNotice(context.Context, *UpdateNoticeRequest) (*UpdateNoticeReply, error)
	// DeleteNotice 删除通知信息
	DeleteNotice(context.Context, *DeleteNoticeRequest) (*DeleteNoticeReply, error)
	// contains filtered or unexported methods
}

NoticeServer is the server API for Notice service. All implementations must embed UnimplementedNoticeServer for forward compatibility

type UnimplementedNoticeServer

type UnimplementedNoticeServer struct{}

UnimplementedNoticeServer must be embedded to have forward compatible implementations.

func (UnimplementedNoticeServer) CreateNotice

func (UnimplementedNoticeServer) DeleteNotice

func (UnimplementedNoticeServer) GetNotice

func (UnimplementedNoticeServer) GetVisibleNotice

func (UnimplementedNoticeServer) ListNotice

func (UnimplementedNoticeServer) ListNoticeClassify

func (UnimplementedNoticeServer) ListVisibleNotice

func (UnimplementedNoticeServer) UpdateNotice

type UnsafeNoticeServer

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

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

type UpdateNoticeClassifyReply

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

func (*UpdateNoticeClassifyReply) Descriptor deprecated

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

Deprecated: Use UpdateNoticeClassifyReply.ProtoReflect.Descriptor instead.

func (*UpdateNoticeClassifyReply) ProtoMessage

func (*UpdateNoticeClassifyReply) ProtoMessage()

func (*UpdateNoticeClassifyReply) ProtoReflect

func (*UpdateNoticeClassifyReply) Reset

func (x *UpdateNoticeClassifyReply) Reset()

func (*UpdateNoticeClassifyReply) String

func (x *UpdateNoticeClassifyReply) String() string

func (*UpdateNoticeClassifyReply) Validate

func (m *UpdateNoticeClassifyReply) Validate() error

Validate checks the field values on UpdateNoticeClassifyReply 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 (*UpdateNoticeClassifyReply) ValidateAll

func (m *UpdateNoticeClassifyReply) ValidateAll() error

ValidateAll checks the field values on UpdateNoticeClassifyReply 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 UpdateNoticeClassifyReplyMultiError, or nil if none found.

type UpdateNoticeClassifyReplyMultiError

type UpdateNoticeClassifyReplyMultiError []error

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

func (UpdateNoticeClassifyReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateNoticeClassifyReplyMultiError) Error

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

type UpdateNoticeClassifyReplyValidationError

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

UpdateNoticeClassifyReplyValidationError is the validation error returned by UpdateNoticeClassifyReply.Validate if the designated constraints aren't met.

func (UpdateNoticeClassifyReplyValidationError) Cause

Cause function returns cause value.

func (UpdateNoticeClassifyReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateNoticeClassifyReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateNoticeClassifyReplyValidationError) Field

Field function returns field value.

func (UpdateNoticeClassifyReplyValidationError) Key

Key function returns key value.

func (UpdateNoticeClassifyReplyValidationError) Reason

Reason function returns reason value.

type UpdateNoticeClassifyRequest

type UpdateNoticeClassifyRequest struct {
	Id     uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Weight *uint32 `protobuf:"varint,4,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNoticeClassifyRequest) Descriptor deprecated

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

Deprecated: Use UpdateNoticeClassifyRequest.ProtoReflect.Descriptor instead.

func (*UpdateNoticeClassifyRequest) GetId

func (x *UpdateNoticeClassifyRequest) GetLogo() string

func (*UpdateNoticeClassifyRequest) GetName

func (x *UpdateNoticeClassifyRequest) GetName() string

func (*UpdateNoticeClassifyRequest) GetWeight

func (x *UpdateNoticeClassifyRequest) GetWeight() uint32

func (*UpdateNoticeClassifyRequest) ProtoMessage

func (*UpdateNoticeClassifyRequest) ProtoMessage()

func (*UpdateNoticeClassifyRequest) ProtoReflect

func (*UpdateNoticeClassifyRequest) Reset

func (x *UpdateNoticeClassifyRequest) Reset()

func (*UpdateNoticeClassifyRequest) String

func (x *UpdateNoticeClassifyRequest) String() string

func (*UpdateNoticeClassifyRequest) Validate

func (m *UpdateNoticeClassifyRequest) Validate() error

Validate checks the field values on UpdateNoticeClassifyRequest 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 (*UpdateNoticeClassifyRequest) ValidateAll

func (m *UpdateNoticeClassifyRequest) ValidateAll() error

ValidateAll checks the field values on UpdateNoticeClassifyRequest 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 UpdateNoticeClassifyRequestMultiError, or nil if none found.

type UpdateNoticeClassifyRequestMultiError

type UpdateNoticeClassifyRequestMultiError []error

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

func (UpdateNoticeClassifyRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateNoticeClassifyRequestMultiError) Error

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

type UpdateNoticeClassifyRequestValidationError

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

UpdateNoticeClassifyRequestValidationError is the validation error returned by UpdateNoticeClassifyRequest.Validate if the designated constraints aren't met.

func (UpdateNoticeClassifyRequestValidationError) Cause

Cause function returns cause value.

func (UpdateNoticeClassifyRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateNoticeClassifyRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateNoticeClassifyRequestValidationError) Field

Field function returns field value.

func (UpdateNoticeClassifyRequestValidationError) Key

Key function returns key value.

func (UpdateNoticeClassifyRequestValidationError) Reason

Reason function returns reason value.

type UpdateNoticeReply

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

func (*UpdateNoticeReply) Descriptor deprecated

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

Deprecated: Use UpdateNoticeReply.ProtoReflect.Descriptor instead.

func (*UpdateNoticeReply) ProtoMessage

func (*UpdateNoticeReply) ProtoMessage()

func (*UpdateNoticeReply) ProtoReflect

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

func (*UpdateNoticeReply) Reset

func (x *UpdateNoticeReply) Reset()

func (*UpdateNoticeReply) String

func (x *UpdateNoticeReply) String() string

func (*UpdateNoticeReply) Validate

func (m *UpdateNoticeReply) Validate() error

Validate checks the field values on UpdateNoticeReply 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 (*UpdateNoticeReply) ValidateAll

func (m *UpdateNoticeReply) ValidateAll() error

ValidateAll checks the field values on UpdateNoticeReply 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 UpdateNoticeReplyMultiError, or nil if none found.

type UpdateNoticeReplyMultiError

type UpdateNoticeReplyMultiError []error

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

func (UpdateNoticeReplyMultiError) AllErrors

func (m UpdateNoticeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateNoticeReplyMultiError) Error

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

type UpdateNoticeReplyValidationError

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

UpdateNoticeReplyValidationError is the validation error returned by UpdateNoticeReply.Validate if the designated constraints aren't met.

func (UpdateNoticeReplyValidationError) Cause

Cause function returns cause value.

func (UpdateNoticeReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateNoticeReplyValidationError) ErrorName

ErrorName returns error name.

func (UpdateNoticeReplyValidationError) Field

Field function returns field value.

func (UpdateNoticeReplyValidationError) Key

Key function returns key value.

func (UpdateNoticeReplyValidationError) Reason

Reason function returns reason value.

type UpdateNoticeRequest

type UpdateNoticeRequest struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	AppId       *uint32 `protobuf:"varint,2,opt,name=appId,proto3,oneof" json:"appId,omitempty"`
	ClassifyId  *uint32 `protobuf:"varint,3,opt,name=classifyId,proto3,oneof" json:"classifyId,omitempty"`
	Title       *string `protobuf:"bytes,4,opt,name=title,proto3,oneof" json:"title,omitempty"`
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	Unit        *string `protobuf:"bytes,6,opt,name=unit,proto3,oneof" json:"unit,omitempty"`
	Content     *string `protobuf:"bytes,7,opt,name=content,proto3,oneof" json:"content,omitempty"`
	IsTop       *bool   `protobuf:"varint,8,opt,name=isTop,proto3,oneof" json:"isTop,omitempty"`
	Status      *bool   `protobuf:"varint,9,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNoticeRequest) Descriptor deprecated

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

Deprecated: Use UpdateNoticeRequest.ProtoReflect.Descriptor instead.

func (*UpdateNoticeRequest) GetAppId

func (x *UpdateNoticeRequest) GetAppId() uint32

func (*UpdateNoticeRequest) GetClassifyId

func (x *UpdateNoticeRequest) GetClassifyId() uint32

func (*UpdateNoticeRequest) GetContent

func (x *UpdateNoticeRequest) GetContent() string

func (*UpdateNoticeRequest) GetDescription

func (x *UpdateNoticeRequest) GetDescription() string

func (*UpdateNoticeRequest) GetId

func (x *UpdateNoticeRequest) GetId() uint32

func (*UpdateNoticeRequest) GetIsTop

func (x *UpdateNoticeRequest) GetIsTop() bool

func (*UpdateNoticeRequest) GetStatus

func (x *UpdateNoticeRequest) GetStatus() bool

func (*UpdateNoticeRequest) GetTitle

func (x *UpdateNoticeRequest) GetTitle() string

func (*UpdateNoticeRequest) GetUnit

func (x *UpdateNoticeRequest) GetUnit() string

func (*UpdateNoticeRequest) ProtoMessage

func (*UpdateNoticeRequest) ProtoMessage()

func (*UpdateNoticeRequest) ProtoReflect

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

func (*UpdateNoticeRequest) Reset

func (x *UpdateNoticeRequest) Reset()

func (*UpdateNoticeRequest) String

func (x *UpdateNoticeRequest) String() string

func (*UpdateNoticeRequest) Validate

func (m *UpdateNoticeRequest) Validate() error

Validate checks the field values on UpdateNoticeRequest 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 (*UpdateNoticeRequest) ValidateAll

func (m *UpdateNoticeRequest) ValidateAll() error

ValidateAll checks the field values on UpdateNoticeRequest 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 UpdateNoticeRequestMultiError, or nil if none found.

type UpdateNoticeRequestMultiError

type UpdateNoticeRequestMultiError []error

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

func (UpdateNoticeRequestMultiError) AllErrors

func (m UpdateNoticeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateNoticeRequestMultiError) Error

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

type UpdateNoticeRequestValidationError

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

UpdateNoticeRequestValidationError is the validation error returned by UpdateNoticeRequest.Validate if the designated constraints aren't met.

func (UpdateNoticeRequestValidationError) Cause

Cause function returns cause value.

func (UpdateNoticeRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateNoticeRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateNoticeRequestValidationError) Field

Field function returns field value.

func (UpdateNoticeRequestValidationError) Key

Key function returns key value.

func (UpdateNoticeRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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