v1

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const OperationAchievementGetHealth = "/achievement.v1.Achievement/GetHealth"

Variables

View Source
var (
	AchievementErrorReason_name = map[int32]string{
		0:  "UNKNOWN_ERROR",
		1:  "SET_ACHIEVEMENT_AGREE_FAILED",
		2:  "SET_ACHIEVEMENT_VIEW_FAILED",
		3:  "SET_ACHIEVEMENT_COLLECT_FAILED",
		4:  "SET_ACHIEVEMENT_FOLLOW_FAILED",
		5:  "SET_MEDAL_FAILED",
		6:  "ACCESS_MEDAL_FAILED",
		7:  "CANCEL_ACHIEVEMENT_AGREE_FAILED",
		8:  "CANCEL_ACHIEVEMENT_COLLECT_FAILED",
		9:  "CANCEL_ACHIEVEMENT_FOLLOW_FAILED",
		10: "CANCEL_MEDAL_SET_FAILED",
		11: "GET_ACHIEVEMENT_LIST_FAILED",
		12: "GET_ACHIEVEMENT_FAILED",
		13: "GET_MEDAL_FAILED",
		14: "GET_ACTIVE_FAILED",
		15: "ADD_ACHIEVEMENT_SCORE_FAILED",
		16: "REDUCE_ACHIEVEMENT_SCORE_FAILED",
	}
	AchievementErrorReason_value = map[string]int32{
		"UNKNOWN_ERROR":                     0,
		"SET_ACHIEVEMENT_AGREE_FAILED":      1,
		"SET_ACHIEVEMENT_VIEW_FAILED":       2,
		"SET_ACHIEVEMENT_COLLECT_FAILED":    3,
		"SET_ACHIEVEMENT_FOLLOW_FAILED":     4,
		"SET_MEDAL_FAILED":                  5,
		"ACCESS_MEDAL_FAILED":               6,
		"CANCEL_ACHIEVEMENT_AGREE_FAILED":   7,
		"CANCEL_ACHIEVEMENT_COLLECT_FAILED": 8,
		"CANCEL_ACHIEVEMENT_FOLLOW_FAILED":  9,
		"CANCEL_MEDAL_SET_FAILED":           10,
		"GET_ACHIEVEMENT_LIST_FAILED":       11,
		"GET_ACHIEVEMENT_FAILED":            12,
		"GET_MEDAL_FAILED":                  13,
		"GET_ACTIVE_FAILED":                 14,
		"ADD_ACHIEVEMENT_SCORE_FAILED":      15,
		"REDUCE_ACHIEVEMENT_SCORE_FAILED":   16,
	}
)

Enum value maps for AchievementErrorReason.

View Source
var Achievement_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "achievement.v1.Achievement",
	HandlerType: (*AchievementServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetAchievementAgree",
			Handler:    _Achievement_SetAchievementAgree_Handler,
		},
		{
			MethodName: "CancelAchievementAgree",
			Handler:    _Achievement_CancelAchievementAgree_Handler,
		},
		{
			MethodName: "SetAchievementView",
			Handler:    _Achievement_SetAchievementView_Handler,
		},
		{
			MethodName: "SetAchievementCollect",
			Handler:    _Achievement_SetAchievementCollect_Handler,
		},
		{
			MethodName: "CancelAchievementCollect",
			Handler:    _Achievement_CancelAchievementCollect_Handler,
		},
		{
			MethodName: "SetAchievementFollow",
			Handler:    _Achievement_SetAchievementFollow_Handler,
		},
		{
			MethodName: "CancelAchievementFollow",
			Handler:    _Achievement_CancelAchievementFollow_Handler,
		},
		{
			MethodName: "CancelUserMedalSet",
			Handler:    _Achievement_CancelUserMedalSet_Handler,
		},
		{
			MethodName: "SetUserMedal",
			Handler:    _Achievement_SetUserMedal_Handler,
		},
		{
			MethodName: "SetUserMedalDbAndCache",
			Handler:    _Achievement_SetUserMedalDbAndCache_Handler,
		},
		{
			MethodName: "CancelUserMedalDbAndCache",
			Handler:    _Achievement_CancelUserMedalDbAndCache_Handler,
		},
		{
			MethodName: "AccessUserMedal",
			Handler:    _Achievement_AccessUserMedal_Handler,
		},
		{
			MethodName: "AccessUserMedalDbAndCache",
			Handler:    _Achievement_AccessUserMedalDbAndCache_Handler,
		},
		{
			MethodName: "GetAchievementList",
			Handler:    _Achievement_GetAchievementList_Handler,
		},
		{
			MethodName: "GetUserAchievement",
			Handler:    _Achievement_GetUserAchievement_Handler,
		},
		{
			MethodName: "GetUserMedal",
			Handler:    _Achievement_GetUserMedal_Handler,
		},
		{
			MethodName: "GetUserActive",
			Handler:    _Achievement_GetUserActive_Handler,
		},
		{
			MethodName: "AddAchievementScore",
			Handler:    _Achievement_AddAchievementScore_Handler,
		},
		{
			MethodName: "GetHealth",
			Handler:    _Achievement_GetHealth_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "achievement/service/v1/achievement.proto",
}

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

View Source
var File_achievement_service_v1_achievement_error_proto protoreflect.FileDescriptor
View Source
var File_achievement_service_v1_achievement_proto protoreflect.FileDescriptor

Functions

func ErrorAccessMedalFailed

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

func ErrorAddAchievementScoreFailed

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

func ErrorCancelAchievementAgreeFailed

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

func ErrorCancelAchievementCollectFailed

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

func ErrorCancelAchievementFollowFailed

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

func ErrorCancelMedalSetFailed

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

func ErrorGetAchievementFailed

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

func ErrorGetAchievementListFailed

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

func ErrorGetActiveFailed

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

func ErrorGetMedalFailed

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

func ErrorReduceAchievementScoreFailed

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

func ErrorSetAchievementAgreeFailed

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

func ErrorSetAchievementCollectFailed

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

func ErrorSetAchievementFollowFailed

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

func ErrorSetAchievementViewFailed

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

func ErrorSetMedalFailed

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

func ErrorUnknownError

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

func IsAccessMedalFailed

func IsAccessMedalFailed(err error) bool

func IsAddAchievementScoreFailed

func IsAddAchievementScoreFailed(err error) bool

func IsCancelAchievementAgreeFailed

func IsCancelAchievementAgreeFailed(err error) bool

func IsCancelAchievementCollectFailed

func IsCancelAchievementCollectFailed(err error) bool

func IsCancelAchievementFollowFailed

func IsCancelAchievementFollowFailed(err error) bool

func IsCancelMedalSetFailed

func IsCancelMedalSetFailed(err error) bool

func IsGetAchievementFailed

func IsGetAchievementFailed(err error) bool

func IsGetAchievementListFailed

func IsGetAchievementListFailed(err error) bool

func IsGetActiveFailed

func IsGetActiveFailed(err error) bool

func IsGetMedalFailed

func IsGetMedalFailed(err error) bool

func IsReduceAchievementScoreFailed

func IsReduceAchievementScoreFailed(err error) bool

func IsSetAchievementAgreeFailed

func IsSetAchievementAgreeFailed(err error) bool

func IsSetAchievementCollectFailed

func IsSetAchievementCollectFailed(err error) bool

func IsSetAchievementFollowFailed

func IsSetAchievementFollowFailed(err error) bool

func IsSetAchievementViewFailed

func IsSetAchievementViewFailed(err error) bool

func IsSetMedalFailed

func IsSetMedalFailed(err error) bool

func IsUnknownError

func IsUnknownError(err error) bool

func RegisterAchievementHTTPServer

func RegisterAchievementHTTPServer(s *http.Server, srv AchievementHTTPServer)

func RegisterAchievementServer

func RegisterAchievementServer(s grpc.ServiceRegistrar, srv AchievementServer)

Types

type AccessUserMedalReq

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

func (*AccessUserMedalReq) Descriptor deprecated

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

Deprecated: Use AccessUserMedalReq.ProtoReflect.Descriptor instead.

func (*AccessUserMedalReq) GetMedal

func (x *AccessUserMedalReq) GetMedal() string

func (*AccessUserMedalReq) GetUuid

func (x *AccessUserMedalReq) GetUuid() string

func (*AccessUserMedalReq) ProtoMessage

func (*AccessUserMedalReq) ProtoMessage()

func (*AccessUserMedalReq) ProtoReflect

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

func (*AccessUserMedalReq) Reset

func (x *AccessUserMedalReq) Reset()

func (*AccessUserMedalReq) String

func (x *AccessUserMedalReq) String() string

func (*AccessUserMedalReq) Validate

func (m *AccessUserMedalReq) Validate() error

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

func (m *AccessUserMedalReq) ValidateAll() error

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

type AccessUserMedalReqMultiError

type AccessUserMedalReqMultiError []error

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

func (AccessUserMedalReqMultiError) AllErrors

func (m AccessUserMedalReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessUserMedalReqMultiError) Error

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

type AccessUserMedalReqValidationError

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

AccessUserMedalReqValidationError is the validation error returned by AccessUserMedalReq.Validate if the designated constraints aren't met.

func (AccessUserMedalReqValidationError) Cause

Cause function returns cause value.

func (AccessUserMedalReqValidationError) Error

Error satisfies the builtin error interface

func (AccessUserMedalReqValidationError) ErrorName

ErrorName returns error name.

func (AccessUserMedalReqValidationError) Field

Field function returns field value.

func (AccessUserMedalReqValidationError) Key

Key function returns key value.

func (AccessUserMedalReqValidationError) Reason

Reason function returns reason value.

type AchievementClient

type AchievementClient interface {
	SetAchievementAgree(ctx context.Context, in *SetAchievementAgreeReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CancelAchievementAgree(ctx context.Context, in *CancelAchievementAgreeReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetAchievementView(ctx context.Context, in *SetAchievementViewReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetAchievementCollect(ctx context.Context, in *SetAchievementCollectReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CancelAchievementCollect(ctx context.Context, in *CancelAchievementCollectReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetAchievementFollow(ctx context.Context, in *SetAchievementFollowReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CancelAchievementFollow(ctx context.Context, in *CancelAchievementFollowReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CancelUserMedalSet(ctx context.Context, in *CancelUserMedalSetReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetUserMedal(ctx context.Context, in *SetUserMedalReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	SetUserMedalDbAndCache(ctx context.Context, in *SetUserMedalDbAndCacheReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CancelUserMedalDbAndCache(ctx context.Context, in *CancelUserMedalDbAndCacheReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AccessUserMedal(ctx context.Context, in *AccessUserMedalReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AccessUserMedalDbAndCache(ctx context.Context, in *AccessUserMedalReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetAchievementList(ctx context.Context, in *GetAchievementListReq, opts ...grpc.CallOption) (*GetAchievementListReply, error)
	GetUserAchievement(ctx context.Context, in *GetUserAchievementReq, opts ...grpc.CallOption) (*GetUserAchievementReply, error)
	GetUserMedal(ctx context.Context, in *GetUserMedalReq, opts ...grpc.CallOption) (*GetUserMedalReply, error)
	GetUserActive(ctx context.Context, in *GetUserActiveReq, opts ...grpc.CallOption) (*GetUserActiveReply, error)
	AddAchievementScore(ctx context.Context, in *AddAchievementScoreReq, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetHealth(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AchievementClient is the client API for Achievement 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.

type AchievementErrorReason

type AchievementErrorReason int32
const (
	AchievementErrorReason_UNKNOWN_ERROR                     AchievementErrorReason = 0
	AchievementErrorReason_SET_ACHIEVEMENT_AGREE_FAILED      AchievementErrorReason = 1
	AchievementErrorReason_SET_ACHIEVEMENT_VIEW_FAILED       AchievementErrorReason = 2
	AchievementErrorReason_SET_ACHIEVEMENT_COLLECT_FAILED    AchievementErrorReason = 3
	AchievementErrorReason_SET_ACHIEVEMENT_FOLLOW_FAILED     AchievementErrorReason = 4
	AchievementErrorReason_SET_MEDAL_FAILED                  AchievementErrorReason = 5
	AchievementErrorReason_ACCESS_MEDAL_FAILED               AchievementErrorReason = 6
	AchievementErrorReason_CANCEL_ACHIEVEMENT_AGREE_FAILED   AchievementErrorReason = 7
	AchievementErrorReason_CANCEL_ACHIEVEMENT_COLLECT_FAILED AchievementErrorReason = 8
	AchievementErrorReason_CANCEL_ACHIEVEMENT_FOLLOW_FAILED  AchievementErrorReason = 9
	AchievementErrorReason_CANCEL_MEDAL_SET_FAILED           AchievementErrorReason = 10
	AchievementErrorReason_GET_ACHIEVEMENT_LIST_FAILED       AchievementErrorReason = 11
	AchievementErrorReason_GET_ACHIEVEMENT_FAILED            AchievementErrorReason = 12
	AchievementErrorReason_GET_MEDAL_FAILED                  AchievementErrorReason = 13
	AchievementErrorReason_GET_ACTIVE_FAILED                 AchievementErrorReason = 14
	AchievementErrorReason_ADD_ACHIEVEMENT_SCORE_FAILED      AchievementErrorReason = 15
	AchievementErrorReason_REDUCE_ACHIEVEMENT_SCORE_FAILED   AchievementErrorReason = 16
)

func (AchievementErrorReason) Descriptor

func (AchievementErrorReason) Enum

func (AchievementErrorReason) EnumDescriptor deprecated

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

Deprecated: Use AchievementErrorReason.Descriptor instead.

func (AchievementErrorReason) Number

func (AchievementErrorReason) String

func (x AchievementErrorReason) String() string

func (AchievementErrorReason) Type

type AchievementHTTPClient

type AchievementHTTPClient interface {
	GetHealth(ctx context.Context, req *emptypb.Empty, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
}

func NewAchievementHTTPClient

func NewAchievementHTTPClient(client *http.Client) AchievementHTTPClient

type AchievementHTTPClientImpl

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

func (*AchievementHTTPClientImpl) GetHealth

type AchievementHTTPServer

type AchievementHTTPServer interface {
	GetHealth(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
}

type AchievementServer

type AchievementServer interface {
	SetAchievementAgree(context.Context, *SetAchievementAgreeReq) (*emptypb.Empty, error)
	CancelAchievementAgree(context.Context, *CancelAchievementAgreeReq) (*emptypb.Empty, error)
	SetAchievementView(context.Context, *SetAchievementViewReq) (*emptypb.Empty, error)
	SetAchievementCollect(context.Context, *SetAchievementCollectReq) (*emptypb.Empty, error)
	CancelAchievementCollect(context.Context, *CancelAchievementCollectReq) (*emptypb.Empty, error)
	SetAchievementFollow(context.Context, *SetAchievementFollowReq) (*emptypb.Empty, error)
	CancelAchievementFollow(context.Context, *CancelAchievementFollowReq) (*emptypb.Empty, error)
	CancelUserMedalSet(context.Context, *CancelUserMedalSetReq) (*emptypb.Empty, error)
	SetUserMedal(context.Context, *SetUserMedalReq) (*emptypb.Empty, error)
	SetUserMedalDbAndCache(context.Context, *SetUserMedalDbAndCacheReq) (*emptypb.Empty, error)
	CancelUserMedalDbAndCache(context.Context, *CancelUserMedalDbAndCacheReq) (*emptypb.Empty, error)
	AccessUserMedal(context.Context, *AccessUserMedalReq) (*emptypb.Empty, error)
	AccessUserMedalDbAndCache(context.Context, *AccessUserMedalReq) (*emptypb.Empty, error)
	GetAchievementList(context.Context, *GetAchievementListReq) (*GetAchievementListReply, error)
	GetUserAchievement(context.Context, *GetUserAchievementReq) (*GetUserAchievementReply, error)
	GetUserMedal(context.Context, *GetUserMedalReq) (*GetUserMedalReply, error)
	GetUserActive(context.Context, *GetUserActiveReq) (*GetUserActiveReply, error)
	AddAchievementScore(context.Context, *AddAchievementScoreReq) (*emptypb.Empty, error)
	GetHealth(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

AchievementServer is the server API for Achievement service. All implementations must embed UnimplementedAchievementServer for forward compatibility

type AddAchievementScoreReq

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

func (*AddAchievementScoreReq) Descriptor deprecated

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

Deprecated: Use AddAchievementScoreReq.ProtoReflect.Descriptor instead.

func (*AddAchievementScoreReq) GetScore

func (x *AddAchievementScoreReq) GetScore() int32

func (*AddAchievementScoreReq) GetUuid

func (x *AddAchievementScoreReq) GetUuid() string

func (*AddAchievementScoreReq) ProtoMessage

func (*AddAchievementScoreReq) ProtoMessage()

func (*AddAchievementScoreReq) ProtoReflect

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

func (*AddAchievementScoreReq) Reset

func (x *AddAchievementScoreReq) Reset()

func (*AddAchievementScoreReq) String

func (x *AddAchievementScoreReq) String() string

func (*AddAchievementScoreReq) Validate

func (m *AddAchievementScoreReq) Validate() error

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

func (m *AddAchievementScoreReq) ValidateAll() error

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

type AddAchievementScoreReqMultiError

type AddAchievementScoreReqMultiError []error

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

func (AddAchievementScoreReqMultiError) AllErrors

func (m AddAchievementScoreReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddAchievementScoreReqMultiError) Error

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

type AddAchievementScoreReqValidationError

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

AddAchievementScoreReqValidationError is the validation error returned by AddAchievementScoreReq.Validate if the designated constraints aren't met.

func (AddAchievementScoreReqValidationError) Cause

Cause function returns cause value.

func (AddAchievementScoreReqValidationError) Error

Error satisfies the builtin error interface

func (AddAchievementScoreReqValidationError) ErrorName

ErrorName returns error name.

func (AddAchievementScoreReqValidationError) Field

Field function returns field value.

func (AddAchievementScoreReqValidationError) Key

Key function returns key value.

func (AddAchievementScoreReqValidationError) Reason

Reason function returns reason value.

type CancelAchievementAgreeReq

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

func (*CancelAchievementAgreeReq) Descriptor deprecated

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

Deprecated: Use CancelAchievementAgreeReq.ProtoReflect.Descriptor instead.

func (*CancelAchievementAgreeReq) GetUserUuid

func (x *CancelAchievementAgreeReq) GetUserUuid() string

func (*CancelAchievementAgreeReq) GetUuid

func (x *CancelAchievementAgreeReq) GetUuid() string

func (*CancelAchievementAgreeReq) ProtoMessage

func (*CancelAchievementAgreeReq) ProtoMessage()

func (*CancelAchievementAgreeReq) ProtoReflect

func (*CancelAchievementAgreeReq) Reset

func (x *CancelAchievementAgreeReq) Reset()

func (*CancelAchievementAgreeReq) String

func (x *CancelAchievementAgreeReq) String() string

func (*CancelAchievementAgreeReq) Validate

func (m *CancelAchievementAgreeReq) Validate() error

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

func (m *CancelAchievementAgreeReq) ValidateAll() error

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

type CancelAchievementAgreeReqMultiError

type CancelAchievementAgreeReqMultiError []error

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

func (CancelAchievementAgreeReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CancelAchievementAgreeReqMultiError) Error

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

type CancelAchievementAgreeReqValidationError

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

CancelAchievementAgreeReqValidationError is the validation error returned by CancelAchievementAgreeReq.Validate if the designated constraints aren't met.

func (CancelAchievementAgreeReqValidationError) Cause

Cause function returns cause value.

func (CancelAchievementAgreeReqValidationError) Error

Error satisfies the builtin error interface

func (CancelAchievementAgreeReqValidationError) ErrorName

ErrorName returns error name.

func (CancelAchievementAgreeReqValidationError) Field

Field function returns field value.

func (CancelAchievementAgreeReqValidationError) Key

Key function returns key value.

func (CancelAchievementAgreeReqValidationError) Reason

Reason function returns reason value.

type CancelAchievementCollectReq

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

func (*CancelAchievementCollectReq) Descriptor deprecated

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

Deprecated: Use CancelAchievementCollectReq.ProtoReflect.Descriptor instead.

func (*CancelAchievementCollectReq) GetUuid

func (x *CancelAchievementCollectReq) GetUuid() string

func (*CancelAchievementCollectReq) ProtoMessage

func (*CancelAchievementCollectReq) ProtoMessage()

func (*CancelAchievementCollectReq) ProtoReflect

func (*CancelAchievementCollectReq) Reset

func (x *CancelAchievementCollectReq) Reset()

func (*CancelAchievementCollectReq) String

func (x *CancelAchievementCollectReq) String() string

func (*CancelAchievementCollectReq) Validate

func (m *CancelAchievementCollectReq) Validate() error

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

func (m *CancelAchievementCollectReq) ValidateAll() error

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

type CancelAchievementCollectReqMultiError

type CancelAchievementCollectReqMultiError []error

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

func (CancelAchievementCollectReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CancelAchievementCollectReqMultiError) Error

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

type CancelAchievementCollectReqValidationError

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

CancelAchievementCollectReqValidationError is the validation error returned by CancelAchievementCollectReq.Validate if the designated constraints aren't met.

func (CancelAchievementCollectReqValidationError) Cause

Cause function returns cause value.

func (CancelAchievementCollectReqValidationError) Error

Error satisfies the builtin error interface

func (CancelAchievementCollectReqValidationError) ErrorName

ErrorName returns error name.

func (CancelAchievementCollectReqValidationError) Field

Field function returns field value.

func (CancelAchievementCollectReqValidationError) Key

Key function returns key value.

func (CancelAchievementCollectReqValidationError) Reason

Reason function returns reason value.

type CancelAchievementFollowReq

type CancelAchievementFollowReq struct {
	Follow   string `protobuf:"bytes,1,opt,name=follow,proto3" json:"follow,omitempty"`
	Followed string `protobuf:"bytes,2,opt,name=followed,proto3" json:"followed,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelAchievementFollowReq) Descriptor deprecated

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

Deprecated: Use CancelAchievementFollowReq.ProtoReflect.Descriptor instead.

func (*CancelAchievementFollowReq) GetFollow

func (x *CancelAchievementFollowReq) GetFollow() string

func (*CancelAchievementFollowReq) GetFollowed

func (x *CancelAchievementFollowReq) GetFollowed() string

func (*CancelAchievementFollowReq) ProtoMessage

func (*CancelAchievementFollowReq) ProtoMessage()

func (*CancelAchievementFollowReq) ProtoReflect

func (*CancelAchievementFollowReq) Reset

func (x *CancelAchievementFollowReq) Reset()

func (*CancelAchievementFollowReq) String

func (x *CancelAchievementFollowReq) String() string

func (*CancelAchievementFollowReq) Validate

func (m *CancelAchievementFollowReq) Validate() error

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

func (m *CancelAchievementFollowReq) ValidateAll() error

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

type CancelAchievementFollowReqMultiError

type CancelAchievementFollowReqMultiError []error

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

func (CancelAchievementFollowReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CancelAchievementFollowReqMultiError) Error

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

type CancelAchievementFollowReqValidationError

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

CancelAchievementFollowReqValidationError is the validation error returned by CancelAchievementFollowReq.Validate if the designated constraints aren't met.

func (CancelAchievementFollowReqValidationError) Cause

Cause function returns cause value.

func (CancelAchievementFollowReqValidationError) Error

Error satisfies the builtin error interface

func (CancelAchievementFollowReqValidationError) ErrorName

ErrorName returns error name.

func (CancelAchievementFollowReqValidationError) Field

Field function returns field value.

func (CancelAchievementFollowReqValidationError) Key

Key function returns key value.

func (CancelAchievementFollowReqValidationError) Reason

Reason function returns reason value.

type CancelUserMedalDbAndCacheReq

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

func (*CancelUserMedalDbAndCacheReq) Descriptor deprecated

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

Deprecated: Use CancelUserMedalDbAndCacheReq.ProtoReflect.Descriptor instead.

func (*CancelUserMedalDbAndCacheReq) GetMedal

func (x *CancelUserMedalDbAndCacheReq) GetMedal() string

func (*CancelUserMedalDbAndCacheReq) GetUuid

func (x *CancelUserMedalDbAndCacheReq) GetUuid() string

func (*CancelUserMedalDbAndCacheReq) ProtoMessage

func (*CancelUserMedalDbAndCacheReq) ProtoMessage()

func (*CancelUserMedalDbAndCacheReq) ProtoReflect

func (*CancelUserMedalDbAndCacheReq) Reset

func (x *CancelUserMedalDbAndCacheReq) Reset()

func (*CancelUserMedalDbAndCacheReq) String

func (*CancelUserMedalDbAndCacheReq) Validate

func (m *CancelUserMedalDbAndCacheReq) Validate() error

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

func (m *CancelUserMedalDbAndCacheReq) ValidateAll() error

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

type CancelUserMedalDbAndCacheReqMultiError

type CancelUserMedalDbAndCacheReqMultiError []error

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

func (CancelUserMedalDbAndCacheReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CancelUserMedalDbAndCacheReqMultiError) Error

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

type CancelUserMedalDbAndCacheReqValidationError

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

CancelUserMedalDbAndCacheReqValidationError is the validation error returned by CancelUserMedalDbAndCacheReq.Validate if the designated constraints aren't met.

func (CancelUserMedalDbAndCacheReqValidationError) Cause

Cause function returns cause value.

func (CancelUserMedalDbAndCacheReqValidationError) Error

Error satisfies the builtin error interface

func (CancelUserMedalDbAndCacheReqValidationError) ErrorName

ErrorName returns error name.

func (CancelUserMedalDbAndCacheReqValidationError) Field

Field function returns field value.

func (CancelUserMedalDbAndCacheReqValidationError) Key

Key function returns key value.

func (CancelUserMedalDbAndCacheReqValidationError) Reason

Reason function returns reason value.

type CancelUserMedalSetReq

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

func (*CancelUserMedalSetReq) Descriptor deprecated

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

Deprecated: Use CancelUserMedalSetReq.ProtoReflect.Descriptor instead.

func (*CancelUserMedalSetReq) GetMedal

func (x *CancelUserMedalSetReq) GetMedal() string

func (*CancelUserMedalSetReq) GetUuid

func (x *CancelUserMedalSetReq) GetUuid() string

func (*CancelUserMedalSetReq) ProtoMessage

func (*CancelUserMedalSetReq) ProtoMessage()

func (*CancelUserMedalSetReq) ProtoReflect

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

func (*CancelUserMedalSetReq) Reset

func (x *CancelUserMedalSetReq) Reset()

func (*CancelUserMedalSetReq) String

func (x *CancelUserMedalSetReq) String() string

func (*CancelUserMedalSetReq) Validate

func (m *CancelUserMedalSetReq) Validate() error

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

func (m *CancelUserMedalSetReq) ValidateAll() error

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

type CancelUserMedalSetReqMultiError

type CancelUserMedalSetReqMultiError []error

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

func (CancelUserMedalSetReqMultiError) AllErrors

func (m CancelUserMedalSetReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CancelUserMedalSetReqMultiError) Error

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

type CancelUserMedalSetReqValidationError

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

CancelUserMedalSetReqValidationError is the validation error returned by CancelUserMedalSetReq.Validate if the designated constraints aren't met.

func (CancelUserMedalSetReqValidationError) Cause

Cause function returns cause value.

func (CancelUserMedalSetReqValidationError) Error

Error satisfies the builtin error interface

func (CancelUserMedalSetReqValidationError) ErrorName

ErrorName returns error name.

func (CancelUserMedalSetReqValidationError) Field

Field function returns field value.

func (CancelUserMedalSetReqValidationError) Key

Key function returns key value.

func (CancelUserMedalSetReqValidationError) Reason

Reason function returns reason value.

type GetAchievementListReply

type GetAchievementListReply struct {
	Achievement []*GetAchievementListReply_Achievement `protobuf:"bytes,1,rep,name=achievement,proto3" json:"achievement,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAchievementListReply) Descriptor deprecated

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

Deprecated: Use GetAchievementListReply.ProtoReflect.Descriptor instead.

func (*GetAchievementListReply) GetAchievement

func (*GetAchievementListReply) ProtoMessage

func (*GetAchievementListReply) ProtoMessage()

func (*GetAchievementListReply) ProtoReflect

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

func (*GetAchievementListReply) Reset

func (x *GetAchievementListReply) Reset()

func (*GetAchievementListReply) String

func (x *GetAchievementListReply) String() string

func (*GetAchievementListReply) Validate

func (m *GetAchievementListReply) Validate() error

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

func (m *GetAchievementListReply) ValidateAll() error

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

type GetAchievementListReplyMultiError

type GetAchievementListReplyMultiError []error

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

func (GetAchievementListReplyMultiError) AllErrors

func (m GetAchievementListReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAchievementListReplyMultiError) Error

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

type GetAchievementListReplyValidationError

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

GetAchievementListReplyValidationError is the validation error returned by GetAchievementListReply.Validate if the designated constraints aren't met.

func (GetAchievementListReplyValidationError) Cause

Cause function returns cause value.

func (GetAchievementListReplyValidationError) Error

Error satisfies the builtin error interface

func (GetAchievementListReplyValidationError) ErrorName

ErrorName returns error name.

func (GetAchievementListReplyValidationError) Field

Field function returns field value.

func (GetAchievementListReplyValidationError) Key

Key function returns key value.

func (GetAchievementListReplyValidationError) Reason

Reason function returns reason value.

type GetAchievementListReply_Achievement

type GetAchievementListReply_Achievement struct {
	Uuid     string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	View     int32  `protobuf:"varint,2,opt,name=view,proto3" json:"view,omitempty"`
	Agree    int32  `protobuf:"varint,3,opt,name=agree,proto3" json:"agree,omitempty"`
	Followed int32  `protobuf:"varint,4,opt,name=followed,proto3" json:"followed,omitempty"`
	Follow   int32  `protobuf:"varint,5,opt,name=follow,proto3" json:"follow,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAchievementListReply_Achievement) Descriptor deprecated

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

Deprecated: Use GetAchievementListReply_Achievement.ProtoReflect.Descriptor instead.

func (*GetAchievementListReply_Achievement) GetAgree

func (*GetAchievementListReply_Achievement) GetFollow

func (*GetAchievementListReply_Achievement) GetFollowed

func (x *GetAchievementListReply_Achievement) GetFollowed() int32

func (*GetAchievementListReply_Achievement) GetUuid

func (*GetAchievementListReply_Achievement) GetView

func (*GetAchievementListReply_Achievement) ProtoMessage

func (*GetAchievementListReply_Achievement) ProtoMessage()

func (*GetAchievementListReply_Achievement) ProtoReflect

func (*GetAchievementListReply_Achievement) Reset

func (*GetAchievementListReply_Achievement) String

func (*GetAchievementListReply_Achievement) Validate

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

func (m *GetAchievementListReply_Achievement) ValidateAll() error

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

type GetAchievementListReply_AchievementMultiError

type GetAchievementListReply_AchievementMultiError []error

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

func (GetAchievementListReply_AchievementMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetAchievementListReply_AchievementMultiError) Error

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

type GetAchievementListReply_AchievementValidationError

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

GetAchievementListReply_AchievementValidationError is the validation error returned by GetAchievementListReply_Achievement.Validate if the designated constraints aren't met.

func (GetAchievementListReply_AchievementValidationError) Cause

Cause function returns cause value.

func (GetAchievementListReply_AchievementValidationError) Error

Error satisfies the builtin error interface

func (GetAchievementListReply_AchievementValidationError) ErrorName

ErrorName returns error name.

func (GetAchievementListReply_AchievementValidationError) Field

Field function returns field value.

func (GetAchievementListReply_AchievementValidationError) Key

Key function returns key value.

func (GetAchievementListReply_AchievementValidationError) Reason

Reason function returns reason value.

type GetAchievementListReq

type GetAchievementListReq struct {
	Uuids []string `protobuf:"bytes,1,rep,name=uuids,proto3" json:"uuids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAchievementListReq) Descriptor deprecated

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

Deprecated: Use GetAchievementListReq.ProtoReflect.Descriptor instead.

func (*GetAchievementListReq) GetUuids

func (x *GetAchievementListReq) GetUuids() []string

func (*GetAchievementListReq) ProtoMessage

func (*GetAchievementListReq) ProtoMessage()

func (*GetAchievementListReq) ProtoReflect

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

func (*GetAchievementListReq) Reset

func (x *GetAchievementListReq) Reset()

func (*GetAchievementListReq) String

func (x *GetAchievementListReq) String() string

func (*GetAchievementListReq) Validate

func (m *GetAchievementListReq) Validate() error

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

func (m *GetAchievementListReq) ValidateAll() error

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

type GetAchievementListReqMultiError

type GetAchievementListReqMultiError []error

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

func (GetAchievementListReqMultiError) AllErrors

func (m GetAchievementListReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAchievementListReqMultiError) Error

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

type GetAchievementListReqValidationError

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

GetAchievementListReqValidationError is the validation error returned by GetAchievementListReq.Validate if the designated constraints aren't met.

func (GetAchievementListReqValidationError) Cause

Cause function returns cause value.

func (GetAchievementListReqValidationError) Error

Error satisfies the builtin error interface

func (GetAchievementListReqValidationError) ErrorName

ErrorName returns error name.

func (GetAchievementListReqValidationError) Field

Field function returns field value.

func (GetAchievementListReqValidationError) Key

Key function returns key value.

func (GetAchievementListReqValidationError) Reason

Reason function returns reason value.

type GetUserAchievementReply

type GetUserAchievementReply struct {
	Agree    int32 `protobuf:"varint,1,opt,name=agree,proto3" json:"agree,omitempty"`
	View     int32 `protobuf:"varint,2,opt,name=view,proto3" json:"view,omitempty"`
	Collect  int32 `protobuf:"varint,3,opt,name=collect,proto3" json:"collect,omitempty"`
	Follow   int32 `protobuf:"varint,4,opt,name=follow,proto3" json:"follow,omitempty"`
	Followed int32 `protobuf:"varint,5,opt,name=followed,proto3" json:"followed,omitempty"`
	Score    int32 `protobuf:"varint,6,opt,name=score,proto3" json:"score,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserAchievementReply) Descriptor deprecated

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

Deprecated: Use GetUserAchievementReply.ProtoReflect.Descriptor instead.

func (*GetUserAchievementReply) GetAgree

func (x *GetUserAchievementReply) GetAgree() int32

func (*GetUserAchievementReply) GetCollect

func (x *GetUserAchievementReply) GetCollect() int32

func (*GetUserAchievementReply) GetFollow

func (x *GetUserAchievementReply) GetFollow() int32

func (*GetUserAchievementReply) GetFollowed

func (x *GetUserAchievementReply) GetFollowed() int32

func (*GetUserAchievementReply) GetScore

func (x *GetUserAchievementReply) GetScore() int32

func (*GetUserAchievementReply) GetView

func (x *GetUserAchievementReply) GetView() int32

func (*GetUserAchievementReply) ProtoMessage

func (*GetUserAchievementReply) ProtoMessage()

func (*GetUserAchievementReply) ProtoReflect

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

func (*GetUserAchievementReply) Reset

func (x *GetUserAchievementReply) Reset()

func (*GetUserAchievementReply) String

func (x *GetUserAchievementReply) String() string

func (*GetUserAchievementReply) Validate

func (m *GetUserAchievementReply) Validate() error

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

func (m *GetUserAchievementReply) ValidateAll() error

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

type GetUserAchievementReplyMultiError

type GetUserAchievementReplyMultiError []error

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

func (GetUserAchievementReplyMultiError) AllErrors

func (m GetUserAchievementReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserAchievementReplyMultiError) Error

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

type GetUserAchievementReplyValidationError

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

GetUserAchievementReplyValidationError is the validation error returned by GetUserAchievementReply.Validate if the designated constraints aren't met.

func (GetUserAchievementReplyValidationError) Cause

Cause function returns cause value.

func (GetUserAchievementReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserAchievementReplyValidationError) ErrorName

ErrorName returns error name.

func (GetUserAchievementReplyValidationError) Field

Field function returns field value.

func (GetUserAchievementReplyValidationError) Key

Key function returns key value.

func (GetUserAchievementReplyValidationError) Reason

Reason function returns reason value.

type GetUserAchievementReq

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

func (*GetUserAchievementReq) Descriptor deprecated

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

Deprecated: Use GetUserAchievementReq.ProtoReflect.Descriptor instead.

func (*GetUserAchievementReq) GetUuid

func (x *GetUserAchievementReq) GetUuid() string

func (*GetUserAchievementReq) ProtoMessage

func (*GetUserAchievementReq) ProtoMessage()

func (*GetUserAchievementReq) ProtoReflect

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

func (*GetUserAchievementReq) Reset

func (x *GetUserAchievementReq) Reset()

func (*GetUserAchievementReq) String

func (x *GetUserAchievementReq) String() string

func (*GetUserAchievementReq) Validate

func (m *GetUserAchievementReq) Validate() error

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

func (m *GetUserAchievementReq) ValidateAll() error

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

type GetUserAchievementReqMultiError

type GetUserAchievementReqMultiError []error

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

func (GetUserAchievementReqMultiError) AllErrors

func (m GetUserAchievementReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserAchievementReqMultiError) Error

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

type GetUserAchievementReqValidationError

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

GetUserAchievementReqValidationError is the validation error returned by GetUserAchievementReq.Validate if the designated constraints aren't met.

func (GetUserAchievementReqValidationError) Cause

Cause function returns cause value.

func (GetUserAchievementReqValidationError) Error

Error satisfies the builtin error interface

func (GetUserAchievementReqValidationError) ErrorName

ErrorName returns error name.

func (GetUserAchievementReqValidationError) Field

Field function returns field value.

func (GetUserAchievementReqValidationError) Key

Key function returns key value.

func (GetUserAchievementReqValidationError) Reason

Reason function returns reason value.

type GetUserActiveReply

type GetUserActiveReply struct {
	Agree int32 `protobuf:"varint,1,opt,name=agree,proto3" json:"agree,omitempty"`
	View  int32 `protobuf:"varint,2,opt,name=view,proto3" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserActiveReply) Descriptor deprecated

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

Deprecated: Use GetUserActiveReply.ProtoReflect.Descriptor instead.

func (*GetUserActiveReply) GetAgree

func (x *GetUserActiveReply) GetAgree() int32

func (*GetUserActiveReply) GetView

func (x *GetUserActiveReply) GetView() int32

func (*GetUserActiveReply) ProtoMessage

func (*GetUserActiveReply) ProtoMessage()

func (*GetUserActiveReply) ProtoReflect

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

func (*GetUserActiveReply) Reset

func (x *GetUserActiveReply) Reset()

func (*GetUserActiveReply) String

func (x *GetUserActiveReply) String() string

func (*GetUserActiveReply) Validate

func (m *GetUserActiveReply) Validate() error

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

func (m *GetUserActiveReply) ValidateAll() error

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

type GetUserActiveReplyMultiError

type GetUserActiveReplyMultiError []error

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

func (GetUserActiveReplyMultiError) AllErrors

func (m GetUserActiveReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserActiveReplyMultiError) Error

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

type GetUserActiveReplyValidationError

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

GetUserActiveReplyValidationError is the validation error returned by GetUserActiveReply.Validate if the designated constraints aren't met.

func (GetUserActiveReplyValidationError) Cause

Cause function returns cause value.

func (GetUserActiveReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserActiveReplyValidationError) ErrorName

ErrorName returns error name.

func (GetUserActiveReplyValidationError) Field

Field function returns field value.

func (GetUserActiveReplyValidationError) Key

Key function returns key value.

func (GetUserActiveReplyValidationError) Reason

Reason function returns reason value.

type GetUserActiveReq

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

func (*GetUserActiveReq) Descriptor deprecated

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

Deprecated: Use GetUserActiveReq.ProtoReflect.Descriptor instead.

func (*GetUserActiveReq) GetUuid

func (x *GetUserActiveReq) GetUuid() string

func (*GetUserActiveReq) ProtoMessage

func (*GetUserActiveReq) ProtoMessage()

func (*GetUserActiveReq) ProtoReflect

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

func (*GetUserActiveReq) Reset

func (x *GetUserActiveReq) Reset()

func (*GetUserActiveReq) String

func (x *GetUserActiveReq) String() string

func (*GetUserActiveReq) Validate

func (m *GetUserActiveReq) Validate() error

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

func (m *GetUserActiveReq) ValidateAll() error

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

type GetUserActiveReqMultiError

type GetUserActiveReqMultiError []error

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

func (GetUserActiveReqMultiError) AllErrors

func (m GetUserActiveReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserActiveReqMultiError) Error

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

type GetUserActiveReqValidationError

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

GetUserActiveReqValidationError is the validation error returned by GetUserActiveReq.Validate if the designated constraints aren't met.

func (GetUserActiveReqValidationError) Cause

Cause function returns cause value.

func (GetUserActiveReqValidationError) Error

Error satisfies the builtin error interface

func (GetUserActiveReqValidationError) ErrorName

ErrorName returns error name.

func (GetUserActiveReqValidationError) Field

Field function returns field value.

func (GetUserActiveReqValidationError) Key

Key function returns key value.

func (GetUserActiveReqValidationError) Reason

Reason function returns reason value.

type GetUserMedalReply

type GetUserMedalReply struct {
	Creation1 int32 `protobuf:"varint,1,opt,name=creation1,proto3" json:"creation1,omitempty"`
	Creation2 int32 `protobuf:"varint,2,opt,name=creation2,proto3" json:"creation2,omitempty"`
	Creation3 int32 `protobuf:"varint,3,opt,name=creation3,proto3" json:"creation3,omitempty"`
	Creation4 int32 `protobuf:"varint,4,opt,name=creation4,proto3" json:"creation4,omitempty"`
	Creation5 int32 `protobuf:"varint,5,opt,name=creation5,proto3" json:"creation5,omitempty"`
	Creation6 int32 `protobuf:"varint,6,opt,name=creation6,proto3" json:"creation6,omitempty"`
	Creation7 int32 `protobuf:"varint,7,opt,name=creation7,proto3" json:"creation7,omitempty"`
	Agree1    int32 `protobuf:"varint,8,opt,name=agree1,proto3" json:"agree1,omitempty"`
	Agree2    int32 `protobuf:"varint,9,opt,name=agree2,proto3" json:"agree2,omitempty"`
	Agree3    int32 `protobuf:"varint,10,opt,name=agree3,proto3" json:"agree3,omitempty"`
	Agree4    int32 `protobuf:"varint,11,opt,name=agree4,proto3" json:"agree4,omitempty"`
	Agree5    int32 `protobuf:"varint,12,opt,name=agree5,proto3" json:"agree5,omitempty"`
	Agree6    int32 `protobuf:"varint,13,opt,name=agree6,proto3" json:"agree6,omitempty"`
	View1     int32 `protobuf:"varint,14,opt,name=view1,proto3" json:"view1,omitempty"`
	View2     int32 `protobuf:"varint,15,opt,name=view2,proto3" json:"view2,omitempty"`
	View3     int32 `protobuf:"varint,16,opt,name=view3,proto3" json:"view3,omitempty"`
	Comment1  int32 `protobuf:"varint,17,opt,name=comment1,proto3" json:"comment1,omitempty"`
	Comment2  int32 `protobuf:"varint,18,opt,name=comment2,proto3" json:"comment2,omitempty"`
	Comment3  int32 `protobuf:"varint,19,opt,name=comment3,proto3" json:"comment3,omitempty"`
	Collect1  int32 `protobuf:"varint,20,opt,name=collect1,proto3" json:"collect1,omitempty"`
	Collect2  int32 `protobuf:"varint,21,opt,name=collect2,proto3" json:"collect2,omitempty"`
	Collect3  int32 `protobuf:"varint,22,opt,name=collect3,proto3" json:"collect3,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserMedalReply) Descriptor deprecated

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

Deprecated: Use GetUserMedalReply.ProtoReflect.Descriptor instead.

func (*GetUserMedalReply) GetAgree1

func (x *GetUserMedalReply) GetAgree1() int32

func (*GetUserMedalReply) GetAgree2

func (x *GetUserMedalReply) GetAgree2() int32

func (*GetUserMedalReply) GetAgree3

func (x *GetUserMedalReply) GetAgree3() int32

func (*GetUserMedalReply) GetAgree4

func (x *GetUserMedalReply) GetAgree4() int32

func (*GetUserMedalReply) GetAgree5

func (x *GetUserMedalReply) GetAgree5() int32

func (*GetUserMedalReply) GetAgree6

func (x *GetUserMedalReply) GetAgree6() int32

func (*GetUserMedalReply) GetCollect1

func (x *GetUserMedalReply) GetCollect1() int32

func (*GetUserMedalReply) GetCollect2

func (x *GetUserMedalReply) GetCollect2() int32

func (*GetUserMedalReply) GetCollect3

func (x *GetUserMedalReply) GetCollect3() int32

func (*GetUserMedalReply) GetComment1

func (x *GetUserMedalReply) GetComment1() int32

func (*GetUserMedalReply) GetComment2

func (x *GetUserMedalReply) GetComment2() int32

func (*GetUserMedalReply) GetComment3

func (x *GetUserMedalReply) GetComment3() int32

func (*GetUserMedalReply) GetCreation1

func (x *GetUserMedalReply) GetCreation1() int32

func (*GetUserMedalReply) GetCreation2

func (x *GetUserMedalReply) GetCreation2() int32

func (*GetUserMedalReply) GetCreation3

func (x *GetUserMedalReply) GetCreation3() int32

func (*GetUserMedalReply) GetCreation4

func (x *GetUserMedalReply) GetCreation4() int32

func (*GetUserMedalReply) GetCreation5

func (x *GetUserMedalReply) GetCreation5() int32

func (*GetUserMedalReply) GetCreation6

func (x *GetUserMedalReply) GetCreation6() int32

func (*GetUserMedalReply) GetCreation7

func (x *GetUserMedalReply) GetCreation7() int32

func (*GetUserMedalReply) GetView1

func (x *GetUserMedalReply) GetView1() int32

func (*GetUserMedalReply) GetView2

func (x *GetUserMedalReply) GetView2() int32

func (*GetUserMedalReply) GetView3

func (x *GetUserMedalReply) GetView3() int32

func (*GetUserMedalReply) ProtoMessage

func (*GetUserMedalReply) ProtoMessage()

func (*GetUserMedalReply) ProtoReflect

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

func (*GetUserMedalReply) Reset

func (x *GetUserMedalReply) Reset()

func (*GetUserMedalReply) String

func (x *GetUserMedalReply) String() string

func (*GetUserMedalReply) Validate

func (m *GetUserMedalReply) Validate() error

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

func (m *GetUserMedalReply) ValidateAll() error

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

type GetUserMedalReplyMultiError

type GetUserMedalReplyMultiError []error

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

func (GetUserMedalReplyMultiError) AllErrors

func (m GetUserMedalReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserMedalReplyMultiError) Error

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

type GetUserMedalReplyValidationError

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

GetUserMedalReplyValidationError is the validation error returned by GetUserMedalReply.Validate if the designated constraints aren't met.

func (GetUserMedalReplyValidationError) Cause

Cause function returns cause value.

func (GetUserMedalReplyValidationError) Error

Error satisfies the builtin error interface

func (GetUserMedalReplyValidationError) ErrorName

ErrorName returns error name.

func (GetUserMedalReplyValidationError) Field

Field function returns field value.

func (GetUserMedalReplyValidationError) Key

Key function returns key value.

func (GetUserMedalReplyValidationError) Reason

Reason function returns reason value.

type GetUserMedalReq

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

func (*GetUserMedalReq) Descriptor deprecated

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

Deprecated: Use GetUserMedalReq.ProtoReflect.Descriptor instead.

func (*GetUserMedalReq) GetUuid

func (x *GetUserMedalReq) GetUuid() string

func (*GetUserMedalReq) ProtoMessage

func (*GetUserMedalReq) ProtoMessage()

func (*GetUserMedalReq) ProtoReflect

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

func (*GetUserMedalReq) Reset

func (x *GetUserMedalReq) Reset()

func (*GetUserMedalReq) String

func (x *GetUserMedalReq) String() string

func (*GetUserMedalReq) Validate

func (m *GetUserMedalReq) Validate() error

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

func (m *GetUserMedalReq) ValidateAll() error

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

type GetUserMedalReqMultiError

type GetUserMedalReqMultiError []error

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

func (GetUserMedalReqMultiError) AllErrors

func (m GetUserMedalReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserMedalReqMultiError) Error

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

type GetUserMedalReqValidationError

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

GetUserMedalReqValidationError is the validation error returned by GetUserMedalReq.Validate if the designated constraints aren't met.

func (GetUserMedalReqValidationError) Cause

Cause function returns cause value.

func (GetUserMedalReqValidationError) Error

Error satisfies the builtin error interface

func (GetUserMedalReqValidationError) ErrorName

func (e GetUserMedalReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserMedalReqValidationError) Field

Field function returns field value.

func (GetUserMedalReqValidationError) Key

Key function returns key value.

func (GetUserMedalReqValidationError) Reason

Reason function returns reason value.

type SetAchievementAgreeReq

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

func (*SetAchievementAgreeReq) Descriptor deprecated

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

Deprecated: Use SetAchievementAgreeReq.ProtoReflect.Descriptor instead.

func (*SetAchievementAgreeReq) GetUserUuid

func (x *SetAchievementAgreeReq) GetUserUuid() string

func (*SetAchievementAgreeReq) GetUuid

func (x *SetAchievementAgreeReq) GetUuid() string

func (*SetAchievementAgreeReq) ProtoMessage

func (*SetAchievementAgreeReq) ProtoMessage()

func (*SetAchievementAgreeReq) ProtoReflect

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

func (*SetAchievementAgreeReq) Reset

func (x *SetAchievementAgreeReq) Reset()

func (*SetAchievementAgreeReq) String

func (x *SetAchievementAgreeReq) String() string

func (*SetAchievementAgreeReq) Validate

func (m *SetAchievementAgreeReq) Validate() error

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

func (m *SetAchievementAgreeReq) ValidateAll() error

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

type SetAchievementAgreeReqMultiError

type SetAchievementAgreeReqMultiError []error

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

func (SetAchievementAgreeReqMultiError) AllErrors

func (m SetAchievementAgreeReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetAchievementAgreeReqMultiError) Error

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

type SetAchievementAgreeReqValidationError

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

SetAchievementAgreeReqValidationError is the validation error returned by SetAchievementAgreeReq.Validate if the designated constraints aren't met.

func (SetAchievementAgreeReqValidationError) Cause

Cause function returns cause value.

func (SetAchievementAgreeReqValidationError) Error

Error satisfies the builtin error interface

func (SetAchievementAgreeReqValidationError) ErrorName

ErrorName returns error name.

func (SetAchievementAgreeReqValidationError) Field

Field function returns field value.

func (SetAchievementAgreeReqValidationError) Key

Key function returns key value.

func (SetAchievementAgreeReqValidationError) Reason

Reason function returns reason value.

type SetAchievementCollectReq

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

func (*SetAchievementCollectReq) Descriptor deprecated

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

Deprecated: Use SetAchievementCollectReq.ProtoReflect.Descriptor instead.

func (*SetAchievementCollectReq) GetUuid

func (x *SetAchievementCollectReq) GetUuid() string

func (*SetAchievementCollectReq) ProtoMessage

func (*SetAchievementCollectReq) ProtoMessage()

func (*SetAchievementCollectReq) ProtoReflect

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

func (*SetAchievementCollectReq) Reset

func (x *SetAchievementCollectReq) Reset()

func (*SetAchievementCollectReq) String

func (x *SetAchievementCollectReq) String() string

func (*SetAchievementCollectReq) Validate

func (m *SetAchievementCollectReq) Validate() error

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

func (m *SetAchievementCollectReq) ValidateAll() error

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

type SetAchievementCollectReqMultiError

type SetAchievementCollectReqMultiError []error

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

func (SetAchievementCollectReqMultiError) AllErrors

func (m SetAchievementCollectReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetAchievementCollectReqMultiError) Error

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

type SetAchievementCollectReqValidationError

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

SetAchievementCollectReqValidationError is the validation error returned by SetAchievementCollectReq.Validate if the designated constraints aren't met.

func (SetAchievementCollectReqValidationError) Cause

Cause function returns cause value.

func (SetAchievementCollectReqValidationError) Error

Error satisfies the builtin error interface

func (SetAchievementCollectReqValidationError) ErrorName

ErrorName returns error name.

func (SetAchievementCollectReqValidationError) Field

Field function returns field value.

func (SetAchievementCollectReqValidationError) Key

Key function returns key value.

func (SetAchievementCollectReqValidationError) Reason

Reason function returns reason value.

type SetAchievementFollowReq

type SetAchievementFollowReq struct {
	Follow   string `protobuf:"bytes,1,opt,name=follow,proto3" json:"follow,omitempty"`
	Followed string `protobuf:"bytes,2,opt,name=followed,proto3" json:"followed,omitempty"`
	// contains filtered or unexported fields
}

func (*SetAchievementFollowReq) Descriptor deprecated

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

Deprecated: Use SetAchievementFollowReq.ProtoReflect.Descriptor instead.

func (*SetAchievementFollowReq) GetFollow

func (x *SetAchievementFollowReq) GetFollow() string

func (*SetAchievementFollowReq) GetFollowed

func (x *SetAchievementFollowReq) GetFollowed() string

func (*SetAchievementFollowReq) ProtoMessage

func (*SetAchievementFollowReq) ProtoMessage()

func (*SetAchievementFollowReq) ProtoReflect

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

func (*SetAchievementFollowReq) Reset

func (x *SetAchievementFollowReq) Reset()

func (*SetAchievementFollowReq) String

func (x *SetAchievementFollowReq) String() string

func (*SetAchievementFollowReq) Validate

func (m *SetAchievementFollowReq) Validate() error

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

func (m *SetAchievementFollowReq) ValidateAll() error

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

type SetAchievementFollowReqMultiError

type SetAchievementFollowReqMultiError []error

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

func (SetAchievementFollowReqMultiError) AllErrors

func (m SetAchievementFollowReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetAchievementFollowReqMultiError) Error

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

type SetAchievementFollowReqValidationError

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

SetAchievementFollowReqValidationError is the validation error returned by SetAchievementFollowReq.Validate if the designated constraints aren't met.

func (SetAchievementFollowReqValidationError) Cause

Cause function returns cause value.

func (SetAchievementFollowReqValidationError) Error

Error satisfies the builtin error interface

func (SetAchievementFollowReqValidationError) ErrorName

ErrorName returns error name.

func (SetAchievementFollowReqValidationError) Field

Field function returns field value.

func (SetAchievementFollowReqValidationError) Key

Key function returns key value.

func (SetAchievementFollowReqValidationError) Reason

Reason function returns reason value.

type SetAchievementViewReq

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

func (*SetAchievementViewReq) Descriptor deprecated

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

Deprecated: Use SetAchievementViewReq.ProtoReflect.Descriptor instead.

func (*SetAchievementViewReq) GetUuid

func (x *SetAchievementViewReq) GetUuid() string

func (*SetAchievementViewReq) ProtoMessage

func (*SetAchievementViewReq) ProtoMessage()

func (*SetAchievementViewReq) ProtoReflect

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

func (*SetAchievementViewReq) Reset

func (x *SetAchievementViewReq) Reset()

func (*SetAchievementViewReq) String

func (x *SetAchievementViewReq) String() string

func (*SetAchievementViewReq) Validate

func (m *SetAchievementViewReq) Validate() error

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

func (m *SetAchievementViewReq) ValidateAll() error

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

type SetAchievementViewReqMultiError

type SetAchievementViewReqMultiError []error

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

func (SetAchievementViewReqMultiError) AllErrors

func (m SetAchievementViewReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetAchievementViewReqMultiError) Error

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

type SetAchievementViewReqValidationError

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

SetAchievementViewReqValidationError is the validation error returned by SetAchievementViewReq.Validate if the designated constraints aren't met.

func (SetAchievementViewReqValidationError) Cause

Cause function returns cause value.

func (SetAchievementViewReqValidationError) Error

Error satisfies the builtin error interface

func (SetAchievementViewReqValidationError) ErrorName

ErrorName returns error name.

func (SetAchievementViewReqValidationError) Field

Field function returns field value.

func (SetAchievementViewReqValidationError) Key

Key function returns key value.

func (SetAchievementViewReqValidationError) Reason

Reason function returns reason value.

type SetUserMedalDbAndCacheReq

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

func (*SetUserMedalDbAndCacheReq) Descriptor deprecated

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

Deprecated: Use SetUserMedalDbAndCacheReq.ProtoReflect.Descriptor instead.

func (*SetUserMedalDbAndCacheReq) GetMedal

func (x *SetUserMedalDbAndCacheReq) GetMedal() string

func (*SetUserMedalDbAndCacheReq) GetUuid

func (x *SetUserMedalDbAndCacheReq) GetUuid() string

func (*SetUserMedalDbAndCacheReq) ProtoMessage

func (*SetUserMedalDbAndCacheReq) ProtoMessage()

func (*SetUserMedalDbAndCacheReq) ProtoReflect

func (*SetUserMedalDbAndCacheReq) Reset

func (x *SetUserMedalDbAndCacheReq) Reset()

func (*SetUserMedalDbAndCacheReq) String

func (x *SetUserMedalDbAndCacheReq) String() string

func (*SetUserMedalDbAndCacheReq) Validate

func (m *SetUserMedalDbAndCacheReq) Validate() error

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

func (m *SetUserMedalDbAndCacheReq) ValidateAll() error

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

type SetUserMedalDbAndCacheReqMultiError

type SetUserMedalDbAndCacheReqMultiError []error

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

func (SetUserMedalDbAndCacheReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SetUserMedalDbAndCacheReqMultiError) Error

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

type SetUserMedalDbAndCacheReqValidationError

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

SetUserMedalDbAndCacheReqValidationError is the validation error returned by SetUserMedalDbAndCacheReq.Validate if the designated constraints aren't met.

func (SetUserMedalDbAndCacheReqValidationError) Cause

Cause function returns cause value.

func (SetUserMedalDbAndCacheReqValidationError) Error

Error satisfies the builtin error interface

func (SetUserMedalDbAndCacheReqValidationError) ErrorName

ErrorName returns error name.

func (SetUserMedalDbAndCacheReqValidationError) Field

Field function returns field value.

func (SetUserMedalDbAndCacheReqValidationError) Key

Key function returns key value.

func (SetUserMedalDbAndCacheReqValidationError) Reason

Reason function returns reason value.

type SetUserMedalReq

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

func (*SetUserMedalReq) Descriptor deprecated

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

Deprecated: Use SetUserMedalReq.ProtoReflect.Descriptor instead.

func (*SetUserMedalReq) GetMedal

func (x *SetUserMedalReq) GetMedal() string

func (*SetUserMedalReq) GetUuid

func (x *SetUserMedalReq) GetUuid() string

func (*SetUserMedalReq) ProtoMessage

func (*SetUserMedalReq) ProtoMessage()

func (*SetUserMedalReq) ProtoReflect

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

func (*SetUserMedalReq) Reset

func (x *SetUserMedalReq) Reset()

func (*SetUserMedalReq) String

func (x *SetUserMedalReq) String() string

func (*SetUserMedalReq) Validate

func (m *SetUserMedalReq) Validate() error

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

func (m *SetUserMedalReq) ValidateAll() error

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

type SetUserMedalReqMultiError

type SetUserMedalReqMultiError []error

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

func (SetUserMedalReqMultiError) AllErrors

func (m SetUserMedalReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetUserMedalReqMultiError) Error

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

type SetUserMedalReqValidationError

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

SetUserMedalReqValidationError is the validation error returned by SetUserMedalReq.Validate if the designated constraints aren't met.

func (SetUserMedalReqValidationError) Cause

Cause function returns cause value.

func (SetUserMedalReqValidationError) Error

Error satisfies the builtin error interface

func (SetUserMedalReqValidationError) ErrorName

func (e SetUserMedalReqValidationError) ErrorName() string

ErrorName returns error name.

func (SetUserMedalReqValidationError) Field

Field function returns field value.

func (SetUserMedalReqValidationError) Key

Key function returns key value.

func (SetUserMedalReqValidationError) Reason

Reason function returns reason value.

type UnimplementedAchievementServer

type UnimplementedAchievementServer struct {
}

UnimplementedAchievementServer must be embedded to have forward compatible implementations.

func (UnimplementedAchievementServer) AccessUserMedal

func (UnimplementedAchievementServer) AccessUserMedalDbAndCache

func (UnimplementedAchievementServer) AddAchievementScore

func (UnimplementedAchievementServer) CancelAchievementAgree

func (UnimplementedAchievementServer) CancelAchievementCollect

func (UnimplementedAchievementServer) CancelAchievementFollow

func (UnimplementedAchievementServer) CancelUserMedalDbAndCache

func (UnimplementedAchievementServer) CancelUserMedalSet

func (UnimplementedAchievementServer) GetAchievementList

func (UnimplementedAchievementServer) GetHealth

func (UnimplementedAchievementServer) GetUserAchievement

func (UnimplementedAchievementServer) GetUserActive

func (UnimplementedAchievementServer) GetUserMedal

func (UnimplementedAchievementServer) SetAchievementAgree

func (UnimplementedAchievementServer) SetAchievementCollect

func (UnimplementedAchievementServer) SetAchievementFollow

func (UnimplementedAchievementServer) SetAchievementView

func (UnimplementedAchievementServer) SetUserMedal

func (UnimplementedAchievementServer) SetUserMedalDbAndCache

type UnsafeAchievementServer

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

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

Jump to

Keyboard shortcuts

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