proto_build

package
v0.0.0-...-7604275 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package proto_build is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto_build is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto_build is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto_build is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto_build is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package proto_build is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	Gender_name = map[int32]string{
		0: "Unknown",
		1: "Male",
		2: "Female",
	}
	Gender_value = map[string]int32{
		"Unknown": 0,
		"Male":    1,
		"Female":  2,
	}
)

Enum value maps for Gender.

View Source
var (
	IsEnable_name = map[int32]string{
		0: "NotEnable",
		1: "Enable",
	}
	IsEnable_value = map[string]int32{
		"NotEnable": 0,
		"Enable":    1,
	}
)

Enum value maps for IsEnable.

View Source
var (
	ReviewStatus_name = map[int32]string{
		0: "ReviewInit",
		1: "ReviewTo",
		2: "ReviewPass",
		3: "ReviewFail",
	}
	ReviewStatus_value = map[string]int32{
		"ReviewInit": 0,
		"ReviewTo":   1,
		"ReviewPass": 2,
		"ReviewFail": 3,
	}
)

Enum value maps for ReviewStatus.

View Source
var (
	FeedType_name = map[int32]string{
		0: "Txt",
		1: "Image",
		2: "Video",
	}
	FeedType_value = map[string]int32{
		"Txt":   0,
		"Image": 1,
		"Video": 2,
	}
)

Enum value maps for FeedType.

View Source
var (
	MESSAGE_TYPE_name = map[int32]string{
		0: "TEXT",
		1: "LOCATION",
		2: "FACE",
		3: "SOUND",
		4: "IMAGE",
		5: "FILE",
		6: "Video",
	}
	MESSAGE_TYPE_value = map[string]int32{
		"TEXT":     0,
		"LOCATION": 1,
		"FACE":     2,
		"SOUND":    3,
		"IMAGE":    4,
		"FILE":     5,
		"Video":    6,
	}
)

Enum value maps for MESSAGE_TYPE.

View Source
var (
	IMAGE_TYPE_name = map[int32]string{
		0: "ORIGIN",
		1: "BIG",
		2: "THUMBNAIL",
	}
	IMAGE_TYPE_value = map[string]int32{
		"ORIGIN":    0,
		"BIG":       1,
		"THUMBNAIL": 2,
	}
)

Enum value maps for IMAGE_TYPE.

View Source
var (
	IMAGE_FORMAT_name = map[int32]string{
		0:   "JPG",
		1:   "GIF",
		2:   "PNG",
		3:   "BMP",
		255: "OTHER",
	}
	IMAGE_FORMAT_value = map[string]int32{
		"JPG":   0,
		"GIF":   1,
		"PNG":   2,
		"BMP":   3,
		"OTHER": 255,
	}
)

Enum value maps for IMAGE_FORMAT.

View Source
var (
	VIDEO_FORMAT_name = map[int32]string{
		0:   "MP4",
		1:   "MOV",
		2:   "WMV",
		3:   "FLV",
		4:   "AVI",
		5:   "MKV",
		255: "OTHER_VIDEO_FORMAT",
	}
	VIDEO_FORMAT_value = map[string]int32{
		"MP4":                0,
		"MOV":                1,
		"WMV":                2,
		"FLV":                3,
		"AVI":                4,
		"MKV":                5,
		"OTHER_VIDEO_FORMAT": 255,
	}
)

Enum value maps for VIDEO_FORMAT.

View Source
var CommonService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "common.CommonService",
	HandlerType: (*CommonServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SendEmail",
			Handler:    _CommonService_SendEmail_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _CommonService_Ping_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "UploadImage",
			Handler:       _CommonService_UploadImage_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "common.proto",
}

CommonService_ServiceDesc is the grpc.ServiceDesc for CommonService 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 FeedService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "feed.FeedService",
	HandlerType: (*FeedServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FeedCreate",
			Handler:    _FeedService_FeedCreate_Handler,
		},
		{
			MethodName: "FeedEdit",
			Handler:    _FeedService_FeedEdit_Handler,
		},
		{
			MethodName: "FeedLike",
			Handler:    _FeedService_FeedLike_Handler,
		},
		{
			MethodName: "FeedUnLike",
			Handler:    _FeedService_FeedUnLike_Handler,
		},
		{
			MethodName: "FeedGet",
			Handler:    _FeedService_FeedGet_Handler,
		},
		{
			MethodName: "FeedDelete",
			Handler:    _FeedService_FeedDelete_Handler,
		},
		{
			MethodName: "FeedOwn",
			Handler:    _FeedService_FeedOwn_Handler,
		},
		{
			MethodName: "FeedQuery",
			Handler:    _FeedService_FeedQuery_Handler,
		},
		{
			MethodName: "FeedFollow",
			Handler:    _FeedService_FeedFollow_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _FeedService_Ping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "feed.proto",
}

FeedService_ServiceDesc is the grpc.ServiceDesc for FeedService 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_common_proto protoreflect.FileDescriptor
View Source
var File_gateway_proto protoreflect.FileDescriptor
View Source
var File_group_proto protoreflect.FileDescriptor
View Source
var File_message_proto protoreflect.FileDescriptor
View Source
var GatewayService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gateway.GatewayService",
	HandlerType: (*GatewayServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Register",
			Handler:    _GatewayService_Register_Handler,
		},
		{
			MethodName: "UnRegister",
			Handler:    _GatewayService_UnRegister_Handler,
		},
		{
			MethodName: "SendToAll",
			Handler:    _GatewayService_SendToAll_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _GatewayService_Ping_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SendMessage",
			Handler:       _GatewayService_SendMessage_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "gateway.proto",
}

GatewayService_ServiceDesc is the grpc.ServiceDesc for GatewayService 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 GroupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "group.GroupService",
	HandlerType: (*GroupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateGroup",
			Handler:    _GroupService_CreateGroup_Handler,
		},
		{
			MethodName: "UpdateGroup",
			Handler:    _GroupService_UpdateGroup_Handler,
		},
		{
			MethodName: "GetGroup",
			Handler:    _GroupService_GetGroup_Handler,
		},
		{
			MethodName: "QueryGroup",
			Handler:    _GroupService_QueryGroup_Handler,
		},
		{
			MethodName: "DeleteGroup",
			Handler:    _GroupService_DeleteGroup_Handler,
		},
		{
			MethodName: "JoinGroup",
			Handler:    _GroupService_JoinGroup_Handler,
		},
		{
			MethodName: "QuitGroup",
			Handler:    _GroupService_QuitGroup_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _GroupService_Ping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "group.proto",
}

GroupService_ServiceDesc is the grpc.ServiceDesc for GroupService 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 MessageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "message.MessageService",
	HandlerType: (*MessageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SendUserTextMessage",
			Handler:    _MessageService_SendUserTextMessage_Handler,
		},
		{
			MethodName: "SendUserLocationMessage",
			Handler:    _MessageService_SendUserLocationMessage_Handler,
		},
		{
			MethodName: "SendUserFaceMessage",
			Handler:    _MessageService_SendUserFaceMessage_Handler,
		},
		{
			MethodName: "SendUserSoundMessage",
			Handler:    _MessageService_SendUserSoundMessage_Handler,
		},
		{
			MethodName: "SendUserVideoMessage",
			Handler:    _MessageService_SendUserVideoMessage_Handler,
		},
		{
			MethodName: "SendUserImageMessage",
			Handler:    _MessageService_SendUserImageMessage_Handler,
		},
		{
			MethodName: "SendUserFileMessage",
			Handler:    _MessageService_SendUserFileMessage_Handler,
		},
		{
			MethodName: "SendGroupTextMessage",
			Handler:    _MessageService_SendGroupTextMessage_Handler,
		},
		{
			MethodName: "SendGroupLocationMessage",
			Handler:    _MessageService_SendGroupLocationMessage_Handler,
		},
		{
			MethodName: "SendGroupFceMessage",
			Handler:    _MessageService_SendGroupFceMessage_Handler,
		},
		{
			MethodName: "SendGroupSoundMessage",
			Handler:    _MessageService_SendGroupSoundMessage_Handler,
		},
		{
			MethodName: "SendGroupVideoMessage",
			Handler:    _MessageService_SendGroupVideoMessage_Handler,
		},
		{
			MethodName: "SendGroupImageMessage",
			Handler:    _MessageService_SendGroupImageMessage_Handler,
		},
		{
			MethodName: "SendGroupFileMessage",
			Handler:    _MessageService_SendGroupFileMessage_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _MessageService_Ping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "message.proto",
}

MessageService_ServiceDesc is the grpc.ServiceDesc for MessageService 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 UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "user.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUser",
			Handler:    _UserService_CreateUser_Handler,
		},
		{
			MethodName: "UserLogin",
			Handler:    _UserService_UserLogin_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _UserService_GetUser_Handler,
		},
		{
			MethodName: "QueryUser",
			Handler:    _UserService_QueryUser_Handler,
		},
		{
			MethodName: "UpdatePassword",
			Handler:    _UserService_UpdatePassword_Handler,
		},
		{
			MethodName: "UpdateAvatar",
			Handler:    _UserService_UpdateAvatar_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _UserService_Ping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user.proto",
}

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

Functions

func RegisterCommonServiceHandler

func RegisterCommonServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterCommonServiceHandler registers the http handlers for service CommonService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterCommonServiceHandlerClient

func RegisterCommonServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CommonServiceClient) error

RegisterCommonServiceHandlerClient registers the http handlers for service CommonService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CommonServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CommonServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CommonServiceClient" to call the correct interceptors.

func RegisterCommonServiceHandlerFromEndpoint

func RegisterCommonServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterCommonServiceHandlerFromEndpoint is same as RegisterCommonServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterCommonServiceHandlerServer

func RegisterCommonServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CommonServiceServer) error

RegisterCommonServiceHandlerServer registers the http handlers for service CommonService to "mux". UnaryRPC :call CommonServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCommonServiceHandlerFromEndpoint instead.

func RegisterCommonServiceServer

func RegisterCommonServiceServer(s grpc.ServiceRegistrar, srv CommonServiceServer)

func RegisterFeedServiceHandler

func RegisterFeedServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterFeedServiceHandler registers the http handlers for service FeedService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterFeedServiceHandlerClient

func RegisterFeedServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FeedServiceClient) error

RegisterFeedServiceHandlerClient registers the http handlers for service FeedService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FeedServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FeedServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FeedServiceClient" to call the correct interceptors.

func RegisterFeedServiceHandlerFromEndpoint

func RegisterFeedServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterFeedServiceHandlerFromEndpoint is same as RegisterFeedServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterFeedServiceHandlerServer

func RegisterFeedServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FeedServiceServer) error

RegisterFeedServiceHandlerServer registers the http handlers for service FeedService to "mux". UnaryRPC :call FeedServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterFeedServiceHandlerFromEndpoint instead.

func RegisterFeedServiceServer

func RegisterFeedServiceServer(s grpc.ServiceRegistrar, srv FeedServiceServer)

func RegisterGatewayServiceHandler

func RegisterGatewayServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterGatewayServiceHandler registers the http handlers for service GatewayService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterGatewayServiceHandlerClient

func RegisterGatewayServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GatewayServiceClient) error

RegisterGatewayServiceHandlerClient registers the http handlers for service GatewayService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GatewayServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GatewayServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GatewayServiceClient" to call the correct interceptors.

func RegisterGatewayServiceHandlerFromEndpoint

func RegisterGatewayServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterGatewayServiceHandlerFromEndpoint is same as RegisterGatewayServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterGatewayServiceHandlerServer

func RegisterGatewayServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GatewayServiceServer) error

RegisterGatewayServiceHandlerServer registers the http handlers for service GatewayService to "mux". UnaryRPC :call GatewayServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGatewayServiceHandlerFromEndpoint instead.

func RegisterGatewayServiceServer

func RegisterGatewayServiceServer(s grpc.ServiceRegistrar, srv GatewayServiceServer)

func RegisterGroupServiceHandler

func RegisterGroupServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterGroupServiceHandler registers the http handlers for service GroupService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterGroupServiceHandlerClient

func RegisterGroupServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupServiceClient) error

RegisterGroupServiceHandlerClient registers the http handlers for service GroupService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GroupServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GroupServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GroupServiceClient" to call the correct interceptors.

func RegisterGroupServiceHandlerFromEndpoint

func RegisterGroupServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterGroupServiceHandlerFromEndpoint is same as RegisterGroupServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterGroupServiceHandlerServer

func RegisterGroupServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GroupServiceServer) error

RegisterGroupServiceHandlerServer registers the http handlers for service GroupService to "mux". UnaryRPC :call GroupServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGroupServiceHandlerFromEndpoint instead.

func RegisterGroupServiceServer

func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)

func RegisterMessageServiceHandler

func RegisterMessageServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMessageServiceHandler registers the http handlers for service MessageService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMessageServiceHandlerClient

func RegisterMessageServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MessageServiceClient) error

RegisterMessageServiceHandlerClient registers the http handlers for service MessageService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MessageServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MessageServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MessageServiceClient" to call the correct interceptors.

func RegisterMessageServiceHandlerFromEndpoint

func RegisterMessageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMessageServiceHandlerFromEndpoint is same as RegisterMessageServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMessageServiceHandlerServer

func RegisterMessageServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MessageServiceServer) error

RegisterMessageServiceHandlerServer registers the http handlers for service MessageService to "mux". UnaryRPC :call MessageServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMessageServiceHandlerFromEndpoint instead.

func RegisterMessageServiceServer

func RegisterMessageServiceServer(s grpc.ServiceRegistrar, srv MessageServiceServer)

func RegisterUserServiceHandler

func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUserServiceHandlerClient

func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error

RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.

func RegisterUserServiceHandlerFromEndpoint

func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUserServiceHandlerServer

func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error

RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type CommonResponse

type CommonResponse struct {
	ErrorCode    uint64 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`          //错误码
	BusinessCode uint64 `protobuf:"varint,2,opt,name=business_code,json=businessCode,proto3" json:"business_code,omitempty"` //业务码
	Message      string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`                                //信息
	// contains filtered or unexported fields
}

func (*CommonResponse) Descriptor deprecated

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

Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.

func (*CommonResponse) GetBusinessCode

func (x *CommonResponse) GetBusinessCode() uint64

func (*CommonResponse) GetErrorCode

func (x *CommonResponse) GetErrorCode() uint64

func (*CommonResponse) GetMessage

func (x *CommonResponse) GetMessage() string

func (*CommonResponse) ProtoMessage

func (*CommonResponse) ProtoMessage()

func (*CommonResponse) ProtoReflect

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

func (*CommonResponse) Reset

func (x *CommonResponse) Reset()

func (*CommonResponse) String

func (x *CommonResponse) String() string

func (*CommonResponse) Validate

func (m *CommonResponse) Validate() error

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

func (m *CommonResponse) ValidateAll() error

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

type CommonResponseMultiError

type CommonResponseMultiError []error

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

func (CommonResponseMultiError) AllErrors

func (m CommonResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommonResponseMultiError) Error

func (m CommonResponseMultiError) Error() string

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

type CommonResponseValidationError

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

CommonResponseValidationError is the validation error returned by CommonResponse.Validate if the designated constraints aren't met.

func (CommonResponseValidationError) Cause

Cause function returns cause value.

func (CommonResponseValidationError) Error

Error satisfies the builtin error interface

func (CommonResponseValidationError) ErrorName

func (e CommonResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CommonResponseValidationError) Field

Field function returns field value.

func (CommonResponseValidationError) Key

Key function returns key value.

func (CommonResponseValidationError) Reason

Reason function returns reason value.

type CommonServiceClient

type CommonServiceClient interface {
	UploadImage(ctx context.Context, opts ...grpc.CallOption) (CommonService_UploadImageClient, error)
	SendEmail(ctx context.Context, in *SendEmailRequest, opts ...grpc.CallOption) (*SendEmailResponse, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}

CommonServiceClient is the client API for CommonService 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 CommonServiceServer

type CommonServiceServer interface {
	UploadImage(CommonService_UploadImageServer) error
	SendEmail(context.Context, *SendEmailRequest) (*SendEmailResponse, error)
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	// contains filtered or unexported methods
}

CommonServiceServer is the server API for CommonService service. All implementations must embed UnimplementedCommonServiceServer for forward compatibility

type CommonService_UploadImageClient

type CommonService_UploadImageClient interface {
	Send(*UploadImageRequest) error
	CloseAndRecv() (*UploadImageResponse, error)
	grpc.ClientStream
}

type CommonService_UploadImageServer

type CommonService_UploadImageServer interface {
	SendAndClose(*UploadImageResponse) error
	Recv() (*UploadImageRequest, error)
	grpc.ServerStream
}

type CreateGroupRequest

type CreateGroupRequest struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Introduction string `protobuf:"bytes,2,opt,name=introduction,proto3" json:"introduction,omitempty"`
	AvatarUrl    string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRequest) GetAvatarUrl

func (x *CreateGroupRequest) GetAvatarUrl() string

func (*CreateGroupRequest) GetIntroduction

func (x *CreateGroupRequest) GetIntroduction() string

func (*CreateGroupRequest) GetName

func (x *CreateGroupRequest) GetName() string

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) ProtoReflect

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

func (*CreateGroupRequest) Reset

func (x *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (x *CreateGroupRequest) String() string

func (*CreateGroupRequest) Validate

func (m *CreateGroupRequest) Validate() error

Validate checks the field values on CreateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateGroupRequest) ValidateAll

func (m *CreateGroupRequest) ValidateAll() error

ValidateAll checks the field values on CreateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateGroupRequestMultiError, or nil if none found.

type CreateGroupRequestMultiError

type CreateGroupRequestMultiError []error

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

func (CreateGroupRequestMultiError) AllErrors

func (m CreateGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateGroupRequestMultiError) Error

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

type CreateGroupRequestValidationError

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

CreateGroupRequestValidationError is the validation error returned by CreateGroupRequest.Validate if the designated constraints aren't met.

func (CreateGroupRequestValidationError) Cause

Cause function returns cause value.

func (CreateGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateGroupRequestValidationError) Field

Field function returns field value.

func (CreateGroupRequestValidationError) Key

Key function returns key value.

func (CreateGroupRequestValidationError) Reason

Reason function returns reason value.

type CreateGroupResponse

type CreateGroupResponse struct {
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGroupResponse) Descriptor deprecated

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

Deprecated: Use CreateGroupResponse.ProtoReflect.Descriptor instead.

func (*CreateGroupResponse) GetGroup

func (x *CreateGroupResponse) GetGroup() *Group

func (*CreateGroupResponse) ProtoMessage

func (*CreateGroupResponse) ProtoMessage()

func (*CreateGroupResponse) ProtoReflect

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

func (*CreateGroupResponse) Reset

func (x *CreateGroupResponse) Reset()

func (*CreateGroupResponse) String

func (x *CreateGroupResponse) String() string

func (*CreateGroupResponse) Validate

func (m *CreateGroupResponse) Validate() error

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

func (m *CreateGroupResponse) ValidateAll() error

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

type CreateGroupResponseMultiError

type CreateGroupResponseMultiError []error

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

func (CreateGroupResponseMultiError) AllErrors

func (m CreateGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateGroupResponseMultiError) Error

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

type CreateGroupResponseValidationError

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

CreateGroupResponseValidationError is the validation error returned by CreateGroupResponse.Validate if the designated constraints aren't met.

func (CreateGroupResponseValidationError) Cause

Cause function returns cause value.

func (CreateGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateGroupResponseValidationError) Field

Field function returns field value.

func (CreateGroupResponseValidationError) Key

Key function returns key value.

func (CreateGroupResponseValidationError) Reason

Reason function returns reason value.

type DeleteGroupRequest

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

func (*DeleteGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRequest) GetId

func (x *DeleteGroupRequest) GetId() uint64

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) ProtoReflect

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

func (*DeleteGroupRequest) Reset

func (x *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (x *DeleteGroupRequest) String() string

func (*DeleteGroupRequest) Validate

func (m *DeleteGroupRequest) Validate() error

Validate checks the field values on DeleteGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteGroupRequest) ValidateAll

func (m *DeleteGroupRequest) ValidateAll() error

ValidateAll checks the field values on DeleteGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteGroupRequestMultiError, or nil if none found.

type DeleteGroupRequestMultiError

type DeleteGroupRequestMultiError []error

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

func (DeleteGroupRequestMultiError) AllErrors

func (m DeleteGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteGroupRequestMultiError) Error

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

type DeleteGroupRequestValidationError

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

DeleteGroupRequestValidationError is the validation error returned by DeleteGroupRequest.Validate if the designated constraints aren't met.

func (DeleteGroupRequestValidationError) Cause

Cause function returns cause value.

func (DeleteGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteGroupRequestValidationError) Field

Field function returns field value.

func (DeleteGroupRequestValidationError) Key

Key function returns key value.

func (DeleteGroupRequestValidationError) Reason

Reason function returns reason value.

type DeleteGroupResponse

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

func (*DeleteGroupResponse) Descriptor deprecated

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

Deprecated: Use DeleteGroupResponse.ProtoReflect.Descriptor instead.

func (*DeleteGroupResponse) ProtoMessage

func (*DeleteGroupResponse) ProtoMessage()

func (*DeleteGroupResponse) ProtoReflect

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

func (*DeleteGroupResponse) Reset

func (x *DeleteGroupResponse) Reset()

func (*DeleteGroupResponse) String

func (x *DeleteGroupResponse) String() string

func (*DeleteGroupResponse) Validate

func (m *DeleteGroupResponse) Validate() error

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

func (m *DeleteGroupResponse) ValidateAll() error

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

type DeleteGroupResponseMultiError

type DeleteGroupResponseMultiError []error

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

func (DeleteGroupResponseMultiError) AllErrors

func (m DeleteGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteGroupResponseMultiError) Error

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

type DeleteGroupResponseValidationError

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

DeleteGroupResponseValidationError is the validation error returned by DeleteGroupResponse.Validate if the designated constraints aren't met.

func (DeleteGroupResponseValidationError) Cause

Cause function returns cause value.

func (DeleteGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteGroupResponseValidationError) Field

Field function returns field value.

func (DeleteGroupResponseValidationError) Key

Key function returns key value.

func (DeleteGroupResponseValidationError) Reason

Reason function returns reason value.

type FaceMessage

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

表情消息

func (*FaceMessage) Descriptor deprecated

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

Deprecated: Use FaceMessage.ProtoReflect.Descriptor instead.

func (*FaceMessage) GetId

func (x *FaceMessage) GetId() uint64

func (*FaceMessage) GetSymbol

func (x *FaceMessage) GetSymbol() string

func (*FaceMessage) ProtoMessage

func (*FaceMessage) ProtoMessage()

func (*FaceMessage) ProtoReflect

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

func (*FaceMessage) Reset

func (x *FaceMessage) Reset()

func (*FaceMessage) String

func (x *FaceMessage) String() string

func (*FaceMessage) Validate

func (m *FaceMessage) Validate() error

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

func (m *FaceMessage) ValidateAll() error

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

type FaceMessageMultiError

type FaceMessageMultiError []error

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

func (FaceMessageMultiError) AllErrors

func (m FaceMessageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FaceMessageMultiError) Error

func (m FaceMessageMultiError) Error() string

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

type FaceMessageValidationError

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

FaceMessageValidationError is the validation error returned by FaceMessage.Validate if the designated constraints aren't met.

func (FaceMessageValidationError) Cause

Cause function returns cause value.

func (FaceMessageValidationError) Error

Error satisfies the builtin error interface

func (FaceMessageValidationError) ErrorName

func (e FaceMessageValidationError) ErrorName() string

ErrorName returns error name.

func (FaceMessageValidationError) Field

Field function returns field value.

func (FaceMessageValidationError) Key

Key function returns key value.

func (FaceMessageValidationError) Reason

Reason function returns reason value.

type Feed

type Feed struct {
	Id           uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId       uint64                 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Content      string                 `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Type         FeedType               `protobuf:"varint,4,opt,name=type,proto3,enum=feed.FeedType" json:"type,omitempty"`
	LikeCount    uint64                 `protobuf:"varint,5,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"`
	ViewCount    uint64                 `protobuf:"varint,6,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"`
	CommentCount uint64                 `protobuf:"varint,7,opt,name=comment_count,json=commentCount,proto3" json:"comment_count,omitempty"`
	Operator     uint64                 `protobuf:"varint,8,opt,name=operator,proto3" json:"operator,omitempty"`
	Remark       string                 `protobuf:"bytes,9,opt,name=remark,proto3" json:"remark,omitempty"`
	Hot          uint64                 `protobuf:"varint,10,opt,name=hot,proto3" json:"hot,omitempty"`
	IsEnable     IsEnable               `protobuf:"varint,11,opt,name=is_enable,json=isEnable,proto3,enum=common.IsEnable" json:"is_enable,omitempty"`
	ReviewStatus ReviewStatus           `protobuf:"varint,12,opt,name=review_status,json=reviewStatus,proto3,enum=common.ReviewStatus" json:"review_status,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt    *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Feed) Descriptor deprecated

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

Deprecated: Use Feed.ProtoReflect.Descriptor instead.

func (*Feed) GetCommentCount

func (x *Feed) GetCommentCount() uint64

func (*Feed) GetContent

func (x *Feed) GetContent() string

func (*Feed) GetCreatedAt

func (x *Feed) GetCreatedAt() *timestamppb.Timestamp

func (*Feed) GetDeletedAt

func (x *Feed) GetDeletedAt() *timestamppb.Timestamp

func (*Feed) GetHot

func (x *Feed) GetHot() uint64

func (*Feed) GetId

func (x *Feed) GetId() uint64

func (*Feed) GetIsEnable

func (x *Feed) GetIsEnable() IsEnable

func (*Feed) GetLikeCount

func (x *Feed) GetLikeCount() uint64

func (*Feed) GetOperator

func (x *Feed) GetOperator() uint64

func (*Feed) GetRemark

func (x *Feed) GetRemark() string

func (*Feed) GetReviewStatus

func (x *Feed) GetReviewStatus() ReviewStatus

func (*Feed) GetType

func (x *Feed) GetType() FeedType

func (*Feed) GetUpdatedAt

func (x *Feed) GetUpdatedAt() *timestamppb.Timestamp

func (*Feed) GetUserId

func (x *Feed) GetUserId() uint64

func (*Feed) GetViewCount

func (x *Feed) GetViewCount() uint64

func (*Feed) ProtoMessage

func (*Feed) ProtoMessage()

func (*Feed) ProtoReflect

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

func (*Feed) Reset

func (x *Feed) Reset()

func (*Feed) String

func (x *Feed) String() string

func (*Feed) Validate

func (m *Feed) Validate() error

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

func (m *Feed) ValidateAll() error

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

type FeedCreateRequest

type FeedCreateRequest struct {
	Type     FeedType `protobuf:"varint,1,opt,name=type,proto3,enum=feed.FeedType" json:"type,omitempty"`
	Content  string   `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	Resource []string `protobuf:"bytes,3,rep,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedCreateRequest) Descriptor deprecated

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

Deprecated: Use FeedCreateRequest.ProtoReflect.Descriptor instead.

func (*FeedCreateRequest) GetContent

func (x *FeedCreateRequest) GetContent() string

func (*FeedCreateRequest) GetResource

func (x *FeedCreateRequest) GetResource() []string

func (*FeedCreateRequest) GetType

func (x *FeedCreateRequest) GetType() FeedType

func (*FeedCreateRequest) ProtoMessage

func (*FeedCreateRequest) ProtoMessage()

func (*FeedCreateRequest) ProtoReflect

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

func (*FeedCreateRequest) Reset

func (x *FeedCreateRequest) Reset()

func (*FeedCreateRequest) String

func (x *FeedCreateRequest) String() string

func (*FeedCreateRequest) Validate

func (m *FeedCreateRequest) Validate() error

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

func (m *FeedCreateRequest) ValidateAll() error

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

type FeedCreateRequestMultiError

type FeedCreateRequestMultiError []error

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

func (FeedCreateRequestMultiError) AllErrors

func (m FeedCreateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedCreateRequestMultiError) Error

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

type FeedCreateRequestValidationError

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

FeedCreateRequestValidationError is the validation error returned by FeedCreateRequest.Validate if the designated constraints aren't met.

func (FeedCreateRequestValidationError) Cause

Cause function returns cause value.

func (FeedCreateRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedCreateRequestValidationError) ErrorName

ErrorName returns error name.

func (FeedCreateRequestValidationError) Field

Field function returns field value.

func (FeedCreateRequestValidationError) Key

Key function returns key value.

func (FeedCreateRequestValidationError) Reason

Reason function returns reason value.

type FeedCreateResponse

type FeedCreateResponse struct {
	Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedCreateResponse) Descriptor deprecated

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

Deprecated: Use FeedCreateResponse.ProtoReflect.Descriptor instead.

func (*FeedCreateResponse) GetFeed

func (x *FeedCreateResponse) GetFeed() *Feed

func (*FeedCreateResponse) ProtoMessage

func (*FeedCreateResponse) ProtoMessage()

func (*FeedCreateResponse) ProtoReflect

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

func (*FeedCreateResponse) Reset

func (x *FeedCreateResponse) Reset()

func (*FeedCreateResponse) String

func (x *FeedCreateResponse) String() string

func (*FeedCreateResponse) Validate

func (m *FeedCreateResponse) Validate() error

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

func (m *FeedCreateResponse) ValidateAll() error

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

type FeedCreateResponseMultiError

type FeedCreateResponseMultiError []error

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

func (FeedCreateResponseMultiError) AllErrors

func (m FeedCreateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedCreateResponseMultiError) Error

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

type FeedCreateResponseValidationError

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

FeedCreateResponseValidationError is the validation error returned by FeedCreateResponse.Validate if the designated constraints aren't met.

func (FeedCreateResponseValidationError) Cause

Cause function returns cause value.

func (FeedCreateResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedCreateResponseValidationError) ErrorName

ErrorName returns error name.

func (FeedCreateResponseValidationError) Field

Field function returns field value.

func (FeedCreateResponseValidationError) Key

Key function returns key value.

func (FeedCreateResponseValidationError) Reason

Reason function returns reason value.

type FeedDeleteRequest

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

func (*FeedDeleteRequest) Descriptor deprecated

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

Deprecated: Use FeedDeleteRequest.ProtoReflect.Descriptor instead.

func (*FeedDeleteRequest) GetId

func (x *FeedDeleteRequest) GetId() uint64

func (*FeedDeleteRequest) ProtoMessage

func (*FeedDeleteRequest) ProtoMessage()

func (*FeedDeleteRequest) ProtoReflect

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

func (*FeedDeleteRequest) Reset

func (x *FeedDeleteRequest) Reset()

func (*FeedDeleteRequest) String

func (x *FeedDeleteRequest) String() string

func (*FeedDeleteRequest) Validate

func (m *FeedDeleteRequest) Validate() error

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

func (m *FeedDeleteRequest) ValidateAll() error

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

type FeedDeleteRequestMultiError

type FeedDeleteRequestMultiError []error

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

func (FeedDeleteRequestMultiError) AllErrors

func (m FeedDeleteRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedDeleteRequestMultiError) Error

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

type FeedDeleteRequestValidationError

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

FeedDeleteRequestValidationError is the validation error returned by FeedDeleteRequest.Validate if the designated constraints aren't met.

func (FeedDeleteRequestValidationError) Cause

Cause function returns cause value.

func (FeedDeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedDeleteRequestValidationError) ErrorName

ErrorName returns error name.

func (FeedDeleteRequestValidationError) Field

Field function returns field value.

func (FeedDeleteRequestValidationError) Key

Key function returns key value.

func (FeedDeleteRequestValidationError) Reason

Reason function returns reason value.

type FeedDeleteResponse

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

func (*FeedDeleteResponse) Descriptor deprecated

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

Deprecated: Use FeedDeleteResponse.ProtoReflect.Descriptor instead.

func (*FeedDeleteResponse) ProtoMessage

func (*FeedDeleteResponse) ProtoMessage()

func (*FeedDeleteResponse) ProtoReflect

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

func (*FeedDeleteResponse) Reset

func (x *FeedDeleteResponse) Reset()

func (*FeedDeleteResponse) String

func (x *FeedDeleteResponse) String() string

func (*FeedDeleteResponse) Validate

func (m *FeedDeleteResponse) Validate() error

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

func (m *FeedDeleteResponse) ValidateAll() error

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

type FeedDeleteResponseMultiError

type FeedDeleteResponseMultiError []error

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

func (FeedDeleteResponseMultiError) AllErrors

func (m FeedDeleteResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedDeleteResponseMultiError) Error

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

type FeedDeleteResponseValidationError

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

FeedDeleteResponseValidationError is the validation error returned by FeedDeleteResponse.Validate if the designated constraints aren't met.

func (FeedDeleteResponseValidationError) Cause

Cause function returns cause value.

func (FeedDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (FeedDeleteResponseValidationError) Field

Field function returns field value.

func (FeedDeleteResponseValidationError) Key

Key function returns key value.

func (FeedDeleteResponseValidationError) Reason

Reason function returns reason value.

type FeedEditRequest

type FeedEditRequest struct {
	Id       uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type     FeedType `protobuf:"varint,2,opt,name=type,proto3,enum=feed.FeedType" json:"type,omitempty"`
	Content  string   `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Resource []string `protobuf:"bytes,4,rep,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedEditRequest) Descriptor deprecated

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

Deprecated: Use FeedEditRequest.ProtoReflect.Descriptor instead.

func (*FeedEditRequest) GetContent

func (x *FeedEditRequest) GetContent() string

func (*FeedEditRequest) GetId

func (x *FeedEditRequest) GetId() uint64

func (*FeedEditRequest) GetResource

func (x *FeedEditRequest) GetResource() []string

func (*FeedEditRequest) GetType

func (x *FeedEditRequest) GetType() FeedType

func (*FeedEditRequest) ProtoMessage

func (*FeedEditRequest) ProtoMessage()

func (*FeedEditRequest) ProtoReflect

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

func (*FeedEditRequest) Reset

func (x *FeedEditRequest) Reset()

func (*FeedEditRequest) String

func (x *FeedEditRequest) String() string

func (*FeedEditRequest) Validate

func (m *FeedEditRequest) Validate() error

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

func (m *FeedEditRequest) ValidateAll() error

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

type FeedEditRequestMultiError

type FeedEditRequestMultiError []error

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

func (FeedEditRequestMultiError) AllErrors

func (m FeedEditRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedEditRequestMultiError) Error

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

type FeedEditRequestValidationError

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

FeedEditRequestValidationError is the validation error returned by FeedEditRequest.Validate if the designated constraints aren't met.

func (FeedEditRequestValidationError) Cause

Cause function returns cause value.

func (FeedEditRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedEditRequestValidationError) ErrorName

func (e FeedEditRequestValidationError) ErrorName() string

ErrorName returns error name.

func (FeedEditRequestValidationError) Field

Field function returns field value.

func (FeedEditRequestValidationError) Key

Key function returns key value.

func (FeedEditRequestValidationError) Reason

Reason function returns reason value.

type FeedEditResponse

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

func (*FeedEditResponse) Descriptor deprecated

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

Deprecated: Use FeedEditResponse.ProtoReflect.Descriptor instead.

func (*FeedEditResponse) GetId

func (x *FeedEditResponse) GetId() uint64

func (*FeedEditResponse) ProtoMessage

func (*FeedEditResponse) ProtoMessage()

func (*FeedEditResponse) ProtoReflect

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

func (*FeedEditResponse) Reset

func (x *FeedEditResponse) Reset()

func (*FeedEditResponse) String

func (x *FeedEditResponse) String() string

func (*FeedEditResponse) Validate

func (m *FeedEditResponse) Validate() error

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

func (m *FeedEditResponse) ValidateAll() error

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

type FeedEditResponseMultiError

type FeedEditResponseMultiError []error

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

func (FeedEditResponseMultiError) AllErrors

func (m FeedEditResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedEditResponseMultiError) Error

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

type FeedEditResponseValidationError

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

FeedEditResponseValidationError is the validation error returned by FeedEditResponse.Validate if the designated constraints aren't met.

func (FeedEditResponseValidationError) Cause

Cause function returns cause value.

func (FeedEditResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedEditResponseValidationError) ErrorName

ErrorName returns error name.

func (FeedEditResponseValidationError) Field

Field function returns field value.

func (FeedEditResponseValidationError) Key

Key function returns key value.

func (FeedEditResponseValidationError) Reason

Reason function returns reason value.

type FeedFollowRequest

type FeedFollowRequest struct {
	Num uint64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedFollowRequest) Descriptor deprecated

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

Deprecated: Use FeedFollowRequest.ProtoReflect.Descriptor instead.

func (*FeedFollowRequest) GetNum

func (x *FeedFollowRequest) GetNum() uint64

func (*FeedFollowRequest) ProtoMessage

func (*FeedFollowRequest) ProtoMessage()

func (*FeedFollowRequest) ProtoReflect

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

func (*FeedFollowRequest) Reset

func (x *FeedFollowRequest) Reset()

func (*FeedFollowRequest) String

func (x *FeedFollowRequest) String() string

func (*FeedFollowRequest) Validate

func (m *FeedFollowRequest) Validate() error

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

func (m *FeedFollowRequest) ValidateAll() error

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

type FeedFollowRequestMultiError

type FeedFollowRequestMultiError []error

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

func (FeedFollowRequestMultiError) AllErrors

func (m FeedFollowRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedFollowRequestMultiError) Error

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

type FeedFollowRequestValidationError

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

FeedFollowRequestValidationError is the validation error returned by FeedFollowRequest.Validate if the designated constraints aren't met.

func (FeedFollowRequestValidationError) Cause

Cause function returns cause value.

func (FeedFollowRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedFollowRequestValidationError) ErrorName

ErrorName returns error name.

func (FeedFollowRequestValidationError) Field

Field function returns field value.

func (FeedFollowRequestValidationError) Key

Key function returns key value.

func (FeedFollowRequestValidationError) Reason

Reason function returns reason value.

type FeedFollowResponse

type FeedFollowResponse struct {
	Pager *Pager  `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
	Feed  []*Feed `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedFollowResponse) Descriptor deprecated

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

Deprecated: Use FeedFollowResponse.ProtoReflect.Descriptor instead.

func (*FeedFollowResponse) GetFeed

func (x *FeedFollowResponse) GetFeed() []*Feed

func (*FeedFollowResponse) GetPager

func (x *FeedFollowResponse) GetPager() *Pager

func (*FeedFollowResponse) ProtoMessage

func (*FeedFollowResponse) ProtoMessage()

func (*FeedFollowResponse) ProtoReflect

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

func (*FeedFollowResponse) Reset

func (x *FeedFollowResponse) Reset()

func (*FeedFollowResponse) String

func (x *FeedFollowResponse) String() string

func (*FeedFollowResponse) Validate

func (m *FeedFollowResponse) Validate() error

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

func (m *FeedFollowResponse) ValidateAll() error

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

type FeedFollowResponseMultiError

type FeedFollowResponseMultiError []error

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

func (FeedFollowResponseMultiError) AllErrors

func (m FeedFollowResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedFollowResponseMultiError) Error

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

type FeedFollowResponseValidationError

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

FeedFollowResponseValidationError is the validation error returned by FeedFollowResponse.Validate if the designated constraints aren't met.

func (FeedFollowResponseValidationError) Cause

Cause function returns cause value.

func (FeedFollowResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedFollowResponseValidationError) ErrorName

ErrorName returns error name.

func (FeedFollowResponseValidationError) Field

Field function returns field value.

func (FeedFollowResponseValidationError) Key

Key function returns key value.

func (FeedFollowResponseValidationError) Reason

Reason function returns reason value.

type FeedGetRequest

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

func (*FeedGetRequest) Descriptor deprecated

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

Deprecated: Use FeedGetRequest.ProtoReflect.Descriptor instead.

func (*FeedGetRequest) GetId

func (x *FeedGetRequest) GetId() uint64

func (*FeedGetRequest) ProtoMessage

func (*FeedGetRequest) ProtoMessage()

func (*FeedGetRequest) ProtoReflect

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

func (*FeedGetRequest) Reset

func (x *FeedGetRequest) Reset()

func (*FeedGetRequest) String

func (x *FeedGetRequest) String() string

func (*FeedGetRequest) Validate

func (m *FeedGetRequest) Validate() error

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

func (m *FeedGetRequest) ValidateAll() error

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

type FeedGetRequestMultiError

type FeedGetRequestMultiError []error

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

func (FeedGetRequestMultiError) AllErrors

func (m FeedGetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedGetRequestMultiError) Error

func (m FeedGetRequestMultiError) Error() string

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

type FeedGetRequestValidationError

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

FeedGetRequestValidationError is the validation error returned by FeedGetRequest.Validate if the designated constraints aren't met.

func (FeedGetRequestValidationError) Cause

Cause function returns cause value.

func (FeedGetRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedGetRequestValidationError) ErrorName

func (e FeedGetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (FeedGetRequestValidationError) Field

Field function returns field value.

func (FeedGetRequestValidationError) Key

Key function returns key value.

func (FeedGetRequestValidationError) Reason

Reason function returns reason value.

type FeedGetResponse

type FeedGetResponse struct {
	Feed *Feed `protobuf:"bytes,1,opt,name=feed,proto3" json:"feed,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedGetResponse) Descriptor deprecated

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

Deprecated: Use FeedGetResponse.ProtoReflect.Descriptor instead.

func (*FeedGetResponse) GetFeed

func (x *FeedGetResponse) GetFeed() *Feed

func (*FeedGetResponse) ProtoMessage

func (*FeedGetResponse) ProtoMessage()

func (*FeedGetResponse) ProtoReflect

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

func (*FeedGetResponse) Reset

func (x *FeedGetResponse) Reset()

func (*FeedGetResponse) String

func (x *FeedGetResponse) String() string

func (*FeedGetResponse) Validate

func (m *FeedGetResponse) Validate() error

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

func (m *FeedGetResponse) ValidateAll() error

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

type FeedGetResponseMultiError

type FeedGetResponseMultiError []error

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

func (FeedGetResponseMultiError) AllErrors

func (m FeedGetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedGetResponseMultiError) Error

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

type FeedGetResponseValidationError

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

FeedGetResponseValidationError is the validation error returned by FeedGetResponse.Validate if the designated constraints aren't met.

func (FeedGetResponseValidationError) Cause

Cause function returns cause value.

func (FeedGetResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedGetResponseValidationError) ErrorName

func (e FeedGetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (FeedGetResponseValidationError) Field

Field function returns field value.

func (FeedGetResponseValidationError) Key

Key function returns key value.

func (FeedGetResponseValidationError) Reason

Reason function returns reason value.

type FeedImage

type FeedImage struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FeedId    uint64                 `protobuf:"varint,2,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"`
	ImgUrl    string                 `protobuf:"bytes,3,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedImage) Descriptor deprecated

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

Deprecated: Use FeedImage.ProtoReflect.Descriptor instead.

func (*FeedImage) GetCreatedAt

func (x *FeedImage) GetCreatedAt() *timestamppb.Timestamp

func (*FeedImage) GetDeletedAt

func (x *FeedImage) GetDeletedAt() *timestamppb.Timestamp

func (*FeedImage) GetFeedId

func (x *FeedImage) GetFeedId() uint64

func (*FeedImage) GetId

func (x *FeedImage) GetId() uint64

func (*FeedImage) GetImgUrl

func (x *FeedImage) GetImgUrl() string

func (*FeedImage) GetUpdatedAt

func (x *FeedImage) GetUpdatedAt() *timestamppb.Timestamp

func (*FeedImage) ProtoMessage

func (*FeedImage) ProtoMessage()

func (*FeedImage) ProtoReflect

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

func (*FeedImage) Reset

func (x *FeedImage) Reset()

func (*FeedImage) String

func (x *FeedImage) String() string

func (*FeedImage) Validate

func (m *FeedImage) Validate() error

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

func (m *FeedImage) ValidateAll() error

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

type FeedImageMultiError

type FeedImageMultiError []error

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

func (FeedImageMultiError) AllErrors

func (m FeedImageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedImageMultiError) Error

func (m FeedImageMultiError) Error() string

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

type FeedImageValidationError

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

FeedImageValidationError is the validation error returned by FeedImage.Validate if the designated constraints aren't met.

func (FeedImageValidationError) Cause

func (e FeedImageValidationError) Cause() error

Cause function returns cause value.

func (FeedImageValidationError) Error

func (e FeedImageValidationError) Error() string

Error satisfies the builtin error interface

func (FeedImageValidationError) ErrorName

func (e FeedImageValidationError) ErrorName() string

ErrorName returns error name.

func (FeedImageValidationError) Field

func (e FeedImageValidationError) Field() string

Field function returns field value.

func (FeedImageValidationError) Key

Key function returns key value.

func (FeedImageValidationError) Reason

func (e FeedImageValidationError) Reason() string

Reason function returns reason value.

type FeedLike

type FeedLike struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FeedId    uint64                 `protobuf:"varint,2,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"`
	UserId    uint64                 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedLike) Descriptor deprecated

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

Deprecated: Use FeedLike.ProtoReflect.Descriptor instead.

func (*FeedLike) GetCreatedAt

func (x *FeedLike) GetCreatedAt() *timestamppb.Timestamp

func (*FeedLike) GetDeletedAt

func (x *FeedLike) GetDeletedAt() *timestamppb.Timestamp

func (*FeedLike) GetFeedId

func (x *FeedLike) GetFeedId() uint64

func (*FeedLike) GetId

func (x *FeedLike) GetId() uint64

func (*FeedLike) GetUpdatedAt

func (x *FeedLike) GetUpdatedAt() *timestamppb.Timestamp

func (*FeedLike) GetUserId

func (x *FeedLike) GetUserId() uint64

func (*FeedLike) ProtoMessage

func (*FeedLike) ProtoMessage()

func (*FeedLike) ProtoReflect

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

func (*FeedLike) Reset

func (x *FeedLike) Reset()

func (*FeedLike) String

func (x *FeedLike) String() string

func (*FeedLike) Validate

func (m *FeedLike) Validate() error

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

func (m *FeedLike) ValidateAll() error

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

type FeedLikeMultiError

type FeedLikeMultiError []error

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

func (FeedLikeMultiError) AllErrors

func (m FeedLikeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedLikeMultiError) Error

func (m FeedLikeMultiError) Error() string

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

type FeedLikeRequest

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

func (*FeedLikeRequest) Descriptor deprecated

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

Deprecated: Use FeedLikeRequest.ProtoReflect.Descriptor instead.

func (*FeedLikeRequest) GetId

func (x *FeedLikeRequest) GetId() uint64

func (*FeedLikeRequest) ProtoMessage

func (*FeedLikeRequest) ProtoMessage()

func (*FeedLikeRequest) ProtoReflect

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

func (*FeedLikeRequest) Reset

func (x *FeedLikeRequest) Reset()

func (*FeedLikeRequest) String

func (x *FeedLikeRequest) String() string

func (*FeedLikeRequest) Validate

func (m *FeedLikeRequest) Validate() error

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

func (m *FeedLikeRequest) ValidateAll() error

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

type FeedLikeRequestMultiError

type FeedLikeRequestMultiError []error

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

func (FeedLikeRequestMultiError) AllErrors

func (m FeedLikeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedLikeRequestMultiError) Error

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

type FeedLikeRequestValidationError

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

FeedLikeRequestValidationError is the validation error returned by FeedLikeRequest.Validate if the designated constraints aren't met.

func (FeedLikeRequestValidationError) Cause

Cause function returns cause value.

func (FeedLikeRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedLikeRequestValidationError) ErrorName

func (e FeedLikeRequestValidationError) ErrorName() string

ErrorName returns error name.

func (FeedLikeRequestValidationError) Field

Field function returns field value.

func (FeedLikeRequestValidationError) Key

Key function returns key value.

func (FeedLikeRequestValidationError) Reason

Reason function returns reason value.

type FeedLikeResponse

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

func (*FeedLikeResponse) Descriptor deprecated

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

Deprecated: Use FeedLikeResponse.ProtoReflect.Descriptor instead.

func (*FeedLikeResponse) ProtoMessage

func (*FeedLikeResponse) ProtoMessage()

func (*FeedLikeResponse) ProtoReflect

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

func (*FeedLikeResponse) Reset

func (x *FeedLikeResponse) Reset()

func (*FeedLikeResponse) String

func (x *FeedLikeResponse) String() string

func (*FeedLikeResponse) Validate

func (m *FeedLikeResponse) Validate() error

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

func (m *FeedLikeResponse) ValidateAll() error

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

type FeedLikeResponseMultiError

type FeedLikeResponseMultiError []error

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

func (FeedLikeResponseMultiError) AllErrors

func (m FeedLikeResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedLikeResponseMultiError) Error

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

type FeedLikeResponseValidationError

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

FeedLikeResponseValidationError is the validation error returned by FeedLikeResponse.Validate if the designated constraints aren't met.

func (FeedLikeResponseValidationError) Cause

Cause function returns cause value.

func (FeedLikeResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedLikeResponseValidationError) ErrorName

ErrorName returns error name.

func (FeedLikeResponseValidationError) Field

Field function returns field value.

func (FeedLikeResponseValidationError) Key

Key function returns key value.

func (FeedLikeResponseValidationError) Reason

Reason function returns reason value.

type FeedLikeValidationError

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

FeedLikeValidationError is the validation error returned by FeedLike.Validate if the designated constraints aren't met.

func (FeedLikeValidationError) Cause

func (e FeedLikeValidationError) Cause() error

Cause function returns cause value.

func (FeedLikeValidationError) Error

func (e FeedLikeValidationError) Error() string

Error satisfies the builtin error interface

func (FeedLikeValidationError) ErrorName

func (e FeedLikeValidationError) ErrorName() string

ErrorName returns error name.

func (FeedLikeValidationError) Field

func (e FeedLikeValidationError) Field() string

Field function returns field value.

func (FeedLikeValidationError) Key

func (e FeedLikeValidationError) Key() bool

Key function returns key value.

func (FeedLikeValidationError) Reason

func (e FeedLikeValidationError) Reason() string

Reason function returns reason value.

type FeedMultiError

type FeedMultiError []error

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

func (FeedMultiError) AllErrors

func (m FeedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedMultiError) Error

func (m FeedMultiError) Error() string

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

type FeedOwnRequest

type FeedOwnRequest struct {
	Keyword      string       `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	ReviewStatus ReviewStatus `protobuf:"varint,2,opt,name=review_status,json=reviewStatus,proto3,enum=common.ReviewStatus" json:"review_status,omitempty"`
	LastId       uint64       `protobuf:"varint,3,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"`
	Num          uint64       `protobuf:"varint,4,opt,name=num,proto3" json:"num,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedOwnRequest) Descriptor deprecated

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

Deprecated: Use FeedOwnRequest.ProtoReflect.Descriptor instead.

func (*FeedOwnRequest) GetKeyword

func (x *FeedOwnRequest) GetKeyword() string

func (*FeedOwnRequest) GetLastId

func (x *FeedOwnRequest) GetLastId() uint64

func (*FeedOwnRequest) GetNum

func (x *FeedOwnRequest) GetNum() uint64

func (*FeedOwnRequest) GetReviewStatus

func (x *FeedOwnRequest) GetReviewStatus() ReviewStatus

func (*FeedOwnRequest) ProtoMessage

func (*FeedOwnRequest) ProtoMessage()

func (*FeedOwnRequest) ProtoReflect

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

func (*FeedOwnRequest) Reset

func (x *FeedOwnRequest) Reset()

func (*FeedOwnRequest) String

func (x *FeedOwnRequest) String() string

func (*FeedOwnRequest) Validate

func (m *FeedOwnRequest) Validate() error

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

func (m *FeedOwnRequest) ValidateAll() error

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

type FeedOwnRequestMultiError

type FeedOwnRequestMultiError []error

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

func (FeedOwnRequestMultiError) AllErrors

func (m FeedOwnRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedOwnRequestMultiError) Error

func (m FeedOwnRequestMultiError) Error() string

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

type FeedOwnRequestValidationError

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

FeedOwnRequestValidationError is the validation error returned by FeedOwnRequest.Validate if the designated constraints aren't met.

func (FeedOwnRequestValidationError) Cause

Cause function returns cause value.

func (FeedOwnRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedOwnRequestValidationError) ErrorName

func (e FeedOwnRequestValidationError) ErrorName() string

ErrorName returns error name.

func (FeedOwnRequestValidationError) Field

Field function returns field value.

func (FeedOwnRequestValidationError) Key

Key function returns key value.

func (FeedOwnRequestValidationError) Reason

Reason function returns reason value.

type FeedOwnResponse

type FeedOwnResponse struct {
	Pager *Pager  `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
	Feed  []*Feed `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedOwnResponse) Descriptor deprecated

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

Deprecated: Use FeedOwnResponse.ProtoReflect.Descriptor instead.

func (*FeedOwnResponse) GetFeed

func (x *FeedOwnResponse) GetFeed() []*Feed

func (*FeedOwnResponse) GetPager

func (x *FeedOwnResponse) GetPager() *Pager

func (*FeedOwnResponse) ProtoMessage

func (*FeedOwnResponse) ProtoMessage()

func (*FeedOwnResponse) ProtoReflect

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

func (*FeedOwnResponse) Reset

func (x *FeedOwnResponse) Reset()

func (*FeedOwnResponse) String

func (x *FeedOwnResponse) String() string

func (*FeedOwnResponse) Validate

func (m *FeedOwnResponse) Validate() error

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

func (m *FeedOwnResponse) ValidateAll() error

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

type FeedOwnResponseMultiError

type FeedOwnResponseMultiError []error

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

func (FeedOwnResponseMultiError) AllErrors

func (m FeedOwnResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedOwnResponseMultiError) Error

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

type FeedOwnResponseValidationError

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

FeedOwnResponseValidationError is the validation error returned by FeedOwnResponse.Validate if the designated constraints aren't met.

func (FeedOwnResponseValidationError) Cause

Cause function returns cause value.

func (FeedOwnResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedOwnResponseValidationError) ErrorName

func (e FeedOwnResponseValidationError) ErrorName() string

ErrorName returns error name.

func (FeedOwnResponseValidationError) Field

Field function returns field value.

func (FeedOwnResponseValidationError) Key

Key function returns key value.

func (FeedOwnResponseValidationError) Reason

Reason function returns reason value.

type FeedQueryRequest

type FeedQueryRequest struct {
	Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	LastId  uint64 `protobuf:"varint,2,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"`
	Num     uint64 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedQueryRequest) Descriptor deprecated

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

Deprecated: Use FeedQueryRequest.ProtoReflect.Descriptor instead.

func (*FeedQueryRequest) GetKeyword

func (x *FeedQueryRequest) GetKeyword() string

func (*FeedQueryRequest) GetLastId

func (x *FeedQueryRequest) GetLastId() uint64

func (*FeedQueryRequest) GetNum

func (x *FeedQueryRequest) GetNum() uint64

func (*FeedQueryRequest) ProtoMessage

func (*FeedQueryRequest) ProtoMessage()

func (*FeedQueryRequest) ProtoReflect

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

func (*FeedQueryRequest) Reset

func (x *FeedQueryRequest) Reset()

func (*FeedQueryRequest) String

func (x *FeedQueryRequest) String() string

func (*FeedQueryRequest) Validate

func (m *FeedQueryRequest) Validate() error

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

func (m *FeedQueryRequest) ValidateAll() error

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

type FeedQueryRequestMultiError

type FeedQueryRequestMultiError []error

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

func (FeedQueryRequestMultiError) AllErrors

func (m FeedQueryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedQueryRequestMultiError) Error

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

type FeedQueryRequestValidationError

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

FeedQueryRequestValidationError is the validation error returned by FeedQueryRequest.Validate if the designated constraints aren't met.

func (FeedQueryRequestValidationError) Cause

Cause function returns cause value.

func (FeedQueryRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedQueryRequestValidationError) ErrorName

ErrorName returns error name.

func (FeedQueryRequestValidationError) Field

Field function returns field value.

func (FeedQueryRequestValidationError) Key

Key function returns key value.

func (FeedQueryRequestValidationError) Reason

Reason function returns reason value.

type FeedQueryResponse

type FeedQueryResponse struct {
	Pager *Pager  `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
	Feed  []*Feed `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedQueryResponse) Descriptor deprecated

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

Deprecated: Use FeedQueryResponse.ProtoReflect.Descriptor instead.

func (*FeedQueryResponse) GetFeed

func (x *FeedQueryResponse) GetFeed() []*Feed

func (*FeedQueryResponse) GetPager

func (x *FeedQueryResponse) GetPager() *Pager

func (*FeedQueryResponse) ProtoMessage

func (*FeedQueryResponse) ProtoMessage()

func (*FeedQueryResponse) ProtoReflect

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

func (*FeedQueryResponse) Reset

func (x *FeedQueryResponse) Reset()

func (*FeedQueryResponse) String

func (x *FeedQueryResponse) String() string

func (*FeedQueryResponse) Validate

func (m *FeedQueryResponse) Validate() error

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

func (m *FeedQueryResponse) ValidateAll() error

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

type FeedQueryResponseMultiError

type FeedQueryResponseMultiError []error

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

func (FeedQueryResponseMultiError) AllErrors

func (m FeedQueryResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedQueryResponseMultiError) Error

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

type FeedQueryResponseValidationError

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

FeedQueryResponseValidationError is the validation error returned by FeedQueryResponse.Validate if the designated constraints aren't met.

func (FeedQueryResponseValidationError) Cause

Cause function returns cause value.

func (FeedQueryResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedQueryResponseValidationError) ErrorName

ErrorName returns error name.

func (FeedQueryResponseValidationError) Field

Field function returns field value.

func (FeedQueryResponseValidationError) Key

Key function returns key value.

func (FeedQueryResponseValidationError) Reason

Reason function returns reason value.

type FeedRecommendRequest

type FeedRecommendRequest struct {
	Num uint64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedRecommendRequest) Descriptor deprecated

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

Deprecated: Use FeedRecommendRequest.ProtoReflect.Descriptor instead.

func (*FeedRecommendRequest) GetNum

func (x *FeedRecommendRequest) GetNum() uint64

func (*FeedRecommendRequest) ProtoMessage

func (*FeedRecommendRequest) ProtoMessage()

func (*FeedRecommendRequest) ProtoReflect

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

func (*FeedRecommendRequest) Reset

func (x *FeedRecommendRequest) Reset()

func (*FeedRecommendRequest) String

func (x *FeedRecommendRequest) String() string

func (*FeedRecommendRequest) Validate

func (m *FeedRecommendRequest) Validate() error

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

func (m *FeedRecommendRequest) ValidateAll() error

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

type FeedRecommendRequestMultiError

type FeedRecommendRequestMultiError []error

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

func (FeedRecommendRequestMultiError) AllErrors

func (m FeedRecommendRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedRecommendRequestMultiError) Error

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

type FeedRecommendRequestValidationError

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

FeedRecommendRequestValidationError is the validation error returned by FeedRecommendRequest.Validate if the designated constraints aren't met.

func (FeedRecommendRequestValidationError) Cause

Cause function returns cause value.

func (FeedRecommendRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedRecommendRequestValidationError) ErrorName

ErrorName returns error name.

func (FeedRecommendRequestValidationError) Field

Field function returns field value.

func (FeedRecommendRequestValidationError) Key

Key function returns key value.

func (FeedRecommendRequestValidationError) Reason

Reason function returns reason value.

type FeedRecommendResponse

type FeedRecommendResponse struct {
	Pager *Pager  `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
	Feed  []*Feed `protobuf:"bytes,2,rep,name=feed,proto3" json:"feed,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedRecommendResponse) Descriptor deprecated

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

Deprecated: Use FeedRecommendResponse.ProtoReflect.Descriptor instead.

func (*FeedRecommendResponse) GetFeed

func (x *FeedRecommendResponse) GetFeed() []*Feed

func (*FeedRecommendResponse) GetPager

func (x *FeedRecommendResponse) GetPager() *Pager

func (*FeedRecommendResponse) ProtoMessage

func (*FeedRecommendResponse) ProtoMessage()

func (*FeedRecommendResponse) ProtoReflect

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

func (*FeedRecommendResponse) Reset

func (x *FeedRecommendResponse) Reset()

func (*FeedRecommendResponse) String

func (x *FeedRecommendResponse) String() string

func (*FeedRecommendResponse) Validate

func (m *FeedRecommendResponse) Validate() error

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

func (m *FeedRecommendResponse) ValidateAll() error

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

type FeedRecommendResponseMultiError

type FeedRecommendResponseMultiError []error

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

func (FeedRecommendResponseMultiError) AllErrors

func (m FeedRecommendResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedRecommendResponseMultiError) Error

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

type FeedRecommendResponseValidationError

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

FeedRecommendResponseValidationError is the validation error returned by FeedRecommendResponse.Validate if the designated constraints aren't met.

func (FeedRecommendResponseValidationError) Cause

Cause function returns cause value.

func (FeedRecommendResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedRecommendResponseValidationError) ErrorName

ErrorName returns error name.

func (FeedRecommendResponseValidationError) Field

Field function returns field value.

func (FeedRecommendResponseValidationError) Key

Key function returns key value.

func (FeedRecommendResponseValidationError) Reason

Reason function returns reason value.

type FeedServiceClient

type FeedServiceClient interface {
	FeedCreate(ctx context.Context, in *FeedCreateRequest, opts ...grpc.CallOption) (*FeedCreateResponse, error)
	FeedEdit(ctx context.Context, in *FeedEditRequest, opts ...grpc.CallOption) (*FeedEditResponse, error)
	FeedLike(ctx context.Context, in *FeedLikeRequest, opts ...grpc.CallOption) (*FeedLikeResponse, error)
	FeedUnLike(ctx context.Context, in *FeedUnLikeRequest, opts ...grpc.CallOption) (*FeedUnLikeResponse, error)
	FeedGet(ctx context.Context, in *FeedGetRequest, opts ...grpc.CallOption) (*FeedGetResponse, error)
	FeedDelete(ctx context.Context, in *FeedDeleteRequest, opts ...grpc.CallOption) (*FeedDeleteResponse, error)
	FeedOwn(ctx context.Context, in *FeedOwnRequest, opts ...grpc.CallOption) (*FeedOwnResponse, error)
	FeedQuery(ctx context.Context, in *FeedQueryRequest, opts ...grpc.CallOption) (*FeedQueryResponse, error)
	FeedFollow(ctx context.Context, in *FeedFollowRequest, opts ...grpc.CallOption) (*FeedFollowResponse, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}

FeedServiceClient is the client API for FeedService 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 FeedServiceServer

FeedServiceServer is the server API for FeedService service. All implementations must embed UnimplementedFeedServiceServer for forward compatibility

type FeedType

type FeedType int32
const (
	FeedType_Txt   FeedType = 0 //文本
	FeedType_Image FeedType = 1 //图片
	FeedType_Video FeedType = 2 //视频
)

func (FeedType) Descriptor

func (FeedType) Descriptor() protoreflect.EnumDescriptor

func (FeedType) Enum

func (x FeedType) Enum() *FeedType

func (FeedType) EnumDescriptor deprecated

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

Deprecated: Use FeedType.Descriptor instead.

func (FeedType) Number

func (x FeedType) Number() protoreflect.EnumNumber

func (FeedType) String

func (x FeedType) String() string

func (FeedType) Type

type FeedUnLikeRequest

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

func (*FeedUnLikeRequest) Descriptor deprecated

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

Deprecated: Use FeedUnLikeRequest.ProtoReflect.Descriptor instead.

func (*FeedUnLikeRequest) GetId

func (x *FeedUnLikeRequest) GetId() uint64

func (*FeedUnLikeRequest) ProtoMessage

func (*FeedUnLikeRequest) ProtoMessage()

func (*FeedUnLikeRequest) ProtoReflect

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

func (*FeedUnLikeRequest) Reset

func (x *FeedUnLikeRequest) Reset()

func (*FeedUnLikeRequest) String

func (x *FeedUnLikeRequest) String() string

func (*FeedUnLikeRequest) Validate

func (m *FeedUnLikeRequest) Validate() error

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

func (m *FeedUnLikeRequest) ValidateAll() error

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

type FeedUnLikeRequestMultiError

type FeedUnLikeRequestMultiError []error

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

func (FeedUnLikeRequestMultiError) AllErrors

func (m FeedUnLikeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedUnLikeRequestMultiError) Error

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

type FeedUnLikeRequestValidationError

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

FeedUnLikeRequestValidationError is the validation error returned by FeedUnLikeRequest.Validate if the designated constraints aren't met.

func (FeedUnLikeRequestValidationError) Cause

Cause function returns cause value.

func (FeedUnLikeRequestValidationError) Error

Error satisfies the builtin error interface

func (FeedUnLikeRequestValidationError) ErrorName

ErrorName returns error name.

func (FeedUnLikeRequestValidationError) Field

Field function returns field value.

func (FeedUnLikeRequestValidationError) Key

Key function returns key value.

func (FeedUnLikeRequestValidationError) Reason

Reason function returns reason value.

type FeedUnLikeResponse

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

func (*FeedUnLikeResponse) Descriptor deprecated

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

Deprecated: Use FeedUnLikeResponse.ProtoReflect.Descriptor instead.

func (*FeedUnLikeResponse) ProtoMessage

func (*FeedUnLikeResponse) ProtoMessage()

func (*FeedUnLikeResponse) ProtoReflect

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

func (*FeedUnLikeResponse) Reset

func (x *FeedUnLikeResponse) Reset()

func (*FeedUnLikeResponse) String

func (x *FeedUnLikeResponse) String() string

func (*FeedUnLikeResponse) Validate

func (m *FeedUnLikeResponse) Validate() error

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

func (m *FeedUnLikeResponse) ValidateAll() error

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

type FeedUnLikeResponseMultiError

type FeedUnLikeResponseMultiError []error

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

func (FeedUnLikeResponseMultiError) AllErrors

func (m FeedUnLikeResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedUnLikeResponseMultiError) Error

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

type FeedUnLikeResponseValidationError

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

FeedUnLikeResponseValidationError is the validation error returned by FeedUnLikeResponse.Validate if the designated constraints aren't met.

func (FeedUnLikeResponseValidationError) Cause

Cause function returns cause value.

func (FeedUnLikeResponseValidationError) Error

Error satisfies the builtin error interface

func (FeedUnLikeResponseValidationError) ErrorName

ErrorName returns error name.

func (FeedUnLikeResponseValidationError) Field

Field function returns field value.

func (FeedUnLikeResponseValidationError) Key

Key function returns key value.

func (FeedUnLikeResponseValidationError) Reason

Reason function returns reason value.

type FeedValidationError

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

FeedValidationError is the validation error returned by Feed.Validate if the designated constraints aren't met.

func (FeedValidationError) Cause

func (e FeedValidationError) Cause() error

Cause function returns cause value.

func (FeedValidationError) Error

func (e FeedValidationError) Error() string

Error satisfies the builtin error interface

func (FeedValidationError) ErrorName

func (e FeedValidationError) ErrorName() string

ErrorName returns error name.

func (FeedValidationError) Field

func (e FeedValidationError) Field() string

Field function returns field value.

func (FeedValidationError) Key

func (e FeedValidationError) Key() bool

Key function returns key value.

func (FeedValidationError) Reason

func (e FeedValidationError) Reason() string

Reason function returns reason value.

type FeedVideo

type FeedVideo struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FeedId    uint64                 `protobuf:"varint,2,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"`
	VideoUrl  string                 `protobuf:"bytes,3,opt,name=video_url,json=videoUrl,proto3" json:"video_url,omitempty"`
	CoverUrl  string                 `protobuf:"bytes,4,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"`
	Width     uint64                 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
	Height    uint64                 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
	Duration  float64                `protobuf:"fixed64,7,opt,name=duration,proto3" json:"duration,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedVideo) Descriptor deprecated

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

Deprecated: Use FeedVideo.ProtoReflect.Descriptor instead.

func (*FeedVideo) GetCoverUrl

func (x *FeedVideo) GetCoverUrl() string

func (*FeedVideo) GetCreatedAt

func (x *FeedVideo) GetCreatedAt() *timestamppb.Timestamp

func (*FeedVideo) GetDeletedAt

func (x *FeedVideo) GetDeletedAt() *timestamppb.Timestamp

func (*FeedVideo) GetDuration

func (x *FeedVideo) GetDuration() float64

func (*FeedVideo) GetFeedId

func (x *FeedVideo) GetFeedId() uint64

func (*FeedVideo) GetHeight

func (x *FeedVideo) GetHeight() uint64

func (*FeedVideo) GetId

func (x *FeedVideo) GetId() uint64

func (*FeedVideo) GetUpdatedAt

func (x *FeedVideo) GetUpdatedAt() *timestamppb.Timestamp

func (*FeedVideo) GetVideoUrl

func (x *FeedVideo) GetVideoUrl() string

func (*FeedVideo) GetWidth

func (x *FeedVideo) GetWidth() uint64

func (*FeedVideo) ProtoMessage

func (*FeedVideo) ProtoMessage()

func (*FeedVideo) ProtoReflect

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

func (*FeedVideo) Reset

func (x *FeedVideo) Reset()

func (*FeedVideo) String

func (x *FeedVideo) String() string

func (*FeedVideo) Validate

func (m *FeedVideo) Validate() error

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

func (m *FeedVideo) ValidateAll() error

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

type FeedVideoMultiError

type FeedVideoMultiError []error

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

func (FeedVideoMultiError) AllErrors

func (m FeedVideoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FeedVideoMultiError) Error

func (m FeedVideoMultiError) Error() string

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

type FeedVideoValidationError

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

FeedVideoValidationError is the validation error returned by FeedVideo.Validate if the designated constraints aren't met.

func (FeedVideoValidationError) Cause

func (e FeedVideoValidationError) Cause() error

Cause function returns cause value.

func (FeedVideoValidationError) Error

func (e FeedVideoValidationError) Error() string

Error satisfies the builtin error interface

func (FeedVideoValidationError) ErrorName

func (e FeedVideoValidationError) ErrorName() string

ErrorName returns error name.

func (FeedVideoValidationError) Field

func (e FeedVideoValidationError) Field() string

Field function returns field value.

func (FeedVideoValidationError) Key

Key function returns key value.

func (FeedVideoValidationError) Reason

func (e FeedVideoValidationError) Reason() string

Reason function returns reason value.

type FileMessage

type FileMessage struct {
	Id   uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` //大小
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`  //文件名
	Url  string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`    //链接地址
	// contains filtered or unexported fields
}

文件消息

func (*FileMessage) Descriptor deprecated

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

Deprecated: Use FileMessage.ProtoReflect.Descriptor instead.

func (*FileMessage) GetId

func (x *FileMessage) GetId() uint64

func (*FileMessage) GetName

func (x *FileMessage) GetName() string

func (*FileMessage) GetSize

func (x *FileMessage) GetSize() uint64

func (*FileMessage) GetUrl

func (x *FileMessage) GetUrl() string

func (*FileMessage) ProtoMessage

func (*FileMessage) ProtoMessage()

func (*FileMessage) ProtoReflect

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

func (*FileMessage) Reset

func (x *FileMessage) Reset()

func (*FileMessage) String

func (x *FileMessage) String() string

func (*FileMessage) Validate

func (m *FileMessage) Validate() error

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

func (m *FileMessage) ValidateAll() error

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

type FileMessageMultiError

type FileMessageMultiError []error

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

func (FileMessageMultiError) AllErrors

func (m FileMessageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileMessageMultiError) Error

func (m FileMessageMultiError) Error() string

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

type FileMessageValidationError

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

FileMessageValidationError is the validation error returned by FileMessage.Validate if the designated constraints aren't met.

func (FileMessageValidationError) Cause

Cause function returns cause value.

func (FileMessageValidationError) Error

Error satisfies the builtin error interface

func (FileMessageValidationError) ErrorName

func (e FileMessageValidationError) ErrorName() string

ErrorName returns error name.

func (FileMessageValidationError) Field

Field function returns field value.

func (FileMessageValidationError) Key

Key function returns key value.

func (FileMessageValidationError) Reason

Reason function returns reason value.

type GatewayServiceClient

type GatewayServiceClient interface {
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	UnRegister(ctx context.Context, in *UnRegisterRequest, opts ...grpc.CallOption) (*UnRegisterResponse, error)
	SendMessage(ctx context.Context, opts ...grpc.CallOption) (GatewayService_SendMessageClient, error)
	SendToAll(ctx context.Context, in *SendToAllRequest, opts ...grpc.CallOption) (*SendToAllResponse, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}

GatewayServiceClient is the client API for GatewayService 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 GatewayServiceServer

type GatewayServiceServer interface {
	Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
	UnRegister(context.Context, *UnRegisterRequest) (*UnRegisterResponse, error)
	SendMessage(GatewayService_SendMessageServer) error
	SendToAll(context.Context, *SendToAllRequest) (*SendToAllResponse, error)
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	// contains filtered or unexported methods
}

GatewayServiceServer is the server API for GatewayService service. All implementations must embed UnimplementedGatewayServiceServer for forward compatibility

type GatewayService_SendMessageClient

type GatewayService_SendMessageClient interface {
	Send(*SendMessageRequest) error
	Recv() (*SendMessageResponse, error)
	grpc.ClientStream
}

type GatewayService_SendMessageServer

type GatewayService_SendMessageServer interface {
	Send(*SendMessageResponse) error
	Recv() (*SendMessageRequest, error)
	grpc.ServerStream
}

type Gender

type Gender int32
const (
	Gender_Unknown Gender = 0 //未知
	Gender_Male    Gender = 1 //男
	Gender_Female  Gender = 2 // 女
)

func (Gender) Descriptor

func (Gender) Descriptor() protoreflect.EnumDescriptor

func (Gender) Enum

func (x Gender) Enum() *Gender

func (Gender) EnumDescriptor deprecated

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

Deprecated: Use Gender.Descriptor instead.

func (Gender) Number

func (x Gender) Number() protoreflect.EnumNumber

func (Gender) String

func (x Gender) String() string

func (Gender) Type

func (Gender) Type() protoreflect.EnumType

type GetGroupRequest

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

func (*GetGroupRequest) Descriptor deprecated

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetId

func (x *GetGroupRequest) GetId() uint64

func (*GetGroupRequest) ProtoMessage

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect

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

func (*GetGroupRequest) Reset

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String

func (x *GetGroupRequest) String() string

func (*GetGroupRequest) Validate

func (m *GetGroupRequest) Validate() error

Validate checks the field values on GetGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetGroupRequest) ValidateAll

func (m *GetGroupRequest) ValidateAll() error

ValidateAll checks the field values on GetGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetGroupRequestMultiError, or nil if none found.

type GetGroupRequestMultiError

type GetGroupRequestMultiError []error

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

func (GetGroupRequestMultiError) AllErrors

func (m GetGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupRequestMultiError) Error

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

type GetGroupRequestValidationError

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

GetGroupRequestValidationError is the validation error returned by GetGroupRequest.Validate if the designated constraints aren't met.

func (GetGroupRequestValidationError) Cause

Cause function returns cause value.

func (GetGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (GetGroupRequestValidationError) ErrorName

func (e GetGroupRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetGroupRequestValidationError) Field

Field function returns field value.

func (GetGroupRequestValidationError) Key

Key function returns key value.

func (GetGroupRequestValidationError) Reason

Reason function returns reason value.

type GetGroupResponse

type GetGroupResponse struct {
	Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupResponse) Descriptor deprecated

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

Deprecated: Use GetGroupResponse.ProtoReflect.Descriptor instead.

func (*GetGroupResponse) GetGroup

func (x *GetGroupResponse) GetGroup() *Group

func (*GetGroupResponse) ProtoMessage

func (*GetGroupResponse) ProtoMessage()

func (*GetGroupResponse) ProtoReflect

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

func (*GetGroupResponse) Reset

func (x *GetGroupResponse) Reset()

func (*GetGroupResponse) String

func (x *GetGroupResponse) String() string

func (*GetGroupResponse) Validate

func (m *GetGroupResponse) Validate() error

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

func (m *GetGroupResponse) ValidateAll() error

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

type GetGroupResponseMultiError

type GetGroupResponseMultiError []error

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

func (GetGroupResponseMultiError) AllErrors

func (m GetGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupResponseMultiError) Error

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

type GetGroupResponseValidationError

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

GetGroupResponseValidationError is the validation error returned by GetGroupResponse.Validate if the designated constraints aren't met.

func (GetGroupResponseValidationError) Cause

Cause function returns cause value.

func (GetGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (GetGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (GetGroupResponseValidationError) Field

Field function returns field value.

func (GetGroupResponseValidationError) Key

Key function returns key value.

func (GetGroupResponseValidationError) Reason

Reason function returns reason value.

type GetGroupUserRequest

type GetGroupUserRequest struct {
	Id       uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Page     uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupUserRequest) Descriptor deprecated

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

Deprecated: Use GetGroupUserRequest.ProtoReflect.Descriptor instead.

func (*GetGroupUserRequest) GetId

func (x *GetGroupUserRequest) GetId() uint64

func (*GetGroupUserRequest) GetPage

func (x *GetGroupUserRequest) GetPage() uint64

func (*GetGroupUserRequest) GetPageSize

func (x *GetGroupUserRequest) GetPageSize() uint64

func (*GetGroupUserRequest) ProtoMessage

func (*GetGroupUserRequest) ProtoMessage()

func (*GetGroupUserRequest) ProtoReflect

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

func (*GetGroupUserRequest) Reset

func (x *GetGroupUserRequest) Reset()

func (*GetGroupUserRequest) String

func (x *GetGroupUserRequest) String() string

func (*GetGroupUserRequest) Validate

func (m *GetGroupUserRequest) Validate() error

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

func (m *GetGroupUserRequest) ValidateAll() error

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

type GetGroupUserRequestMultiError

type GetGroupUserRequestMultiError []error

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

func (GetGroupUserRequestMultiError) AllErrors

func (m GetGroupUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupUserRequestMultiError) Error

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

type GetGroupUserRequestValidationError

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

GetGroupUserRequestValidationError is the validation error returned by GetGroupUserRequest.Validate if the designated constraints aren't met.

func (GetGroupUserRequestValidationError) Cause

Cause function returns cause value.

func (GetGroupUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetGroupUserRequestValidationError) ErrorName

ErrorName returns error name.

func (GetGroupUserRequestValidationError) Field

Field function returns field value.

func (GetGroupUserRequestValidationError) Key

Key function returns key value.

func (GetGroupUserRequestValidationError) Reason

Reason function returns reason value.

type GetGroupUserResponse

type GetGroupUserResponse struct {
	Pager *Pager  `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
	User  []*User `protobuf:"bytes,2,rep,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupUserResponse) Descriptor deprecated

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

Deprecated: Use GetGroupUserResponse.ProtoReflect.Descriptor instead.

func (*GetGroupUserResponse) GetPager

func (x *GetGroupUserResponse) GetPager() *Pager

func (*GetGroupUserResponse) GetUser

func (x *GetGroupUserResponse) GetUser() []*User

func (*GetGroupUserResponse) ProtoMessage

func (*GetGroupUserResponse) ProtoMessage()

func (*GetGroupUserResponse) ProtoReflect

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

func (*GetGroupUserResponse) Reset

func (x *GetGroupUserResponse) Reset()

func (*GetGroupUserResponse) String

func (x *GetGroupUserResponse) String() string

func (*GetGroupUserResponse) Validate

func (m *GetGroupUserResponse) Validate() error

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

func (m *GetGroupUserResponse) ValidateAll() error

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

type GetGroupUserResponseMultiError

type GetGroupUserResponseMultiError []error

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

func (GetGroupUserResponseMultiError) AllErrors

func (m GetGroupUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupUserResponseMultiError) Error

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

type GetGroupUserResponseValidationError

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

GetGroupUserResponseValidationError is the validation error returned by GetGroupUserResponse.Validate if the designated constraints aren't met.

func (GetGroupUserResponseValidationError) Cause

Cause function returns cause value.

func (GetGroupUserResponseValidationError) Error

Error satisfies the builtin error interface

func (GetGroupUserResponseValidationError) ErrorName

ErrorName returns error name.

func (GetGroupUserResponseValidationError) Field

Field function returns field value.

func (GetGroupUserResponseValidationError) Key

Key function returns key value.

func (GetGroupUserResponseValidationError) Reason

Reason function returns reason value.

type Group

type Group struct {
	Id           uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Introduction string                 `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction,omitempty"`
	AvatarUrl    string                 `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Extra        string                 `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
	UserId       uint64                 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt    *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt    *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

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

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetAvatarUrl

func (x *Group) GetAvatarUrl() string

func (*Group) GetCreatedAt

func (x *Group) GetCreatedAt() *timestamppb.Timestamp

func (*Group) GetDeletedAt

func (x *Group) GetDeletedAt() *timestamppb.Timestamp

func (*Group) GetExtra

func (x *Group) GetExtra() string

func (*Group) GetId

func (x *Group) GetId() uint64

func (*Group) GetIntroduction

func (x *Group) GetIntroduction() string

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetUpdatedAt

func (x *Group) GetUpdatedAt() *timestamppb.Timestamp

func (*Group) GetUserId

func (x *Group) GetUserId() uint64

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

func (*Group) Validate

func (m *Group) Validate() error

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

func (m *Group) ValidateAll() error

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

type GroupMultiError

type GroupMultiError []error

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

func (GroupMultiError) AllErrors

func (m GroupMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupMultiError) Error

func (m GroupMultiError) Error() string

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

type GroupServiceClient

type GroupServiceClient interface {
	CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error)
	UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*UpdateGroupResponse, error)
	GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error)
	QueryGroup(ctx context.Context, in *QueryGroupRequest, opts ...grpc.CallOption) (*QueryGroupResponse, error)
	DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupResponse, error)
	JoinGroup(ctx context.Context, in *JoinGroupRequest, opts ...grpc.CallOption) (*JoinGroupResponse, error)
	QuitGroup(ctx context.Context, in *QuitGroupRequest, opts ...grpc.CallOption) (*QuitGroupResponse, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}

GroupServiceClient is the client API for GroupService 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 GroupServiceServer

GroupServiceServer is the server API for GroupService service. All implementations must embed UnimplementedGroupServiceServer for forward compatibility

type GroupValidationError

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

GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.

func (GroupValidationError) Cause

func (e GroupValidationError) Cause() error

Cause function returns cause value.

func (GroupValidationError) Error

func (e GroupValidationError) Error() string

Error satisfies the builtin error interface

func (GroupValidationError) ErrorName

func (e GroupValidationError) ErrorName() string

ErrorName returns error name.

func (GroupValidationError) Field

func (e GroupValidationError) Field() string

Field function returns field value.

func (GroupValidationError) Key

func (e GroupValidationError) Key() bool

Key function returns key value.

func (GroupValidationError) Reason

func (e GroupValidationError) Reason() string

Reason function returns reason value.

type IMAGE_FORMAT

type IMAGE_FORMAT int32

图片格式

const (
	IMAGE_FORMAT_JPG   IMAGE_FORMAT = 0
	IMAGE_FORMAT_GIF   IMAGE_FORMAT = 1
	IMAGE_FORMAT_PNG   IMAGE_FORMAT = 2
	IMAGE_FORMAT_BMP   IMAGE_FORMAT = 3
	IMAGE_FORMAT_OTHER IMAGE_FORMAT = 255
)

func (IMAGE_FORMAT) Descriptor

func (IMAGE_FORMAT) Enum

func (x IMAGE_FORMAT) Enum() *IMAGE_FORMAT

func (IMAGE_FORMAT) EnumDescriptor deprecated

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

Deprecated: Use IMAGE_FORMAT.Descriptor instead.

func (IMAGE_FORMAT) Number

func (IMAGE_FORMAT) String

func (x IMAGE_FORMAT) String() string

func (IMAGE_FORMAT) Type

type IMAGE_TYPE

type IMAGE_TYPE int32

图片类型

const (
	IMAGE_TYPE_ORIGIN    IMAGE_TYPE = 0 //原图
	IMAGE_TYPE_BIG       IMAGE_TYPE = 1 //大图
	IMAGE_TYPE_THUMBNAIL IMAGE_TYPE = 2 // 缩略图
)

func (IMAGE_TYPE) Descriptor

func (IMAGE_TYPE) Descriptor() protoreflect.EnumDescriptor

func (IMAGE_TYPE) Enum

func (x IMAGE_TYPE) Enum() *IMAGE_TYPE

func (IMAGE_TYPE) EnumDescriptor deprecated

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

Deprecated: Use IMAGE_TYPE.Descriptor instead.

func (IMAGE_TYPE) Number

func (x IMAGE_TYPE) Number() protoreflect.EnumNumber

func (IMAGE_TYPE) String

func (x IMAGE_TYPE) String() string

func (IMAGE_TYPE) Type

type ImageInfo

type ImageInfo struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type   string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Url    string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Width  uint64 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"`
	Height uint64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageInfo) Descriptor deprecated

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

Deprecated: Use ImageInfo.ProtoReflect.Descriptor instead.

func (*ImageInfo) GetHeight

func (x *ImageInfo) GetHeight() uint64

func (*ImageInfo) GetName

func (x *ImageInfo) GetName() string

func (*ImageInfo) GetType

func (x *ImageInfo) GetType() string

func (*ImageInfo) GetUrl

func (x *ImageInfo) GetUrl() string

func (*ImageInfo) GetWidth

func (x *ImageInfo) GetWidth() uint64

func (*ImageInfo) ProtoMessage

func (*ImageInfo) ProtoMessage()

func (*ImageInfo) ProtoReflect

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

func (*ImageInfo) Reset

func (x *ImageInfo) Reset()

func (*ImageInfo) String

func (x *ImageInfo) String() string

func (*ImageInfo) Validate

func (m *ImageInfo) Validate() error

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

func (m *ImageInfo) ValidateAll() error

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

type ImageInfoMultiError

type ImageInfoMultiError []error

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

func (ImageInfoMultiError) AllErrors

func (m ImageInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImageInfoMultiError) Error

func (m ImageInfoMultiError) Error() string

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

type ImageInfoValidationError

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

ImageInfoValidationError is the validation error returned by ImageInfo.Validate if the designated constraints aren't met.

func (ImageInfoValidationError) Cause

func (e ImageInfoValidationError) Cause() error

Cause function returns cause value.

func (ImageInfoValidationError) Error

func (e ImageInfoValidationError) Error() string

Error satisfies the builtin error interface

func (ImageInfoValidationError) ErrorName

func (e ImageInfoValidationError) ErrorName() string

ErrorName returns error name.

func (ImageInfoValidationError) Field

func (e ImageInfoValidationError) Field() string

Field function returns field value.

func (ImageInfoValidationError) Key

Key function returns key value.

func (ImageInfoValidationError) Reason

func (e ImageInfoValidationError) Reason() string

Reason function returns reason value.

type ImageMessage

type ImageMessage struct {
	Id   uint64              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	List []*ImageMessageItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

图像消息

func (*ImageMessage) Descriptor deprecated

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

Deprecated: Use ImageMessage.ProtoReflect.Descriptor instead.

func (*ImageMessage) GetId

func (x *ImageMessage) GetId() uint64

func (*ImageMessage) GetList

func (x *ImageMessage) GetList() []*ImageMessageItem

func (*ImageMessage) ProtoMessage

func (*ImageMessage) ProtoMessage()

func (*ImageMessage) ProtoReflect

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

func (*ImageMessage) Reset

func (x *ImageMessage) Reset()

func (*ImageMessage) String

func (x *ImageMessage) String() string

func (*ImageMessage) Validate

func (m *ImageMessage) Validate() error

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

func (m *ImageMessage) ValidateAll() error

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

type ImageMessageItem

type ImageMessageItem struct {
	Type   IMAGE_TYPE   `protobuf:"varint,1,opt,name=type,proto3,enum=message.IMAGE_TYPE" json:"type,omitempty"`       // 类型
	Format IMAGE_FORMAT `protobuf:"varint,2,opt,name=format,proto3,enum=message.IMAGE_FORMAT" json:"format,omitempty"` //格式
	Size   uint64       `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`                               //大小
	Width  uint64       `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"`                             //宽度
	Height uint64       `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`                           //高度
	Url    string       `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`                                  //链接地址
	// contains filtered or unexported fields
}

图片

func (*ImageMessageItem) Descriptor deprecated

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

Deprecated: Use ImageMessageItem.ProtoReflect.Descriptor instead.

func (*ImageMessageItem) GetFormat

func (x *ImageMessageItem) GetFormat() IMAGE_FORMAT

func (*ImageMessageItem) GetHeight

func (x *ImageMessageItem) GetHeight() uint64

func (*ImageMessageItem) GetSize

func (x *ImageMessageItem) GetSize() uint64

func (*ImageMessageItem) GetType

func (x *ImageMessageItem) GetType() IMAGE_TYPE

func (*ImageMessageItem) GetUrl

func (x *ImageMessageItem) GetUrl() string

func (*ImageMessageItem) GetWidth

func (x *ImageMessageItem) GetWidth() uint64

func (*ImageMessageItem) ProtoMessage

func (*ImageMessageItem) ProtoMessage()

func (*ImageMessageItem) ProtoReflect

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

func (*ImageMessageItem) Reset

func (x *ImageMessageItem) Reset()

func (*ImageMessageItem) String

func (x *ImageMessageItem) String() string

func (*ImageMessageItem) Validate

func (m *ImageMessageItem) Validate() error

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

func (m *ImageMessageItem) ValidateAll() error

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

type ImageMessageItemMultiError

type ImageMessageItemMultiError []error

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

func (ImageMessageItemMultiError) AllErrors

func (m ImageMessageItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImageMessageItemMultiError) Error

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

type ImageMessageItemValidationError

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

ImageMessageItemValidationError is the validation error returned by ImageMessageItem.Validate if the designated constraints aren't met.

func (ImageMessageItemValidationError) Cause

Cause function returns cause value.

func (ImageMessageItemValidationError) Error

Error satisfies the builtin error interface

func (ImageMessageItemValidationError) ErrorName

ErrorName returns error name.

func (ImageMessageItemValidationError) Field

Field function returns field value.

func (ImageMessageItemValidationError) Key

Key function returns key value.

func (ImageMessageItemValidationError) Reason

Reason function returns reason value.

type ImageMessageMultiError

type ImageMessageMultiError []error

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

func (ImageMessageMultiError) AllErrors

func (m ImageMessageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ImageMessageMultiError) Error

func (m ImageMessageMultiError) Error() string

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

type ImageMessageValidationError

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

ImageMessageValidationError is the validation error returned by ImageMessage.Validate if the designated constraints aren't met.

func (ImageMessageValidationError) Cause

Cause function returns cause value.

func (ImageMessageValidationError) Error

Error satisfies the builtin error interface

func (ImageMessageValidationError) ErrorName

func (e ImageMessageValidationError) ErrorName() string

ErrorName returns error name.

func (ImageMessageValidationError) Field

Field function returns field value.

func (ImageMessageValidationError) Key

Key function returns key value.

func (ImageMessageValidationError) Reason

Reason function returns reason value.

type IsEnable

type IsEnable int32
const (
	IsEnable_NotEnable IsEnable = 0 //未启用
	IsEnable_Enable    IsEnable = 1 //启用
)

func (IsEnable) Descriptor

func (IsEnable) Descriptor() protoreflect.EnumDescriptor

func (IsEnable) Enum

func (x IsEnable) Enum() *IsEnable

func (IsEnable) EnumDescriptor deprecated

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

Deprecated: Use IsEnable.Descriptor instead.

func (IsEnable) Number

func (x IsEnable) Number() protoreflect.EnumNumber

func (IsEnable) String

func (x IsEnable) String() string

func (IsEnable) Type

type JoinGroupRequest

type JoinGroupRequest struct {
	Id     uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*JoinGroupRequest) Descriptor deprecated

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

Deprecated: Use JoinGroupRequest.ProtoReflect.Descriptor instead.

func (*JoinGroupRequest) GetId

func (x *JoinGroupRequest) GetId() uint64

func (*JoinGroupRequest) GetUserId

func (x *JoinGroupRequest) GetUserId() uint64

func (*JoinGroupRequest) ProtoMessage

func (*JoinGroupRequest) ProtoMessage()

func (*JoinGroupRequest) ProtoReflect

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

func (*JoinGroupRequest) Reset

func (x *JoinGroupRequest) Reset()

func (*JoinGroupRequest) String

func (x *JoinGroupRequest) String() string

func (*JoinGroupRequest) Validate

func (m *JoinGroupRequest) Validate() error

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

func (m *JoinGroupRequest) ValidateAll() error

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

type JoinGroupRequestMultiError

type JoinGroupRequestMultiError []error

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

func (JoinGroupRequestMultiError) AllErrors

func (m JoinGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JoinGroupRequestMultiError) Error

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

type JoinGroupRequestValidationError

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

JoinGroupRequestValidationError is the validation error returned by JoinGroupRequest.Validate if the designated constraints aren't met.

func (JoinGroupRequestValidationError) Cause

Cause function returns cause value.

func (JoinGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (JoinGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (JoinGroupRequestValidationError) Field

Field function returns field value.

func (JoinGroupRequestValidationError) Key

Key function returns key value.

func (JoinGroupRequestValidationError) Reason

Reason function returns reason value.

type JoinGroupResponse

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

func (*JoinGroupResponse) Descriptor deprecated

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

Deprecated: Use JoinGroupResponse.ProtoReflect.Descriptor instead.

func (*JoinGroupResponse) ProtoMessage

func (*JoinGroupResponse) ProtoMessage()

func (*JoinGroupResponse) ProtoReflect

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

func (*JoinGroupResponse) Reset

func (x *JoinGroupResponse) Reset()

func (*JoinGroupResponse) String

func (x *JoinGroupResponse) String() string

func (*JoinGroupResponse) Validate

func (m *JoinGroupResponse) Validate() error

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

func (m *JoinGroupResponse) ValidateAll() error

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

type JoinGroupResponseMultiError

type JoinGroupResponseMultiError []error

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

func (JoinGroupResponseMultiError) AllErrors

func (m JoinGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JoinGroupResponseMultiError) Error

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

type JoinGroupResponseValidationError

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

JoinGroupResponseValidationError is the validation error returned by JoinGroupResponse.Validate if the designated constraints aren't met.

func (JoinGroupResponseValidationError) Cause

Cause function returns cause value.

func (JoinGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (JoinGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (JoinGroupResponseValidationError) Field

Field function returns field value.

func (JoinGroupResponseValidationError) Key

Key function returns key value.

func (JoinGroupResponseValidationError) Reason

Reason function returns reason value.

type LocationMessage

type LocationMessage struct {
	Id         uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CoverImage string  `protobuf:"bytes,2,opt,name=cover_image,json=coverImage,proto3" json:"cover_image,omitempty"`
	Lat        float64 `protobuf:"fixed64,3,opt,name=lat,proto3" json:"lat,omitempty"`
	Lng        float64 `protobuf:"fixed64,4,opt,name=lng,proto3" json:"lng,omitempty"`
	MapLink    string  `protobuf:"bytes,5,opt,name=map_link,json=mapLink,proto3" json:"map_link,omitempty"`
	Desc       string  `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

地理位置消息

func (*LocationMessage) Descriptor deprecated

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

Deprecated: Use LocationMessage.ProtoReflect.Descriptor instead.

func (*LocationMessage) GetCoverImage

func (x *LocationMessage) GetCoverImage() string

func (*LocationMessage) GetDesc

func (x *LocationMessage) GetDesc() string

func (*LocationMessage) GetId

func (x *LocationMessage) GetId() uint64

func (*LocationMessage) GetLat

func (x *LocationMessage) GetLat() float64

func (*LocationMessage) GetLng

func (x *LocationMessage) GetLng() float64
func (x *LocationMessage) GetMapLink() string

func (*LocationMessage) ProtoMessage

func (*LocationMessage) ProtoMessage()

func (*LocationMessage) ProtoReflect

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

func (*LocationMessage) Reset

func (x *LocationMessage) Reset()

func (*LocationMessage) String

func (x *LocationMessage) String() string

func (*LocationMessage) Validate

func (m *LocationMessage) Validate() error

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

func (m *LocationMessage) ValidateAll() error

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

type LocationMessageMultiError

type LocationMessageMultiError []error

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

func (LocationMessageMultiError) AllErrors

func (m LocationMessageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LocationMessageMultiError) Error

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

type LocationMessageValidationError

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

LocationMessageValidationError is the validation error returned by LocationMessage.Validate if the designated constraints aren't met.

func (LocationMessageValidationError) Cause

Cause function returns cause value.

func (LocationMessageValidationError) Error

Error satisfies the builtin error interface

func (LocationMessageValidationError) ErrorName

func (e LocationMessageValidationError) ErrorName() string

ErrorName returns error name.

func (LocationMessageValidationError) Field

Field function returns field value.

func (LocationMessageValidationError) Key

Key function returns key value.

func (LocationMessageValidationError) Reason

Reason function returns reason value.

type MESSAGE_TYPE

type MESSAGE_TYPE int32

消息类型

const (
	MESSAGE_TYPE_TEXT     MESSAGE_TYPE = 0 //文本消息。
	MESSAGE_TYPE_LOCATION MESSAGE_TYPE = 1 //地理位置消息。
	MESSAGE_TYPE_FACE     MESSAGE_TYPE = 2 // 表情消息。
	MESSAGE_TYPE_SOUND    MESSAGE_TYPE = 3 //  语音消息。
	MESSAGE_TYPE_IMAGE    MESSAGE_TYPE = 4 //  图像消息。
	MESSAGE_TYPE_FILE     MESSAGE_TYPE = 5 //  文件消息。
	MESSAGE_TYPE_Video    MESSAGE_TYPE = 6 //  视频消息。
)

func (MESSAGE_TYPE) Descriptor

func (MESSAGE_TYPE) Enum

func (x MESSAGE_TYPE) Enum() *MESSAGE_TYPE

func (MESSAGE_TYPE) EnumDescriptor deprecated

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

Deprecated: Use MESSAGE_TYPE.Descriptor instead.

func (MESSAGE_TYPE) Number

func (MESSAGE_TYPE) String

func (x MESSAGE_TYPE) String() string

func (MESSAGE_TYPE) Type

type MessageServiceClient

type MessageServiceClient interface {
	SendUserTextMessage(ctx context.Context, in *SendUserTextMessageRequest, opts ...grpc.CallOption) (*SendUserTextMessageResponse, error)
	SendUserLocationMessage(ctx context.Context, in *SendUserLocationMessageRequest, opts ...grpc.CallOption) (*SendUserLocationMessageResponse, error)
	SendUserFaceMessage(ctx context.Context, in *SendUserFaceMessageRequest, opts ...grpc.CallOption) (*SendUserFaceMessageResponse, error)
	SendUserSoundMessage(ctx context.Context, in *SendUserSoundMessageRequest, opts ...grpc.CallOption) (*SendUserSoundMessageResponse, error)
	SendUserVideoMessage(ctx context.Context, in *SendUserVideoMessageRequest, opts ...grpc.CallOption) (*SendUserVideoMessageResponse, error)
	SendUserImageMessage(ctx context.Context, in *SendUserImageMessageRequest, opts ...grpc.CallOption) (*SendUserImageMessageResponse, error)
	SendUserFileMessage(ctx context.Context, in *SendUserFileMessageRequest, opts ...grpc.CallOption) (*SendUserFileMessageResponse, error)
	SendGroupTextMessage(ctx context.Context, in *SendGroupTextMessageRequest, opts ...grpc.CallOption) (*SendGroupTextMessageResponse, error)
	SendGroupLocationMessage(ctx context.Context, in *SendGroupLocationMessageRequest, opts ...grpc.CallOption) (*SendGroupLocationMessageResponse, error)
	SendGroupFceMessage(ctx context.Context, in *SendGroupFaceMessageRequest, opts ...grpc.CallOption) (*SendGroupFaceMessageResponse, error)
	SendGroupSoundMessage(ctx context.Context, in *SendGroupSoundMessageRequest, opts ...grpc.CallOption) (*SendGroupSoundMessageResponse, error)
	SendGroupVideoMessage(ctx context.Context, in *SendGroupVideoMessageRequest, opts ...grpc.CallOption) (*SendGroupVideoMessageResponse, error)
	SendGroupImageMessage(ctx context.Context, in *SendGroupImageMessageRequest, opts ...grpc.CallOption) (*SendGroupImageMessageResponse, error)
	SendGroupFileMessage(ctx context.Context, in *SendGroupFileMessageRequest, opts ...grpc.CallOption) (*SendGroupFileMessageResponse, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}

MessageServiceClient is the client API for MessageService 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 MessageServiceServer

type MessageServiceServer interface {
	SendUserTextMessage(context.Context, *SendUserTextMessageRequest) (*SendUserTextMessageResponse, error)
	SendUserLocationMessage(context.Context, *SendUserLocationMessageRequest) (*SendUserLocationMessageResponse, error)
	SendUserFaceMessage(context.Context, *SendUserFaceMessageRequest) (*SendUserFaceMessageResponse, error)
	SendUserSoundMessage(context.Context, *SendUserSoundMessageRequest) (*SendUserSoundMessageResponse, error)
	SendUserVideoMessage(context.Context, *SendUserVideoMessageRequest) (*SendUserVideoMessageResponse, error)
	SendUserImageMessage(context.Context, *SendUserImageMessageRequest) (*SendUserImageMessageResponse, error)
	SendUserFileMessage(context.Context, *SendUserFileMessageRequest) (*SendUserFileMessageResponse, error)
	SendGroupTextMessage(context.Context, *SendGroupTextMessageRequest) (*SendGroupTextMessageResponse, error)
	SendGroupLocationMessage(context.Context, *SendGroupLocationMessageRequest) (*SendGroupLocationMessageResponse, error)
	SendGroupFceMessage(context.Context, *SendGroupFaceMessageRequest) (*SendGroupFaceMessageResponse, error)
	SendGroupSoundMessage(context.Context, *SendGroupSoundMessageRequest) (*SendGroupSoundMessageResponse, error)
	SendGroupVideoMessage(context.Context, *SendGroupVideoMessageRequest) (*SendGroupVideoMessageResponse, error)
	SendGroupImageMessage(context.Context, *SendGroupImageMessageRequest) (*SendGroupImageMessageResponse, error)
	SendGroupFileMessage(context.Context, *SendGroupFileMessageRequest) (*SendGroupFileMessageResponse, error)
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	// contains filtered or unexported methods
}

MessageServiceServer is the server API for MessageService service. All implementations must embed UnimplementedMessageServiceServer for forward compatibility

type Pager

type Pager struct {
	Page       uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageZie    uint64 `protobuf:"varint,2,opt,name=page_zie,json=pageZie,proto3" json:"page_zie,omitempty"`
	TotalRows  uint64 `protobuf:"varint,3,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"`
	TotalPages uint64 `protobuf:"varint,4,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"`
	// contains filtered or unexported fields
}

func (*Pager) Descriptor deprecated

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

Deprecated: Use Pager.ProtoReflect.Descriptor instead.

func (*Pager) GetPage

func (x *Pager) GetPage() uint64

func (*Pager) GetPageZie

func (x *Pager) GetPageZie() uint64

func (*Pager) GetTotalPages

func (x *Pager) GetTotalPages() uint64

func (*Pager) GetTotalRows

func (x *Pager) GetTotalRows() uint64

func (*Pager) ProtoMessage

func (*Pager) ProtoMessage()

func (*Pager) ProtoReflect

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

func (*Pager) Reset

func (x *Pager) Reset()

func (*Pager) String

func (x *Pager) String() string

func (*Pager) Validate

func (m *Pager) Validate() error

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

func (m *Pager) ValidateAll() error

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

type PagerMultiError

type PagerMultiError []error

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

func (PagerMultiError) AllErrors

func (m PagerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PagerMultiError) Error

func (m PagerMultiError) Error() string

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

type PagerValidationError

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

PagerValidationError is the validation error returned by Pager.Validate if the designated constraints aren't met.

func (PagerValidationError) Cause

func (e PagerValidationError) Cause() error

Cause function returns cause value.

func (PagerValidationError) Error

func (e PagerValidationError) Error() string

Error satisfies the builtin error interface

func (PagerValidationError) ErrorName

func (e PagerValidationError) ErrorName() string

ErrorName returns error name.

func (PagerValidationError) Field

func (e PagerValidationError) Field() string

Field function returns field value.

func (PagerValidationError) Key

func (e PagerValidationError) Key() bool

Key function returns key value.

func (PagerValidationError) Reason

func (e PagerValidationError) Reason() string

Reason function returns reason value.

type ParseMessageRequest

type ParseMessageRequest struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*ParseMessageRequest) Descriptor deprecated

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

Deprecated: Use ParseMessageRequest.ProtoReflect.Descriptor instead.

func (*ParseMessageRequest) GetContent

func (x *ParseMessageRequest) GetContent() []byte

func (*ParseMessageRequest) ProtoMessage

func (*ParseMessageRequest) ProtoMessage()

func (*ParseMessageRequest) ProtoReflect

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

func (*ParseMessageRequest) Reset

func (x *ParseMessageRequest) Reset()

func (*ParseMessageRequest) String

func (x *ParseMessageRequest) String() string

func (*ParseMessageRequest) Validate

func (m *ParseMessageRequest) Validate() error

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

func (m *ParseMessageRequest) ValidateAll() error

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

type ParseMessageRequestMultiError

type ParseMessageRequestMultiError []error

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

func (ParseMessageRequestMultiError) AllErrors

func (m ParseMessageRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ParseMessageRequestMultiError) Error

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

type ParseMessageRequestValidationError

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

ParseMessageRequestValidationError is the validation error returned by ParseMessageRequest.Validate if the designated constraints aren't met.

func (ParseMessageRequestValidationError) Cause

Cause function returns cause value.

func (ParseMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (ParseMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (ParseMessageRequestValidationError) Field

Field function returns field value.

func (ParseMessageRequestValidationError) Key

Key function returns key value.

func (ParseMessageRequestValidationError) Reason

Reason function returns reason value.

type ParseMessageResponse

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

func (*ParseMessageResponse) Descriptor deprecated

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

Deprecated: Use ParseMessageResponse.ProtoReflect.Descriptor instead.

func (*ParseMessageResponse) ProtoMessage

func (*ParseMessageResponse) ProtoMessage()

func (*ParseMessageResponse) ProtoReflect

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

func (*ParseMessageResponse) Reset

func (x *ParseMessageResponse) Reset()

func (*ParseMessageResponse) String

func (x *ParseMessageResponse) String() string

func (*ParseMessageResponse) Validate

func (m *ParseMessageResponse) Validate() error

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

func (m *ParseMessageResponse) ValidateAll() error

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

type ParseMessageResponseMultiError

type ParseMessageResponseMultiError []error

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

func (ParseMessageResponseMultiError) AllErrors

func (m ParseMessageResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ParseMessageResponseMultiError) Error

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

type ParseMessageResponseValidationError

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

ParseMessageResponseValidationError is the validation error returned by ParseMessageResponse.Validate if the designated constraints aren't met.

func (ParseMessageResponseValidationError) Cause

Cause function returns cause value.

func (ParseMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (ParseMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (ParseMessageResponseValidationError) Field

Field function returns field value.

func (ParseMessageResponseValidationError) Key

Key function returns key value.

func (ParseMessageResponseValidationError) Reason

Reason function returns reason value.

type PingRequest

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

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

func (*PingRequest) Validate

func (m *PingRequest) Validate() error

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

func (m *PingRequest) ValidateAll() error

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

type PingRequestMultiError

type PingRequestMultiError []error

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

func (PingRequestMultiError) AllErrors

func (m PingRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PingRequestMultiError) Error

func (m PingRequestMultiError) Error() string

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

type PingRequestValidationError

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

PingRequestValidationError is the validation error returned by PingRequest.Validate if the designated constraints aren't met.

func (PingRequestValidationError) Cause

Cause function returns cause value.

func (PingRequestValidationError) Error

Error satisfies the builtin error interface

func (PingRequestValidationError) ErrorName

func (e PingRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PingRequestValidationError) Field

Field function returns field value.

func (PingRequestValidationError) Key

Key function returns key value.

func (PingRequestValidationError) Reason

Reason function returns reason value.

type PingResponse

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

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) GetContent

func (x *PingResponse) GetContent() string

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

func (*PingResponse) Validate

func (m *PingResponse) Validate() error

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

func (m *PingResponse) ValidateAll() error

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

type PingResponseMultiError

type PingResponseMultiError []error

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

func (PingResponseMultiError) AllErrors

func (m PingResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PingResponseMultiError) Error

func (m PingResponseMultiError) Error() string

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

type PingResponseValidationError

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

PingResponseValidationError is the validation error returned by PingResponse.Validate if the designated constraints aren't met.

func (PingResponseValidationError) Cause

Cause function returns cause value.

func (PingResponseValidationError) Error

Error satisfies the builtin error interface

func (PingResponseValidationError) ErrorName

func (e PingResponseValidationError) ErrorName() string

ErrorName returns error name.

func (PingResponseValidationError) Field

Field function returns field value.

func (PingResponseValidationError) Key

Key function returns key value.

func (PingResponseValidationError) Reason

Reason function returns reason value.

type QueryGroupRequest

type QueryGroupRequest struct {
	Keyword  string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page     uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGroupRequest) Descriptor deprecated

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

Deprecated: Use QueryGroupRequest.ProtoReflect.Descriptor instead.

func (*QueryGroupRequest) GetKeyword

func (x *QueryGroupRequest) GetKeyword() string

func (*QueryGroupRequest) GetPage

func (x *QueryGroupRequest) GetPage() uint64

func (*QueryGroupRequest) GetPageSize

func (x *QueryGroupRequest) GetPageSize() uint64

func (*QueryGroupRequest) ProtoMessage

func (*QueryGroupRequest) ProtoMessage()

func (*QueryGroupRequest) ProtoReflect

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

func (*QueryGroupRequest) Reset

func (x *QueryGroupRequest) Reset()

func (*QueryGroupRequest) String

func (x *QueryGroupRequest) String() string

func (*QueryGroupRequest) Validate

func (m *QueryGroupRequest) Validate() error

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

func (m *QueryGroupRequest) ValidateAll() error

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

type QueryGroupRequestMultiError

type QueryGroupRequestMultiError []error

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

func (QueryGroupRequestMultiError) AllErrors

func (m QueryGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryGroupRequestMultiError) Error

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

type QueryGroupRequestValidationError

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

QueryGroupRequestValidationError is the validation error returned by QueryGroupRequest.Validate if the designated constraints aren't met.

func (QueryGroupRequestValidationError) Cause

Cause function returns cause value.

func (QueryGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (QueryGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (QueryGroupRequestValidationError) Field

Field function returns field value.

func (QueryGroupRequestValidationError) Key

Key function returns key value.

func (QueryGroupRequestValidationError) Reason

Reason function returns reason value.

type QueryGroupResponse

type QueryGroupResponse struct {
	Pager *Pager   `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
	Group []*Group `protobuf:"bytes,2,rep,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGroupResponse) Descriptor deprecated

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

Deprecated: Use QueryGroupResponse.ProtoReflect.Descriptor instead.

func (*QueryGroupResponse) GetGroup

func (x *QueryGroupResponse) GetGroup() []*Group

func (*QueryGroupResponse) GetPager

func (x *QueryGroupResponse) GetPager() *Pager

func (*QueryGroupResponse) ProtoMessage

func (*QueryGroupResponse) ProtoMessage()

func (*QueryGroupResponse) ProtoReflect

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

func (*QueryGroupResponse) Reset

func (x *QueryGroupResponse) Reset()

func (*QueryGroupResponse) String

func (x *QueryGroupResponse) String() string

func (*QueryGroupResponse) Validate

func (m *QueryGroupResponse) Validate() error

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

func (m *QueryGroupResponse) ValidateAll() error

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

type QueryGroupResponseMultiError

type QueryGroupResponseMultiError []error

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

func (QueryGroupResponseMultiError) AllErrors

func (m QueryGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QueryGroupResponseMultiError) Error

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

type QueryGroupResponseValidationError

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

QueryGroupResponseValidationError is the validation error returned by QueryGroupResponse.Validate if the designated constraints aren't met.

func (QueryGroupResponseValidationError) Cause

Cause function returns cause value.

func (QueryGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (QueryGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (QueryGroupResponseValidationError) Field

Field function returns field value.

func (QueryGroupResponseValidationError) Key

Key function returns key value.

func (QueryGroupResponseValidationError) Reason

Reason function returns reason value.

type QuitGroupRequest

type QuitGroupRequest struct {
	Id     uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId uint64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QuitGroupRequest) Descriptor deprecated

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

Deprecated: Use QuitGroupRequest.ProtoReflect.Descriptor instead.

func (*QuitGroupRequest) GetId

func (x *QuitGroupRequest) GetId() uint64

func (*QuitGroupRequest) GetUserId

func (x *QuitGroupRequest) GetUserId() uint64

func (*QuitGroupRequest) ProtoMessage

func (*QuitGroupRequest) ProtoMessage()

func (*QuitGroupRequest) ProtoReflect

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

func (*QuitGroupRequest) Reset

func (x *QuitGroupRequest) Reset()

func (*QuitGroupRequest) String

func (x *QuitGroupRequest) String() string

func (*QuitGroupRequest) Validate

func (m *QuitGroupRequest) Validate() error

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

func (m *QuitGroupRequest) ValidateAll() error

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

type QuitGroupRequestMultiError

type QuitGroupRequestMultiError []error

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

func (QuitGroupRequestMultiError) AllErrors

func (m QuitGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuitGroupRequestMultiError) Error

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

type QuitGroupRequestValidationError

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

QuitGroupRequestValidationError is the validation error returned by QuitGroupRequest.Validate if the designated constraints aren't met.

func (QuitGroupRequestValidationError) Cause

Cause function returns cause value.

func (QuitGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (QuitGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (QuitGroupRequestValidationError) Field

Field function returns field value.

func (QuitGroupRequestValidationError) Key

Key function returns key value.

func (QuitGroupRequestValidationError) Reason

Reason function returns reason value.

type QuitGroupResponse

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

func (*QuitGroupResponse) Descriptor deprecated

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

Deprecated: Use QuitGroupResponse.ProtoReflect.Descriptor instead.

func (*QuitGroupResponse) ProtoMessage

func (*QuitGroupResponse) ProtoMessage()

func (*QuitGroupResponse) ProtoReflect

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

func (*QuitGroupResponse) Reset

func (x *QuitGroupResponse) Reset()

func (*QuitGroupResponse) String

func (x *QuitGroupResponse) String() string

func (*QuitGroupResponse) Validate

func (m *QuitGroupResponse) Validate() error

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

func (m *QuitGroupResponse) ValidateAll() error

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

type QuitGroupResponseMultiError

type QuitGroupResponseMultiError []error

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

func (QuitGroupResponseMultiError) AllErrors

func (m QuitGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (QuitGroupResponseMultiError) Error

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

type QuitGroupResponseValidationError

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

QuitGroupResponseValidationError is the validation error returned by QuitGroupResponse.Validate if the designated constraints aren't met.

func (QuitGroupResponseValidationError) Cause

Cause function returns cause value.

func (QuitGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (QuitGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (QuitGroupResponseValidationError) Field

Field function returns field value.

func (QuitGroupResponseValidationError) Key

Key function returns key value.

func (QuitGroupResponseValidationError) Reason

Reason function returns reason value.

type RegisterRequest

type RegisterRequest struct {
	GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
	ClientId  string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetClientId

func (x *RegisterRequest) GetClientId() string

func (*RegisterRequest) GetGatewayId

func (x *RegisterRequest) GetGatewayId() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

func (*RegisterRequest) Validate

func (m *RegisterRequest) Validate() error

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

func (m *RegisterRequest) ValidateAll() error

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

type RegisterRequestMultiError

type RegisterRequestMultiError []error

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

func (RegisterRequestMultiError) AllErrors

func (m RegisterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterRequestMultiError) Error

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

type RegisterRequestValidationError

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

RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.

func (RegisterRequestValidationError) Cause

Cause function returns cause value.

func (RegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterRequestValidationError) ErrorName

func (e RegisterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterRequestValidationError) Field

Field function returns field value.

func (RegisterRequestValidationError) Key

Key function returns key value.

func (RegisterRequestValidationError) Reason

Reason function returns reason value.

type RegisterResponse

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

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

func (*RegisterResponse) Validate

func (m *RegisterResponse) Validate() error

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

func (m *RegisterResponse) ValidateAll() error

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

type RegisterResponseMultiError

type RegisterResponseMultiError []error

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

func (RegisterResponseMultiError) AllErrors

func (m RegisterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterResponseMultiError) Error

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

type RegisterResponseValidationError

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

RegisterResponseValidationError is the validation error returned by RegisterResponse.Validate if the designated constraints aren't met.

func (RegisterResponseValidationError) Cause

Cause function returns cause value.

func (RegisterResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterResponseValidationError) Field

Field function returns field value.

func (RegisterResponseValidationError) Key

Key function returns key value.

func (RegisterResponseValidationError) Reason

Reason function returns reason value.

type ReviewStatus

type ReviewStatus int32
const (
	ReviewStatus_ReviewInit ReviewStatus = 0 //未提交审核
	ReviewStatus_ReviewTo   ReviewStatus = 1 //已提交,待审核
	ReviewStatus_ReviewPass ReviewStatus = 2 //审核通过
	ReviewStatus_ReviewFail ReviewStatus = 3 //审核未通过
)

func (ReviewStatus) Descriptor

func (ReviewStatus) Enum

func (x ReviewStatus) Enum() *ReviewStatus

func (ReviewStatus) EnumDescriptor deprecated

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

Deprecated: Use ReviewStatus.Descriptor instead.

func (ReviewStatus) Number

func (ReviewStatus) String

func (x ReviewStatus) String() string

func (ReviewStatus) Type

type SendEmailRequest

type SendEmailRequest struct {
	Receiver map[string]string `` /* 157-byte string literal not displayed */
	Cc       map[string]string `` /* 145-byte string literal not displayed */
	Subject  string            `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Content  string            `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*SendEmailRequest) Descriptor deprecated

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

Deprecated: Use SendEmailRequest.ProtoReflect.Descriptor instead.

func (*SendEmailRequest) GetCc

func (x *SendEmailRequest) GetCc() map[string]string

func (*SendEmailRequest) GetContent

func (x *SendEmailRequest) GetContent() string

func (*SendEmailRequest) GetReceiver

func (x *SendEmailRequest) GetReceiver() map[string]string

func (*SendEmailRequest) GetSubject

func (x *SendEmailRequest) GetSubject() string

func (*SendEmailRequest) ProtoMessage

func (*SendEmailRequest) ProtoMessage()

func (*SendEmailRequest) ProtoReflect

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

func (*SendEmailRequest) Reset

func (x *SendEmailRequest) Reset()

func (*SendEmailRequest) String

func (x *SendEmailRequest) String() string

func (*SendEmailRequest) Validate

func (m *SendEmailRequest) Validate() error

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

func (m *SendEmailRequest) ValidateAll() error

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

type SendEmailRequestMultiError

type SendEmailRequestMultiError []error

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

func (SendEmailRequestMultiError) AllErrors

func (m SendEmailRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendEmailRequestMultiError) Error

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

type SendEmailRequestValidationError

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

SendEmailRequestValidationError is the validation error returned by SendEmailRequest.Validate if the designated constraints aren't met.

func (SendEmailRequestValidationError) Cause

Cause function returns cause value.

func (SendEmailRequestValidationError) Error

Error satisfies the builtin error interface

func (SendEmailRequestValidationError) ErrorName

ErrorName returns error name.

func (SendEmailRequestValidationError) Field

Field function returns field value.

func (SendEmailRequestValidationError) Key

Key function returns key value.

func (SendEmailRequestValidationError) Reason

Reason function returns reason value.

type SendEmailResponse

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

func (*SendEmailResponse) Descriptor deprecated

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

Deprecated: Use SendEmailResponse.ProtoReflect.Descriptor instead.

func (*SendEmailResponse) ProtoMessage

func (*SendEmailResponse) ProtoMessage()

func (*SendEmailResponse) ProtoReflect

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

func (*SendEmailResponse) Reset

func (x *SendEmailResponse) Reset()

func (*SendEmailResponse) String

func (x *SendEmailResponse) String() string

func (*SendEmailResponse) Validate

func (m *SendEmailResponse) Validate() error

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

func (m *SendEmailResponse) ValidateAll() error

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

type SendEmailResponseMultiError

type SendEmailResponseMultiError []error

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

func (SendEmailResponseMultiError) AllErrors

func (m SendEmailResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendEmailResponseMultiError) Error

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

type SendEmailResponseValidationError

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

SendEmailResponseValidationError is the validation error returned by SendEmailResponse.Validate if the designated constraints aren't met.

func (SendEmailResponseValidationError) Cause

Cause function returns cause value.

func (SendEmailResponseValidationError) Error

Error satisfies the builtin error interface

func (SendEmailResponseValidationError) ErrorName

ErrorName returns error name.

func (SendEmailResponseValidationError) Field

Field function returns field value.

func (SendEmailResponseValidationError) Key

Key function returns key value.

func (SendEmailResponseValidationError) Reason

Reason function returns reason value.

type SendGroupFaceMessageRequest

type SendGroupFaceMessageRequest struct {
	ToGroupId uint64       `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"`
	AtUserId  []uint64     `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"`
	Face      *FaceMessage `protobuf:"bytes,3,opt,name=face,proto3" json:"face,omitempty"`
	// contains filtered or unexported fields
}

func (*SendGroupFaceMessageRequest) Descriptor deprecated

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

Deprecated: Use SendGroupFaceMessageRequest.ProtoReflect.Descriptor instead.

func (*SendGroupFaceMessageRequest) GetAtUserId

func (x *SendGroupFaceMessageRequest) GetAtUserId() []uint64

func (*SendGroupFaceMessageRequest) GetFace

func (*SendGroupFaceMessageRequest) GetToGroupId

func (x *SendGroupFaceMessageRequest) GetToGroupId() uint64

func (*SendGroupFaceMessageRequest) ProtoMessage

func (*SendGroupFaceMessageRequest) ProtoMessage()

func (*SendGroupFaceMessageRequest) ProtoReflect

func (*SendGroupFaceMessageRequest) Reset

func (x *SendGroupFaceMessageRequest) Reset()

func (*SendGroupFaceMessageRequest) String

func (x *SendGroupFaceMessageRequest) String() string

func (*SendGroupFaceMessageRequest) Validate

func (m *SendGroupFaceMessageRequest) Validate() error

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

func (m *SendGroupFaceMessageRequest) ValidateAll() error

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

type SendGroupFaceMessageRequestMultiError

type SendGroupFaceMessageRequestMultiError []error

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

func (SendGroupFaceMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupFaceMessageRequestMultiError) Error

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

type SendGroupFaceMessageRequestValidationError

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

SendGroupFaceMessageRequestValidationError is the validation error returned by SendGroupFaceMessageRequest.Validate if the designated constraints aren't met.

func (SendGroupFaceMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendGroupFaceMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendGroupFaceMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendGroupFaceMessageRequestValidationError) Field

Field function returns field value.

func (SendGroupFaceMessageRequestValidationError) Key

Key function returns key value.

func (SendGroupFaceMessageRequestValidationError) Reason

Reason function returns reason value.

type SendGroupFaceMessageResponse

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

func (*SendGroupFaceMessageResponse) Descriptor deprecated

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

Deprecated: Use SendGroupFaceMessageResponse.ProtoReflect.Descriptor instead.

func (*SendGroupFaceMessageResponse) GetId

func (*SendGroupFaceMessageResponse) ProtoMessage

func (*SendGroupFaceMessageResponse) ProtoMessage()

func (*SendGroupFaceMessageResponse) ProtoReflect

func (*SendGroupFaceMessageResponse) Reset

func (x *SendGroupFaceMessageResponse) Reset()

func (*SendGroupFaceMessageResponse) String

func (*SendGroupFaceMessageResponse) Validate

func (m *SendGroupFaceMessageResponse) Validate() error

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

func (m *SendGroupFaceMessageResponse) ValidateAll() error

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

type SendGroupFaceMessageResponseMultiError

type SendGroupFaceMessageResponseMultiError []error

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

func (SendGroupFaceMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupFaceMessageResponseMultiError) Error

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

type SendGroupFaceMessageResponseValidationError

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

SendGroupFaceMessageResponseValidationError is the validation error returned by SendGroupFaceMessageResponse.Validate if the designated constraints aren't met.

func (SendGroupFaceMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendGroupFaceMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendGroupFaceMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendGroupFaceMessageResponseValidationError) Field

Field function returns field value.

func (SendGroupFaceMessageResponseValidationError) Key

Key function returns key value.

func (SendGroupFaceMessageResponseValidationError) Reason

Reason function returns reason value.

type SendGroupFileMessageRequest

type SendGroupFileMessageRequest struct {
	ToGroupId uint64       `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"`
	AtUserId  []uint64     `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"`
	File      *FileMessage `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*SendGroupFileMessageRequest) Descriptor deprecated

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

Deprecated: Use SendGroupFileMessageRequest.ProtoReflect.Descriptor instead.

func (*SendGroupFileMessageRequest) GetAtUserId

func (x *SendGroupFileMessageRequest) GetAtUserId() []uint64

func (*SendGroupFileMessageRequest) GetFile

func (*SendGroupFileMessageRequest) GetToGroupId

func (x *SendGroupFileMessageRequest) GetToGroupId() uint64

func (*SendGroupFileMessageRequest) ProtoMessage

func (*SendGroupFileMessageRequest) ProtoMessage()

func (*SendGroupFileMessageRequest) ProtoReflect

func (*SendGroupFileMessageRequest) Reset

func (x *SendGroupFileMessageRequest) Reset()

func (*SendGroupFileMessageRequest) String

func (x *SendGroupFileMessageRequest) String() string

func (*SendGroupFileMessageRequest) Validate

func (m *SendGroupFileMessageRequest) Validate() error

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

func (m *SendGroupFileMessageRequest) ValidateAll() error

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

type SendGroupFileMessageRequestMultiError

type SendGroupFileMessageRequestMultiError []error

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

func (SendGroupFileMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupFileMessageRequestMultiError) Error

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

type SendGroupFileMessageRequestValidationError

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

SendGroupFileMessageRequestValidationError is the validation error returned by SendGroupFileMessageRequest.Validate if the designated constraints aren't met.

func (SendGroupFileMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendGroupFileMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendGroupFileMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendGroupFileMessageRequestValidationError) Field

Field function returns field value.

func (SendGroupFileMessageRequestValidationError) Key

Key function returns key value.

func (SendGroupFileMessageRequestValidationError) Reason

Reason function returns reason value.

type SendGroupFileMessageResponse

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

func (*SendGroupFileMessageResponse) Descriptor deprecated

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

Deprecated: Use SendGroupFileMessageResponse.ProtoReflect.Descriptor instead.

func (*SendGroupFileMessageResponse) GetId

func (*SendGroupFileMessageResponse) ProtoMessage

func (*SendGroupFileMessageResponse) ProtoMessage()

func (*SendGroupFileMessageResponse) ProtoReflect

func (*SendGroupFileMessageResponse) Reset

func (x *SendGroupFileMessageResponse) Reset()

func (*SendGroupFileMessageResponse) String

func (*SendGroupFileMessageResponse) Validate

func (m *SendGroupFileMessageResponse) Validate() error

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

func (m *SendGroupFileMessageResponse) ValidateAll() error

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

type SendGroupFileMessageResponseMultiError

type SendGroupFileMessageResponseMultiError []error

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

func (SendGroupFileMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupFileMessageResponseMultiError) Error

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

type SendGroupFileMessageResponseValidationError

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

SendGroupFileMessageResponseValidationError is the validation error returned by SendGroupFileMessageResponse.Validate if the designated constraints aren't met.

func (SendGroupFileMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendGroupFileMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendGroupFileMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendGroupFileMessageResponseValidationError) Field

Field function returns field value.

func (SendGroupFileMessageResponseValidationError) Key

Key function returns key value.

func (SendGroupFileMessageResponseValidationError) Reason

Reason function returns reason value.

type SendGroupImageMessageRequest

type SendGroupImageMessageRequest struct {
	ToGroupId uint64            `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"`
	AtUserId  []uint64          `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"`
	Image     *ImageMessageItem `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*SendGroupImageMessageRequest) Descriptor deprecated

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

Deprecated: Use SendGroupImageMessageRequest.ProtoReflect.Descriptor instead.

func (*SendGroupImageMessageRequest) GetAtUserId

func (x *SendGroupImageMessageRequest) GetAtUserId() []uint64

func (*SendGroupImageMessageRequest) GetImage

func (*SendGroupImageMessageRequest) GetToGroupId

func (x *SendGroupImageMessageRequest) GetToGroupId() uint64

func (*SendGroupImageMessageRequest) ProtoMessage

func (*SendGroupImageMessageRequest) ProtoMessage()

func (*SendGroupImageMessageRequest) ProtoReflect

func (*SendGroupImageMessageRequest) Reset

func (x *SendGroupImageMessageRequest) Reset()

func (*SendGroupImageMessageRequest) String

func (*SendGroupImageMessageRequest) Validate

func (m *SendGroupImageMessageRequest) Validate() error

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

func (m *SendGroupImageMessageRequest) ValidateAll() error

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

type SendGroupImageMessageRequestMultiError

type SendGroupImageMessageRequestMultiError []error

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

func (SendGroupImageMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupImageMessageRequestMultiError) Error

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

type SendGroupImageMessageRequestValidationError

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

SendGroupImageMessageRequestValidationError is the validation error returned by SendGroupImageMessageRequest.Validate if the designated constraints aren't met.

func (SendGroupImageMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendGroupImageMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendGroupImageMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendGroupImageMessageRequestValidationError) Field

Field function returns field value.

func (SendGroupImageMessageRequestValidationError) Key

Key function returns key value.

func (SendGroupImageMessageRequestValidationError) Reason

Reason function returns reason value.

type SendGroupImageMessageResponse

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

func (*SendGroupImageMessageResponse) Descriptor deprecated

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

Deprecated: Use SendGroupImageMessageResponse.ProtoReflect.Descriptor instead.

func (*SendGroupImageMessageResponse) GetId

func (*SendGroupImageMessageResponse) ProtoMessage

func (*SendGroupImageMessageResponse) ProtoMessage()

func (*SendGroupImageMessageResponse) ProtoReflect

func (*SendGroupImageMessageResponse) Reset

func (x *SendGroupImageMessageResponse) Reset()

func (*SendGroupImageMessageResponse) String

func (*SendGroupImageMessageResponse) Validate

func (m *SendGroupImageMessageResponse) Validate() error

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

func (m *SendGroupImageMessageResponse) ValidateAll() error

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

type SendGroupImageMessageResponseMultiError

type SendGroupImageMessageResponseMultiError []error

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

func (SendGroupImageMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupImageMessageResponseMultiError) Error

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

type SendGroupImageMessageResponseValidationError

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

SendGroupImageMessageResponseValidationError is the validation error returned by SendGroupImageMessageResponse.Validate if the designated constraints aren't met.

func (SendGroupImageMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendGroupImageMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendGroupImageMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendGroupImageMessageResponseValidationError) Field

Field function returns field value.

func (SendGroupImageMessageResponseValidationError) Key

Key function returns key value.

func (SendGroupImageMessageResponseValidationError) Reason

Reason function returns reason value.

type SendGroupLocationMessageRequest

type SendGroupLocationMessageRequest struct {
	ToGroupId uint64           `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"`
	AtUserId  []uint64         `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"`
	Location  *LocationMessage `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*SendGroupLocationMessageRequest) Descriptor deprecated

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

Deprecated: Use SendGroupLocationMessageRequest.ProtoReflect.Descriptor instead.

func (*SendGroupLocationMessageRequest) GetAtUserId

func (x *SendGroupLocationMessageRequest) GetAtUserId() []uint64

func (*SendGroupLocationMessageRequest) GetLocation

func (*SendGroupLocationMessageRequest) GetToGroupId

func (x *SendGroupLocationMessageRequest) GetToGroupId() uint64

func (*SendGroupLocationMessageRequest) ProtoMessage

func (*SendGroupLocationMessageRequest) ProtoMessage()

func (*SendGroupLocationMessageRequest) ProtoReflect

func (*SendGroupLocationMessageRequest) Reset

func (*SendGroupLocationMessageRequest) String

func (*SendGroupLocationMessageRequest) Validate

func (m *SendGroupLocationMessageRequest) Validate() error

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

func (m *SendGroupLocationMessageRequest) ValidateAll() error

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

type SendGroupLocationMessageRequestMultiError

type SendGroupLocationMessageRequestMultiError []error

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

func (SendGroupLocationMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupLocationMessageRequestMultiError) Error

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

type SendGroupLocationMessageRequestValidationError

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

SendGroupLocationMessageRequestValidationError is the validation error returned by SendGroupLocationMessageRequest.Validate if the designated constraints aren't met.

func (SendGroupLocationMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendGroupLocationMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendGroupLocationMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendGroupLocationMessageRequestValidationError) Field

Field function returns field value.

func (SendGroupLocationMessageRequestValidationError) Key

Key function returns key value.

func (SendGroupLocationMessageRequestValidationError) Reason

Reason function returns reason value.

type SendGroupLocationMessageResponse

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

func (*SendGroupLocationMessageResponse) Descriptor deprecated

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

Deprecated: Use SendGroupLocationMessageResponse.ProtoReflect.Descriptor instead.

func (*SendGroupLocationMessageResponse) GetId

func (*SendGroupLocationMessageResponse) ProtoMessage

func (*SendGroupLocationMessageResponse) ProtoMessage()

func (*SendGroupLocationMessageResponse) ProtoReflect

func (*SendGroupLocationMessageResponse) Reset

func (*SendGroupLocationMessageResponse) String

func (*SendGroupLocationMessageResponse) Validate

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

func (m *SendGroupLocationMessageResponse) ValidateAll() error

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

type SendGroupLocationMessageResponseMultiError

type SendGroupLocationMessageResponseMultiError []error

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

func (SendGroupLocationMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupLocationMessageResponseMultiError) Error

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

type SendGroupLocationMessageResponseValidationError

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

SendGroupLocationMessageResponseValidationError is the validation error returned by SendGroupLocationMessageResponse.Validate if the designated constraints aren't met.

func (SendGroupLocationMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendGroupLocationMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendGroupLocationMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendGroupLocationMessageResponseValidationError) Field

Field function returns field value.

func (SendGroupLocationMessageResponseValidationError) Key

Key function returns key value.

func (SendGroupLocationMessageResponseValidationError) Reason

Reason function returns reason value.

type SendGroupSoundMessageRequest

type SendGroupSoundMessageRequest struct {
	ToGroupId uint64        `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"`
	AtUserId  []uint64      `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"`
	Sound     *SoundMessage `protobuf:"bytes,3,opt,name=sound,proto3" json:"sound,omitempty"`
	// contains filtered or unexported fields
}

func (*SendGroupSoundMessageRequest) Descriptor deprecated

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

Deprecated: Use SendGroupSoundMessageRequest.ProtoReflect.Descriptor instead.

func (*SendGroupSoundMessageRequest) GetAtUserId

func (x *SendGroupSoundMessageRequest) GetAtUserId() []uint64

func (*SendGroupSoundMessageRequest) GetSound

func (*SendGroupSoundMessageRequest) GetToGroupId

func (x *SendGroupSoundMessageRequest) GetToGroupId() uint64

func (*SendGroupSoundMessageRequest) ProtoMessage

func (*SendGroupSoundMessageRequest) ProtoMessage()

func (*SendGroupSoundMessageRequest) ProtoReflect

func (*SendGroupSoundMessageRequest) Reset

func (x *SendGroupSoundMessageRequest) Reset()

func (*SendGroupSoundMessageRequest) String

func (*SendGroupSoundMessageRequest) Validate

func (m *SendGroupSoundMessageRequest) Validate() error

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

func (m *SendGroupSoundMessageRequest) ValidateAll() error

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

type SendGroupSoundMessageRequestMultiError

type SendGroupSoundMessageRequestMultiError []error

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

func (SendGroupSoundMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupSoundMessageRequestMultiError) Error

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

type SendGroupSoundMessageRequestValidationError

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

SendGroupSoundMessageRequestValidationError is the validation error returned by SendGroupSoundMessageRequest.Validate if the designated constraints aren't met.

func (SendGroupSoundMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendGroupSoundMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendGroupSoundMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendGroupSoundMessageRequestValidationError) Field

Field function returns field value.

func (SendGroupSoundMessageRequestValidationError) Key

Key function returns key value.

func (SendGroupSoundMessageRequestValidationError) Reason

Reason function returns reason value.

type SendGroupSoundMessageResponse

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

func (*SendGroupSoundMessageResponse) Descriptor deprecated

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

Deprecated: Use SendGroupSoundMessageResponse.ProtoReflect.Descriptor instead.

func (*SendGroupSoundMessageResponse) GetId

func (*SendGroupSoundMessageResponse) ProtoMessage

func (*SendGroupSoundMessageResponse) ProtoMessage()

func (*SendGroupSoundMessageResponse) ProtoReflect

func (*SendGroupSoundMessageResponse) Reset

func (x *SendGroupSoundMessageResponse) Reset()

func (*SendGroupSoundMessageResponse) String

func (*SendGroupSoundMessageResponse) Validate

func (m *SendGroupSoundMessageResponse) Validate() error

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

func (m *SendGroupSoundMessageResponse) ValidateAll() error

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

type SendGroupSoundMessageResponseMultiError

type SendGroupSoundMessageResponseMultiError []error

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

func (SendGroupSoundMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupSoundMessageResponseMultiError) Error

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

type SendGroupSoundMessageResponseValidationError

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

SendGroupSoundMessageResponseValidationError is the validation error returned by SendGroupSoundMessageResponse.Validate if the designated constraints aren't met.

func (SendGroupSoundMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendGroupSoundMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendGroupSoundMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendGroupSoundMessageResponseValidationError) Field

Field function returns field value.

func (SendGroupSoundMessageResponseValidationError) Key

Key function returns key value.

func (SendGroupSoundMessageResponseValidationError) Reason

Reason function returns reason value.

type SendGroupTextMessageRequest

type SendGroupTextMessageRequest struct {
	ToGroupId uint64       `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"`
	AtUserId  []uint64     `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"`
	Text      *TextMessage `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*SendGroupTextMessageRequest) Descriptor deprecated

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

Deprecated: Use SendGroupTextMessageRequest.ProtoReflect.Descriptor instead.

func (*SendGroupTextMessageRequest) GetAtUserId

func (x *SendGroupTextMessageRequest) GetAtUserId() []uint64

func (*SendGroupTextMessageRequest) GetText

func (*SendGroupTextMessageRequest) GetToGroupId

func (x *SendGroupTextMessageRequest) GetToGroupId() uint64

func (*SendGroupTextMessageRequest) ProtoMessage

func (*SendGroupTextMessageRequest) ProtoMessage()

func (*SendGroupTextMessageRequest) ProtoReflect

func (*SendGroupTextMessageRequest) Reset

func (x *SendGroupTextMessageRequest) Reset()

func (*SendGroupTextMessageRequest) String

func (x *SendGroupTextMessageRequest) String() string

func (*SendGroupTextMessageRequest) Validate

func (m *SendGroupTextMessageRequest) Validate() error

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

func (m *SendGroupTextMessageRequest) ValidateAll() error

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

type SendGroupTextMessageRequestMultiError

type SendGroupTextMessageRequestMultiError []error

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

func (SendGroupTextMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupTextMessageRequestMultiError) Error

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

type SendGroupTextMessageRequestValidationError

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

SendGroupTextMessageRequestValidationError is the validation error returned by SendGroupTextMessageRequest.Validate if the designated constraints aren't met.

func (SendGroupTextMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendGroupTextMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendGroupTextMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendGroupTextMessageRequestValidationError) Field

Field function returns field value.

func (SendGroupTextMessageRequestValidationError) Key

Key function returns key value.

func (SendGroupTextMessageRequestValidationError) Reason

Reason function returns reason value.

type SendGroupTextMessageResponse

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

func (*SendGroupTextMessageResponse) Descriptor deprecated

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

Deprecated: Use SendGroupTextMessageResponse.ProtoReflect.Descriptor instead.

func (*SendGroupTextMessageResponse) GetId

func (*SendGroupTextMessageResponse) ProtoMessage

func (*SendGroupTextMessageResponse) ProtoMessage()

func (*SendGroupTextMessageResponse) ProtoReflect

func (*SendGroupTextMessageResponse) Reset

func (x *SendGroupTextMessageResponse) Reset()

func (*SendGroupTextMessageResponse) String

func (*SendGroupTextMessageResponse) Validate

func (m *SendGroupTextMessageResponse) Validate() error

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

func (m *SendGroupTextMessageResponse) ValidateAll() error

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

type SendGroupTextMessageResponseMultiError

type SendGroupTextMessageResponseMultiError []error

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

func (SendGroupTextMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupTextMessageResponseMultiError) Error

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

type SendGroupTextMessageResponseValidationError

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

SendGroupTextMessageResponseValidationError is the validation error returned by SendGroupTextMessageResponse.Validate if the designated constraints aren't met.

func (SendGroupTextMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendGroupTextMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendGroupTextMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendGroupTextMessageResponseValidationError) Field

Field function returns field value.

func (SendGroupTextMessageResponseValidationError) Key

Key function returns key value.

func (SendGroupTextMessageResponseValidationError) Reason

Reason function returns reason value.

type SendGroupVideoMessageRequest

type SendGroupVideoMessageRequest struct {
	ToGroupId uint64        `protobuf:"varint,1,opt,name=to_group_id,json=toGroupId,proto3" json:"to_group_id,omitempty"`
	AtUserId  []uint64      `protobuf:"varint,2,rep,packed,name=at_user_id,json=atUserId,proto3" json:"at_user_id,omitempty"`
	Video     *VideoMessage `protobuf:"bytes,3,opt,name=video,proto3" json:"video,omitempty"`
	// contains filtered or unexported fields
}

func (*SendGroupVideoMessageRequest) Descriptor deprecated

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

Deprecated: Use SendGroupVideoMessageRequest.ProtoReflect.Descriptor instead.

func (*SendGroupVideoMessageRequest) GetAtUserId

func (x *SendGroupVideoMessageRequest) GetAtUserId() []uint64

func (*SendGroupVideoMessageRequest) GetToGroupId

func (x *SendGroupVideoMessageRequest) GetToGroupId() uint64

func (*SendGroupVideoMessageRequest) GetVideo

func (*SendGroupVideoMessageRequest) ProtoMessage

func (*SendGroupVideoMessageRequest) ProtoMessage()

func (*SendGroupVideoMessageRequest) ProtoReflect

func (*SendGroupVideoMessageRequest) Reset

func (x *SendGroupVideoMessageRequest) Reset()

func (*SendGroupVideoMessageRequest) String

func (*SendGroupVideoMessageRequest) Validate

func (m *SendGroupVideoMessageRequest) Validate() error

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

func (m *SendGroupVideoMessageRequest) ValidateAll() error

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

type SendGroupVideoMessageRequestMultiError

type SendGroupVideoMessageRequestMultiError []error

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

func (SendGroupVideoMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupVideoMessageRequestMultiError) Error

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

type SendGroupVideoMessageRequestValidationError

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

SendGroupVideoMessageRequestValidationError is the validation error returned by SendGroupVideoMessageRequest.Validate if the designated constraints aren't met.

func (SendGroupVideoMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendGroupVideoMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendGroupVideoMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendGroupVideoMessageRequestValidationError) Field

Field function returns field value.

func (SendGroupVideoMessageRequestValidationError) Key

Key function returns key value.

func (SendGroupVideoMessageRequestValidationError) Reason

Reason function returns reason value.

type SendGroupVideoMessageResponse

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

func (*SendGroupVideoMessageResponse) Descriptor deprecated

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

Deprecated: Use SendGroupVideoMessageResponse.ProtoReflect.Descriptor instead.

func (*SendGroupVideoMessageResponse) GetId

func (*SendGroupVideoMessageResponse) ProtoMessage

func (*SendGroupVideoMessageResponse) ProtoMessage()

func (*SendGroupVideoMessageResponse) ProtoReflect

func (*SendGroupVideoMessageResponse) Reset

func (x *SendGroupVideoMessageResponse) Reset()

func (*SendGroupVideoMessageResponse) String

func (*SendGroupVideoMessageResponse) Validate

func (m *SendGroupVideoMessageResponse) Validate() error

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

func (m *SendGroupVideoMessageResponse) ValidateAll() error

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

type SendGroupVideoMessageResponseMultiError

type SendGroupVideoMessageResponseMultiError []error

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

func (SendGroupVideoMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendGroupVideoMessageResponseMultiError) Error

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

type SendGroupVideoMessageResponseValidationError

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

SendGroupVideoMessageResponseValidationError is the validation error returned by SendGroupVideoMessageResponse.Validate if the designated constraints aren't met.

func (SendGroupVideoMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendGroupVideoMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendGroupVideoMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendGroupVideoMessageResponseValidationError) Field

Field function returns field value.

func (SendGroupVideoMessageResponseValidationError) Key

Key function returns key value.

func (SendGroupVideoMessageResponseValidationError) Reason

Reason function returns reason value.

type SendMessageRequest

type SendMessageRequest struct {
	GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
	Cmd       string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"`
	RequestId uint32 `protobuf:"varint,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Data      []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	SenderId  string `protobuf:"bytes,5,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageRequest) Descriptor deprecated

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

Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.

func (*SendMessageRequest) GetCmd

func (x *SendMessageRequest) GetCmd() string

func (*SendMessageRequest) GetData

func (x *SendMessageRequest) GetData() []byte

func (*SendMessageRequest) GetGatewayId

func (x *SendMessageRequest) GetGatewayId() string

func (*SendMessageRequest) GetRequestId

func (x *SendMessageRequest) GetRequestId() uint32

func (*SendMessageRequest) GetSenderId

func (x *SendMessageRequest) GetSenderId() string

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) ProtoReflect

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

func (*SendMessageRequest) Reset

func (x *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (x *SendMessageRequest) String() string

func (*SendMessageRequest) Validate

func (m *SendMessageRequest) Validate() error

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

func (m *SendMessageRequest) ValidateAll() error

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

type SendMessageRequestMultiError

type SendMessageRequestMultiError []error

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

func (SendMessageRequestMultiError) AllErrors

func (m SendMessageRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendMessageRequestMultiError) Error

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

type SendMessageRequestValidationError

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

SendMessageRequestValidationError is the validation error returned by SendMessageRequest.Validate if the designated constraints aren't met.

func (SendMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendMessageRequestValidationError) Field

Field function returns field value.

func (SendMessageRequestValidationError) Key

Key function returns key value.

func (SendMessageRequestValidationError) Reason

Reason function returns reason value.

type SendMessageResponse

type SendMessageResponse struct {
	GatewayId  string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
	Cmd        string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"`
	RequestId  uint32 `protobuf:"varint,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Data       []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	ReceiverId string `protobuf:"bytes,5,opt,name=receiver_id,json=receiverId,proto3" json:"receiver_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendMessageResponse) Descriptor deprecated

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

Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.

func (*SendMessageResponse) GetCmd

func (x *SendMessageResponse) GetCmd() string

func (*SendMessageResponse) GetData

func (x *SendMessageResponse) GetData() []byte

func (*SendMessageResponse) GetGatewayId

func (x *SendMessageResponse) GetGatewayId() string

func (*SendMessageResponse) GetReceiverId

func (x *SendMessageResponse) GetReceiverId() string

func (*SendMessageResponse) GetRequestId

func (x *SendMessageResponse) GetRequestId() uint32

func (*SendMessageResponse) ProtoMessage

func (*SendMessageResponse) ProtoMessage()

func (*SendMessageResponse) ProtoReflect

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

func (*SendMessageResponse) Reset

func (x *SendMessageResponse) Reset()

func (*SendMessageResponse) String

func (x *SendMessageResponse) String() string

func (*SendMessageResponse) Validate

func (m *SendMessageResponse) Validate() error

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

func (m *SendMessageResponse) ValidateAll() error

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

type SendMessageResponseMultiError

type SendMessageResponseMultiError []error

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

func (SendMessageResponseMultiError) AllErrors

func (m SendMessageResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendMessageResponseMultiError) Error

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

type SendMessageResponseValidationError

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

SendMessageResponseValidationError is the validation error returned by SendMessageResponse.Validate if the designated constraints aren't met.

func (SendMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendMessageResponseValidationError) Field

Field function returns field value.

func (SendMessageResponseValidationError) Key

Key function returns key value.

func (SendMessageResponseValidationError) Reason

Reason function returns reason value.

type SendToAllRequest

type SendToAllRequest struct {
	Data     []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	SenderId string `protobuf:"bytes,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SendToAllRequest) Descriptor deprecated

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

Deprecated: Use SendToAllRequest.ProtoReflect.Descriptor instead.

func (*SendToAllRequest) GetData

func (x *SendToAllRequest) GetData() []byte

func (*SendToAllRequest) GetSenderId

func (x *SendToAllRequest) GetSenderId() string

func (*SendToAllRequest) ProtoMessage

func (*SendToAllRequest) ProtoMessage()

func (*SendToAllRequest) ProtoReflect

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

func (*SendToAllRequest) Reset

func (x *SendToAllRequest) Reset()

func (*SendToAllRequest) String

func (x *SendToAllRequest) String() string

func (*SendToAllRequest) Validate

func (m *SendToAllRequest) Validate() error

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

func (m *SendToAllRequest) ValidateAll() error

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

type SendToAllRequestMultiError

type SendToAllRequestMultiError []error

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

func (SendToAllRequestMultiError) AllErrors

func (m SendToAllRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendToAllRequestMultiError) Error

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

type SendToAllRequestValidationError

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

SendToAllRequestValidationError is the validation error returned by SendToAllRequest.Validate if the designated constraints aren't met.

func (SendToAllRequestValidationError) Cause

Cause function returns cause value.

func (SendToAllRequestValidationError) Error

Error satisfies the builtin error interface

func (SendToAllRequestValidationError) ErrorName

ErrorName returns error name.

func (SendToAllRequestValidationError) Field

Field function returns field value.

func (SendToAllRequestValidationError) Key

Key function returns key value.

func (SendToAllRequestValidationError) Reason

Reason function returns reason value.

type SendToAllResponse

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

func (*SendToAllResponse) Descriptor deprecated

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

Deprecated: Use SendToAllResponse.ProtoReflect.Descriptor instead.

func (*SendToAllResponse) ProtoMessage

func (*SendToAllResponse) ProtoMessage()

func (*SendToAllResponse) ProtoReflect

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

func (*SendToAllResponse) Reset

func (x *SendToAllResponse) Reset()

func (*SendToAllResponse) String

func (x *SendToAllResponse) String() string

func (*SendToAllResponse) Validate

func (m *SendToAllResponse) Validate() error

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

func (m *SendToAllResponse) ValidateAll() error

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

type SendToAllResponseMultiError

type SendToAllResponseMultiError []error

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

func (SendToAllResponseMultiError) AllErrors

func (m SendToAllResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SendToAllResponseMultiError) Error

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

type SendToAllResponseValidationError

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

SendToAllResponseValidationError is the validation error returned by SendToAllResponse.Validate if the designated constraints aren't met.

func (SendToAllResponseValidationError) Cause

Cause function returns cause value.

func (SendToAllResponseValidationError) Error

Error satisfies the builtin error interface

func (SendToAllResponseValidationError) ErrorName

ErrorName returns error name.

func (SendToAllResponseValidationError) Field

Field function returns field value.

func (SendToAllResponseValidationError) Key

Key function returns key value.

func (SendToAllResponseValidationError) Reason

Reason function returns reason value.

type SendUserFaceMessageRequest

type SendUserFaceMessageRequest struct {
	ToUserId uint64       `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"`
	Face     *FaceMessage `protobuf:"bytes,2,opt,name=face,proto3" json:"face,omitempty"`
	// contains filtered or unexported fields
}

func (*SendUserFaceMessageRequest) Descriptor deprecated

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

Deprecated: Use SendUserFaceMessageRequest.ProtoReflect.Descriptor instead.

func (*SendUserFaceMessageRequest) GetFace

func (*SendUserFaceMessageRequest) GetToUserId

func (x *SendUserFaceMessageRequest) GetToUserId() uint64

func (*SendUserFaceMessageRequest) ProtoMessage

func (*SendUserFaceMessageRequest) ProtoMessage()

func (*SendUserFaceMessageRequest) ProtoReflect

func (*SendUserFaceMessageRequest) Reset

func (x *SendUserFaceMessageRequest) Reset()

func (*SendUserFaceMessageRequest) String

func (x *SendUserFaceMessageRequest) String() string

func (*SendUserFaceMessageRequest) Validate

func (m *SendUserFaceMessageRequest) Validate() error

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

func (m *SendUserFaceMessageRequest) ValidateAll() error

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

type SendUserFaceMessageRequestMultiError

type SendUserFaceMessageRequestMultiError []error

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

func (SendUserFaceMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserFaceMessageRequestMultiError) Error

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

type SendUserFaceMessageRequestValidationError

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

SendUserFaceMessageRequestValidationError is the validation error returned by SendUserFaceMessageRequest.Validate if the designated constraints aren't met.

func (SendUserFaceMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendUserFaceMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendUserFaceMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendUserFaceMessageRequestValidationError) Field

Field function returns field value.

func (SendUserFaceMessageRequestValidationError) Key

Key function returns key value.

func (SendUserFaceMessageRequestValidationError) Reason

Reason function returns reason value.

type SendUserFaceMessageResponse

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

func (*SendUserFaceMessageResponse) Descriptor deprecated

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

Deprecated: Use SendUserFaceMessageResponse.ProtoReflect.Descriptor instead.

func (*SendUserFaceMessageResponse) GetId

func (*SendUserFaceMessageResponse) ProtoMessage

func (*SendUserFaceMessageResponse) ProtoMessage()

func (*SendUserFaceMessageResponse) ProtoReflect

func (*SendUserFaceMessageResponse) Reset

func (x *SendUserFaceMessageResponse) Reset()

func (*SendUserFaceMessageResponse) String

func (x *SendUserFaceMessageResponse) String() string

func (*SendUserFaceMessageResponse) Validate

func (m *SendUserFaceMessageResponse) Validate() error

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

func (m *SendUserFaceMessageResponse) ValidateAll() error

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

type SendUserFaceMessageResponseMultiError

type SendUserFaceMessageResponseMultiError []error

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

func (SendUserFaceMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserFaceMessageResponseMultiError) Error

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

type SendUserFaceMessageResponseValidationError

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

SendUserFaceMessageResponseValidationError is the validation error returned by SendUserFaceMessageResponse.Validate if the designated constraints aren't met.

func (SendUserFaceMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendUserFaceMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendUserFaceMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendUserFaceMessageResponseValidationError) Field

Field function returns field value.

func (SendUserFaceMessageResponseValidationError) Key

Key function returns key value.

func (SendUserFaceMessageResponseValidationError) Reason

Reason function returns reason value.

type SendUserFileMessageRequest

type SendUserFileMessageRequest struct {
	ToUserId uint64       `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"`
	File     *FileMessage `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*SendUserFileMessageRequest) Descriptor deprecated

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

Deprecated: Use SendUserFileMessageRequest.ProtoReflect.Descriptor instead.

func (*SendUserFileMessageRequest) GetFile

func (*SendUserFileMessageRequest) GetToUserId

func (x *SendUserFileMessageRequest) GetToUserId() uint64

func (*SendUserFileMessageRequest) ProtoMessage

func (*SendUserFileMessageRequest) ProtoMessage()

func (*SendUserFileMessageRequest) ProtoReflect

func (*SendUserFileMessageRequest) Reset

func (x *SendUserFileMessageRequest) Reset()

func (*SendUserFileMessageRequest) String

func (x *SendUserFileMessageRequest) String() string

func (*SendUserFileMessageRequest) Validate

func (m *SendUserFileMessageRequest) Validate() error

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

func (m *SendUserFileMessageRequest) ValidateAll() error

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

type SendUserFileMessageRequestMultiError

type SendUserFileMessageRequestMultiError []error

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

func (SendUserFileMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserFileMessageRequestMultiError) Error

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

type SendUserFileMessageRequestValidationError

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

SendUserFileMessageRequestValidationError is the validation error returned by SendUserFileMessageRequest.Validate if the designated constraints aren't met.

func (SendUserFileMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendUserFileMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendUserFileMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendUserFileMessageRequestValidationError) Field

Field function returns field value.

func (SendUserFileMessageRequestValidationError) Key

Key function returns key value.

func (SendUserFileMessageRequestValidationError) Reason

Reason function returns reason value.

type SendUserFileMessageResponse

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

func (*SendUserFileMessageResponse) Descriptor deprecated

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

Deprecated: Use SendUserFileMessageResponse.ProtoReflect.Descriptor instead.

func (*SendUserFileMessageResponse) GetId

func (*SendUserFileMessageResponse) ProtoMessage

func (*SendUserFileMessageResponse) ProtoMessage()

func (*SendUserFileMessageResponse) ProtoReflect

func (*SendUserFileMessageResponse) Reset

func (x *SendUserFileMessageResponse) Reset()

func (*SendUserFileMessageResponse) String

func (x *SendUserFileMessageResponse) String() string

func (*SendUserFileMessageResponse) Validate

func (m *SendUserFileMessageResponse) Validate() error

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

func (m *SendUserFileMessageResponse) ValidateAll() error

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

type SendUserFileMessageResponseMultiError

type SendUserFileMessageResponseMultiError []error

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

func (SendUserFileMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserFileMessageResponseMultiError) Error

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

type SendUserFileMessageResponseValidationError

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

SendUserFileMessageResponseValidationError is the validation error returned by SendUserFileMessageResponse.Validate if the designated constraints aren't met.

func (SendUserFileMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendUserFileMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendUserFileMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendUserFileMessageResponseValidationError) Field

Field function returns field value.

func (SendUserFileMessageResponseValidationError) Key

Key function returns key value.

func (SendUserFileMessageResponseValidationError) Reason

Reason function returns reason value.

type SendUserImageMessageRequest

type SendUserImageMessageRequest struct {
	ToUserId uint64            `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"`
	Image    *ImageMessageItem `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*SendUserImageMessageRequest) Descriptor deprecated

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

Deprecated: Use SendUserImageMessageRequest.ProtoReflect.Descriptor instead.

func (*SendUserImageMessageRequest) GetImage

func (*SendUserImageMessageRequest) GetToUserId

func (x *SendUserImageMessageRequest) GetToUserId() uint64

func (*SendUserImageMessageRequest) ProtoMessage

func (*SendUserImageMessageRequest) ProtoMessage()

func (*SendUserImageMessageRequest) ProtoReflect

func (*SendUserImageMessageRequest) Reset

func (x *SendUserImageMessageRequest) Reset()

func (*SendUserImageMessageRequest) String

func (x *SendUserImageMessageRequest) String() string

func (*SendUserImageMessageRequest) Validate

func (m *SendUserImageMessageRequest) Validate() error

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

func (m *SendUserImageMessageRequest) ValidateAll() error

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

type SendUserImageMessageRequestMultiError

type SendUserImageMessageRequestMultiError []error

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

func (SendUserImageMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserImageMessageRequestMultiError) Error

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

type SendUserImageMessageRequestValidationError

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

SendUserImageMessageRequestValidationError is the validation error returned by SendUserImageMessageRequest.Validate if the designated constraints aren't met.

func (SendUserImageMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendUserImageMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendUserImageMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendUserImageMessageRequestValidationError) Field

Field function returns field value.

func (SendUserImageMessageRequestValidationError) Key

Key function returns key value.

func (SendUserImageMessageRequestValidationError) Reason

Reason function returns reason value.

type SendUserImageMessageResponse

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

func (*SendUserImageMessageResponse) Descriptor deprecated

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

Deprecated: Use SendUserImageMessageResponse.ProtoReflect.Descriptor instead.

func (*SendUserImageMessageResponse) GetId

func (*SendUserImageMessageResponse) ProtoMessage

func (*SendUserImageMessageResponse) ProtoMessage()

func (*SendUserImageMessageResponse) ProtoReflect

func (*SendUserImageMessageResponse) Reset

func (x *SendUserImageMessageResponse) Reset()

func (*SendUserImageMessageResponse) String

func (*SendUserImageMessageResponse) Validate

func (m *SendUserImageMessageResponse) Validate() error

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

func (m *SendUserImageMessageResponse) ValidateAll() error

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

type SendUserImageMessageResponseMultiError

type SendUserImageMessageResponseMultiError []error

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

func (SendUserImageMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserImageMessageResponseMultiError) Error

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

type SendUserImageMessageResponseValidationError

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

SendUserImageMessageResponseValidationError is the validation error returned by SendUserImageMessageResponse.Validate if the designated constraints aren't met.

func (SendUserImageMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendUserImageMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendUserImageMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendUserImageMessageResponseValidationError) Field

Field function returns field value.

func (SendUserImageMessageResponseValidationError) Key

Key function returns key value.

func (SendUserImageMessageResponseValidationError) Reason

Reason function returns reason value.

type SendUserLocationMessageRequest

type SendUserLocationMessageRequest struct {
	ToUserId uint64           `protobuf:"varint,2,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"`
	Location *LocationMessage `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*SendUserLocationMessageRequest) Descriptor deprecated

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

Deprecated: Use SendUserLocationMessageRequest.ProtoReflect.Descriptor instead.

func (*SendUserLocationMessageRequest) GetLocation

func (*SendUserLocationMessageRequest) GetToUserId

func (x *SendUserLocationMessageRequest) GetToUserId() uint64

func (*SendUserLocationMessageRequest) ProtoMessage

func (*SendUserLocationMessageRequest) ProtoMessage()

func (*SendUserLocationMessageRequest) ProtoReflect

func (*SendUserLocationMessageRequest) Reset

func (x *SendUserLocationMessageRequest) Reset()

func (*SendUserLocationMessageRequest) String

func (*SendUserLocationMessageRequest) Validate

func (m *SendUserLocationMessageRequest) Validate() error

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

func (m *SendUserLocationMessageRequest) ValidateAll() error

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

type SendUserLocationMessageRequestMultiError

type SendUserLocationMessageRequestMultiError []error

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

func (SendUserLocationMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserLocationMessageRequestMultiError) Error

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

type SendUserLocationMessageRequestValidationError

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

SendUserLocationMessageRequestValidationError is the validation error returned by SendUserLocationMessageRequest.Validate if the designated constraints aren't met.

func (SendUserLocationMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendUserLocationMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendUserLocationMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendUserLocationMessageRequestValidationError) Field

Field function returns field value.

func (SendUserLocationMessageRequestValidationError) Key

Key function returns key value.

func (SendUserLocationMessageRequestValidationError) Reason

Reason function returns reason value.

type SendUserLocationMessageResponse

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

func (*SendUserLocationMessageResponse) Descriptor deprecated

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

Deprecated: Use SendUserLocationMessageResponse.ProtoReflect.Descriptor instead.

func (*SendUserLocationMessageResponse) GetId

func (*SendUserLocationMessageResponse) ProtoMessage

func (*SendUserLocationMessageResponse) ProtoMessage()

func (*SendUserLocationMessageResponse) ProtoReflect

func (*SendUserLocationMessageResponse) Reset

func (*SendUserLocationMessageResponse) String

func (*SendUserLocationMessageResponse) Validate

func (m *SendUserLocationMessageResponse) Validate() error

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

func (m *SendUserLocationMessageResponse) ValidateAll() error

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

type SendUserLocationMessageResponseMultiError

type SendUserLocationMessageResponseMultiError []error

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

func (SendUserLocationMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserLocationMessageResponseMultiError) Error

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

type SendUserLocationMessageResponseValidationError

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

SendUserLocationMessageResponseValidationError is the validation error returned by SendUserLocationMessageResponse.Validate if the designated constraints aren't met.

func (SendUserLocationMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendUserLocationMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendUserLocationMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendUserLocationMessageResponseValidationError) Field

Field function returns field value.

func (SendUserLocationMessageResponseValidationError) Key

Key function returns key value.

func (SendUserLocationMessageResponseValidationError) Reason

Reason function returns reason value.

type SendUserSoundMessageRequest

type SendUserSoundMessageRequest struct {
	ToUserId uint64        `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"`
	Sound    *SoundMessage `protobuf:"bytes,2,opt,name=sound,proto3" json:"sound,omitempty"`
	// contains filtered or unexported fields
}

func (*SendUserSoundMessageRequest) Descriptor deprecated

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

Deprecated: Use SendUserSoundMessageRequest.ProtoReflect.Descriptor instead.

func (*SendUserSoundMessageRequest) GetSound

func (*SendUserSoundMessageRequest) GetToUserId

func (x *SendUserSoundMessageRequest) GetToUserId() uint64

func (*SendUserSoundMessageRequest) ProtoMessage

func (*SendUserSoundMessageRequest) ProtoMessage()

func (*SendUserSoundMessageRequest) ProtoReflect

func (*SendUserSoundMessageRequest) Reset

func (x *SendUserSoundMessageRequest) Reset()

func (*SendUserSoundMessageRequest) String

func (x *SendUserSoundMessageRequest) String() string

func (*SendUserSoundMessageRequest) Validate

func (m *SendUserSoundMessageRequest) Validate() error

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

func (m *SendUserSoundMessageRequest) ValidateAll() error

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

type SendUserSoundMessageRequestMultiError

type SendUserSoundMessageRequestMultiError []error

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

func (SendUserSoundMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserSoundMessageRequestMultiError) Error

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

type SendUserSoundMessageRequestValidationError

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

SendUserSoundMessageRequestValidationError is the validation error returned by SendUserSoundMessageRequest.Validate if the designated constraints aren't met.

func (SendUserSoundMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendUserSoundMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendUserSoundMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendUserSoundMessageRequestValidationError) Field

Field function returns field value.

func (SendUserSoundMessageRequestValidationError) Key

Key function returns key value.

func (SendUserSoundMessageRequestValidationError) Reason

Reason function returns reason value.

type SendUserSoundMessageResponse

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

func (*SendUserSoundMessageResponse) Descriptor deprecated

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

Deprecated: Use SendUserSoundMessageResponse.ProtoReflect.Descriptor instead.

func (*SendUserSoundMessageResponse) GetId

func (*SendUserSoundMessageResponse) ProtoMessage

func (*SendUserSoundMessageResponse) ProtoMessage()

func (*SendUserSoundMessageResponse) ProtoReflect

func (*SendUserSoundMessageResponse) Reset

func (x *SendUserSoundMessageResponse) Reset()

func (*SendUserSoundMessageResponse) String

func (*SendUserSoundMessageResponse) Validate

func (m *SendUserSoundMessageResponse) Validate() error

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

func (m *SendUserSoundMessageResponse) ValidateAll() error

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

type SendUserSoundMessageResponseMultiError

type SendUserSoundMessageResponseMultiError []error

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

func (SendUserSoundMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserSoundMessageResponseMultiError) Error

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

type SendUserSoundMessageResponseValidationError

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

SendUserSoundMessageResponseValidationError is the validation error returned by SendUserSoundMessageResponse.Validate if the designated constraints aren't met.

func (SendUserSoundMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendUserSoundMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendUserSoundMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendUserSoundMessageResponseValidationError) Field

Field function returns field value.

func (SendUserSoundMessageResponseValidationError) Key

Key function returns key value.

func (SendUserSoundMessageResponseValidationError) Reason

Reason function returns reason value.

type SendUserTextMessageRequest

type SendUserTextMessageRequest struct {
	ToUserId uint64       `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"`
	Text     *TextMessage `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*SendUserTextMessageRequest) Descriptor deprecated

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

Deprecated: Use SendUserTextMessageRequest.ProtoReflect.Descriptor instead.

func (*SendUserTextMessageRequest) GetText

func (*SendUserTextMessageRequest) GetToUserId

func (x *SendUserTextMessageRequest) GetToUserId() uint64

func (*SendUserTextMessageRequest) ProtoMessage

func (*SendUserTextMessageRequest) ProtoMessage()

func (*SendUserTextMessageRequest) ProtoReflect

func (*SendUserTextMessageRequest) Reset

func (x *SendUserTextMessageRequest) Reset()

func (*SendUserTextMessageRequest) String

func (x *SendUserTextMessageRequest) String() string

func (*SendUserTextMessageRequest) Validate

func (m *SendUserTextMessageRequest) Validate() error

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

func (m *SendUserTextMessageRequest) ValidateAll() error

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

type SendUserTextMessageRequestMultiError

type SendUserTextMessageRequestMultiError []error

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

func (SendUserTextMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserTextMessageRequestMultiError) Error

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

type SendUserTextMessageRequestValidationError

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

SendUserTextMessageRequestValidationError is the validation error returned by SendUserTextMessageRequest.Validate if the designated constraints aren't met.

func (SendUserTextMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendUserTextMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendUserTextMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendUserTextMessageRequestValidationError) Field

Field function returns field value.

func (SendUserTextMessageRequestValidationError) Key

Key function returns key value.

func (SendUserTextMessageRequestValidationError) Reason

Reason function returns reason value.

type SendUserTextMessageResponse

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

func (*SendUserTextMessageResponse) Descriptor deprecated

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

Deprecated: Use SendUserTextMessageResponse.ProtoReflect.Descriptor instead.

func (*SendUserTextMessageResponse) GetId

func (*SendUserTextMessageResponse) ProtoMessage

func (*SendUserTextMessageResponse) ProtoMessage()

func (*SendUserTextMessageResponse) ProtoReflect

func (*SendUserTextMessageResponse) Reset

func (x *SendUserTextMessageResponse) Reset()

func (*SendUserTextMessageResponse) String

func (x *SendUserTextMessageResponse) String() string

func (*SendUserTextMessageResponse) Validate

func (m *SendUserTextMessageResponse) Validate() error

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

func (m *SendUserTextMessageResponse) ValidateAll() error

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

type SendUserTextMessageResponseMultiError

type SendUserTextMessageResponseMultiError []error

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

func (SendUserTextMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserTextMessageResponseMultiError) Error

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

type SendUserTextMessageResponseValidationError

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

SendUserTextMessageResponseValidationError is the validation error returned by SendUserTextMessageResponse.Validate if the designated constraints aren't met.

func (SendUserTextMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendUserTextMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendUserTextMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendUserTextMessageResponseValidationError) Field

Field function returns field value.

func (SendUserTextMessageResponseValidationError) Key

Key function returns key value.

func (SendUserTextMessageResponseValidationError) Reason

Reason function returns reason value.

type SendUserVideoMessageRequest

type SendUserVideoMessageRequest struct {
	ToUserId uint64        `protobuf:"varint,1,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"`
	Video    *VideoMessage `protobuf:"bytes,2,opt,name=video,proto3" json:"video,omitempty"`
	// contains filtered or unexported fields
}

func (*SendUserVideoMessageRequest) Descriptor deprecated

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

Deprecated: Use SendUserVideoMessageRequest.ProtoReflect.Descriptor instead.

func (*SendUserVideoMessageRequest) GetToUserId

func (x *SendUserVideoMessageRequest) GetToUserId() uint64

func (*SendUserVideoMessageRequest) GetVideo

func (*SendUserVideoMessageRequest) ProtoMessage

func (*SendUserVideoMessageRequest) ProtoMessage()

func (*SendUserVideoMessageRequest) ProtoReflect

func (*SendUserVideoMessageRequest) Reset

func (x *SendUserVideoMessageRequest) Reset()

func (*SendUserVideoMessageRequest) String

func (x *SendUserVideoMessageRequest) String() string

func (*SendUserVideoMessageRequest) Validate

func (m *SendUserVideoMessageRequest) Validate() error

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

func (m *SendUserVideoMessageRequest) ValidateAll() error

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

type SendUserVideoMessageRequestMultiError

type SendUserVideoMessageRequestMultiError []error

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

func (SendUserVideoMessageRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserVideoMessageRequestMultiError) Error

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

type SendUserVideoMessageRequestValidationError

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

SendUserVideoMessageRequestValidationError is the validation error returned by SendUserVideoMessageRequest.Validate if the designated constraints aren't met.

func (SendUserVideoMessageRequestValidationError) Cause

Cause function returns cause value.

func (SendUserVideoMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (SendUserVideoMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (SendUserVideoMessageRequestValidationError) Field

Field function returns field value.

func (SendUserVideoMessageRequestValidationError) Key

Key function returns key value.

func (SendUserVideoMessageRequestValidationError) Reason

Reason function returns reason value.

type SendUserVideoMessageResponse

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

func (*SendUserVideoMessageResponse) Descriptor deprecated

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

Deprecated: Use SendUserVideoMessageResponse.ProtoReflect.Descriptor instead.

func (*SendUserVideoMessageResponse) GetId

func (*SendUserVideoMessageResponse) ProtoMessage

func (*SendUserVideoMessageResponse) ProtoMessage()

func (*SendUserVideoMessageResponse) ProtoReflect

func (*SendUserVideoMessageResponse) Reset

func (x *SendUserVideoMessageResponse) Reset()

func (*SendUserVideoMessageResponse) String

func (*SendUserVideoMessageResponse) Validate

func (m *SendUserVideoMessageResponse) Validate() error

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

func (m *SendUserVideoMessageResponse) ValidateAll() error

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

type SendUserVideoMessageResponseMultiError

type SendUserVideoMessageResponseMultiError []error

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

func (SendUserVideoMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SendUserVideoMessageResponseMultiError) Error

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

type SendUserVideoMessageResponseValidationError

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

SendUserVideoMessageResponseValidationError is the validation error returned by SendUserVideoMessageResponse.Validate if the designated constraints aren't met.

func (SendUserVideoMessageResponseValidationError) Cause

Cause function returns cause value.

func (SendUserVideoMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (SendUserVideoMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (SendUserVideoMessageResponseValidationError) Field

Field function returns field value.

func (SendUserVideoMessageResponseValidationError) Key

Key function returns key value.

func (SendUserVideoMessageResponseValidationError) Reason

Reason function returns reason value.

type SoundMessage

type SoundMessage struct {
	Id      uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Url     string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Size    uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Seconds uint64 `protobuf:"varint,4,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// contains filtered or unexported fields
}

语音消息

func (*SoundMessage) Descriptor deprecated

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

Deprecated: Use SoundMessage.ProtoReflect.Descriptor instead.

func (*SoundMessage) GetId

func (x *SoundMessage) GetId() uint64

func (*SoundMessage) GetSeconds

func (x *SoundMessage) GetSeconds() uint64

func (*SoundMessage) GetSize

func (x *SoundMessage) GetSize() uint64

func (*SoundMessage) GetUrl

func (x *SoundMessage) GetUrl() string

func (*SoundMessage) ProtoMessage

func (*SoundMessage) ProtoMessage()

func (*SoundMessage) ProtoReflect

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

func (*SoundMessage) Reset

func (x *SoundMessage) Reset()

func (*SoundMessage) String

func (x *SoundMessage) String() string

func (*SoundMessage) Validate

func (m *SoundMessage) Validate() error

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

func (m *SoundMessage) ValidateAll() error

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

type SoundMessageMultiError

type SoundMessageMultiError []error

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

func (SoundMessageMultiError) AllErrors

func (m SoundMessageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SoundMessageMultiError) Error

func (m SoundMessageMultiError) Error() string

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

type SoundMessageValidationError

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

SoundMessageValidationError is the validation error returned by SoundMessage.Validate if the designated constraints aren't met.

func (SoundMessageValidationError) Cause

Cause function returns cause value.

func (SoundMessageValidationError) Error

Error satisfies the builtin error interface

func (SoundMessageValidationError) ErrorName

func (e SoundMessageValidationError) ErrorName() string

ErrorName returns error name.

func (SoundMessageValidationError) Field

Field function returns field value.

func (SoundMessageValidationError) Key

Key function returns key value.

func (SoundMessageValidationError) Reason

Reason function returns reason value.

type TextMessage

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

文本消息

func (*TextMessage) Descriptor deprecated

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

Deprecated: Use TextMessage.ProtoReflect.Descriptor instead.

func (*TextMessage) GetContent

func (x *TextMessage) GetContent() string

func (*TextMessage) GetId

func (x *TextMessage) GetId() uint64

func (*TextMessage) ProtoMessage

func (*TextMessage) ProtoMessage()

func (*TextMessage) ProtoReflect

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

func (*TextMessage) Reset

func (x *TextMessage) Reset()

func (*TextMessage) String

func (x *TextMessage) String() string

func (*TextMessage) Validate

func (m *TextMessage) Validate() error

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

func (m *TextMessage) ValidateAll() error

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

type TextMessageMultiError

type TextMessageMultiError []error

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

func (TextMessageMultiError) AllErrors

func (m TextMessageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TextMessageMultiError) Error

func (m TextMessageMultiError) Error() string

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

type TextMessageValidationError

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

TextMessageValidationError is the validation error returned by TextMessage.Validate if the designated constraints aren't met.

func (TextMessageValidationError) Cause

Cause function returns cause value.

func (TextMessageValidationError) Error

Error satisfies the builtin error interface

func (TextMessageValidationError) ErrorName

func (e TextMessageValidationError) ErrorName() string

ErrorName returns error name.

func (TextMessageValidationError) Field

Field function returns field value.

func (TextMessageValidationError) Key

Key function returns key value.

func (TextMessageValidationError) Reason

Reason function returns reason value.

type UnRegisterRequest

type UnRegisterRequest struct {
	GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
	ClientId  string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UnRegisterRequest) Descriptor deprecated

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

Deprecated: Use UnRegisterRequest.ProtoReflect.Descriptor instead.

func (*UnRegisterRequest) GetClientId

func (x *UnRegisterRequest) GetClientId() string

func (*UnRegisterRequest) GetGatewayId

func (x *UnRegisterRequest) GetGatewayId() string

func (*UnRegisterRequest) ProtoMessage

func (*UnRegisterRequest) ProtoMessage()

func (*UnRegisterRequest) ProtoReflect

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

func (*UnRegisterRequest) Reset

func (x *UnRegisterRequest) Reset()

func (*UnRegisterRequest) String

func (x *UnRegisterRequest) String() string

func (*UnRegisterRequest) Validate

func (m *UnRegisterRequest) Validate() error

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

func (m *UnRegisterRequest) ValidateAll() error

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

type UnRegisterRequestMultiError

type UnRegisterRequestMultiError []error

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

func (UnRegisterRequestMultiError) AllErrors

func (m UnRegisterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnRegisterRequestMultiError) Error

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

type UnRegisterRequestValidationError

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

UnRegisterRequestValidationError is the validation error returned by UnRegisterRequest.Validate if the designated constraints aren't met.

func (UnRegisterRequestValidationError) Cause

Cause function returns cause value.

func (UnRegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (UnRegisterRequestValidationError) ErrorName

ErrorName returns error name.

func (UnRegisterRequestValidationError) Field

Field function returns field value.

func (UnRegisterRequestValidationError) Key

Key function returns key value.

func (UnRegisterRequestValidationError) Reason

Reason function returns reason value.

type UnRegisterResponse

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

func (*UnRegisterResponse) Descriptor deprecated

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

Deprecated: Use UnRegisterResponse.ProtoReflect.Descriptor instead.

func (*UnRegisterResponse) ProtoMessage

func (*UnRegisterResponse) ProtoMessage()

func (*UnRegisterResponse) ProtoReflect

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

func (*UnRegisterResponse) Reset

func (x *UnRegisterResponse) Reset()

func (*UnRegisterResponse) String

func (x *UnRegisterResponse) String() string

func (*UnRegisterResponse) Validate

func (m *UnRegisterResponse) Validate() error

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

func (m *UnRegisterResponse) ValidateAll() error

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

type UnRegisterResponseMultiError

type UnRegisterResponseMultiError []error

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

func (UnRegisterResponseMultiError) AllErrors

func (m UnRegisterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UnRegisterResponseMultiError) Error

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

type UnRegisterResponseValidationError

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

UnRegisterResponseValidationError is the validation error returned by UnRegisterResponse.Validate if the designated constraints aren't met.

func (UnRegisterResponseValidationError) Cause

Cause function returns cause value.

func (UnRegisterResponseValidationError) Error

Error satisfies the builtin error interface

func (UnRegisterResponseValidationError) ErrorName

ErrorName returns error name.

func (UnRegisterResponseValidationError) Field

Field function returns field value.

func (UnRegisterResponseValidationError) Key

Key function returns key value.

func (UnRegisterResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedCommonServiceServer

type UnimplementedCommonServiceServer struct {
}

UnimplementedCommonServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCommonServiceServer) Ping

func (UnimplementedCommonServiceServer) SendEmail

func (UnimplementedCommonServiceServer) UploadImage

type UnimplementedFeedServiceServer

type UnimplementedFeedServiceServer struct {
}

UnimplementedFeedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFeedServiceServer) FeedCreate

func (UnimplementedFeedServiceServer) FeedDelete

func (UnimplementedFeedServiceServer) FeedEdit

func (UnimplementedFeedServiceServer) FeedFollow

func (UnimplementedFeedServiceServer) FeedGet

func (UnimplementedFeedServiceServer) FeedLike

func (UnimplementedFeedServiceServer) FeedOwn

func (UnimplementedFeedServiceServer) FeedQuery

func (UnimplementedFeedServiceServer) FeedUnLike

func (UnimplementedFeedServiceServer) Ping

type UnimplementedGatewayServiceServer

type UnimplementedGatewayServiceServer struct {
}

UnimplementedGatewayServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGatewayServiceServer) Ping

func (UnimplementedGatewayServiceServer) Register

func (UnimplementedGatewayServiceServer) SendMessage

func (UnimplementedGatewayServiceServer) SendToAll

func (UnimplementedGatewayServiceServer) UnRegister

type UnimplementedGroupServiceServer

type UnimplementedGroupServiceServer struct {
}

UnimplementedGroupServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGroupServiceServer) CreateGroup

func (UnimplementedGroupServiceServer) DeleteGroup

func (UnimplementedGroupServiceServer) GetGroup

func (UnimplementedGroupServiceServer) JoinGroup

func (UnimplementedGroupServiceServer) Ping

func (UnimplementedGroupServiceServer) QueryGroup

func (UnimplementedGroupServiceServer) QuitGroup

func (UnimplementedGroupServiceServer) UpdateGroup

type UnimplementedMessageServiceServer

type UnimplementedMessageServiceServer struct {
}

UnimplementedMessageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMessageServiceServer) Ping

func (UnimplementedMessageServiceServer) SendUserFaceMessage

func (UnimplementedMessageServiceServer) SendUserFileMessage

func (UnimplementedMessageServiceServer) SendUserTextMessage

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) GetUser

func (UnimplementedUserServiceServer) Ping

func (UnimplementedUserServiceServer) QueryUser

func (UnimplementedUserServiceServer) UpdateAvatar

func (UnimplementedUserServiceServer) UpdatePassword

func (UnimplementedUserServiceServer) UserLogin

type UnsafeCommonServiceServer

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

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

type UnsafeFeedServiceServer

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

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

type UnsafeGatewayServiceServer

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

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

type UnsafeGroupServiceServer

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

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

type UnsafeMessageServiceServer

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

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

type UnsafeUserServiceServer

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

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

type UpdateAvatarRequest

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

func (*UpdateAvatarRequest) Descriptor deprecated

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

Deprecated: Use UpdateAvatarRequest.ProtoReflect.Descriptor instead.

func (*UpdateAvatarRequest) GetUrl

func (x *UpdateAvatarRequest) GetUrl() string

func (*UpdateAvatarRequest) ProtoMessage

func (*UpdateAvatarRequest) ProtoMessage()

func (*UpdateAvatarRequest) ProtoReflect

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

func (*UpdateAvatarRequest) Reset

func (x *UpdateAvatarRequest) Reset()

func (*UpdateAvatarRequest) String

func (x *UpdateAvatarRequest) String() string

func (*UpdateAvatarRequest) Validate

func (m *UpdateAvatarRequest) Validate() error

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

func (m *UpdateAvatarRequest) ValidateAll() error

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

type UpdateAvatarRequestMultiError

type UpdateAvatarRequestMultiError []error

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

func (UpdateAvatarRequestMultiError) AllErrors

func (m UpdateAvatarRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateAvatarRequestMultiError) Error

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

type UpdateAvatarRequestValidationError

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

UpdateAvatarRequestValidationError is the validation error returned by UpdateAvatarRequest.Validate if the designated constraints aren't met.

func (UpdateAvatarRequestValidationError) Cause

Cause function returns cause value.

func (UpdateAvatarRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateAvatarRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateAvatarRequestValidationError) Field

Field function returns field value.

func (UpdateAvatarRequestValidationError) Key

Key function returns key value.

func (UpdateAvatarRequestValidationError) Reason

Reason function returns reason value.

type UpdateAvatarResponse

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

func (*UpdateAvatarResponse) Descriptor deprecated

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

Deprecated: Use UpdateAvatarResponse.ProtoReflect.Descriptor instead.

func (*UpdateAvatarResponse) ProtoMessage

func (*UpdateAvatarResponse) ProtoMessage()

func (*UpdateAvatarResponse) ProtoReflect

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

func (*UpdateAvatarResponse) Reset

func (x *UpdateAvatarResponse) Reset()

func (*UpdateAvatarResponse) String

func (x *UpdateAvatarResponse) String() string

func (*UpdateAvatarResponse) Validate

func (m *UpdateAvatarResponse) Validate() error

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

func (m *UpdateAvatarResponse) ValidateAll() error

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

type UpdateAvatarResponseMultiError

type UpdateAvatarResponseMultiError []error

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

func (UpdateAvatarResponseMultiError) AllErrors

func (m UpdateAvatarResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateAvatarResponseMultiError) Error

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

type UpdateAvatarResponseValidationError

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

UpdateAvatarResponseValidationError is the validation error returned by UpdateAvatarResponse.Validate if the designated constraints aren't met.

func (UpdateAvatarResponseValidationError) Cause

Cause function returns cause value.

func (UpdateAvatarResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateAvatarResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateAvatarResponseValidationError) Field

Field function returns field value.

func (UpdateAvatarResponseValidationError) Key

Key function returns key value.

func (UpdateAvatarResponseValidationError) Reason

Reason function returns reason value.

type UpdateGroupRequest

type UpdateGroupRequest struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Introduction string `protobuf:"bytes,3,opt,name=introduction,proto3" json:"introduction,omitempty"`
	AvatarUrl    string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateGroupRequest) Descriptor deprecated

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

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetAvatarUrl

func (x *UpdateGroupRequest) GetAvatarUrl() string

func (*UpdateGroupRequest) GetId

func (x *UpdateGroupRequest) GetId() uint64

func (*UpdateGroupRequest) GetIntroduction

func (x *UpdateGroupRequest) GetIntroduction() string

func (*UpdateGroupRequest) GetName

func (x *UpdateGroupRequest) GetName() string

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

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

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

func (*UpdateGroupRequest) Validate

func (m *UpdateGroupRequest) Validate() error

Validate checks the field values on UpdateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateGroupRequest) ValidateAll

func (m *UpdateGroupRequest) ValidateAll() error

ValidateAll checks the field values on UpdateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateGroupRequestMultiError, or nil if none found.

type UpdateGroupRequestMultiError

type UpdateGroupRequestMultiError []error

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

func (UpdateGroupRequestMultiError) AllErrors

func (m UpdateGroupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateGroupRequestMultiError) Error

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

type UpdateGroupRequestValidationError

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

UpdateGroupRequestValidationError is the validation error returned by UpdateGroupRequest.Validate if the designated constraints aren't met.

func (UpdateGroupRequestValidationError) Cause

Cause function returns cause value.

func (UpdateGroupRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateGroupRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateGroupRequestValidationError) Field

Field function returns field value.

func (UpdateGroupRequestValidationError) Key

Key function returns key value.

func (UpdateGroupRequestValidationError) Reason

Reason function returns reason value.

type UpdateGroupResponse

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

func (*UpdateGroupResponse) Descriptor deprecated

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

Deprecated: Use UpdateGroupResponse.ProtoReflect.Descriptor instead.

func (*UpdateGroupResponse) ProtoMessage

func (*UpdateGroupResponse) ProtoMessage()

func (*UpdateGroupResponse) ProtoReflect

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

func (*UpdateGroupResponse) Reset

func (x *UpdateGroupResponse) Reset()

func (*UpdateGroupResponse) String

func (x *UpdateGroupResponse) String() string

func (*UpdateGroupResponse) Validate

func (m *UpdateGroupResponse) Validate() error

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

func (m *UpdateGroupResponse) ValidateAll() error

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

type UpdateGroupResponseMultiError

type UpdateGroupResponseMultiError []error

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

func (UpdateGroupResponseMultiError) AllErrors

func (m UpdateGroupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateGroupResponseMultiError) Error

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

type UpdateGroupResponseValidationError

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

UpdateGroupResponseValidationError is the validation error returned by UpdateGroupResponse.Validate if the designated constraints aren't met.

func (UpdateGroupResponseValidationError) Cause

Cause function returns cause value.

func (UpdateGroupResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateGroupResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateGroupResponseValidationError) Field

Field function returns field value.

func (UpdateGroupResponseValidationError) Key

Key function returns key value.

func (UpdateGroupResponseValidationError) Reason

Reason function returns reason value.

type UpdatePasswordRequest

type UpdatePasswordRequest struct {
	Password    string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	PasswordRpt string `protobuf:"bytes,2,opt,name=password_rpt,json=passwordRpt,proto3" json:"password_rpt,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordRequest) Descriptor deprecated

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

Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdatePasswordRequest) GetPassword

func (x *UpdatePasswordRequest) GetPassword() string

func (*UpdatePasswordRequest) GetPasswordRpt

func (x *UpdatePasswordRequest) GetPasswordRpt() string

func (*UpdatePasswordRequest) ProtoMessage

func (*UpdatePasswordRequest) ProtoMessage()

func (*UpdatePasswordRequest) ProtoReflect

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

func (*UpdatePasswordRequest) Reset

func (x *UpdatePasswordRequest) Reset()

func (*UpdatePasswordRequest) String

func (x *UpdatePasswordRequest) String() string

func (*UpdatePasswordRequest) Validate

func (m *UpdatePasswordRequest) Validate() error

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

func (m *UpdatePasswordRequest) ValidateAll() error

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

type UpdatePasswordRequestMultiError

type UpdatePasswordRequestMultiError []error

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

func (UpdatePasswordRequestMultiError) AllErrors

func (m UpdatePasswordRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdatePasswordRequestMultiError) Error

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

type UpdatePasswordRequestValidationError

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

UpdatePasswordRequestValidationError is the validation error returned by UpdatePasswordRequest.Validate if the designated constraints aren't met.

func (UpdatePasswordRequestValidationError) Cause

Cause function returns cause value.

func (UpdatePasswordRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdatePasswordRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdatePasswordRequestValidationError) Field

Field function returns field value.

func (UpdatePasswordRequestValidationError) Key

Key function returns key value.

func (UpdatePasswordRequestValidationError) Reason

Reason function returns reason value.

type UpdatePasswordResponse

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

func (*UpdatePasswordResponse) Descriptor deprecated

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

Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.

func (*UpdatePasswordResponse) ProtoMessage

func (*UpdatePasswordResponse) ProtoMessage()

func (*UpdatePasswordResponse) ProtoReflect

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

func (*UpdatePasswordResponse) Reset

func (x *UpdatePasswordResponse) Reset()

func (*UpdatePasswordResponse) String

func (x *UpdatePasswordResponse) String() string

func (*UpdatePasswordResponse) Validate

func (m *UpdatePasswordResponse) Validate() error

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

func (m *UpdatePasswordResponse) ValidateAll() error

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

type UpdatePasswordResponseMultiError

type UpdatePasswordResponseMultiError []error

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

func (UpdatePasswordResponseMultiError) AllErrors

func (m UpdatePasswordResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdatePasswordResponseMultiError) Error

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

type UpdatePasswordResponseValidationError

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

UpdatePasswordResponseValidationError is the validation error returned by UpdatePasswordResponse.Validate if the designated constraints aren't met.

func (UpdatePasswordResponseValidationError) Cause

Cause function returns cause value.

func (UpdatePasswordResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdatePasswordResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdatePasswordResponseValidationError) Field

Field function returns field value.

func (UpdatePasswordResponseValidationError) Key

Key function returns key value.

func (UpdatePasswordResponseValidationError) Reason

Reason function returns reason value.

type UploadImageRequest

type UploadImageRequest struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadImageRequest) Descriptor deprecated

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

Deprecated: Use UploadImageRequest.ProtoReflect.Descriptor instead.

func (*UploadImageRequest) GetContent

func (x *UploadImageRequest) GetContent() []byte

func (*UploadImageRequest) ProtoMessage

func (*UploadImageRequest) ProtoMessage()

func (*UploadImageRequest) ProtoReflect

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

func (*UploadImageRequest) Reset

func (x *UploadImageRequest) Reset()

func (*UploadImageRequest) String

func (x *UploadImageRequest) String() string

func (*UploadImageRequest) Validate

func (m *UploadImageRequest) Validate() error

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

func (m *UploadImageRequest) ValidateAll() error

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

type UploadImageRequestMultiError

type UploadImageRequestMultiError []error

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

func (UploadImageRequestMultiError) AllErrors

func (m UploadImageRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadImageRequestMultiError) Error

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

type UploadImageRequestValidationError

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

UploadImageRequestValidationError is the validation error returned by UploadImageRequest.Validate if the designated constraints aren't met.

func (UploadImageRequestValidationError) Cause

Cause function returns cause value.

func (UploadImageRequestValidationError) Error

Error satisfies the builtin error interface

func (UploadImageRequestValidationError) ErrorName

ErrorName returns error name.

func (UploadImageRequestValidationError) Field

Field function returns field value.

func (UploadImageRequestValidationError) Key

Key function returns key value.

func (UploadImageRequestValidationError) Reason

Reason function returns reason value.

type UploadImageResponse

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

func (*UploadImageResponse) Descriptor deprecated

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

Deprecated: Use UploadImageResponse.ProtoReflect.Descriptor instead.

func (*UploadImageResponse) GetUrl

func (x *UploadImageResponse) GetUrl() string

func (*UploadImageResponse) ProtoMessage

func (*UploadImageResponse) ProtoMessage()

func (*UploadImageResponse) ProtoReflect

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

func (*UploadImageResponse) Reset

func (x *UploadImageResponse) Reset()

func (*UploadImageResponse) String

func (x *UploadImageResponse) String() string

func (*UploadImageResponse) Validate

func (m *UploadImageResponse) Validate() error

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

func (m *UploadImageResponse) ValidateAll() error

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

type UploadImageResponseMultiError

type UploadImageResponseMultiError []error

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

func (UploadImageResponseMultiError) AllErrors

func (m UploadImageResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadImageResponseMultiError) Error

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

type UploadImageResponseValidationError

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

UploadImageResponseValidationError is the validation error returned by UploadImageResponse.Validate if the designated constraints aren't met.

func (UploadImageResponseValidationError) Cause

Cause function returns cause value.

func (UploadImageResponseValidationError) Error

Error satisfies the builtin error interface

func (UploadImageResponseValidationError) ErrorName

ErrorName returns error name.

func (UploadImageResponseValidationError) Field

Field function returns field value.

func (UploadImageResponseValidationError) Key

Key function returns key value.

func (UploadImageResponseValidationError) Reason

Reason function returns reason value.

type User

type User struct {
	Id        uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Nickname  string                 `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Gender    Gender                 `protobuf:"varint,3,opt,name=gender,proto3,enum=common.Gender" json:"gender,omitempty"`
	AvatarUrl string                 `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Extra     string                 `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatarUrl

func (x *User) GetAvatarUrl() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetDeletedAt

func (x *User) GetDeletedAt() *timestamppb.Timestamp

func (*User) GetExtra

func (x *User) GetExtra() string

func (*User) GetGender

func (x *User) GetGender() Gender

func (*User) GetId

func (x *User) GetId() uint64

func (*User) GetNickname

func (x *User) GetNickname() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamppb.Timestamp

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

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

func (m *User) ValidateAll() error

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

type UserCreateRequest

type UserCreateRequest struct {
	Nickname    string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Gender      Gender `protobuf:"varint,2,opt,name=gender,proto3,enum=common.Gender" json:"gender,omitempty"`
	AvatarUrl   string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Password    string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	PasswordRpt string `protobuf:"bytes,5,opt,name=password_rpt,json=passwordRpt,proto3" json:"password_rpt,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCreateRequest) Descriptor deprecated

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

Deprecated: Use UserCreateRequest.ProtoReflect.Descriptor instead.

func (*UserCreateRequest) GetAvatarUrl

func (x *UserCreateRequest) GetAvatarUrl() string

func (*UserCreateRequest) GetGender

func (x *UserCreateRequest) GetGender() Gender

func (*UserCreateRequest) GetNickname

func (x *UserCreateRequest) GetNickname() string

func (*UserCreateRequest) GetPassword

func (x *UserCreateRequest) GetPassword() string

func (*UserCreateRequest) GetPasswordRpt

func (x *UserCreateRequest) GetPasswordRpt() string

func (*UserCreateRequest) ProtoMessage

func (*UserCreateRequest) ProtoMessage()

func (*UserCreateRequest) ProtoReflect

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

func (*UserCreateRequest) Reset

func (x *UserCreateRequest) Reset()

func (*UserCreateRequest) String

func (x *UserCreateRequest) String() string

func (*UserCreateRequest) Validate

func (m *UserCreateRequest) Validate() error

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

func (m *UserCreateRequest) ValidateAll() error

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

type UserCreateRequestMultiError

type UserCreateRequestMultiError []error

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

func (UserCreateRequestMultiError) AllErrors

func (m UserCreateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserCreateRequestMultiError) Error

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

type UserCreateRequestValidationError

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

UserCreateRequestValidationError is the validation error returned by UserCreateRequest.Validate if the designated constraints aren't met.

func (UserCreateRequestValidationError) Cause

Cause function returns cause value.

func (UserCreateRequestValidationError) Error

Error satisfies the builtin error interface

func (UserCreateRequestValidationError) ErrorName

ErrorName returns error name.

func (UserCreateRequestValidationError) Field

Field function returns field value.

func (UserCreateRequestValidationError) Key

Key function returns key value.

func (UserCreateRequestValidationError) Reason

Reason function returns reason value.

type UserCreateResponse

type UserCreateResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCreateResponse) Descriptor deprecated

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

Deprecated: Use UserCreateResponse.ProtoReflect.Descriptor instead.

func (*UserCreateResponse) GetUser

func (x *UserCreateResponse) GetUser() *User

func (*UserCreateResponse) ProtoMessage

func (*UserCreateResponse) ProtoMessage()

func (*UserCreateResponse) ProtoReflect

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

func (*UserCreateResponse) Reset

func (x *UserCreateResponse) Reset()

func (*UserCreateResponse) String

func (x *UserCreateResponse) String() string

func (*UserCreateResponse) Validate

func (m *UserCreateResponse) Validate() error

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

func (m *UserCreateResponse) ValidateAll() error

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

type UserCreateResponseMultiError

type UserCreateResponseMultiError []error

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

func (UserCreateResponseMultiError) AllErrors

func (m UserCreateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserCreateResponseMultiError) Error

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

type UserCreateResponseValidationError

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

UserCreateResponseValidationError is the validation error returned by UserCreateResponse.Validate if the designated constraints aren't met.

func (UserCreateResponseValidationError) Cause

Cause function returns cause value.

func (UserCreateResponseValidationError) Error

Error satisfies the builtin error interface

func (UserCreateResponseValidationError) ErrorName

ErrorName returns error name.

func (UserCreateResponseValidationError) Field

Field function returns field value.

func (UserCreateResponseValidationError) Key

Key function returns key value.

func (UserCreateResponseValidationError) Reason

Reason function returns reason value.

type UserGetRequest

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

func (*UserGetRequest) Descriptor deprecated

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

Deprecated: Use UserGetRequest.ProtoReflect.Descriptor instead.

func (*UserGetRequest) GetId

func (x *UserGetRequest) GetId() uint64

func (*UserGetRequest) ProtoMessage

func (*UserGetRequest) ProtoMessage()

func (*UserGetRequest) ProtoReflect

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

func (*UserGetRequest) Reset

func (x *UserGetRequest) Reset()

func (*UserGetRequest) String

func (x *UserGetRequest) String() string

func (*UserGetRequest) Validate

func (m *UserGetRequest) Validate() error

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

func (m *UserGetRequest) ValidateAll() error

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

type UserGetRequestMultiError

type UserGetRequestMultiError []error

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

func (UserGetRequestMultiError) AllErrors

func (m UserGetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserGetRequestMultiError) Error

func (m UserGetRequestMultiError) Error() string

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

type UserGetRequestValidationError

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

UserGetRequestValidationError is the validation error returned by UserGetRequest.Validate if the designated constraints aren't met.

func (UserGetRequestValidationError) Cause

Cause function returns cause value.

func (UserGetRequestValidationError) Error

Error satisfies the builtin error interface

func (UserGetRequestValidationError) ErrorName

func (e UserGetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (UserGetRequestValidationError) Field

Field function returns field value.

func (UserGetRequestValidationError) Key

Key function returns key value.

func (UserGetRequestValidationError) Reason

Reason function returns reason value.

type UserGetResponse

type UserGetResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UserGetResponse) Descriptor deprecated

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

Deprecated: Use UserGetResponse.ProtoReflect.Descriptor instead.

func (*UserGetResponse) GetUser

func (x *UserGetResponse) GetUser() *User

func (*UserGetResponse) ProtoMessage

func (*UserGetResponse) ProtoMessage()

func (*UserGetResponse) ProtoReflect

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

func (*UserGetResponse) Reset

func (x *UserGetResponse) Reset()

func (*UserGetResponse) String

func (x *UserGetResponse) String() string

func (*UserGetResponse) Validate

func (m *UserGetResponse) Validate() error

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

func (m *UserGetResponse) ValidateAll() error

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

type UserGetResponseMultiError

type UserGetResponseMultiError []error

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

func (UserGetResponseMultiError) AllErrors

func (m UserGetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserGetResponseMultiError) Error

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

type UserGetResponseValidationError

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

UserGetResponseValidationError is the validation error returned by UserGetResponse.Validate if the designated constraints aren't met.

func (UserGetResponseValidationError) Cause

Cause function returns cause value.

func (UserGetResponseValidationError) Error

Error satisfies the builtin error interface

func (UserGetResponseValidationError) ErrorName

func (e UserGetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (UserGetResponseValidationError) Field

Field function returns field value.

func (UserGetResponseValidationError) Key

Key function returns key value.

func (UserGetResponseValidationError) Reason

Reason function returns reason value.

type UserLoginRequest

type UserLoginRequest struct {
	Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLoginRequest) Descriptor deprecated

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

Deprecated: Use UserLoginRequest.ProtoReflect.Descriptor instead.

func (*UserLoginRequest) GetNickname

func (x *UserLoginRequest) GetNickname() string

func (*UserLoginRequest) GetPassword

func (x *UserLoginRequest) GetPassword() string

func (*UserLoginRequest) ProtoMessage

func (*UserLoginRequest) ProtoMessage()

func (*UserLoginRequest) ProtoReflect

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

func (*UserLoginRequest) Reset

func (x *UserLoginRequest) Reset()

func (*UserLoginRequest) String

func (x *UserLoginRequest) String() string

func (*UserLoginRequest) Validate

func (m *UserLoginRequest) Validate() error

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

func (m *UserLoginRequest) ValidateAll() error

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

type UserLoginRequestMultiError

type UserLoginRequestMultiError []error

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

func (UserLoginRequestMultiError) AllErrors

func (m UserLoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserLoginRequestMultiError) Error

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

type UserLoginRequestValidationError

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

UserLoginRequestValidationError is the validation error returned by UserLoginRequest.Validate if the designated constraints aren't met.

func (UserLoginRequestValidationError) Cause

Cause function returns cause value.

func (UserLoginRequestValidationError) Error

Error satisfies the builtin error interface

func (UserLoginRequestValidationError) ErrorName

ErrorName returns error name.

func (UserLoginRequestValidationError) Field

Field function returns field value.

func (UserLoginRequestValidationError) Key

Key function returns key value.

func (UserLoginRequestValidationError) Reason

Reason function returns reason value.

type UserLoginResponse

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

func (*UserLoginResponse) Descriptor deprecated

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

Deprecated: Use UserLoginResponse.ProtoReflect.Descriptor instead.

func (*UserLoginResponse) GetToken

func (x *UserLoginResponse) GetToken() string

func (*UserLoginResponse) ProtoMessage

func (*UserLoginResponse) ProtoMessage()

func (*UserLoginResponse) ProtoReflect

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

func (*UserLoginResponse) Reset

func (x *UserLoginResponse) Reset()

func (*UserLoginResponse) String

func (x *UserLoginResponse) String() string

func (*UserLoginResponse) Validate

func (m *UserLoginResponse) Validate() error

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

func (m *UserLoginResponse) ValidateAll() error

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

type UserLoginResponseMultiError

type UserLoginResponseMultiError []error

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

func (UserLoginResponseMultiError) AllErrors

func (m UserLoginResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserLoginResponseMultiError) Error

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

type UserLoginResponseValidationError

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

UserLoginResponseValidationError is the validation error returned by UserLoginResponse.Validate if the designated constraints aren't met.

func (UserLoginResponseValidationError) Cause

Cause function returns cause value.

func (UserLoginResponseValidationError) Error

Error satisfies the builtin error interface

func (UserLoginResponseValidationError) ErrorName

ErrorName returns error name.

func (UserLoginResponseValidationError) Field

Field function returns field value.

func (UserLoginResponseValidationError) Key

Key function returns key value.

func (UserLoginResponseValidationError) Reason

Reason function returns reason value.

type UserMultiError

type UserMultiError []error

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

func (UserMultiError) AllErrors

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error

func (m UserMultiError) Error() string

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

type UserQueryRequest

type UserQueryRequest struct {
	Keyword  string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Page     uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*UserQueryRequest) Descriptor deprecated

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

Deprecated: Use UserQueryRequest.ProtoReflect.Descriptor instead.

func (*UserQueryRequest) GetKeyword

func (x *UserQueryRequest) GetKeyword() string

func (*UserQueryRequest) GetPage

func (x *UserQueryRequest) GetPage() uint64

func (*UserQueryRequest) GetPageSize

func (x *UserQueryRequest) GetPageSize() uint64

func (*UserQueryRequest) ProtoMessage

func (*UserQueryRequest) ProtoMessage()

func (*UserQueryRequest) ProtoReflect

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

func (*UserQueryRequest) Reset

func (x *UserQueryRequest) Reset()

func (*UserQueryRequest) String

func (x *UserQueryRequest) String() string

func (*UserQueryRequest) Validate

func (m *UserQueryRequest) Validate() error

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

func (m *UserQueryRequest) ValidateAll() error

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

type UserQueryRequestMultiError

type UserQueryRequestMultiError []error

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

func (UserQueryRequestMultiError) AllErrors

func (m UserQueryRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserQueryRequestMultiError) Error

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

type UserQueryRequestValidationError

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

UserQueryRequestValidationError is the validation error returned by UserQueryRequest.Validate if the designated constraints aren't met.

func (UserQueryRequestValidationError) Cause

Cause function returns cause value.

func (UserQueryRequestValidationError) Error

Error satisfies the builtin error interface

func (UserQueryRequestValidationError) ErrorName

ErrorName returns error name.

func (UserQueryRequestValidationError) Field

Field function returns field value.

func (UserQueryRequestValidationError) Key

Key function returns key value.

func (UserQueryRequestValidationError) Reason

Reason function returns reason value.

type UserQueryResponse

type UserQueryResponse struct {
	Pager *Pager  `protobuf:"bytes,1,opt,name=pager,proto3" json:"pager,omitempty"`
	User  []*User `protobuf:"bytes,2,rep,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UserQueryResponse) Descriptor deprecated

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

Deprecated: Use UserQueryResponse.ProtoReflect.Descriptor instead.

func (*UserQueryResponse) GetPager

func (x *UserQueryResponse) GetPager() *Pager

func (*UserQueryResponse) GetUser

func (x *UserQueryResponse) GetUser() []*User

func (*UserQueryResponse) ProtoMessage

func (*UserQueryResponse) ProtoMessage()

func (*UserQueryResponse) ProtoReflect

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

func (*UserQueryResponse) Reset

func (x *UserQueryResponse) Reset()

func (*UserQueryResponse) String

func (x *UserQueryResponse) String() string

func (*UserQueryResponse) Validate

func (m *UserQueryResponse) Validate() error

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

func (m *UserQueryResponse) ValidateAll() error

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

type UserQueryResponseMultiError

type UserQueryResponseMultiError []error

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

func (UserQueryResponseMultiError) AllErrors

func (m UserQueryResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserQueryResponseMultiError) Error

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

type UserQueryResponseValidationError

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

UserQueryResponseValidationError is the validation error returned by UserQueryResponse.Validate if the designated constraints aren't met.

func (UserQueryResponseValidationError) Cause

Cause function returns cause value.

func (UserQueryResponseValidationError) Error

Error satisfies the builtin error interface

func (UserQueryResponseValidationError) ErrorName

ErrorName returns error name.

func (UserQueryResponseValidationError) Field

Field function returns field value.

func (UserQueryResponseValidationError) Key

Key function returns key value.

func (UserQueryResponseValidationError) Reason

Reason function returns reason value.

type UserServiceClient

type UserServiceClient interface {
	CreateUser(ctx context.Context, in *UserCreateRequest, opts ...grpc.CallOption) (*UserCreateResponse, error)
	UserLogin(ctx context.Context, in *UserLoginRequest, opts ...grpc.CallOption) (*UserLoginResponse, error)
	GetUser(ctx context.Context, in *UserGetRequest, opts ...grpc.CallOption) (*UserGetResponse, error)
	QueryUser(ctx context.Context, in *UserQueryRequest, opts ...grpc.CallOption) (*UserQueryResponse, error)
	UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error)
	UpdateAvatar(ctx context.Context, in *UpdateAvatarRequest, opts ...grpc.CallOption) (*UpdateAvatarResponse, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}

UserServiceClient is the client API for UserService 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 UserServiceServer

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility

type UserValidationError

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

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

type VIDEO_FORMAT

type VIDEO_FORMAT int32

视频格式

const (
	VIDEO_FORMAT_MP4                VIDEO_FORMAT = 0
	VIDEO_FORMAT_MOV                VIDEO_FORMAT = 1
	VIDEO_FORMAT_WMV                VIDEO_FORMAT = 2
	VIDEO_FORMAT_FLV                VIDEO_FORMAT = 3
	VIDEO_FORMAT_AVI                VIDEO_FORMAT = 4
	VIDEO_FORMAT_MKV                VIDEO_FORMAT = 5
	VIDEO_FORMAT_OTHER_VIDEO_FORMAT VIDEO_FORMAT = 255
)

func (VIDEO_FORMAT) Descriptor

func (VIDEO_FORMAT) Enum

func (x VIDEO_FORMAT) Enum() *VIDEO_FORMAT

func (VIDEO_FORMAT) EnumDescriptor deprecated

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

Deprecated: Use VIDEO_FORMAT.Descriptor instead.

func (VIDEO_FORMAT) Number

func (VIDEO_FORMAT) String

func (x VIDEO_FORMAT) String() string

func (VIDEO_FORMAT) Type

type VideoMessage

type VideoMessage struct {
	Id          uint64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Size        uint64       `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Seconds     uint64       `protobuf:"varint,3,opt,name=seconds,proto3" json:"seconds,omitempty"`
	Url         string       `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	Format      string       `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"`
	ThumbUrl    string       `protobuf:"bytes,6,opt,name=thumb_url,json=thumbUrl,proto3" json:"thumb_url,omitempty"`
	ThumbSize   uint64       `protobuf:"varint,7,opt,name=thumb_size,json=thumbSize,proto3" json:"thumb_size,omitempty"`
	ThumbWidth  float64      `protobuf:"fixed64,8,opt,name=thumb_width,json=thumbWidth,proto3" json:"thumb_width,omitempty"`
	ThumbHeight float64      `protobuf:"fixed64,9,opt,name=thumb_height,json=thumbHeight,proto3" json:"thumb_height,omitempty"`
	ThumbFormat IMAGE_FORMAT `protobuf:"varint,10,opt,name=thumb_format,json=thumbFormat,proto3,enum=message.IMAGE_FORMAT" json:"thumb_format,omitempty"`
	// contains filtered or unexported fields
}

视频消息

func (*VideoMessage) Descriptor deprecated

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

Deprecated: Use VideoMessage.ProtoReflect.Descriptor instead.

func (*VideoMessage) GetFormat

func (x *VideoMessage) GetFormat() string

func (*VideoMessage) GetId

func (x *VideoMessage) GetId() uint64

func (*VideoMessage) GetSeconds

func (x *VideoMessage) GetSeconds() uint64

func (*VideoMessage) GetSize

func (x *VideoMessage) GetSize() uint64

func (*VideoMessage) GetThumbFormat

func (x *VideoMessage) GetThumbFormat() IMAGE_FORMAT

func (*VideoMessage) GetThumbHeight

func (x *VideoMessage) GetThumbHeight() float64

func (*VideoMessage) GetThumbSize

func (x *VideoMessage) GetThumbSize() uint64

func (*VideoMessage) GetThumbUrl

func (x *VideoMessage) GetThumbUrl() string

func (*VideoMessage) GetThumbWidth

func (x *VideoMessage) GetThumbWidth() float64

func (*VideoMessage) GetUrl

func (x *VideoMessage) GetUrl() string

func (*VideoMessage) ProtoMessage

func (*VideoMessage) ProtoMessage()

func (*VideoMessage) ProtoReflect

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

func (*VideoMessage) Reset

func (x *VideoMessage) Reset()

func (*VideoMessage) String

func (x *VideoMessage) String() string

func (*VideoMessage) Validate

func (m *VideoMessage) Validate() error

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

func (m *VideoMessage) ValidateAll() error

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

type VideoMessageMultiError

type VideoMessageMultiError []error

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

func (VideoMessageMultiError) AllErrors

func (m VideoMessageMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VideoMessageMultiError) Error

func (m VideoMessageMultiError) Error() string

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

type VideoMessageValidationError

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

VideoMessageValidationError is the validation error returned by VideoMessage.Validate if the designated constraints aren't met.

func (VideoMessageValidationError) Cause

Cause function returns cause value.

func (VideoMessageValidationError) Error

Error satisfies the builtin error interface

func (VideoMessageValidationError) ErrorName

func (e VideoMessageValidationError) ErrorName() string

ErrorName returns error name.

func (VideoMessageValidationError) Field

Field function returns field value.

func (VideoMessageValidationError) Key

Key function returns key value.

func (VideoMessageValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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