v1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const OperationMessageArticleCreateReview = "/message.v1.Message/ArticleCreateReview"
View Source
const OperationMessageArticleEditReview = "/message.v1.Message/ArticleEditReview"
View Source
const OperationMessageArticleImageReview = "/message.v1.Message/ArticleImageReview"
View Source
const OperationMessageAvatarReview = "/message.v1.Message/AvatarReview"
View Source
const OperationMessageCollectionsCreateReview = "/message.v1.Message/CollectionsCreateReview"
View Source
const OperationMessageCollectionsEditReview = "/message.v1.Message/CollectionsEditReview"
View Source
const OperationMessageColumnCreateReview = "/message.v1.Message/ColumnCreateReview"
View Source
const OperationMessageColumnEditReview = "/message.v1.Message/ColumnEditReview"
View Source
const OperationMessageColumnImageReview = "/message.v1.Message/ColumnImageReview"
View Source
const OperationMessageCommentCreateReview = "/message.v1.Message/CommentCreateReview"
View Source
const OperationMessageCoverReview = "/message.v1.Message/CoverReview"
View Source
const OperationMessageProfileReview = "/message.v1.Message/ProfileReview"
View Source
const OperationMessageSubCommentCreateReview = "/message.v1.Message/SubCommentCreateReview"
View Source
const OperationMessageTalkCreateReview = "/message.v1.Message/TalkCreateReview"
View Source
const OperationMessageTalkEditReview = "/message.v1.Message/TalkEditReview"
View Source
const OperationMessageTalkImageReview = "/message.v1.Message/TalkImageReview"

Variables

View Source
var (
	MessageErrorReason_name = map[int32]string{
		0: "UNKNOWN_ERROR",
		1: "ACCESS_USER_MEDAL_FAILED",
		2: "GET_MAILBOX_LAST_TIME_FAILED",
		3: "GET_MESSAGE_NOTIFICATION_FAILED",
		4: "SET_MAILBOX_LAST_TIME_FAILED",
		5: "REMOVE_MAILBOX_COMMENT_FAILED",
		6: "REMOVE_MAILBOX_SYSTEM_NOTIFICATION_FAILED",
	}
	MessageErrorReason_value = map[string]int32{
		"UNKNOWN_ERROR":                             0,
		"ACCESS_USER_MEDAL_FAILED":                  1,
		"GET_MAILBOX_LAST_TIME_FAILED":              2,
		"GET_MESSAGE_NOTIFICATION_FAILED":           3,
		"SET_MAILBOX_LAST_TIME_FAILED":              4,
		"REMOVE_MAILBOX_COMMENT_FAILED":             5,
		"REMOVE_MAILBOX_SYSTEM_NOTIFICATION_FAILED": 6,
	}
)

Enum value maps for MessageErrorReason.

View Source
var File_message_service_v1_message_error_proto protoreflect.FileDescriptor
View Source
var File_message_service_v1_message_proto protoreflect.FileDescriptor
View Source
var Message_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "message.v1.Message",
	HandlerType: (*MessageServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AvatarReview",
			Handler:    _Message_AvatarReview_Handler,
		},
		{
			MethodName: "CoverReview",
			Handler:    _Message_CoverReview_Handler,
		},
		{
			MethodName: "ProfileReview",
			Handler:    _Message_ProfileReview_Handler,
		},
		{
			MethodName: "ArticleCreateReview",
			Handler:    _Message_ArticleCreateReview_Handler,
		},
		{
			MethodName: "ArticleEditReview",
			Handler:    _Message_ArticleEditReview_Handler,
		},
		{
			MethodName: "ArticleImageReview",
			Handler:    _Message_ArticleImageReview_Handler,
		},
		{
			MethodName: "TalkCreateReview",
			Handler:    _Message_TalkCreateReview_Handler,
		},
		{
			MethodName: "TalkEditReview",
			Handler:    _Message_TalkEditReview_Handler,
		},
		{
			MethodName: "TalkImageReview",
			Handler:    _Message_TalkImageReview_Handler,
		},
		{
			MethodName: "ColumnCreateReview",
			Handler:    _Message_ColumnCreateReview_Handler,
		},
		{
			MethodName: "ColumnEditReview",
			Handler:    _Message_ColumnEditReview_Handler,
		},
		{
			MethodName: "ColumnImageReview",
			Handler:    _Message_ColumnImageReview_Handler,
		},
		{
			MethodName: "CollectionsCreateReview",
			Handler:    _Message_CollectionsCreateReview_Handler,
		},
		{
			MethodName: "CollectionsEditReview",
			Handler:    _Message_CollectionsEditReview_Handler,
		},
		{
			MethodName: "CommentCreateReview",
			Handler:    _Message_CommentCreateReview_Handler,
		},
		{
			MethodName: "SubCommentCreateReview",
			Handler:    _Message_SubCommentCreateReview_Handler,
		},
		{
			MethodName: "GetMessageNotification",
			Handler:    _Message_GetMessageNotification_Handler,
		},
		{
			MethodName: "GetMailBoxLastTime",
			Handler:    _Message_GetMailBoxLastTime_Handler,
		},
		{
			MethodName: "GetMessageSystemNotification",
			Handler:    _Message_GetMessageSystemNotification_Handler,
		},
		{
			MethodName: "SetMailBoxLastTime",
			Handler:    _Message_SetMailBoxLastTime_Handler,
		},
		{
			MethodName: "RemoveMailBoxCommentCount",
			Handler:    _Message_RemoveMailBoxCommentCount_Handler,
		},
		{
			MethodName: "RemoveMailBoxSubCommentCount",
			Handler:    _Message_RemoveMailBoxSubCommentCount_Handler,
		},
		{
			MethodName: "RemoveMailBoxSystemNotificationCount",
			Handler:    _Message_RemoveMailBoxSystemNotificationCount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "message/service/v1/message.proto",
}

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

Functions

func ErrorAccessUserMedalFailed

func ErrorAccessUserMedalFailed(format string, args ...interface{}) *errors.Error

func ErrorGetMailboxLastTimeFailed

func ErrorGetMailboxLastTimeFailed(format string, args ...interface{}) *errors.Error

func ErrorGetMessageNotificationFailed

func ErrorGetMessageNotificationFailed(format string, args ...interface{}) *errors.Error

func ErrorRemoveMailboxCommentFailed

func ErrorRemoveMailboxCommentFailed(format string, args ...interface{}) *errors.Error

func ErrorRemoveMailboxSystemNotificationFailed

func ErrorRemoveMailboxSystemNotificationFailed(format string, args ...interface{}) *errors.Error

func ErrorSetMailboxLastTimeFailed

func ErrorSetMailboxLastTimeFailed(format string, args ...interface{}) *errors.Error

func ErrorUnknownError

func ErrorUnknownError(format string, args ...interface{}) *errors.Error

func IsAccessUserMedalFailed

func IsAccessUserMedalFailed(err error) bool

func IsGetMailboxLastTimeFailed

func IsGetMailboxLastTimeFailed(err error) bool

func IsGetMessageNotificationFailed

func IsGetMessageNotificationFailed(err error) bool

func IsRemoveMailboxCommentFailed

func IsRemoveMailboxCommentFailed(err error) bool

func IsRemoveMailboxSystemNotificationFailed

func IsRemoveMailboxSystemNotificationFailed(err error) bool

func IsSetMailboxLastTimeFailed

func IsSetMailboxLastTimeFailed(err error) bool

func IsUnknownError

func IsUnknownError(err error) bool

func RegisterMessageHTTPServer

func RegisterMessageHTTPServer(s *http.Server, srv MessageHTTPServer)

func RegisterMessageServer

func RegisterMessageServer(s grpc.ServiceRegistrar, srv MessageServer)

Types

type GetMailBoxLastTimeReply

type GetMailBoxLastTimeReply struct {
	Time int32 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMailBoxLastTimeReply) Descriptor deprecated

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

Deprecated: Use GetMailBoxLastTimeReply.ProtoReflect.Descriptor instead.

func (*GetMailBoxLastTimeReply) GetTime

func (x *GetMailBoxLastTimeReply) GetTime() int32

func (*GetMailBoxLastTimeReply) ProtoMessage

func (*GetMailBoxLastTimeReply) ProtoMessage()

func (*GetMailBoxLastTimeReply) ProtoReflect

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

func (*GetMailBoxLastTimeReply) Reset

func (x *GetMailBoxLastTimeReply) Reset()

func (*GetMailBoxLastTimeReply) String

func (x *GetMailBoxLastTimeReply) String() string

func (*GetMailBoxLastTimeReply) Validate

func (m *GetMailBoxLastTimeReply) Validate() error

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

func (m *GetMailBoxLastTimeReply) ValidateAll() error

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

type GetMailBoxLastTimeReplyMultiError

type GetMailBoxLastTimeReplyMultiError []error

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

func (GetMailBoxLastTimeReplyMultiError) AllErrors

func (m GetMailBoxLastTimeReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMailBoxLastTimeReplyMultiError) Error

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

type GetMailBoxLastTimeReplyValidationError

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

GetMailBoxLastTimeReplyValidationError is the validation error returned by GetMailBoxLastTimeReply.Validate if the designated constraints aren't met.

func (GetMailBoxLastTimeReplyValidationError) Cause

Cause function returns cause value.

func (GetMailBoxLastTimeReplyValidationError) Error

Error satisfies the builtin error interface

func (GetMailBoxLastTimeReplyValidationError) ErrorName

ErrorName returns error name.

func (GetMailBoxLastTimeReplyValidationError) Field

Field function returns field value.

func (GetMailBoxLastTimeReplyValidationError) Key

Key function returns key value.

func (GetMailBoxLastTimeReplyValidationError) Reason

Reason function returns reason value.

type GetMailBoxLastTimeReq

type GetMailBoxLastTimeReq struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMailBoxLastTimeReq) Descriptor deprecated

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

Deprecated: Use GetMailBoxLastTimeReq.ProtoReflect.Descriptor instead.

func (*GetMailBoxLastTimeReq) GetUuid

func (x *GetMailBoxLastTimeReq) GetUuid() string

func (*GetMailBoxLastTimeReq) ProtoMessage

func (*GetMailBoxLastTimeReq) ProtoMessage()

func (*GetMailBoxLastTimeReq) ProtoReflect

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

func (*GetMailBoxLastTimeReq) Reset

func (x *GetMailBoxLastTimeReq) Reset()

func (*GetMailBoxLastTimeReq) String

func (x *GetMailBoxLastTimeReq) String() string

func (*GetMailBoxLastTimeReq) Validate

func (m *GetMailBoxLastTimeReq) Validate() error

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

func (m *GetMailBoxLastTimeReq) ValidateAll() error

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

type GetMailBoxLastTimeReqMultiError

type GetMailBoxLastTimeReqMultiError []error

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

func (GetMailBoxLastTimeReqMultiError) AllErrors

func (m GetMailBoxLastTimeReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMailBoxLastTimeReqMultiError) Error

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

type GetMailBoxLastTimeReqValidationError

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

GetMailBoxLastTimeReqValidationError is the validation error returned by GetMailBoxLastTimeReq.Validate if the designated constraints aren't met.

func (GetMailBoxLastTimeReqValidationError) Cause

Cause function returns cause value.

func (GetMailBoxLastTimeReqValidationError) Error

Error satisfies the builtin error interface

func (GetMailBoxLastTimeReqValidationError) ErrorName

ErrorName returns error name.

func (GetMailBoxLastTimeReqValidationError) Field

Field function returns field value.

func (GetMailBoxLastTimeReqValidationError) Key

Key function returns key value.

func (GetMailBoxLastTimeReqValidationError) Reason

Reason function returns reason value.

type GetMessageNotificationReply

type GetMessageNotificationReply struct {
	Timeline   map[string]int32 `` /* 158-byte string literal not displayed */
	Comment    int32            `protobuf:"varint,2,opt,name=comment,proto3" json:"comment,omitempty"`
	SubComment int32            `protobuf:"varint,3,opt,name=subComment,proto3" json:"subComment,omitempty"`
	System     int32            `protobuf:"varint,4,opt,name=system,proto3" json:"system,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessageNotificationReply) Descriptor deprecated

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

Deprecated: Use GetMessageNotificationReply.ProtoReflect.Descriptor instead.

func (*GetMessageNotificationReply) GetComment

func (x *GetMessageNotificationReply) GetComment() int32

func (*GetMessageNotificationReply) GetSubComment

func (x *GetMessageNotificationReply) GetSubComment() int32

func (*GetMessageNotificationReply) GetSystem

func (x *GetMessageNotificationReply) GetSystem() int32

func (*GetMessageNotificationReply) GetTimeline

func (x *GetMessageNotificationReply) GetTimeline() map[string]int32

func (*GetMessageNotificationReply) ProtoMessage

func (*GetMessageNotificationReply) ProtoMessage()

func (*GetMessageNotificationReply) ProtoReflect

func (*GetMessageNotificationReply) Reset

func (x *GetMessageNotificationReply) Reset()

func (*GetMessageNotificationReply) String

func (x *GetMessageNotificationReply) String() string

func (*GetMessageNotificationReply) Validate

func (m *GetMessageNotificationReply) Validate() error

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

func (m *GetMessageNotificationReply) ValidateAll() error

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

type GetMessageNotificationReplyMultiError

type GetMessageNotificationReplyMultiError []error

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

func (GetMessageNotificationReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetMessageNotificationReplyMultiError) Error

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

type GetMessageNotificationReplyValidationError

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

GetMessageNotificationReplyValidationError is the validation error returned by GetMessageNotificationReply.Validate if the designated constraints aren't met.

func (GetMessageNotificationReplyValidationError) Cause

Cause function returns cause value.

func (GetMessageNotificationReplyValidationError) Error

Error satisfies the builtin error interface

func (GetMessageNotificationReplyValidationError) ErrorName

ErrorName returns error name.

func (GetMessageNotificationReplyValidationError) Field

Field function returns field value.

func (GetMessageNotificationReplyValidationError) Key

Key function returns key value.

func (GetMessageNotificationReplyValidationError) Reason

Reason function returns reason value.

type GetMessageNotificationReq

type GetMessageNotificationReq struct {
	Uuid    string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Follows []string `protobuf:"bytes,2,rep,name=follows,proto3" json:"follows,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessageNotificationReq) Descriptor deprecated

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

Deprecated: Use GetMessageNotificationReq.ProtoReflect.Descriptor instead.

func (*GetMessageNotificationReq) GetFollows

func (x *GetMessageNotificationReq) GetFollows() []string

func (*GetMessageNotificationReq) GetUuid

func (x *GetMessageNotificationReq) GetUuid() string

func (*GetMessageNotificationReq) ProtoMessage

func (*GetMessageNotificationReq) ProtoMessage()

func (*GetMessageNotificationReq) ProtoReflect

func (*GetMessageNotificationReq) Reset

func (x *GetMessageNotificationReq) Reset()

func (*GetMessageNotificationReq) String

func (x *GetMessageNotificationReq) String() string

func (*GetMessageNotificationReq) Validate

func (m *GetMessageNotificationReq) Validate() error

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

func (m *GetMessageNotificationReq) ValidateAll() error

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

type GetMessageNotificationReqMultiError

type GetMessageNotificationReqMultiError []error

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

func (GetMessageNotificationReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetMessageNotificationReqMultiError) Error

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

type GetMessageNotificationReqValidationError

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

GetMessageNotificationReqValidationError is the validation error returned by GetMessageNotificationReq.Validate if the designated constraints aren't met.

func (GetMessageNotificationReqValidationError) Cause

Cause function returns cause value.

func (GetMessageNotificationReqValidationError) Error

Error satisfies the builtin error interface

func (GetMessageNotificationReqValidationError) ErrorName

ErrorName returns error name.

func (GetMessageNotificationReqValidationError) Field

Field function returns field value.

func (GetMessageNotificationReqValidationError) Key

Key function returns key value.

func (GetMessageNotificationReqValidationError) Reason

Reason function returns reason value.

type GetMessageSystemNotificationReply

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

func (*GetMessageSystemNotificationReply) Descriptor deprecated

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

Deprecated: Use GetMessageSystemNotificationReply.ProtoReflect.Descriptor instead.

func (*GetMessageSystemNotificationReply) GetList

func (*GetMessageSystemNotificationReply) ProtoMessage

func (*GetMessageSystemNotificationReply) ProtoMessage()

func (*GetMessageSystemNotificationReply) ProtoReflect

func (*GetMessageSystemNotificationReply) Reset

func (*GetMessageSystemNotificationReply) String

func (*GetMessageSystemNotificationReply) Validate

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

func (m *GetMessageSystemNotificationReply) ValidateAll() error

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

type GetMessageSystemNotificationReplyMultiError

type GetMessageSystemNotificationReplyMultiError []error

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

func (GetMessageSystemNotificationReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetMessageSystemNotificationReplyMultiError) Error

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

type GetMessageSystemNotificationReplyValidationError

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

GetMessageSystemNotificationReplyValidationError is the validation error returned by GetMessageSystemNotificationReply.Validate if the designated constraints aren't met.

func (GetMessageSystemNotificationReplyValidationError) Cause

Cause function returns cause value.

func (GetMessageSystemNotificationReplyValidationError) Error

Error satisfies the builtin error interface

func (GetMessageSystemNotificationReplyValidationError) ErrorName

ErrorName returns error name.

func (GetMessageSystemNotificationReplyValidationError) Field

Field function returns field value.

func (GetMessageSystemNotificationReplyValidationError) Key

Key function returns key value.

func (GetMessageSystemNotificationReplyValidationError) Reason

Reason function returns reason value.

type GetMessageSystemNotificationReply_List

type GetMessageSystemNotificationReply_List struct {
	Id               int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ContentId        int32  `protobuf:"varint,2,opt,name=contentId,proto3" json:"contentId,omitempty"`
	CreatedAt        string `protobuf:"bytes,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	NotificationType string `protobuf:"bytes,4,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
	Title            string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Uid              string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
	Uuid             string `protobuf:"bytes,7,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Label            string `protobuf:"bytes,8,opt,name=label,proto3" json:"label,omitempty"`
	Result           int32  `protobuf:"varint,9,opt,name=result,proto3" json:"result,omitempty"`
	Section          string `protobuf:"bytes,10,opt,name=section,proto3" json:"section,omitempty"`
	Text             string `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"`
	Comment          string `protobuf:"bytes,12,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessageSystemNotificationReply_List) Descriptor deprecated

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

Deprecated: Use GetMessageSystemNotificationReply_List.ProtoReflect.Descriptor instead.

func (*GetMessageSystemNotificationReply_List) GetComment

func (*GetMessageSystemNotificationReply_List) GetContentId

func (*GetMessageSystemNotificationReply_List) GetCreatedAt

func (*GetMessageSystemNotificationReply_List) GetId

func (*GetMessageSystemNotificationReply_List) GetLabel

func (*GetMessageSystemNotificationReply_List) GetNotificationType

func (x *GetMessageSystemNotificationReply_List) GetNotificationType() string

func (*GetMessageSystemNotificationReply_List) GetResult

func (*GetMessageSystemNotificationReply_List) GetSection

func (*GetMessageSystemNotificationReply_List) GetText

func (*GetMessageSystemNotificationReply_List) GetTitle

func (*GetMessageSystemNotificationReply_List) GetUid

func (*GetMessageSystemNotificationReply_List) GetUuid

func (*GetMessageSystemNotificationReply_List) ProtoMessage

func (*GetMessageSystemNotificationReply_List) ProtoReflect

func (*GetMessageSystemNotificationReply_List) Reset

func (*GetMessageSystemNotificationReply_List) String

func (*GetMessageSystemNotificationReply_List) Validate

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

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

type GetMessageSystemNotificationReply_ListMultiError

type GetMessageSystemNotificationReply_ListMultiError []error

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

func (GetMessageSystemNotificationReply_ListMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetMessageSystemNotificationReply_ListMultiError) Error

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

type GetMessageSystemNotificationReply_ListValidationError

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

GetMessageSystemNotificationReply_ListValidationError is the validation error returned by GetMessageSystemNotificationReply_List.Validate if the designated constraints aren't met.

func (GetMessageSystemNotificationReply_ListValidationError) Cause

Cause function returns cause value.

func (GetMessageSystemNotificationReply_ListValidationError) Error

Error satisfies the builtin error interface

func (GetMessageSystemNotificationReply_ListValidationError) ErrorName

ErrorName returns error name.

func (GetMessageSystemNotificationReply_ListValidationError) Field

Field function returns field value.

func (GetMessageSystemNotificationReply_ListValidationError) Key

Key function returns key value.

func (GetMessageSystemNotificationReply_ListValidationError) Reason

Reason function returns reason value.

type GetMessageSystemNotificationReq

type GetMessageSystemNotificationReq struct {
	Page int32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMessageSystemNotificationReq) Descriptor deprecated

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

Deprecated: Use GetMessageSystemNotificationReq.ProtoReflect.Descriptor instead.

func (*GetMessageSystemNotificationReq) GetPage

func (*GetMessageSystemNotificationReq) GetUuid

func (*GetMessageSystemNotificationReq) ProtoMessage

func (*GetMessageSystemNotificationReq) ProtoMessage()

func (*GetMessageSystemNotificationReq) ProtoReflect

func (*GetMessageSystemNotificationReq) Reset

func (*GetMessageSystemNotificationReq) String

func (*GetMessageSystemNotificationReq) Validate

func (m *GetMessageSystemNotificationReq) Validate() error

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

func (m *GetMessageSystemNotificationReq) ValidateAll() error

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

type GetMessageSystemNotificationReqMultiError

type GetMessageSystemNotificationReqMultiError []error

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

func (GetMessageSystemNotificationReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetMessageSystemNotificationReqMultiError) Error

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

type GetMessageSystemNotificationReqValidationError

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

GetMessageSystemNotificationReqValidationError is the validation error returned by GetMessageSystemNotificationReq.Validate if the designated constraints aren't met.

func (GetMessageSystemNotificationReqValidationError) Cause

Cause function returns cause value.

func (GetMessageSystemNotificationReqValidationError) Error

Error satisfies the builtin error interface

func (GetMessageSystemNotificationReqValidationError) ErrorName

ErrorName returns error name.

func (GetMessageSystemNotificationReqValidationError) Field

Field function returns field value.

func (GetMessageSystemNotificationReqValidationError) Key

Key function returns key value.

func (GetMessageSystemNotificationReqValidationError) Reason

Reason function returns reason value.

type ImageReviewReq

type ImageReviewReq struct {
	JobsDetail *ImageReviewReq_JobsDetailStruct `protobuf:"bytes,1,opt,name=JobsDetail,proto3" json:"JobsDetail,omitempty"`
	EventName  string                           `protobuf:"bytes,2,opt,name=EventName,proto3" json:"EventName,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageReviewReq) Descriptor deprecated

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

Deprecated: Use ImageReviewReq.ProtoReflect.Descriptor instead.

func (*ImageReviewReq) GetEventName

func (x *ImageReviewReq) GetEventName() string

func (*ImageReviewReq) GetJobsDetail

func (x *ImageReviewReq) GetJobsDetail() *ImageReviewReq_JobsDetailStruct

func (*ImageReviewReq) ProtoMessage

func (*ImageReviewReq) ProtoMessage()

func (*ImageReviewReq) ProtoReflect

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

func (*ImageReviewReq) Reset

func (x *ImageReviewReq) Reset()

func (*ImageReviewReq) String

func (x *ImageReviewReq) String() string

func (*ImageReviewReq) Validate

func (m *ImageReviewReq) Validate() error

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

func (m *ImageReviewReq) ValidateAll() error

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

type ImageReviewReqMultiError

type ImageReviewReqMultiError []error

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

func (ImageReviewReqMultiError) AllErrors

func (m ImageReviewReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImageReviewReqMultiError) Error

func (m ImageReviewReqMultiError) Error() string

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

type ImageReviewReqValidationError

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

ImageReviewReqValidationError is the validation error returned by ImageReviewReq.Validate if the designated constraints aren't met.

func (ImageReviewReqValidationError) Cause

Cause function returns cause value.

func (ImageReviewReqValidationError) Error

Error satisfies the builtin error interface

func (ImageReviewReqValidationError) ErrorName

func (e ImageReviewReqValidationError) ErrorName() string

ErrorName returns error name.

func (ImageReviewReqValidationError) Field

Field function returns field value.

func (ImageReviewReqValidationError) Key

Key function returns key value.

func (ImageReviewReqValidationError) Reason

Reason function returns reason value.

type ImageReviewReq_JobsDetailStruct

type ImageReviewReq_JobsDetailStruct struct {
	Code       string            `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
	Message    string            `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
	JobId      string            `protobuf:"bytes,3,opt,name=JobId,proto3" json:"JobId,omitempty"`
	State      string            `protobuf:"bytes,4,opt,name=State,proto3" json:"State,omitempty"`
	Object     string            `protobuf:"bytes,5,opt,name=Object,proto3" json:"Object,omitempty"`
	Url        string            `protobuf:"bytes,6,opt,name=Url,proto3" json:"Url,omitempty"`
	Label      string            `protobuf:"bytes,7,opt,name=Label,proto3" json:"Label,omitempty"`
	Result     int32             `protobuf:"varint,8,opt,name=Result,proto3" json:"Result,omitempty"`
	Score      int32             `protobuf:"varint,9,opt,name=Score,proto3" json:"Score,omitempty"`
	Category   string            `protobuf:"bytes,10,opt,name=Category,proto3" json:"Category,omitempty"`
	SubLabel   string            `protobuf:"bytes,11,opt,name=SubLabel,proto3" json:"SubLabel,omitempty"`
	BucketId   string            `protobuf:"bytes,12,opt,name=BucketId,proto3" json:"BucketId,omitempty"`
	Region     string            `protobuf:"bytes,13,opt,name=Region,proto3" json:"Region,omitempty"`
	CosHeaders map[string]string `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ImageReviewReq_JobsDetailStruct) Descriptor deprecated

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

Deprecated: Use ImageReviewReq_JobsDetailStruct.ProtoReflect.Descriptor instead.

func (*ImageReviewReq_JobsDetailStruct) GetBucketId

func (x *ImageReviewReq_JobsDetailStruct) GetBucketId() string

func (*ImageReviewReq_JobsDetailStruct) GetCategory

func (x *ImageReviewReq_JobsDetailStruct) GetCategory() string

func (*ImageReviewReq_JobsDetailStruct) GetCode

func (*ImageReviewReq_JobsDetailStruct) GetCosHeaders

func (x *ImageReviewReq_JobsDetailStruct) GetCosHeaders() map[string]string

func (*ImageReviewReq_JobsDetailStruct) GetJobId

func (*ImageReviewReq_JobsDetailStruct) GetLabel

func (*ImageReviewReq_JobsDetailStruct) GetMessage

func (x *ImageReviewReq_JobsDetailStruct) GetMessage() string

func (*ImageReviewReq_JobsDetailStruct) GetObject

func (x *ImageReviewReq_JobsDetailStruct) GetObject() string

func (*ImageReviewReq_JobsDetailStruct) GetRegion

func (x *ImageReviewReq_JobsDetailStruct) GetRegion() string

func (*ImageReviewReq_JobsDetailStruct) GetResult

func (x *ImageReviewReq_JobsDetailStruct) GetResult() int32

func (*ImageReviewReq_JobsDetailStruct) GetScore

func (x *ImageReviewReq_JobsDetailStruct) GetScore() int32

func (*ImageReviewReq_JobsDetailStruct) GetState

func (*ImageReviewReq_JobsDetailStruct) GetSubLabel

func (x *ImageReviewReq_JobsDetailStruct) GetSubLabel() string

func (*ImageReviewReq_JobsDetailStruct) GetUrl

func (*ImageReviewReq_JobsDetailStruct) ProtoMessage

func (*ImageReviewReq_JobsDetailStruct) ProtoMessage()

func (*ImageReviewReq_JobsDetailStruct) ProtoReflect

func (*ImageReviewReq_JobsDetailStruct) Reset

func (*ImageReviewReq_JobsDetailStruct) String

func (*ImageReviewReq_JobsDetailStruct) Validate

func (m *ImageReviewReq_JobsDetailStruct) Validate() error

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

func (m *ImageReviewReq_JobsDetailStruct) ValidateAll() error

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

type ImageReviewReq_JobsDetailStructMultiError

type ImageReviewReq_JobsDetailStructMultiError []error

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

func (ImageReviewReq_JobsDetailStructMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ImageReviewReq_JobsDetailStructMultiError) Error

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

type ImageReviewReq_JobsDetailStructValidationError

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

ImageReviewReq_JobsDetailStructValidationError is the validation error returned by ImageReviewReq_JobsDetailStruct.Validate if the designated constraints aren't met.

func (ImageReviewReq_JobsDetailStructValidationError) Cause

Cause function returns cause value.

func (ImageReviewReq_JobsDetailStructValidationError) Error

Error satisfies the builtin error interface

func (ImageReviewReq_JobsDetailStructValidationError) ErrorName

ErrorName returns error name.

func (ImageReviewReq_JobsDetailStructValidationError) Field

Field function returns field value.

func (ImageReviewReq_JobsDetailStructValidationError) Key

Key function returns key value.

func (ImageReviewReq_JobsDetailStructValidationError) Reason

Reason function returns reason value.

type JobsDetailStruct

type JobsDetailStruct struct {
	Code         string            `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
	Message      string            `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
	JobId        string            `protobuf:"bytes,3,opt,name=JobId,proto3" json:"JobId,omitempty"`
	DataId       string            `protobuf:"bytes,4,opt,name=DataId,proto3" json:"DataId,omitempty"`
	State        string            `protobuf:"bytes,5,opt,name=State,proto3" json:"State,omitempty"`
	CreationTime string            `protobuf:"bytes,6,opt,name=CreationTime,proto3" json:"CreationTime,omitempty"`
	Object       string            `protobuf:"bytes,7,opt,name=Object,proto3" json:"Object,omitempty"`
	Label        string            `protobuf:"bytes,8,opt,name=Label,proto3" json:"Label,omitempty"`
	Result       int32             `protobuf:"varint,9,opt,name=Result,proto3" json:"Result,omitempty"`
	BucketId     string            `protobuf:"bytes,10,opt,name=BucketId,proto3" json:"BucketId,omitempty"`
	Region       string            `protobuf:"bytes,11,opt,name=Region,proto3" json:"Region,omitempty"`
	CosHeaders   map[string]string `` /* 162-byte string literal not displayed */
	Section      []*SectionStruct  `protobuf:"bytes,13,rep,name=Section,proto3" json:"Section,omitempty"`
	// contains filtered or unexported fields
}

func (*JobsDetailStruct) Descriptor deprecated

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

Deprecated: Use JobsDetailStruct.ProtoReflect.Descriptor instead.

func (*JobsDetailStruct) GetBucketId

func (x *JobsDetailStruct) GetBucketId() string

func (*JobsDetailStruct) GetCode

func (x *JobsDetailStruct) GetCode() string

func (*JobsDetailStruct) GetCosHeaders

func (x *JobsDetailStruct) GetCosHeaders() map[string]string

func (*JobsDetailStruct) GetCreationTime

func (x *JobsDetailStruct) GetCreationTime() string

func (*JobsDetailStruct) GetDataId

func (x *JobsDetailStruct) GetDataId() string

func (*JobsDetailStruct) GetJobId

func (x *JobsDetailStruct) GetJobId() string

func (*JobsDetailStruct) GetLabel

func (x *JobsDetailStruct) GetLabel() string

func (*JobsDetailStruct) GetMessage

func (x *JobsDetailStruct) GetMessage() string

func (*JobsDetailStruct) GetObject

func (x *JobsDetailStruct) GetObject() string

func (*JobsDetailStruct) GetRegion

func (x *JobsDetailStruct) GetRegion() string

func (*JobsDetailStruct) GetResult

func (x *JobsDetailStruct) GetResult() int32

func (*JobsDetailStruct) GetSection

func (x *JobsDetailStruct) GetSection() []*SectionStruct

func (*JobsDetailStruct) GetState

func (x *JobsDetailStruct) GetState() string

func (*JobsDetailStruct) ProtoMessage

func (*JobsDetailStruct) ProtoMessage()

func (*JobsDetailStruct) ProtoReflect

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

func (*JobsDetailStruct) Reset

func (x *JobsDetailStruct) Reset()

func (*JobsDetailStruct) String

func (x *JobsDetailStruct) String() string

func (*JobsDetailStruct) Validate

func (m *JobsDetailStruct) Validate() error

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

func (m *JobsDetailStruct) ValidateAll() error

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

type JobsDetailStructMultiError

type JobsDetailStructMultiError []error

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

func (JobsDetailStructMultiError) AllErrors

func (m JobsDetailStructMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobsDetailStructMultiError) Error

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

type JobsDetailStructValidationError

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

JobsDetailStructValidationError is the validation error returned by JobsDetailStruct.Validate if the designated constraints aren't met.

func (JobsDetailStructValidationError) Cause

Cause function returns cause value.

func (JobsDetailStructValidationError) Error

Error satisfies the builtin error interface

func (JobsDetailStructValidationError) ErrorName

ErrorName returns error name.

func (JobsDetailStructValidationError) Field

Field function returns field value.

func (JobsDetailStructValidationError) Key

Key function returns key value.

func (JobsDetailStructValidationError) Reason

Reason function returns reason value.

type MessageClient

type MessageClient interface {
	AvatarReview(ctx context.Context, in *ImageReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CoverReview(ctx context.Context, in *ImageReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ProfileReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ArticleCreateReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ArticleEditReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ArticleImageReview(ctx context.Context, in *ImageReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	TalkCreateReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	TalkEditReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	TalkImageReview(ctx context.Context, in *ImageReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ColumnCreateReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ColumnEditReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ColumnImageReview(ctx context.Context, in *ImageReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CollectionsCreateReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CollectionsEditReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CommentCreateReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SubCommentCreateReview(ctx context.Context, in *TextReviewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetMessageNotification(ctx context.Context, in *GetMessageNotificationReq, opts ...grpc.CallOption) (*GetMessageNotificationReply, error)
	GetMailBoxLastTime(ctx context.Context, in *GetMailBoxLastTimeReq, opts ...grpc.CallOption) (*GetMailBoxLastTimeReply, error)
	GetMessageSystemNotification(ctx context.Context, in *GetMessageSystemNotificationReq, opts ...grpc.CallOption) (*GetMessageSystemNotificationReply, error)
	SetMailBoxLastTime(ctx context.Context, in *SetMailBoxLastTimeReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	RemoveMailBoxCommentCount(ctx context.Context, in *RemoveMailBoxCommentCountReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	RemoveMailBoxSubCommentCount(ctx context.Context, in *RemoveMailBoxSubCommentCountReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	RemoveMailBoxSystemNotificationCount(ctx context.Context, in *RemoveMailBoxSystemNotificationCountReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

MessageClient is the client API for Message 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 NewMessageClient

func NewMessageClient(cc grpc.ClientConnInterface) MessageClient

type MessageErrorReason

type MessageErrorReason int32
const (
	MessageErrorReason_UNKNOWN_ERROR                             MessageErrorReason = 0
	MessageErrorReason_ACCESS_USER_MEDAL_FAILED                  MessageErrorReason = 1
	MessageErrorReason_GET_MAILBOX_LAST_TIME_FAILED              MessageErrorReason = 2
	MessageErrorReason_GET_MESSAGE_NOTIFICATION_FAILED           MessageErrorReason = 3
	MessageErrorReason_SET_MAILBOX_LAST_TIME_FAILED              MessageErrorReason = 4
	MessageErrorReason_REMOVE_MAILBOX_COMMENT_FAILED             MessageErrorReason = 5
	MessageErrorReason_REMOVE_MAILBOX_SYSTEM_NOTIFICATION_FAILED MessageErrorReason = 6
)

func (MessageErrorReason) Descriptor

func (MessageErrorReason) Enum

func (MessageErrorReason) EnumDescriptor deprecated

func (MessageErrorReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use MessageErrorReason.Descriptor instead.

func (MessageErrorReason) Number

func (MessageErrorReason) String

func (x MessageErrorReason) String() string

func (MessageErrorReason) Type

type MessageHTTPClient

type MessageHTTPClient interface {
	ArticleCreateReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	ArticleEditReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	ArticleImageReview(ctx context.Context, req *ImageReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	AvatarReview(ctx context.Context, req *ImageReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	CollectionsCreateReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	CollectionsEditReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	ColumnCreateReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	ColumnEditReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	ColumnImageReview(ctx context.Context, req *ImageReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	CommentCreateReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	CoverReview(ctx context.Context, req *ImageReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	ProfileReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	SubCommentCreateReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	TalkCreateReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	TalkEditReview(ctx context.Context, req *TextReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	TalkImageReview(ctx context.Context, req *ImageReviewReq, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
}

func NewMessageHTTPClient

func NewMessageHTTPClient(client *http.Client) MessageHTTPClient

type MessageHTTPClientImpl

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

func (*MessageHTTPClientImpl) ArticleCreateReview

func (c *MessageHTTPClientImpl) ArticleCreateReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) ArticleEditReview

func (c *MessageHTTPClientImpl) ArticleEditReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) ArticleImageReview

func (c *MessageHTTPClientImpl) ArticleImageReview(ctx context.Context, in *ImageReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) AvatarReview

func (c *MessageHTTPClientImpl) AvatarReview(ctx context.Context, in *ImageReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) CollectionsCreateReview

func (c *MessageHTTPClientImpl) CollectionsCreateReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) CollectionsEditReview

func (c *MessageHTTPClientImpl) CollectionsEditReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) ColumnCreateReview

func (c *MessageHTTPClientImpl) ColumnCreateReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) ColumnEditReview

func (c *MessageHTTPClientImpl) ColumnEditReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) ColumnImageReview

func (c *MessageHTTPClientImpl) ColumnImageReview(ctx context.Context, in *ImageReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) CommentCreateReview

func (c *MessageHTTPClientImpl) CommentCreateReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) CoverReview

func (c *MessageHTTPClientImpl) CoverReview(ctx context.Context, in *ImageReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) ProfileReview

func (c *MessageHTTPClientImpl) ProfileReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) SubCommentCreateReview

func (c *MessageHTTPClientImpl) SubCommentCreateReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) TalkCreateReview

func (c *MessageHTTPClientImpl) TalkCreateReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) TalkEditReview

func (c *MessageHTTPClientImpl) TalkEditReview(ctx context.Context, in *TextReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

func (*MessageHTTPClientImpl) TalkImageReview

func (c *MessageHTTPClientImpl) TalkImageReview(ctx context.Context, in *ImageReviewReq, opts ...http.CallOption) (*emptypb.Empty, error)

type MessageHTTPServer

type MessageHTTPServer interface {
	ArticleCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ArticleEditReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ArticleImageReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
	AvatarReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
	CollectionsCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	CollectionsEditReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ColumnCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ColumnEditReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ColumnImageReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
	CommentCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	CoverReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
	ProfileReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	SubCommentCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	TalkCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	TalkEditReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	TalkImageReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
}

type MessageServer

type MessageServer interface {
	AvatarReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
	CoverReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
	ProfileReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ArticleCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ArticleEditReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ArticleImageReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
	TalkCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	TalkEditReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	TalkImageReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
	ColumnCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ColumnEditReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	ColumnImageReview(context.Context, *ImageReviewReq) (*emptypb.Empty, error)
	CollectionsCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	CollectionsEditReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	CommentCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	SubCommentCreateReview(context.Context, *TextReviewReq) (*emptypb.Empty, error)
	GetMessageNotification(context.Context, *GetMessageNotificationReq) (*GetMessageNotificationReply, error)
	GetMailBoxLastTime(context.Context, *GetMailBoxLastTimeReq) (*GetMailBoxLastTimeReply, error)
	GetMessageSystemNotification(context.Context, *GetMessageSystemNotificationReq) (*GetMessageSystemNotificationReply, error)
	SetMailBoxLastTime(context.Context, *SetMailBoxLastTimeReq) (*emptypb.Empty, error)
	RemoveMailBoxCommentCount(context.Context, *RemoveMailBoxCommentCountReq) (*emptypb.Empty, error)
	RemoveMailBoxSubCommentCount(context.Context, *RemoveMailBoxSubCommentCountReq) (*emptypb.Empty, error)
	RemoveMailBoxSystemNotificationCount(context.Context, *RemoveMailBoxSystemNotificationCountReq) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

MessageServer is the server API for Message service. All implementations must embed UnimplementedMessageServer for forward compatibility

type RemoveMailBoxCommentCountReq

type RemoveMailBoxCommentCountReq struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveMailBoxCommentCountReq) Descriptor deprecated

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

Deprecated: Use RemoveMailBoxCommentCountReq.ProtoReflect.Descriptor instead.

func (*RemoveMailBoxCommentCountReq) GetUuid

func (x *RemoveMailBoxCommentCountReq) GetUuid() string

func (*RemoveMailBoxCommentCountReq) ProtoMessage

func (*RemoveMailBoxCommentCountReq) ProtoMessage()

func (*RemoveMailBoxCommentCountReq) ProtoReflect

func (*RemoveMailBoxCommentCountReq) Reset

func (x *RemoveMailBoxCommentCountReq) Reset()

func (*RemoveMailBoxCommentCountReq) String

func (*RemoveMailBoxCommentCountReq) Validate

func (m *RemoveMailBoxCommentCountReq) Validate() error

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

func (m *RemoveMailBoxCommentCountReq) ValidateAll() error

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

type RemoveMailBoxCommentCountReqMultiError

type RemoveMailBoxCommentCountReqMultiError []error

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

func (RemoveMailBoxCommentCountReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RemoveMailBoxCommentCountReqMultiError) Error

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

type RemoveMailBoxCommentCountReqValidationError

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

RemoveMailBoxCommentCountReqValidationError is the validation error returned by RemoveMailBoxCommentCountReq.Validate if the designated constraints aren't met.

func (RemoveMailBoxCommentCountReqValidationError) Cause

Cause function returns cause value.

func (RemoveMailBoxCommentCountReqValidationError) Error

Error satisfies the builtin error interface

func (RemoveMailBoxCommentCountReqValidationError) ErrorName

ErrorName returns error name.

func (RemoveMailBoxCommentCountReqValidationError) Field

Field function returns field value.

func (RemoveMailBoxCommentCountReqValidationError) Key

Key function returns key value.

func (RemoveMailBoxCommentCountReqValidationError) Reason

Reason function returns reason value.

type RemoveMailBoxSubCommentCountReq

type RemoveMailBoxSubCommentCountReq struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveMailBoxSubCommentCountReq) Descriptor deprecated

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

Deprecated: Use RemoveMailBoxSubCommentCountReq.ProtoReflect.Descriptor instead.

func (*RemoveMailBoxSubCommentCountReq) GetUuid

func (*RemoveMailBoxSubCommentCountReq) ProtoMessage

func (*RemoveMailBoxSubCommentCountReq) ProtoMessage()

func (*RemoveMailBoxSubCommentCountReq) ProtoReflect

func (*RemoveMailBoxSubCommentCountReq) Reset

func (*RemoveMailBoxSubCommentCountReq) String

func (*RemoveMailBoxSubCommentCountReq) Validate

func (m *RemoveMailBoxSubCommentCountReq) Validate() error

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

func (m *RemoveMailBoxSubCommentCountReq) ValidateAll() error

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

type RemoveMailBoxSubCommentCountReqMultiError

type RemoveMailBoxSubCommentCountReqMultiError []error

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

func (RemoveMailBoxSubCommentCountReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RemoveMailBoxSubCommentCountReqMultiError) Error

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

type RemoveMailBoxSubCommentCountReqValidationError

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

RemoveMailBoxSubCommentCountReqValidationError is the validation error returned by RemoveMailBoxSubCommentCountReq.Validate if the designated constraints aren't met.

func (RemoveMailBoxSubCommentCountReqValidationError) Cause

Cause function returns cause value.

func (RemoveMailBoxSubCommentCountReqValidationError) Error

Error satisfies the builtin error interface

func (RemoveMailBoxSubCommentCountReqValidationError) ErrorName

ErrorName returns error name.

func (RemoveMailBoxSubCommentCountReqValidationError) Field

Field function returns field value.

func (RemoveMailBoxSubCommentCountReqValidationError) Key

Key function returns key value.

func (RemoveMailBoxSubCommentCountReqValidationError) Reason

Reason function returns reason value.

type RemoveMailBoxSystemNotificationCountReq

type RemoveMailBoxSystemNotificationCountReq struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveMailBoxSystemNotificationCountReq) Descriptor deprecated

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

Deprecated: Use RemoveMailBoxSystemNotificationCountReq.ProtoReflect.Descriptor instead.

func (*RemoveMailBoxSystemNotificationCountReq) GetUuid

func (*RemoveMailBoxSystemNotificationCountReq) ProtoMessage

func (*RemoveMailBoxSystemNotificationCountReq) ProtoReflect

func (*RemoveMailBoxSystemNotificationCountReq) Reset

func (*RemoveMailBoxSystemNotificationCountReq) String

func (*RemoveMailBoxSystemNotificationCountReq) Validate

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

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

type RemoveMailBoxSystemNotificationCountReqMultiError

type RemoveMailBoxSystemNotificationCountReqMultiError []error

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

func (RemoveMailBoxSystemNotificationCountReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RemoveMailBoxSystemNotificationCountReqMultiError) Error

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

type RemoveMailBoxSystemNotificationCountReqValidationError

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

RemoveMailBoxSystemNotificationCountReqValidationError is the validation error returned by RemoveMailBoxSystemNotificationCountReq.Validate if the designated constraints aren't met.

func (RemoveMailBoxSystemNotificationCountReqValidationError) Cause

Cause function returns cause value.

func (RemoveMailBoxSystemNotificationCountReqValidationError) Error

Error satisfies the builtin error interface

func (RemoveMailBoxSystemNotificationCountReqValidationError) ErrorName

ErrorName returns error name.

func (RemoveMailBoxSystemNotificationCountReqValidationError) Field

Field function returns field value.

func (RemoveMailBoxSystemNotificationCountReqValidationError) Key

Key function returns key value.

func (RemoveMailBoxSystemNotificationCountReqValidationError) Reason

Reason function returns reason value.

type SectionAbuseInfoStruct

type SectionAbuseInfoStruct struct {
	HitFlag  int32  `protobuf:"varint,1,opt,name=HitFlag,proto3" json:"HitFlag,omitempty"`
	Score    int32  `protobuf:"varint,2,opt,name=Score,proto3" json:"Score,omitempty"`
	Keywords string `protobuf:"bytes,3,opt,name=Keywords,proto3" json:"Keywords,omitempty"`
	// contains filtered or unexported fields
}

func (*SectionAbuseInfoStruct) Descriptor deprecated

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

Deprecated: Use SectionAbuseInfoStruct.ProtoReflect.Descriptor instead.

func (*SectionAbuseInfoStruct) GetHitFlag

func (x *SectionAbuseInfoStruct) GetHitFlag() int32

func (*SectionAbuseInfoStruct) GetKeywords

func (x *SectionAbuseInfoStruct) GetKeywords() string

func (*SectionAbuseInfoStruct) GetScore

func (x *SectionAbuseInfoStruct) GetScore() int32

func (*SectionAbuseInfoStruct) ProtoMessage

func (*SectionAbuseInfoStruct) ProtoMessage()

func (*SectionAbuseInfoStruct) ProtoReflect

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

func (*SectionAbuseInfoStruct) Reset

func (x *SectionAbuseInfoStruct) Reset()

func (*SectionAbuseInfoStruct) String

func (x *SectionAbuseInfoStruct) String() string

func (*SectionAbuseInfoStruct) Validate

func (m *SectionAbuseInfoStruct) Validate() error

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

func (m *SectionAbuseInfoStruct) ValidateAll() error

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

type SectionAbuseInfoStructMultiError

type SectionAbuseInfoStructMultiError []error

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

func (SectionAbuseInfoStructMultiError) AllErrors

func (m SectionAbuseInfoStructMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SectionAbuseInfoStructMultiError) Error

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

type SectionAbuseInfoStructValidationError

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

SectionAbuseInfoStructValidationError is the validation error returned by SectionAbuseInfoStruct.Validate if the designated constraints aren't met.

func (SectionAbuseInfoStructValidationError) Cause

Cause function returns cause value.

func (SectionAbuseInfoStructValidationError) Error

Error satisfies the builtin error interface

func (SectionAbuseInfoStructValidationError) ErrorName

ErrorName returns error name.

func (SectionAbuseInfoStructValidationError) Field

Field function returns field value.

func (SectionAbuseInfoStructValidationError) Key

Key function returns key value.

func (SectionAbuseInfoStructValidationError) Reason

Reason function returns reason value.

type SectionAdsInfoStruct

type SectionAdsInfoStruct struct {
	HitFlag  int32  `protobuf:"varint,1,opt,name=HitFlag,proto3" json:"HitFlag,omitempty"`
	Score    int32  `protobuf:"varint,2,opt,name=Score,proto3" json:"Score,omitempty"`
	Keywords string `protobuf:"bytes,3,opt,name=Keywords,proto3" json:"Keywords,omitempty"`
	// contains filtered or unexported fields
}

func (*SectionAdsInfoStruct) Descriptor deprecated

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

Deprecated: Use SectionAdsInfoStruct.ProtoReflect.Descriptor instead.

func (*SectionAdsInfoStruct) GetHitFlag

func (x *SectionAdsInfoStruct) GetHitFlag() int32

func (*SectionAdsInfoStruct) GetKeywords

func (x *SectionAdsInfoStruct) GetKeywords() string

func (*SectionAdsInfoStruct) GetScore

func (x *SectionAdsInfoStruct) GetScore() int32

func (*SectionAdsInfoStruct) ProtoMessage

func (*SectionAdsInfoStruct) ProtoMessage()

func (*SectionAdsInfoStruct) ProtoReflect

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

func (*SectionAdsInfoStruct) Reset

func (x *SectionAdsInfoStruct) Reset()

func (*SectionAdsInfoStruct) String

func (x *SectionAdsInfoStruct) String() string

func (*SectionAdsInfoStruct) Validate

func (m *SectionAdsInfoStruct) Validate() error

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

func (m *SectionAdsInfoStruct) ValidateAll() error

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

type SectionAdsInfoStructMultiError

type SectionAdsInfoStructMultiError []error

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

func (SectionAdsInfoStructMultiError) AllErrors

func (m SectionAdsInfoStructMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SectionAdsInfoStructMultiError) Error

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

type SectionAdsInfoStructValidationError

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

SectionAdsInfoStructValidationError is the validation error returned by SectionAdsInfoStruct.Validate if the designated constraints aren't met.

func (SectionAdsInfoStructValidationError) Cause

Cause function returns cause value.

func (SectionAdsInfoStructValidationError) Error

Error satisfies the builtin error interface

func (SectionAdsInfoStructValidationError) ErrorName

ErrorName returns error name.

func (SectionAdsInfoStructValidationError) Field

Field function returns field value.

func (SectionAdsInfoStructValidationError) Key

Key function returns key value.

func (SectionAdsInfoStructValidationError) Reason

Reason function returns reason value.

type SectionIllegalInfoStruct

type SectionIllegalInfoStruct struct {
	HitFlag  int32  `protobuf:"varint,1,opt,name=HitFlag,proto3" json:"HitFlag,omitempty"`
	Score    int32  `protobuf:"varint,2,opt,name=Score,proto3" json:"Score,omitempty"`
	Keywords string `protobuf:"bytes,3,opt,name=Keywords,proto3" json:"Keywords,omitempty"`
	// contains filtered or unexported fields
}

func (*SectionIllegalInfoStruct) Descriptor deprecated

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

Deprecated: Use SectionIllegalInfoStruct.ProtoReflect.Descriptor instead.

func (*SectionIllegalInfoStruct) GetHitFlag

func (x *SectionIllegalInfoStruct) GetHitFlag() int32

func (*SectionIllegalInfoStruct) GetKeywords

func (x *SectionIllegalInfoStruct) GetKeywords() string

func (*SectionIllegalInfoStruct) GetScore

func (x *SectionIllegalInfoStruct) GetScore() int32

func (*SectionIllegalInfoStruct) ProtoMessage

func (*SectionIllegalInfoStruct) ProtoMessage()

func (*SectionIllegalInfoStruct) ProtoReflect

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

func (*SectionIllegalInfoStruct) Reset

func (x *SectionIllegalInfoStruct) Reset()

func (*SectionIllegalInfoStruct) String

func (x *SectionIllegalInfoStruct) String() string

func (*SectionIllegalInfoStruct) Validate

func (m *SectionIllegalInfoStruct) Validate() error

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

func (m *SectionIllegalInfoStruct) ValidateAll() error

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

type SectionIllegalInfoStructMultiError

type SectionIllegalInfoStructMultiError []error

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

func (SectionIllegalInfoStructMultiError) AllErrors

func (m SectionIllegalInfoStructMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SectionIllegalInfoStructMultiError) Error

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

type SectionIllegalInfoStructValidationError

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

SectionIllegalInfoStructValidationError is the validation error returned by SectionIllegalInfoStruct.Validate if the designated constraints aren't met.

func (SectionIllegalInfoStructValidationError) Cause

Cause function returns cause value.

func (SectionIllegalInfoStructValidationError) Error

Error satisfies the builtin error interface

func (SectionIllegalInfoStructValidationError) ErrorName

ErrorName returns error name.

func (SectionIllegalInfoStructValidationError) Field

Field function returns field value.

func (SectionIllegalInfoStructValidationError) Key

Key function returns key value.

func (SectionIllegalInfoStructValidationError) Reason

Reason function returns reason value.

type SectionPornInfoStruct

type SectionPornInfoStruct struct {
	HitFlag  int32  `protobuf:"varint,1,opt,name=HitFlag,proto3" json:"HitFlag,omitempty"`
	Score    int32  `protobuf:"varint,2,opt,name=Score,proto3" json:"Score,omitempty"`
	Keywords string `protobuf:"bytes,3,opt,name=Keywords,proto3" json:"Keywords,omitempty"`
	// contains filtered or unexported fields
}

func (*SectionPornInfoStruct) Descriptor deprecated

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

Deprecated: Use SectionPornInfoStruct.ProtoReflect.Descriptor instead.

func (*SectionPornInfoStruct) GetHitFlag

func (x *SectionPornInfoStruct) GetHitFlag() int32

func (*SectionPornInfoStruct) GetKeywords

func (x *SectionPornInfoStruct) GetKeywords() string

func (*SectionPornInfoStruct) GetScore

func (x *SectionPornInfoStruct) GetScore() int32

func (*SectionPornInfoStruct) ProtoMessage

func (*SectionPornInfoStruct) ProtoMessage()

func (*SectionPornInfoStruct) ProtoReflect

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

func (*SectionPornInfoStruct) Reset

func (x *SectionPornInfoStruct) Reset()

func (*SectionPornInfoStruct) String

func (x *SectionPornInfoStruct) String() string

func (*SectionPornInfoStruct) Validate

func (m *SectionPornInfoStruct) Validate() error

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

func (m *SectionPornInfoStruct) ValidateAll() error

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

type SectionPornInfoStructMultiError

type SectionPornInfoStructMultiError []error

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

func (SectionPornInfoStructMultiError) AllErrors

func (m SectionPornInfoStructMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SectionPornInfoStructMultiError) Error

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

type SectionPornInfoStructValidationError

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

SectionPornInfoStructValidationError is the validation error returned by SectionPornInfoStruct.Validate if the designated constraints aren't met.

func (SectionPornInfoStructValidationError) Cause

Cause function returns cause value.

func (SectionPornInfoStructValidationError) Error

Error satisfies the builtin error interface

func (SectionPornInfoStructValidationError) ErrorName

ErrorName returns error name.

func (SectionPornInfoStructValidationError) Field

Field function returns field value.

func (SectionPornInfoStructValidationError) Key

Key function returns key value.

func (SectionPornInfoStructValidationError) Reason

Reason function returns reason value.

type SectionStruct

type SectionStruct struct {
	Label       string                    `protobuf:"bytes,1,opt,name=Label,proto3" json:"Label,omitempty"`
	Result      int32                     `protobuf:"varint,2,opt,name=Result,proto3" json:"Result,omitempty"`
	PornInfo    *SectionPornInfoStruct    `protobuf:"bytes,3,opt,name=PornInfo,proto3" json:"PornInfo,omitempty"`
	AdsInfo     *SectionAdsInfoStruct     `protobuf:"bytes,4,opt,name=AdsInfo,proto3" json:"AdsInfo,omitempty"`
	IllegalInfo *SectionIllegalInfoStruct `protobuf:"bytes,5,opt,name=IllegalInfo,proto3" json:"IllegalInfo,omitempty"`
	AbuseInfo   *SectionAbuseInfoStruct   `protobuf:"bytes,6,opt,name=AbuseInfo,proto3" json:"AbuseInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*SectionStruct) Descriptor deprecated

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

Deprecated: Use SectionStruct.ProtoReflect.Descriptor instead.

func (*SectionStruct) GetAbuseInfo

func (x *SectionStruct) GetAbuseInfo() *SectionAbuseInfoStruct

func (*SectionStruct) GetAdsInfo

func (x *SectionStruct) GetAdsInfo() *SectionAdsInfoStruct

func (*SectionStruct) GetIllegalInfo

func (x *SectionStruct) GetIllegalInfo() *SectionIllegalInfoStruct

func (*SectionStruct) GetLabel

func (x *SectionStruct) GetLabel() string

func (*SectionStruct) GetPornInfo

func (x *SectionStruct) GetPornInfo() *SectionPornInfoStruct

func (*SectionStruct) GetResult

func (x *SectionStruct) GetResult() int32

func (*SectionStruct) ProtoMessage

func (*SectionStruct) ProtoMessage()

func (*SectionStruct) ProtoReflect

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

func (*SectionStruct) Reset

func (x *SectionStruct) Reset()

func (*SectionStruct) String

func (x *SectionStruct) String() string

func (*SectionStruct) Validate

func (m *SectionStruct) Validate() error

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

func (m *SectionStruct) ValidateAll() error

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

type SectionStructMultiError

type SectionStructMultiError []error

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

func (SectionStructMultiError) AllErrors

func (m SectionStructMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SectionStructMultiError) Error

func (m SectionStructMultiError) Error() string

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

type SectionStructValidationError

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

SectionStructValidationError is the validation error returned by SectionStruct.Validate if the designated constraints aren't met.

func (SectionStructValidationError) Cause

Cause function returns cause value.

func (SectionStructValidationError) Error

Error satisfies the builtin error interface

func (SectionStructValidationError) ErrorName

func (e SectionStructValidationError) ErrorName() string

ErrorName returns error name.

func (SectionStructValidationError) Field

Field function returns field value.

func (SectionStructValidationError) Key

Key function returns key value.

func (SectionStructValidationError) Reason

Reason function returns reason value.

type SetMailBoxLastTimeReq

type SetMailBoxLastTimeReq struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Time int32  `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SetMailBoxLastTimeReq) Descriptor deprecated

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

Deprecated: Use SetMailBoxLastTimeReq.ProtoReflect.Descriptor instead.

func (*SetMailBoxLastTimeReq) GetTime

func (x *SetMailBoxLastTimeReq) GetTime() int32

func (*SetMailBoxLastTimeReq) GetUuid

func (x *SetMailBoxLastTimeReq) GetUuid() string

func (*SetMailBoxLastTimeReq) ProtoMessage

func (*SetMailBoxLastTimeReq) ProtoMessage()

func (*SetMailBoxLastTimeReq) ProtoReflect

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

func (*SetMailBoxLastTimeReq) Reset

func (x *SetMailBoxLastTimeReq) Reset()

func (*SetMailBoxLastTimeReq) String

func (x *SetMailBoxLastTimeReq) String() string

func (*SetMailBoxLastTimeReq) Validate

func (m *SetMailBoxLastTimeReq) Validate() error

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

func (m *SetMailBoxLastTimeReq) ValidateAll() error

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

type SetMailBoxLastTimeReqMultiError

type SetMailBoxLastTimeReqMultiError []error

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

func (SetMailBoxLastTimeReqMultiError) AllErrors

func (m SetMailBoxLastTimeReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetMailBoxLastTimeReqMultiError) Error

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

type SetMailBoxLastTimeReqValidationError

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

SetMailBoxLastTimeReqValidationError is the validation error returned by SetMailBoxLastTimeReq.Validate if the designated constraints aren't met.

func (SetMailBoxLastTimeReqValidationError) Cause

Cause function returns cause value.

func (SetMailBoxLastTimeReqValidationError) Error

Error satisfies the builtin error interface

func (SetMailBoxLastTimeReqValidationError) ErrorName

ErrorName returns error name.

func (SetMailBoxLastTimeReqValidationError) Field

Field function returns field value.

func (SetMailBoxLastTimeReqValidationError) Key

Key function returns key value.

func (SetMailBoxLastTimeReqValidationError) Reason

Reason function returns reason value.

type TextReviewReq

type TextReviewReq struct {
	JobsDetail *JobsDetailStruct `protobuf:"bytes,1,opt,name=JobsDetail,proto3" json:"JobsDetail,omitempty"`
	EventName  string            `protobuf:"bytes,2,opt,name=EventName,proto3" json:"EventName,omitempty"`
	// contains filtered or unexported fields
}

func (*TextReviewReq) Descriptor deprecated

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

Deprecated: Use TextReviewReq.ProtoReflect.Descriptor instead.

func (*TextReviewReq) GetEventName

func (x *TextReviewReq) GetEventName() string

func (*TextReviewReq) GetJobsDetail

func (x *TextReviewReq) GetJobsDetail() *JobsDetailStruct

func (*TextReviewReq) ProtoMessage

func (*TextReviewReq) ProtoMessage()

func (*TextReviewReq) ProtoReflect

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

func (*TextReviewReq) Reset

func (x *TextReviewReq) Reset()

func (*TextReviewReq) String

func (x *TextReviewReq) String() string

func (*TextReviewReq) Validate

func (m *TextReviewReq) Validate() error

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

func (m *TextReviewReq) ValidateAll() error

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

type TextReviewReqMultiError

type TextReviewReqMultiError []error

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

func (TextReviewReqMultiError) AllErrors

func (m TextReviewReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TextReviewReqMultiError) Error

func (m TextReviewReqMultiError) Error() string

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

type TextReviewReqValidationError

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

TextReviewReqValidationError is the validation error returned by TextReviewReq.Validate if the designated constraints aren't met.

func (TextReviewReqValidationError) Cause

Cause function returns cause value.

func (TextReviewReqValidationError) Error

Error satisfies the builtin error interface

func (TextReviewReqValidationError) ErrorName

func (e TextReviewReqValidationError) ErrorName() string

ErrorName returns error name.

func (TextReviewReqValidationError) Field

Field function returns field value.

func (TextReviewReqValidationError) Key

Key function returns key value.

func (TextReviewReqValidationError) Reason

Reason function returns reason value.

type UnimplementedMessageServer

type UnimplementedMessageServer struct {
}

UnimplementedMessageServer must be embedded to have forward compatible implementations.

func (UnimplementedMessageServer) ArticleCreateReview

func (UnimplementedMessageServer) ArticleEditReview

func (UnimplementedMessageServer) ArticleImageReview

func (UnimplementedMessageServer) AvatarReview

func (UnimplementedMessageServer) CollectionsCreateReview

func (UnimplementedMessageServer) CollectionsEditReview

func (UnimplementedMessageServer) ColumnCreateReview

func (UnimplementedMessageServer) ColumnEditReview

func (UnimplementedMessageServer) ColumnImageReview

func (UnimplementedMessageServer) CommentCreateReview

func (UnimplementedMessageServer) CoverReview

func (UnimplementedMessageServer) GetMailBoxLastTime

func (UnimplementedMessageServer) ProfileReview

func (UnimplementedMessageServer) RemoveMailBoxCommentCount

func (UnimplementedMessageServer) RemoveMailBoxSubCommentCount

func (UnimplementedMessageServer) RemoveMailBoxSystemNotificationCount

func (UnimplementedMessageServer) SetMailBoxLastTime

func (UnimplementedMessageServer) SubCommentCreateReview

func (UnimplementedMessageServer) TalkCreateReview

func (UnimplementedMessageServer) TalkEditReview

func (UnimplementedMessageServer) TalkImageReview

type UnsafeMessageServer

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

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

Jump to

Keyboard shortcuts

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