Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterNoticeHTTPServer(s *http.Server, srv NoticeHTTPServer)
- func RegisterNoticeServer(s grpc.ServiceRegistrar, srv NoticeServer)
- type CreateNoticeClassifyReply
- func (*CreateNoticeClassifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNoticeClassifyReply) GetId() uint32
- func (*CreateNoticeClassifyReply) ProtoMessage()
- func (x *CreateNoticeClassifyReply) ProtoReflect() protoreflect.Message
- func (x *CreateNoticeClassifyReply) Reset()
- func (x *CreateNoticeClassifyReply) String() string
- func (m *CreateNoticeClassifyReply) Validate() error
- func (m *CreateNoticeClassifyReply) ValidateAll() error
- type CreateNoticeClassifyReplyMultiError
- type CreateNoticeClassifyReplyValidationError
- func (e CreateNoticeClassifyReplyValidationError) Cause() error
- func (e CreateNoticeClassifyReplyValidationError) Error() string
- func (e CreateNoticeClassifyReplyValidationError) ErrorName() string
- func (e CreateNoticeClassifyReplyValidationError) Field() string
- func (e CreateNoticeClassifyReplyValidationError) Key() bool
- func (e CreateNoticeClassifyReplyValidationError) Reason() string
- type CreateNoticeClassifyRequest
- func (*CreateNoticeClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNoticeClassifyRequest) GetLogo() string
- func (x *CreateNoticeClassifyRequest) GetName() string
- func (x *CreateNoticeClassifyRequest) GetWeight() uint32
- func (*CreateNoticeClassifyRequest) ProtoMessage()
- func (x *CreateNoticeClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNoticeClassifyRequest) Reset()
- func (x *CreateNoticeClassifyRequest) String() string
- func (m *CreateNoticeClassifyRequest) Validate() error
- func (m *CreateNoticeClassifyRequest) ValidateAll() error
- type CreateNoticeClassifyRequestMultiError
- type CreateNoticeClassifyRequestValidationError
- func (e CreateNoticeClassifyRequestValidationError) Cause() error
- func (e CreateNoticeClassifyRequestValidationError) Error() string
- func (e CreateNoticeClassifyRequestValidationError) ErrorName() string
- func (e CreateNoticeClassifyRequestValidationError) Field() string
- func (e CreateNoticeClassifyRequestValidationError) Key() bool
- func (e CreateNoticeClassifyRequestValidationError) Reason() string
- type CreateNoticeReply
- func (*CreateNoticeReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNoticeReply) GetId() uint32
- func (*CreateNoticeReply) ProtoMessage()
- func (x *CreateNoticeReply) ProtoReflect() protoreflect.Message
- func (x *CreateNoticeReply) Reset()
- func (x *CreateNoticeReply) String() string
- func (m *CreateNoticeReply) Validate() error
- func (m *CreateNoticeReply) ValidateAll() error
- type CreateNoticeReplyMultiError
- type CreateNoticeReplyValidationError
- func (e CreateNoticeReplyValidationError) Cause() error
- func (e CreateNoticeReplyValidationError) Error() string
- func (e CreateNoticeReplyValidationError) ErrorName() string
- func (e CreateNoticeReplyValidationError) Field() string
- func (e CreateNoticeReplyValidationError) Key() bool
- func (e CreateNoticeReplyValidationError) Reason() string
- type CreateNoticeRequest
- func (*CreateNoticeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNoticeRequest) GetAppId() uint32
- func (x *CreateNoticeRequest) GetClassifyId() uint32
- func (x *CreateNoticeRequest) GetContent() string
- func (x *CreateNoticeRequest) GetDescription() string
- func (x *CreateNoticeRequest) GetIsTop() bool
- func (x *CreateNoticeRequest) GetStatus() bool
- func (x *CreateNoticeRequest) GetTitle() string
- func (x *CreateNoticeRequest) GetUnit() string
- func (*CreateNoticeRequest) ProtoMessage()
- func (x *CreateNoticeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNoticeRequest) Reset()
- func (x *CreateNoticeRequest) String() string
- func (m *CreateNoticeRequest) Validate() error
- func (m *CreateNoticeRequest) ValidateAll() error
- type CreateNoticeRequestMultiError
- type CreateNoticeRequestValidationError
- func (e CreateNoticeRequestValidationError) Cause() error
- func (e CreateNoticeRequestValidationError) Error() string
- func (e CreateNoticeRequestValidationError) ErrorName() string
- func (e CreateNoticeRequestValidationError) Field() string
- func (e CreateNoticeRequestValidationError) Key() bool
- func (e CreateNoticeRequestValidationError) Reason() string
- type DeleteNoticeClassifyReply
- func (*DeleteNoticeClassifyReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteNoticeClassifyReply) ProtoMessage()
- func (x *DeleteNoticeClassifyReply) ProtoReflect() protoreflect.Message
- func (x *DeleteNoticeClassifyReply) Reset()
- func (x *DeleteNoticeClassifyReply) String() string
- func (m *DeleteNoticeClassifyReply) Validate() error
- func (m *DeleteNoticeClassifyReply) ValidateAll() error
- type DeleteNoticeClassifyReplyMultiError
- type DeleteNoticeClassifyReplyValidationError
- func (e DeleteNoticeClassifyReplyValidationError) Cause() error
- func (e DeleteNoticeClassifyReplyValidationError) Error() string
- func (e DeleteNoticeClassifyReplyValidationError) ErrorName() string
- func (e DeleteNoticeClassifyReplyValidationError) Field() string
- func (e DeleteNoticeClassifyReplyValidationError) Key() bool
- func (e DeleteNoticeClassifyReplyValidationError) Reason() string
- type DeleteNoticeClassifyRequest
- func (*DeleteNoticeClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNoticeClassifyRequest) GetId() uint32
- func (*DeleteNoticeClassifyRequest) ProtoMessage()
- func (x *DeleteNoticeClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNoticeClassifyRequest) Reset()
- func (x *DeleteNoticeClassifyRequest) String() string
- func (m *DeleteNoticeClassifyRequest) Validate() error
- func (m *DeleteNoticeClassifyRequest) ValidateAll() error
- type DeleteNoticeClassifyRequestMultiError
- type DeleteNoticeClassifyRequestValidationError
- func (e DeleteNoticeClassifyRequestValidationError) Cause() error
- func (e DeleteNoticeClassifyRequestValidationError) Error() string
- func (e DeleteNoticeClassifyRequestValidationError) ErrorName() string
- func (e DeleteNoticeClassifyRequestValidationError) Field() string
- func (e DeleteNoticeClassifyRequestValidationError) Key() bool
- func (e DeleteNoticeClassifyRequestValidationError) Reason() string
- type DeleteNoticeReply
- func (*DeleteNoticeReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteNoticeReply) ProtoMessage()
- func (x *DeleteNoticeReply) ProtoReflect() protoreflect.Message
- func (x *DeleteNoticeReply) Reset()
- func (x *DeleteNoticeReply) String() string
- func (m *DeleteNoticeReply) Validate() error
- func (m *DeleteNoticeReply) ValidateAll() error
- type DeleteNoticeReplyMultiError
- type DeleteNoticeReplyValidationError
- func (e DeleteNoticeReplyValidationError) Cause() error
- func (e DeleteNoticeReplyValidationError) Error() string
- func (e DeleteNoticeReplyValidationError) ErrorName() string
- func (e DeleteNoticeReplyValidationError) Field() string
- func (e DeleteNoticeReplyValidationError) Key() bool
- func (e DeleteNoticeReplyValidationError) Reason() string
- type DeleteNoticeRequest
- func (*DeleteNoticeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNoticeRequest) GetId() uint32
- func (*DeleteNoticeRequest) ProtoMessage()
- func (x *DeleteNoticeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNoticeRequest) Reset()
- func (x *DeleteNoticeRequest) String() string
- func (m *DeleteNoticeRequest) Validate() error
- func (m *DeleteNoticeRequest) ValidateAll() error
- type DeleteNoticeRequestMultiError
- type DeleteNoticeRequestValidationError
- func (e DeleteNoticeRequestValidationError) Cause() error
- func (e DeleteNoticeRequestValidationError) Error() string
- func (e DeleteNoticeRequestValidationError) ErrorName() string
- func (e DeleteNoticeRequestValidationError) Field() string
- func (e DeleteNoticeRequestValidationError) Key() bool
- func (e DeleteNoticeRequestValidationError) Reason() string
- type GetNoticeReply
- func (*GetNoticeReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetNoticeReply) GetApp() *GetNoticeReply_App
- func (x *GetNoticeReply) GetAppId() uint32
- func (x *GetNoticeReply) GetClassify() *GetNoticeReply_Classify
- func (x *GetNoticeReply) GetClassifyId() uint32
- func (x *GetNoticeReply) GetContent() string
- func (x *GetNoticeReply) GetCreatedAt() uint32
- func (x *GetNoticeReply) GetDescription() string
- func (x *GetNoticeReply) GetId() uint32
- func (x *GetNoticeReply) GetIsTop() bool
- func (x *GetNoticeReply) GetStatus() bool
- func (x *GetNoticeReply) GetTitle() string
- func (x *GetNoticeReply) GetUnit() string
- func (x *GetNoticeReply) GetUpdatedAt() uint32
- func (*GetNoticeReply) ProtoMessage()
- func (x *GetNoticeReply) ProtoReflect() protoreflect.Message
- func (x *GetNoticeReply) Reset()
- func (x *GetNoticeReply) String() string
- func (m *GetNoticeReply) Validate() error
- func (m *GetNoticeReply) ValidateAll() error
- type GetNoticeReplyMultiError
- type GetNoticeReplyValidationError
- func (e GetNoticeReplyValidationError) Cause() error
- func (e GetNoticeReplyValidationError) Error() string
- func (e GetNoticeReplyValidationError) ErrorName() string
- func (e GetNoticeReplyValidationError) Field() string
- func (e GetNoticeReplyValidationError) Key() bool
- func (e GetNoticeReplyValidationError) Reason() string
- type GetNoticeReply_App
- func (*GetNoticeReply_App) Descriptor() ([]byte, []int)deprecated
- func (x *GetNoticeReply_App) GetId() uint32
- func (x *GetNoticeReply_App) GetLogo() string
- func (x *GetNoticeReply_App) GetName() string
- func (*GetNoticeReply_App) ProtoMessage()
- func (x *GetNoticeReply_App) ProtoReflect() protoreflect.Message
- func (x *GetNoticeReply_App) Reset()
- func (x *GetNoticeReply_App) String() string
- func (m *GetNoticeReply_App) Validate() error
- func (m *GetNoticeReply_App) ValidateAll() error
- type GetNoticeReply_AppMultiError
- type GetNoticeReply_AppValidationError
- func (e GetNoticeReply_AppValidationError) Cause() error
- func (e GetNoticeReply_AppValidationError) Error() string
- func (e GetNoticeReply_AppValidationError) ErrorName() string
- func (e GetNoticeReply_AppValidationError) Field() string
- func (e GetNoticeReply_AppValidationError) Key() bool
- func (e GetNoticeReply_AppValidationError) Reason() string
- type GetNoticeReply_Classify
- func (*GetNoticeReply_Classify) Descriptor() ([]byte, []int)deprecated
- func (x *GetNoticeReply_Classify) GetId() uint32
- func (x *GetNoticeReply_Classify) GetLogo() string
- func (x *GetNoticeReply_Classify) GetName() string
- func (*GetNoticeReply_Classify) ProtoMessage()
- func (x *GetNoticeReply_Classify) ProtoReflect() protoreflect.Message
- func (x *GetNoticeReply_Classify) Reset()
- func (x *GetNoticeReply_Classify) String() string
- func (m *GetNoticeReply_Classify) Validate() error
- func (m *GetNoticeReply_Classify) ValidateAll() error
- type GetNoticeReply_ClassifyMultiError
- type GetNoticeReply_ClassifyValidationError
- func (e GetNoticeReply_ClassifyValidationError) Cause() error
- func (e GetNoticeReply_ClassifyValidationError) Error() string
- func (e GetNoticeReply_ClassifyValidationError) ErrorName() string
- func (e GetNoticeReply_ClassifyValidationError) Field() string
- func (e GetNoticeReply_ClassifyValidationError) Key() bool
- func (e GetNoticeReply_ClassifyValidationError) Reason() string
- type GetNoticeRequest
- func (*GetNoticeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNoticeRequest) GetId() uint32
- func (*GetNoticeRequest) ProtoMessage()
- func (x *GetNoticeRequest) ProtoReflect() protoreflect.Message
- func (x *GetNoticeRequest) Reset()
- func (x *GetNoticeRequest) String() string
- func (m *GetNoticeRequest) Validate() error
- func (m *GetNoticeRequest) ValidateAll() error
- type GetNoticeRequestMultiError
- type GetNoticeRequestValidationError
- func (e GetNoticeRequestValidationError) Cause() error
- func (e GetNoticeRequestValidationError) Error() string
- func (e GetNoticeRequestValidationError) ErrorName() string
- func (e GetNoticeRequestValidationError) Field() string
- func (e GetNoticeRequestValidationError) Key() bool
- func (e GetNoticeRequestValidationError) Reason() string
- type ListNoticeClassifyReply
- func (*ListNoticeClassifyReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListNoticeClassifyReply) GetList() []*ListNoticeClassifyReply_NoticeClassify
- func (*ListNoticeClassifyReply) ProtoMessage()
- func (x *ListNoticeClassifyReply) ProtoReflect() protoreflect.Message
- func (x *ListNoticeClassifyReply) Reset()
- func (x *ListNoticeClassifyReply) String() string
- func (m *ListNoticeClassifyReply) Validate() error
- func (m *ListNoticeClassifyReply) ValidateAll() error
- type ListNoticeClassifyReplyMultiError
- type ListNoticeClassifyReplyValidationError
- func (e ListNoticeClassifyReplyValidationError) Cause() error
- func (e ListNoticeClassifyReplyValidationError) Error() string
- func (e ListNoticeClassifyReplyValidationError) ErrorName() string
- func (e ListNoticeClassifyReplyValidationError) Field() string
- func (e ListNoticeClassifyReplyValidationError) Key() bool
- func (e ListNoticeClassifyReplyValidationError) Reason() string
- type ListNoticeClassifyReply_NoticeClassify
- func (*ListNoticeClassifyReply_NoticeClassify) Descriptor() ([]byte, []int)deprecated
- func (x *ListNoticeClassifyReply_NoticeClassify) GetCreatedAt() uint32
- func (x *ListNoticeClassifyReply_NoticeClassify) GetId() uint32
- func (x *ListNoticeClassifyReply_NoticeClassify) GetLogo() string
- func (x *ListNoticeClassifyReply_NoticeClassify) GetName() string
- func (x *ListNoticeClassifyReply_NoticeClassify) GetUpdatedAt() uint32
- func (x *ListNoticeClassifyReply_NoticeClassify) GetWeight() uint32
- func (*ListNoticeClassifyReply_NoticeClassify) ProtoMessage()
- func (x *ListNoticeClassifyReply_NoticeClassify) ProtoReflect() protoreflect.Message
- func (x *ListNoticeClassifyReply_NoticeClassify) Reset()
- func (x *ListNoticeClassifyReply_NoticeClassify) String() string
- func (m *ListNoticeClassifyReply_NoticeClassify) Validate() error
- func (m *ListNoticeClassifyReply_NoticeClassify) ValidateAll() error
- type ListNoticeClassifyReply_NoticeClassifyMultiError
- type ListNoticeClassifyReply_NoticeClassifyValidationError
- func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Cause() error
- func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Error() string
- func (e ListNoticeClassifyReply_NoticeClassifyValidationError) ErrorName() string
- func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Field() string
- func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Key() bool
- func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Reason() string
- type ListNoticeClassifyRequest
- func (*ListNoticeClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListNoticeClassifyRequest) ProtoMessage()
- func (x *ListNoticeClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *ListNoticeClassifyRequest) Reset()
- func (x *ListNoticeClassifyRequest) String() string
- func (m *ListNoticeClassifyRequest) Validate() error
- func (m *ListNoticeClassifyRequest) ValidateAll() error
- type ListNoticeClassifyRequestMultiError
- type ListNoticeClassifyRequestValidationError
- func (e ListNoticeClassifyRequestValidationError) Cause() error
- func (e ListNoticeClassifyRequestValidationError) Error() string
- func (e ListNoticeClassifyRequestValidationError) ErrorName() string
- func (e ListNoticeClassifyRequestValidationError) Field() string
- func (e ListNoticeClassifyRequestValidationError) Key() bool
- func (e ListNoticeClassifyRequestValidationError) Reason() string
- type ListNoticeReply
- func (*ListNoticeReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListNoticeReply) GetList() []*ListNoticeReply_Notice
- func (x *ListNoticeReply) GetTotal() uint32
- func (*ListNoticeReply) ProtoMessage()
- func (x *ListNoticeReply) ProtoReflect() protoreflect.Message
- func (x *ListNoticeReply) Reset()
- func (x *ListNoticeReply) String() string
- func (m *ListNoticeReply) Validate() error
- func (m *ListNoticeReply) ValidateAll() error
- type ListNoticeReplyMultiError
- type ListNoticeReplyValidationError
- func (e ListNoticeReplyValidationError) Cause() error
- func (e ListNoticeReplyValidationError) Error() string
- func (e ListNoticeReplyValidationError) ErrorName() string
- func (e ListNoticeReplyValidationError) Field() string
- func (e ListNoticeReplyValidationError) Key() bool
- func (e ListNoticeReplyValidationError) Reason() string
- type ListNoticeReply_App
- func (*ListNoticeReply_App) Descriptor() ([]byte, []int)deprecated
- func (x *ListNoticeReply_App) GetId() uint32
- func (x *ListNoticeReply_App) GetLogo() string
- func (x *ListNoticeReply_App) GetName() string
- func (*ListNoticeReply_App) ProtoMessage()
- func (x *ListNoticeReply_App) ProtoReflect() protoreflect.Message
- func (x *ListNoticeReply_App) Reset()
- func (x *ListNoticeReply_App) String() string
- func (m *ListNoticeReply_App) Validate() error
- func (m *ListNoticeReply_App) ValidateAll() error
- type ListNoticeReply_AppMultiError
- type ListNoticeReply_AppValidationError
- func (e ListNoticeReply_AppValidationError) Cause() error
- func (e ListNoticeReply_AppValidationError) Error() string
- func (e ListNoticeReply_AppValidationError) ErrorName() string
- func (e ListNoticeReply_AppValidationError) Field() string
- func (e ListNoticeReply_AppValidationError) Key() bool
- func (e ListNoticeReply_AppValidationError) Reason() string
- type ListNoticeReply_Classify
- func (*ListNoticeReply_Classify) Descriptor() ([]byte, []int)deprecated
- func (x *ListNoticeReply_Classify) GetId() uint32
- func (x *ListNoticeReply_Classify) GetLogo() string
- func (x *ListNoticeReply_Classify) GetName() string
- func (*ListNoticeReply_Classify) ProtoMessage()
- func (x *ListNoticeReply_Classify) ProtoReflect() protoreflect.Message
- func (x *ListNoticeReply_Classify) Reset()
- func (x *ListNoticeReply_Classify) String() string
- func (m *ListNoticeReply_Classify) Validate() error
- func (m *ListNoticeReply_Classify) ValidateAll() error
- type ListNoticeReply_ClassifyMultiError
- type ListNoticeReply_ClassifyValidationError
- func (e ListNoticeReply_ClassifyValidationError) Cause() error
- func (e ListNoticeReply_ClassifyValidationError) Error() string
- func (e ListNoticeReply_ClassifyValidationError) ErrorName() string
- func (e ListNoticeReply_ClassifyValidationError) Field() string
- func (e ListNoticeReply_ClassifyValidationError) Key() bool
- func (e ListNoticeReply_ClassifyValidationError) Reason() string
- type ListNoticeReply_Notice
- func (*ListNoticeReply_Notice) Descriptor() ([]byte, []int)deprecated
- func (x *ListNoticeReply_Notice) GetApp() *ListNoticeReply_App
- func (x *ListNoticeReply_Notice) GetAppId() uint32
- func (x *ListNoticeReply_Notice) GetClassify() *ListNoticeReply_Classify
- func (x *ListNoticeReply_Notice) GetClassifyId() uint32
- func (x *ListNoticeReply_Notice) GetCreatedAt() uint32
- func (x *ListNoticeReply_Notice) GetDescription() string
- func (x *ListNoticeReply_Notice) GetId() uint32
- func (x *ListNoticeReply_Notice) GetIsTop() bool
- func (x *ListNoticeReply_Notice) GetStatus() bool
- func (x *ListNoticeReply_Notice) GetTitle() string
- func (x *ListNoticeReply_Notice) GetUnit() string
- func (x *ListNoticeReply_Notice) GetUpdatedAt() uint32
- func (*ListNoticeReply_Notice) ProtoMessage()
- func (x *ListNoticeReply_Notice) ProtoReflect() protoreflect.Message
- func (x *ListNoticeReply_Notice) Reset()
- func (x *ListNoticeReply_Notice) String() string
- func (m *ListNoticeReply_Notice) Validate() error
- func (m *ListNoticeReply_Notice) ValidateAll() error
- type ListNoticeReply_NoticeMultiError
- type ListNoticeReply_NoticeValidationError
- func (e ListNoticeReply_NoticeValidationError) Cause() error
- func (e ListNoticeReply_NoticeValidationError) Error() string
- func (e ListNoticeReply_NoticeValidationError) ErrorName() string
- func (e ListNoticeReply_NoticeValidationError) Field() string
- func (e ListNoticeReply_NoticeValidationError) Key() bool
- func (e ListNoticeReply_NoticeValidationError) Reason() string
- type ListNoticeRequest
- func (*ListNoticeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNoticeRequest) GetAppId() uint32
- func (x *ListNoticeRequest) GetClassifyId() uint32
- func (x *ListNoticeRequest) GetIsTop() bool
- func (x *ListNoticeRequest) GetNotRead() bool
- func (x *ListNoticeRequest) GetPage() uint32
- func (x *ListNoticeRequest) GetPageSize() uint32
- func (x *ListNoticeRequest) GetStatus() bool
- func (x *ListNoticeRequest) GetTitle() string
- func (*ListNoticeRequest) ProtoMessage()
- func (x *ListNoticeRequest) ProtoReflect() protoreflect.Message
- func (x *ListNoticeRequest) Reset()
- func (x *ListNoticeRequest) String() string
- func (m *ListNoticeRequest) Validate() error
- func (m *ListNoticeRequest) ValidateAll() error
- type ListNoticeRequestMultiError
- type ListNoticeRequestValidationError
- func (e ListNoticeRequestValidationError) Cause() error
- func (e ListNoticeRequestValidationError) Error() string
- func (e ListNoticeRequestValidationError) ErrorName() string
- func (e ListNoticeRequestValidationError) Field() string
- func (e ListNoticeRequestValidationError) Key() bool
- func (e ListNoticeRequestValidationError) Reason() string
- type ListVisibleNoticeRequest
- func (*ListVisibleNoticeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVisibleNoticeRequest) GetAppId() uint32
- func (x *ListVisibleNoticeRequest) GetClassifyId() uint32
- func (x *ListVisibleNoticeRequest) GetNotRead() bool
- func (x *ListVisibleNoticeRequest) GetPage() uint32
- func (x *ListVisibleNoticeRequest) GetPageSize() uint32
- func (x *ListVisibleNoticeRequest) GetTitle() string
- func (*ListVisibleNoticeRequest) ProtoMessage()
- func (x *ListVisibleNoticeRequest) ProtoReflect() protoreflect.Message
- func (x *ListVisibleNoticeRequest) Reset()
- func (x *ListVisibleNoticeRequest) String() string
- func (m *ListVisibleNoticeRequest) Validate() error
- func (m *ListVisibleNoticeRequest) ValidateAll() error
- type ListVisibleNoticeRequestMultiError
- type ListVisibleNoticeRequestValidationError
- func (e ListVisibleNoticeRequestValidationError) Cause() error
- func (e ListVisibleNoticeRequestValidationError) Error() string
- func (e ListVisibleNoticeRequestValidationError) ErrorName() string
- func (e ListVisibleNoticeRequestValidationError) Field() string
- func (e ListVisibleNoticeRequestValidationError) Key() bool
- func (e ListVisibleNoticeRequestValidationError) Reason() string
- type NoticeClient
- type NoticeHTTPClient
- type NoticeHTTPClientImpl
- func (c *NoticeHTTPClientImpl) CreateNotice(ctx context.Context, in *CreateNoticeRequest, opts ...http.CallOption) (*CreateNoticeReply, error)
- func (c *NoticeHTTPClientImpl) CreateNoticeClassify(ctx context.Context, in *CreateNoticeClassifyRequest, opts ...http.CallOption) (*CreateNoticeClassifyReply, error)
- func (c *NoticeHTTPClientImpl) DeleteNotice(ctx context.Context, in *DeleteNoticeRequest, opts ...http.CallOption) (*DeleteNoticeReply, error)
- func (c *NoticeHTTPClientImpl) DeleteNoticeClassify(ctx context.Context, in *DeleteNoticeClassifyRequest, opts ...http.CallOption) (*DeleteNoticeClassifyReply, error)
- func (c *NoticeHTTPClientImpl) GetNotice(ctx context.Context, in *GetNoticeRequest, opts ...http.CallOption) (*GetNoticeReply, error)
- func (c *NoticeHTTPClientImpl) GetVisibleNotice(ctx context.Context, in *GetNoticeRequest, opts ...http.CallOption) (*GetNoticeReply, error)
- func (c *NoticeHTTPClientImpl) ListNotice(ctx context.Context, in *ListNoticeRequest, opts ...http.CallOption) (*ListNoticeReply, error)
- func (c *NoticeHTTPClientImpl) ListNoticeClassify(ctx context.Context, in *ListNoticeClassifyRequest, opts ...http.CallOption) (*ListNoticeClassifyReply, error)
- func (c *NoticeHTTPClientImpl) ListVisibleNotice(ctx context.Context, in *ListVisibleNoticeRequest, opts ...http.CallOption) (*ListNoticeReply, error)
- func (c *NoticeHTTPClientImpl) UpdateNotice(ctx context.Context, in *UpdateNoticeRequest, opts ...http.CallOption) (*UpdateNoticeReply, error)
- func (c *NoticeHTTPClientImpl) UpdateNoticeClassify(ctx context.Context, in *UpdateNoticeClassifyRequest, opts ...http.CallOption) (*UpdateNoticeClassifyReply, error)
- type NoticeHTTPServer
- type NoticeServer
- type UnimplementedNoticeServer
- func (UnimplementedNoticeServer) CreateNotice(context.Context, *CreateNoticeRequest) (*CreateNoticeReply, error)
- func (UnimplementedNoticeServer) CreateNoticeClassify(context.Context, *CreateNoticeClassifyRequest) (*CreateNoticeClassifyReply, error)
- func (UnimplementedNoticeServer) DeleteNotice(context.Context, *DeleteNoticeRequest) (*DeleteNoticeReply, error)
- func (UnimplementedNoticeServer) DeleteNoticeClassify(context.Context, *DeleteNoticeClassifyRequest) (*DeleteNoticeClassifyReply, error)
- func (UnimplementedNoticeServer) GetNotice(context.Context, *GetNoticeRequest) (*GetNoticeReply, error)
- func (UnimplementedNoticeServer) GetVisibleNotice(context.Context, *GetNoticeRequest) (*GetNoticeReply, error)
- func (UnimplementedNoticeServer) ListNotice(context.Context, *ListNoticeRequest) (*ListNoticeReply, error)
- func (UnimplementedNoticeServer) ListNoticeClassify(context.Context, *ListNoticeClassifyRequest) (*ListNoticeClassifyReply, error)
- func (UnimplementedNoticeServer) ListVisibleNotice(context.Context, *ListVisibleNoticeRequest) (*ListNoticeReply, error)
- func (UnimplementedNoticeServer) UpdateNotice(context.Context, *UpdateNoticeRequest) (*UpdateNoticeReply, error)
- func (UnimplementedNoticeServer) UpdateNoticeClassify(context.Context, *UpdateNoticeClassifyRequest) (*UpdateNoticeClassifyReply, error)
- type UnsafeNoticeServer
- type UpdateNoticeClassifyReply
- func (*UpdateNoticeClassifyReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateNoticeClassifyReply) ProtoMessage()
- func (x *UpdateNoticeClassifyReply) ProtoReflect() protoreflect.Message
- func (x *UpdateNoticeClassifyReply) Reset()
- func (x *UpdateNoticeClassifyReply) String() string
- func (m *UpdateNoticeClassifyReply) Validate() error
- func (m *UpdateNoticeClassifyReply) ValidateAll() error
- type UpdateNoticeClassifyReplyMultiError
- type UpdateNoticeClassifyReplyValidationError
- func (e UpdateNoticeClassifyReplyValidationError) Cause() error
- func (e UpdateNoticeClassifyReplyValidationError) Error() string
- func (e UpdateNoticeClassifyReplyValidationError) ErrorName() string
- func (e UpdateNoticeClassifyReplyValidationError) Field() string
- func (e UpdateNoticeClassifyReplyValidationError) Key() bool
- func (e UpdateNoticeClassifyReplyValidationError) Reason() string
- type UpdateNoticeClassifyRequest
- func (*UpdateNoticeClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNoticeClassifyRequest) GetId() uint32
- func (x *UpdateNoticeClassifyRequest) GetLogo() string
- func (x *UpdateNoticeClassifyRequest) GetName() string
- func (x *UpdateNoticeClassifyRequest) GetWeight() uint32
- func (*UpdateNoticeClassifyRequest) ProtoMessage()
- func (x *UpdateNoticeClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNoticeClassifyRequest) Reset()
- func (x *UpdateNoticeClassifyRequest) String() string
- func (m *UpdateNoticeClassifyRequest) Validate() error
- func (m *UpdateNoticeClassifyRequest) ValidateAll() error
- type UpdateNoticeClassifyRequestMultiError
- type UpdateNoticeClassifyRequestValidationError
- func (e UpdateNoticeClassifyRequestValidationError) Cause() error
- func (e UpdateNoticeClassifyRequestValidationError) Error() string
- func (e UpdateNoticeClassifyRequestValidationError) ErrorName() string
- func (e UpdateNoticeClassifyRequestValidationError) Field() string
- func (e UpdateNoticeClassifyRequestValidationError) Key() bool
- func (e UpdateNoticeClassifyRequestValidationError) Reason() string
- type UpdateNoticeReply
- func (*UpdateNoticeReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateNoticeReply) ProtoMessage()
- func (x *UpdateNoticeReply) ProtoReflect() protoreflect.Message
- func (x *UpdateNoticeReply) Reset()
- func (x *UpdateNoticeReply) String() string
- func (m *UpdateNoticeReply) Validate() error
- func (m *UpdateNoticeReply) ValidateAll() error
- type UpdateNoticeReplyMultiError
- type UpdateNoticeReplyValidationError
- func (e UpdateNoticeReplyValidationError) Cause() error
- func (e UpdateNoticeReplyValidationError) Error() string
- func (e UpdateNoticeReplyValidationError) ErrorName() string
- func (e UpdateNoticeReplyValidationError) Field() string
- func (e UpdateNoticeReplyValidationError) Key() bool
- func (e UpdateNoticeReplyValidationError) Reason() string
- type UpdateNoticeRequest
- func (*UpdateNoticeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNoticeRequest) GetAppId() uint32
- func (x *UpdateNoticeRequest) GetClassifyId() uint32
- func (x *UpdateNoticeRequest) GetContent() string
- func (x *UpdateNoticeRequest) GetDescription() string
- func (x *UpdateNoticeRequest) GetId() uint32
- func (x *UpdateNoticeRequest) GetIsTop() bool
- func (x *UpdateNoticeRequest) GetStatus() bool
- func (x *UpdateNoticeRequest) GetTitle() string
- func (x *UpdateNoticeRequest) GetUnit() string
- func (*UpdateNoticeRequest) ProtoMessage()
- func (x *UpdateNoticeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNoticeRequest) Reset()
- func (x *UpdateNoticeRequest) String() string
- func (m *UpdateNoticeRequest) Validate() error
- func (m *UpdateNoticeRequest) ValidateAll() error
- type UpdateNoticeRequestMultiError
- type UpdateNoticeRequestValidationError
- func (e UpdateNoticeRequestValidationError) Cause() error
- func (e UpdateNoticeRequestValidationError) Error() string
- func (e UpdateNoticeRequestValidationError) ErrorName() string
- func (e UpdateNoticeRequestValidationError) Field() string
- func (e UpdateNoticeRequestValidationError) Key() bool
- func (e UpdateNoticeRequestValidationError) Reason() string
Constants ¶
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" )
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 ¶
var File_api_notice_proto_notice_proto protoreflect.FileDescriptor
var File_api_notice_proto_notice_service_proto protoreflect.FileDescriptor
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 (x *CreateNoticeClassifyReply) ProtoReflect() protoreflect.Message
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 ¶
func (m CreateNoticeClassifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateNoticeClassifyReplyMultiError) Error ¶
func (m CreateNoticeClassifyReplyMultiError) Error() string
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 ¶
func (e CreateNoticeClassifyReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateNoticeClassifyReplyValidationError) Error ¶
func (e CreateNoticeClassifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNoticeClassifyReplyValidationError) ErrorName ¶
func (e CreateNoticeClassifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNoticeClassifyReplyValidationError) Field ¶
func (e CreateNoticeClassifyReplyValidationError) Field() string
Field function returns field value.
func (CreateNoticeClassifyReplyValidationError) Key ¶
func (e CreateNoticeClassifyReplyValidationError) Key() bool
Key function returns key value.
func (CreateNoticeClassifyReplyValidationError) Reason ¶
func (e CreateNoticeClassifyReplyValidationError) Reason() string
Reason function returns reason value.
type CreateNoticeClassifyRequest ¶
type CreateNoticeClassifyRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Logo string `protobuf:"bytes,2,opt,name=logo,proto3" json:"logo,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 (*CreateNoticeClassifyRequest) GetLogo ¶
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 (x *CreateNoticeClassifyRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m CreateNoticeClassifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateNoticeClassifyRequestMultiError) Error ¶
func (m CreateNoticeClassifyRequestMultiError) Error() string
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 ¶
func (e CreateNoticeClassifyRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateNoticeClassifyRequestValidationError) Error ¶
func (e CreateNoticeClassifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNoticeClassifyRequestValidationError) ErrorName ¶
func (e CreateNoticeClassifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNoticeClassifyRequestValidationError) Field ¶
func (e CreateNoticeClassifyRequestValidationError) Field() string
Field function returns field value.
func (CreateNoticeClassifyRequestValidationError) Key ¶
func (e CreateNoticeClassifyRequestValidationError) Key() bool
Key function returns key value.
func (CreateNoticeClassifyRequestValidationError) Reason ¶
func (e CreateNoticeClassifyRequestValidationError) Reason() string
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 ¶
func (m CreateNoticeReplyMultiError) Error() string
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 ¶
func (e CreateNoticeReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateNoticeReplyValidationError) Error ¶
func (e CreateNoticeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNoticeReplyValidationError) ErrorName ¶
func (e CreateNoticeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNoticeReplyValidationError) Field ¶
func (e CreateNoticeReplyValidationError) Field() string
Field function returns field value.
func (CreateNoticeReplyValidationError) Key ¶
func (e CreateNoticeReplyValidationError) Key() bool
Key function returns key value.
func (CreateNoticeReplyValidationError) Reason ¶
func (e CreateNoticeReplyValidationError) Reason() string
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 ¶
func (m CreateNoticeRequestMultiError) Error() string
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 ¶
func (e CreateNoticeRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateNoticeRequestValidationError) Error ¶
func (e CreateNoticeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateNoticeRequestValidationError) ErrorName ¶
func (e CreateNoticeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateNoticeRequestValidationError) Field ¶
func (e CreateNoticeRequestValidationError) Field() string
Field function returns field value.
func (CreateNoticeRequestValidationError) Key ¶
func (e CreateNoticeRequestValidationError) Key() bool
Key function returns key value.
func (CreateNoticeRequestValidationError) Reason ¶
func (e CreateNoticeRequestValidationError) Reason() string
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 (x *DeleteNoticeClassifyReply) ProtoReflect() protoreflect.Message
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 ¶
func (m DeleteNoticeClassifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteNoticeClassifyReplyMultiError) Error ¶
func (m DeleteNoticeClassifyReplyMultiError) Error() string
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 ¶
func (e DeleteNoticeClassifyReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteNoticeClassifyReplyValidationError) Error ¶
func (e DeleteNoticeClassifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNoticeClassifyReplyValidationError) ErrorName ¶
func (e DeleteNoticeClassifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNoticeClassifyReplyValidationError) Field ¶
func (e DeleteNoticeClassifyReplyValidationError) Field() string
Field function returns field value.
func (DeleteNoticeClassifyReplyValidationError) Key ¶
func (e DeleteNoticeClassifyReplyValidationError) Key() bool
Key function returns key value.
func (DeleteNoticeClassifyReplyValidationError) Reason ¶
func (e DeleteNoticeClassifyReplyValidationError) Reason() string
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 (x *DeleteNoticeClassifyRequest) GetId() uint32
func (*DeleteNoticeClassifyRequest) ProtoMessage ¶
func (*DeleteNoticeClassifyRequest) ProtoMessage()
func (*DeleteNoticeClassifyRequest) ProtoReflect ¶
func (x *DeleteNoticeClassifyRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m DeleteNoticeClassifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteNoticeClassifyRequestMultiError) Error ¶
func (m DeleteNoticeClassifyRequestMultiError) Error() string
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 ¶
func (e DeleteNoticeClassifyRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteNoticeClassifyRequestValidationError) Error ¶
func (e DeleteNoticeClassifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNoticeClassifyRequestValidationError) ErrorName ¶
func (e DeleteNoticeClassifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNoticeClassifyRequestValidationError) Field ¶
func (e DeleteNoticeClassifyRequestValidationError) Field() string
Field function returns field value.
func (DeleteNoticeClassifyRequestValidationError) Key ¶
func (e DeleteNoticeClassifyRequestValidationError) Key() bool
Key function returns key value.
func (DeleteNoticeClassifyRequestValidationError) Reason ¶
func (e DeleteNoticeClassifyRequestValidationError) Reason() string
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 ¶
func (m DeleteNoticeReplyMultiError) Error() string
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 ¶
func (e DeleteNoticeReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteNoticeReplyValidationError) Error ¶
func (e DeleteNoticeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNoticeReplyValidationError) ErrorName ¶
func (e DeleteNoticeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNoticeReplyValidationError) Field ¶
func (e DeleteNoticeReplyValidationError) Field() string
Field function returns field value.
func (DeleteNoticeReplyValidationError) Key ¶
func (e DeleteNoticeReplyValidationError) Key() bool
Key function returns key value.
func (DeleteNoticeReplyValidationError) Reason ¶
func (e DeleteNoticeReplyValidationError) Reason() string
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 ¶
func (m DeleteNoticeRequestMultiError) Error() string
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 ¶
func (e DeleteNoticeRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteNoticeRequestValidationError) Error ¶
func (e DeleteNoticeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteNoticeRequestValidationError) ErrorName ¶
func (e DeleteNoticeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteNoticeRequestValidationError) Field ¶
func (e DeleteNoticeRequestValidationError) Field() string
Field function returns field value.
func (DeleteNoticeRequestValidationError) Key ¶
func (e DeleteNoticeRequestValidationError) Key() bool
Key function returns key value.
func (DeleteNoticeRequestValidationError) Reason ¶
func (e DeleteNoticeRequestValidationError) Reason() string
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 ¶
func (e GetNoticeReplyValidationError) Cause() error
Cause function returns cause value.
func (GetNoticeReplyValidationError) Error ¶
func (e GetNoticeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNoticeReplyValidationError) ErrorName ¶
func (e GetNoticeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNoticeReplyValidationError) Field ¶
func (e GetNoticeReplyValidationError) Field() string
Field function returns field value.
func (GetNoticeReplyValidationError) Key ¶
func (e GetNoticeReplyValidationError) Key() bool
Key function returns key value.
func (GetNoticeReplyValidationError) Reason ¶
func (e GetNoticeReplyValidationError) Reason() string
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"`
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,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 (*GetNoticeReply_App) GetLogo ¶
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 ¶
func (m GetNoticeReply_AppMultiError) Error() string
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 ¶
func (e GetNoticeReply_AppValidationError) Cause() error
Cause function returns cause value.
func (GetNoticeReply_AppValidationError) Error ¶
func (e GetNoticeReply_AppValidationError) Error() string
Error satisfies the builtin error interface
func (GetNoticeReply_AppValidationError) ErrorName ¶
func (e GetNoticeReply_AppValidationError) ErrorName() string
ErrorName returns error name.
func (GetNoticeReply_AppValidationError) Field ¶
func (e GetNoticeReply_AppValidationError) Field() string
Field function returns field value.
func (GetNoticeReply_AppValidationError) Key ¶
func (e GetNoticeReply_AppValidationError) Key() bool
Key function returns key value.
func (GetNoticeReply_AppValidationError) Reason ¶
func (e GetNoticeReply_AppValidationError) Reason() string
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"`
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,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 (*GetNoticeReply_Classify) GetLogo ¶
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 ¶
func (m GetNoticeReply_ClassifyMultiError) Error() string
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 ¶
func (e GetNoticeReply_ClassifyValidationError) Cause() error
Cause function returns cause value.
func (GetNoticeReply_ClassifyValidationError) Error ¶
func (e GetNoticeReply_ClassifyValidationError) Error() string
Error satisfies the builtin error interface
func (GetNoticeReply_ClassifyValidationError) ErrorName ¶
func (e GetNoticeReply_ClassifyValidationError) ErrorName() string
ErrorName returns error name.
func (GetNoticeReply_ClassifyValidationError) Field ¶
func (e GetNoticeReply_ClassifyValidationError) Field() string
Field function returns field value.
func (GetNoticeReply_ClassifyValidationError) Key ¶
func (e GetNoticeReply_ClassifyValidationError) Key() bool
Key function returns key value.
func (GetNoticeReply_ClassifyValidationError) Reason ¶
func (e GetNoticeReply_ClassifyValidationError) Reason() string
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 ¶
func (m GetNoticeRequestMultiError) Error() string
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 ¶
func (e GetNoticeRequestValidationError) Cause() error
Cause function returns cause value.
func (GetNoticeRequestValidationError) Error ¶
func (e GetNoticeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetNoticeRequestValidationError) ErrorName ¶
func (e GetNoticeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetNoticeRequestValidationError) Field ¶
func (e GetNoticeRequestValidationError) Field() string
Field function returns field value.
func (GetNoticeRequestValidationError) Key ¶
func (e GetNoticeRequestValidationError) Key() bool
Key function returns key value.
func (GetNoticeRequestValidationError) Reason ¶
func (e GetNoticeRequestValidationError) Reason() string
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 (x *ListNoticeClassifyReply) GetList() []*ListNoticeClassifyReply_NoticeClassify
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 ¶
func (m ListNoticeClassifyReplyMultiError) Error() string
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 ¶
func (e ListNoticeClassifyReplyValidationError) Cause() error
Cause function returns cause value.
func (ListNoticeClassifyReplyValidationError) Error ¶
func (e ListNoticeClassifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListNoticeClassifyReplyValidationError) ErrorName ¶
func (e ListNoticeClassifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListNoticeClassifyReplyValidationError) Field ¶
func (e ListNoticeClassifyReplyValidationError) Field() string
Field function returns field value.
func (ListNoticeClassifyReplyValidationError) Key ¶
func (e ListNoticeClassifyReplyValidationError) Key() bool
Key function returns key value.
func (ListNoticeClassifyReplyValidationError) Reason ¶
func (e ListNoticeClassifyReplyValidationError) Reason() string
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"`
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,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 (x *ListNoticeClassifyReply_NoticeClassify) GetCreatedAt() uint32
func (*ListNoticeClassifyReply_NoticeClassify) GetId ¶
func (x *ListNoticeClassifyReply_NoticeClassify) GetId() uint32
func (*ListNoticeClassifyReply_NoticeClassify) GetLogo ¶
func (x *ListNoticeClassifyReply_NoticeClassify) GetLogo() string
func (*ListNoticeClassifyReply_NoticeClassify) GetName ¶
func (x *ListNoticeClassifyReply_NoticeClassify) GetName() string
func (*ListNoticeClassifyReply_NoticeClassify) GetUpdatedAt ¶
func (x *ListNoticeClassifyReply_NoticeClassify) GetUpdatedAt() uint32
func (*ListNoticeClassifyReply_NoticeClassify) GetWeight ¶
func (x *ListNoticeClassifyReply_NoticeClassify) GetWeight() uint32
func (*ListNoticeClassifyReply_NoticeClassify) ProtoMessage ¶
func (*ListNoticeClassifyReply_NoticeClassify) ProtoMessage()
func (*ListNoticeClassifyReply_NoticeClassify) ProtoReflect ¶
func (x *ListNoticeClassifyReply_NoticeClassify) ProtoReflect() protoreflect.Message
func (*ListNoticeClassifyReply_NoticeClassify) Reset ¶
func (x *ListNoticeClassifyReply_NoticeClassify) Reset()
func (*ListNoticeClassifyReply_NoticeClassify) String ¶
func (x *ListNoticeClassifyReply_NoticeClassify) String() string
func (*ListNoticeClassifyReply_NoticeClassify) Validate ¶
func (m *ListNoticeClassifyReply_NoticeClassify) Validate() error
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 ¶
func (m *ListNoticeClassifyReply_NoticeClassify) ValidateAll() error
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 ¶
func (m ListNoticeClassifyReply_NoticeClassifyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListNoticeClassifyReply_NoticeClassifyMultiError) Error ¶
func (m ListNoticeClassifyReply_NoticeClassifyMultiError) Error() string
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 ¶
func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Cause() error
Cause function returns cause value.
func (ListNoticeClassifyReply_NoticeClassifyValidationError) Error ¶
func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Error() string
Error satisfies the builtin error interface
func (ListNoticeClassifyReply_NoticeClassifyValidationError) ErrorName ¶
func (e ListNoticeClassifyReply_NoticeClassifyValidationError) ErrorName() string
ErrorName returns error name.
func (ListNoticeClassifyReply_NoticeClassifyValidationError) Field ¶
func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Field() string
Field function returns field value.
func (ListNoticeClassifyReply_NoticeClassifyValidationError) Key ¶
func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Key() bool
Key function returns key value.
func (ListNoticeClassifyReply_NoticeClassifyValidationError) Reason ¶
func (e ListNoticeClassifyReply_NoticeClassifyValidationError) Reason() string
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 (x *ListNoticeClassifyRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m ListNoticeClassifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListNoticeClassifyRequestMultiError) Error ¶
func (m ListNoticeClassifyRequestMultiError) Error() string
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 ¶
func (e ListNoticeClassifyRequestValidationError) Cause() error
Cause function returns cause value.
func (ListNoticeClassifyRequestValidationError) Error ¶
func (e ListNoticeClassifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListNoticeClassifyRequestValidationError) ErrorName ¶
func (e ListNoticeClassifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListNoticeClassifyRequestValidationError) Field ¶
func (e ListNoticeClassifyRequestValidationError) Field() string
Field function returns field value.
func (ListNoticeClassifyRequestValidationError) Key ¶
func (e ListNoticeClassifyRequestValidationError) Key() bool
Key function returns key value.
func (ListNoticeClassifyRequestValidationError) Reason ¶
func (e ListNoticeClassifyRequestValidationError) Reason() string
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 ¶
func (m ListNoticeReplyMultiError) Error() string
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 ¶
func (e ListNoticeReplyValidationError) Cause() error
Cause function returns cause value.
func (ListNoticeReplyValidationError) Error ¶
func (e ListNoticeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListNoticeReplyValidationError) ErrorName ¶
func (e ListNoticeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListNoticeReplyValidationError) Field ¶
func (e ListNoticeReplyValidationError) Field() string
Field function returns field value.
func (ListNoticeReplyValidationError) Key ¶
func (e ListNoticeReplyValidationError) Key() bool
Key function returns key value.
func (ListNoticeReplyValidationError) Reason ¶
func (e ListNoticeReplyValidationError) Reason() string
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"`
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,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 (*ListNoticeReply_App) GetLogo ¶
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 ¶
func (m ListNoticeReply_AppMultiError) Error() string
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 ¶
func (e ListNoticeReply_AppValidationError) Cause() error
Cause function returns cause value.
func (ListNoticeReply_AppValidationError) Error ¶
func (e ListNoticeReply_AppValidationError) Error() string
Error satisfies the builtin error interface
func (ListNoticeReply_AppValidationError) ErrorName ¶
func (e ListNoticeReply_AppValidationError) ErrorName() string
ErrorName returns error name.
func (ListNoticeReply_AppValidationError) Field ¶
func (e ListNoticeReply_AppValidationError) Field() string
Field function returns field value.
func (ListNoticeReply_AppValidationError) Key ¶
func (e ListNoticeReply_AppValidationError) Key() bool
Key function returns key value.
func (ListNoticeReply_AppValidationError) Reason ¶
func (e ListNoticeReply_AppValidationError) Reason() string
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"`
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,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 (*ListNoticeReply_Classify) GetLogo ¶
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 ¶
func (m ListNoticeReply_ClassifyMultiError) Error() string
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 ¶
func (e ListNoticeReply_ClassifyValidationError) Cause() error
Cause function returns cause value.
func (ListNoticeReply_ClassifyValidationError) Error ¶
func (e ListNoticeReply_ClassifyValidationError) Error() string
Error satisfies the builtin error interface
func (ListNoticeReply_ClassifyValidationError) ErrorName ¶
func (e ListNoticeReply_ClassifyValidationError) ErrorName() string
ErrorName returns error name.
func (ListNoticeReply_ClassifyValidationError) Field ¶
func (e ListNoticeReply_ClassifyValidationError) Field() string
Field function returns field value.
func (ListNoticeReply_ClassifyValidationError) Key ¶
func (e ListNoticeReply_ClassifyValidationError) Key() bool
Key function returns key value.
func (ListNoticeReply_ClassifyValidationError) Reason ¶
func (e ListNoticeReply_ClassifyValidationError) Reason() string
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 (x *ListNoticeReply_Notice) GetApp() *ListNoticeReply_App
func (*ListNoticeReply_Notice) GetAppId ¶
func (x *ListNoticeReply_Notice) GetAppId() uint32
func (*ListNoticeReply_Notice) GetClassify ¶
func (x *ListNoticeReply_Notice) GetClassify() *ListNoticeReply_Classify
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 ¶
func (m ListNoticeReply_NoticeMultiError) Error() string
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 ¶
func (e ListNoticeReply_NoticeValidationError) Cause() error
Cause function returns cause value.
func (ListNoticeReply_NoticeValidationError) Error ¶
func (e ListNoticeReply_NoticeValidationError) Error() string
Error satisfies the builtin error interface
func (ListNoticeReply_NoticeValidationError) ErrorName ¶
func (e ListNoticeReply_NoticeValidationError) ErrorName() string
ErrorName returns error name.
func (ListNoticeReply_NoticeValidationError) Field ¶
func (e ListNoticeReply_NoticeValidationError) Field() string
Field function returns field value.
func (ListNoticeReply_NoticeValidationError) Key ¶
func (e ListNoticeReply_NoticeValidationError) Key() bool
Key function returns key value.
func (ListNoticeReply_NoticeValidationError) Reason ¶
func (e ListNoticeReply_NoticeValidationError) Reason() string
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 ¶
func (m ListNoticeRequestMultiError) Error() string
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 ¶
func (e ListNoticeRequestValidationError) Cause() error
Cause function returns cause value.
func (ListNoticeRequestValidationError) Error ¶
func (e ListNoticeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListNoticeRequestValidationError) ErrorName ¶
func (e ListNoticeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListNoticeRequestValidationError) Field ¶
func (e ListNoticeRequestValidationError) Field() string
Field function returns field value.
func (ListNoticeRequestValidationError) Key ¶
func (e ListNoticeRequestValidationError) Key() bool
Key function returns key value.
func (ListNoticeRequestValidationError) Reason ¶
func (e ListNoticeRequestValidationError) Reason() string
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 ¶
func (m ListVisibleNoticeRequestMultiError) Error() string
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 ¶
func (e ListVisibleNoticeRequestValidationError) Cause() error
Cause function returns cause value.
func (ListVisibleNoticeRequestValidationError) Error ¶
func (e ListVisibleNoticeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListVisibleNoticeRequestValidationError) ErrorName ¶
func (e ListVisibleNoticeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListVisibleNoticeRequestValidationError) Field ¶
func (e ListVisibleNoticeRequestValidationError) Field() string
Field function returns field value.
func (ListVisibleNoticeRequestValidationError) Key ¶
func (e ListVisibleNoticeRequestValidationError) Key() bool
Key function returns key value.
func (ListVisibleNoticeRequestValidationError) Reason ¶
func (e ListVisibleNoticeRequestValidationError) Reason() string
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 (c *NoticeHTTPClientImpl) CreateNotice(ctx context.Context, in *CreateNoticeRequest, opts ...http.CallOption) (*CreateNoticeReply, error)
func (*NoticeHTTPClientImpl) CreateNoticeClassify ¶
func (c *NoticeHTTPClientImpl) CreateNoticeClassify(ctx context.Context, in *CreateNoticeClassifyRequest, opts ...http.CallOption) (*CreateNoticeClassifyReply, error)
func (*NoticeHTTPClientImpl) DeleteNotice ¶
func (c *NoticeHTTPClientImpl) DeleteNotice(ctx context.Context, in *DeleteNoticeRequest, opts ...http.CallOption) (*DeleteNoticeReply, error)
func (*NoticeHTTPClientImpl) DeleteNoticeClassify ¶
func (c *NoticeHTTPClientImpl) DeleteNoticeClassify(ctx context.Context, in *DeleteNoticeClassifyRequest, opts ...http.CallOption) (*DeleteNoticeClassifyReply, error)
func (*NoticeHTTPClientImpl) GetNotice ¶
func (c *NoticeHTTPClientImpl) GetNotice(ctx context.Context, in *GetNoticeRequest, opts ...http.CallOption) (*GetNoticeReply, error)
func (*NoticeHTTPClientImpl) GetVisibleNotice ¶
func (c *NoticeHTTPClientImpl) GetVisibleNotice(ctx context.Context, in *GetNoticeRequest, opts ...http.CallOption) (*GetNoticeReply, error)
func (*NoticeHTTPClientImpl) ListNotice ¶
func (c *NoticeHTTPClientImpl) ListNotice(ctx context.Context, in *ListNoticeRequest, opts ...http.CallOption) (*ListNoticeReply, error)
func (*NoticeHTTPClientImpl) ListNoticeClassify ¶
func (c *NoticeHTTPClientImpl) ListNoticeClassify(ctx context.Context, in *ListNoticeClassifyRequest, opts ...http.CallOption) (*ListNoticeClassifyReply, error)
func (*NoticeHTTPClientImpl) ListVisibleNotice ¶
func (c *NoticeHTTPClientImpl) ListVisibleNotice(ctx context.Context, in *ListVisibleNoticeRequest, opts ...http.CallOption) (*ListNoticeReply, error)
func (*NoticeHTTPClientImpl) UpdateNotice ¶
func (c *NoticeHTTPClientImpl) UpdateNotice(ctx context.Context, in *UpdateNoticeRequest, opts ...http.CallOption) (*UpdateNoticeReply, error)
func (*NoticeHTTPClientImpl) UpdateNoticeClassify ¶
func (c *NoticeHTTPClientImpl) UpdateNoticeClassify(ctx context.Context, in *UpdateNoticeClassifyRequest, opts ...http.CallOption) (*UpdateNoticeClassifyReply, error)
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) CreateNotice(context.Context, *CreateNoticeRequest) (*CreateNoticeReply, error)
func (UnimplementedNoticeServer) CreateNoticeClassify ¶
func (UnimplementedNoticeServer) CreateNoticeClassify(context.Context, *CreateNoticeClassifyRequest) (*CreateNoticeClassifyReply, error)
func (UnimplementedNoticeServer) DeleteNotice ¶
func (UnimplementedNoticeServer) DeleteNotice(context.Context, *DeleteNoticeRequest) (*DeleteNoticeReply, error)
func (UnimplementedNoticeServer) DeleteNoticeClassify ¶
func (UnimplementedNoticeServer) DeleteNoticeClassify(context.Context, *DeleteNoticeClassifyRequest) (*DeleteNoticeClassifyReply, error)
func (UnimplementedNoticeServer) GetNotice ¶
func (UnimplementedNoticeServer) GetNotice(context.Context, *GetNoticeRequest) (*GetNoticeReply, error)
func (UnimplementedNoticeServer) GetVisibleNotice ¶
func (UnimplementedNoticeServer) GetVisibleNotice(context.Context, *GetNoticeRequest) (*GetNoticeReply, error)
func (UnimplementedNoticeServer) ListNotice ¶
func (UnimplementedNoticeServer) ListNotice(context.Context, *ListNoticeRequest) (*ListNoticeReply, error)
func (UnimplementedNoticeServer) ListNoticeClassify ¶
func (UnimplementedNoticeServer) ListNoticeClassify(context.Context, *ListNoticeClassifyRequest) (*ListNoticeClassifyReply, error)
func (UnimplementedNoticeServer) ListVisibleNotice ¶
func (UnimplementedNoticeServer) ListVisibleNotice(context.Context, *ListVisibleNoticeRequest) (*ListNoticeReply, error)
func (UnimplementedNoticeServer) UpdateNotice ¶
func (UnimplementedNoticeServer) UpdateNotice(context.Context, *UpdateNoticeRequest) (*UpdateNoticeReply, error)
func (UnimplementedNoticeServer) UpdateNoticeClassify ¶
func (UnimplementedNoticeServer) UpdateNoticeClassify(context.Context, *UpdateNoticeClassifyRequest) (*UpdateNoticeClassifyReply, error)
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 (x *UpdateNoticeClassifyReply) ProtoReflect() protoreflect.Message
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 ¶
func (m UpdateNoticeClassifyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateNoticeClassifyReplyMultiError) Error ¶
func (m UpdateNoticeClassifyReplyMultiError) Error() string
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 ¶
func (e UpdateNoticeClassifyReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateNoticeClassifyReplyValidationError) Error ¶
func (e UpdateNoticeClassifyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNoticeClassifyReplyValidationError) ErrorName ¶
func (e UpdateNoticeClassifyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNoticeClassifyReplyValidationError) Field ¶
func (e UpdateNoticeClassifyReplyValidationError) Field() string
Field function returns field value.
func (UpdateNoticeClassifyReplyValidationError) Key ¶
func (e UpdateNoticeClassifyReplyValidationError) Key() bool
Key function returns key value.
func (UpdateNoticeClassifyReplyValidationError) Reason ¶
func (e UpdateNoticeClassifyReplyValidationError) Reason() string
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"`
Logo *string `protobuf:"bytes,3,opt,name=logo,proto3,oneof" json:"logo,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) GetId() uint32
func (*UpdateNoticeClassifyRequest) GetLogo ¶
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 (x *UpdateNoticeClassifyRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m UpdateNoticeClassifyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateNoticeClassifyRequestMultiError) Error ¶
func (m UpdateNoticeClassifyRequestMultiError) Error() string
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 ¶
func (e UpdateNoticeClassifyRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateNoticeClassifyRequestValidationError) Error ¶
func (e UpdateNoticeClassifyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNoticeClassifyRequestValidationError) ErrorName ¶
func (e UpdateNoticeClassifyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNoticeClassifyRequestValidationError) Field ¶
func (e UpdateNoticeClassifyRequestValidationError) Field() string
Field function returns field value.
func (UpdateNoticeClassifyRequestValidationError) Key ¶
func (e UpdateNoticeClassifyRequestValidationError) Key() bool
Key function returns key value.
func (UpdateNoticeClassifyRequestValidationError) Reason ¶
func (e UpdateNoticeClassifyRequestValidationError) Reason() string
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 ¶
func (m UpdateNoticeReplyMultiError) Error() string
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 ¶
func (e UpdateNoticeReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateNoticeReplyValidationError) Error ¶
func (e UpdateNoticeReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNoticeReplyValidationError) ErrorName ¶
func (e UpdateNoticeReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNoticeReplyValidationError) Field ¶
func (e UpdateNoticeReplyValidationError) Field() string
Field function returns field value.
func (UpdateNoticeReplyValidationError) Key ¶
func (e UpdateNoticeReplyValidationError) Key() bool
Key function returns key value.
func (UpdateNoticeReplyValidationError) Reason ¶
func (e UpdateNoticeReplyValidationError) Reason() string
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 ¶
func (m UpdateNoticeRequestMultiError) Error() string
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 ¶
func (e UpdateNoticeRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateNoticeRequestValidationError) Error ¶
func (e UpdateNoticeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateNoticeRequestValidationError) ErrorName ¶
func (e UpdateNoticeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateNoticeRequestValidationError) Field ¶
func (e UpdateNoticeRequestValidationError) Field() string
Field function returns field value.
func (UpdateNoticeRequestValidationError) Key ¶
func (e UpdateNoticeRequestValidationError) Key() bool
Key function returns key value.
func (UpdateNoticeRequestValidationError) Reason ¶
func (e UpdateNoticeRequestValidationError) Reason() string
Reason function returns reason value.