Documentation ¶
Index ¶
- Variables
- func RegisterUserExampleRouter(iRouter gin.IRouter, groupPathMiddlewares map[string][]gin.HandlerFunc, ...)
- func RegisterUserExampleServer(s grpc.ServiceRegistrar, srv UserExampleServer)
- type CreateUserExampleReply
- func (*CreateUserExampleReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserExampleReply) GetId() uint64
- func (*CreateUserExampleReply) ProtoMessage()
- func (x *CreateUserExampleReply) ProtoReflect() protoreflect.Message
- func (x *CreateUserExampleReply) Reset()
- func (x *CreateUserExampleReply) String() string
- func (m *CreateUserExampleReply) Validate() error
- func (m *CreateUserExampleReply) ValidateAll() error
- type CreateUserExampleReplyMultiError
- type CreateUserExampleReplyValidationError
- func (e CreateUserExampleReplyValidationError) Cause() error
- func (e CreateUserExampleReplyValidationError) Error() string
- func (e CreateUserExampleReplyValidationError) ErrorName() string
- func (e CreateUserExampleReplyValidationError) Field() string
- func (e CreateUserExampleReplyValidationError) Key() bool
- func (e CreateUserExampleReplyValidationError) Reason() string
- type CreateUserExampleRequest
- func (*CreateUserExampleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserExampleRequest) GetAge() int32
- func (x *CreateUserExampleRequest) GetAvatar() string
- func (x *CreateUserExampleRequest) GetEmail() string
- func (x *CreateUserExampleRequest) GetGender() GenderType
- func (x *CreateUserExampleRequest) GetName() string
- func (x *CreateUserExampleRequest) GetPassword() string
- func (x *CreateUserExampleRequest) GetPhone() string
- func (*CreateUserExampleRequest) ProtoMessage()
- func (x *CreateUserExampleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserExampleRequest) Reset()
- func (x *CreateUserExampleRequest) String() string
- func (m *CreateUserExampleRequest) Validate() error
- func (m *CreateUserExampleRequest) ValidateAll() error
- type CreateUserExampleRequestMultiError
- type CreateUserExampleRequestValidationError
- func (e CreateUserExampleRequestValidationError) Cause() error
- func (e CreateUserExampleRequestValidationError) Error() string
- func (e CreateUserExampleRequestValidationError) ErrorName() string
- func (e CreateUserExampleRequestValidationError) Field() string
- func (e CreateUserExampleRequestValidationError) Key() bool
- func (e CreateUserExampleRequestValidationError) Reason() string
- type DeleteUserExampleByIDReply
- func (*DeleteUserExampleByIDReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserExampleByIDReply) ProtoMessage()
- func (x *DeleteUserExampleByIDReply) ProtoReflect() protoreflect.Message
- func (x *DeleteUserExampleByIDReply) Reset()
- func (x *DeleteUserExampleByIDReply) String() string
- func (m *DeleteUserExampleByIDReply) Validate() error
- func (m *DeleteUserExampleByIDReply) ValidateAll() error
- type DeleteUserExampleByIDReplyMultiError
- type DeleteUserExampleByIDReplyValidationError
- func (e DeleteUserExampleByIDReplyValidationError) Cause() error
- func (e DeleteUserExampleByIDReplyValidationError) Error() string
- func (e DeleteUserExampleByIDReplyValidationError) ErrorName() string
- func (e DeleteUserExampleByIDReplyValidationError) Field() string
- func (e DeleteUserExampleByIDReplyValidationError) Key() bool
- func (e DeleteUserExampleByIDReplyValidationError) Reason() string
- type DeleteUserExampleByIDRequest
- func (*DeleteUserExampleByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserExampleByIDRequest) GetId() uint64
- func (*DeleteUserExampleByIDRequest) ProtoMessage()
- func (x *DeleteUserExampleByIDRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserExampleByIDRequest) Reset()
- func (x *DeleteUserExampleByIDRequest) String() string
- func (m *DeleteUserExampleByIDRequest) Validate() error
- func (m *DeleteUserExampleByIDRequest) ValidateAll() error
- type DeleteUserExampleByIDRequestMultiError
- type DeleteUserExampleByIDRequestValidationError
- func (e DeleteUserExampleByIDRequestValidationError) Cause() error
- func (e DeleteUserExampleByIDRequestValidationError) Error() string
- func (e DeleteUserExampleByIDRequestValidationError) ErrorName() string
- func (e DeleteUserExampleByIDRequestValidationError) Field() string
- func (e DeleteUserExampleByIDRequestValidationError) Key() bool
- func (e DeleteUserExampleByIDRequestValidationError) Reason() string
- type DeleteUserExampleByIDsReply
- func (*DeleteUserExampleByIDsReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserExampleByIDsReply) ProtoMessage()
- func (x *DeleteUserExampleByIDsReply) ProtoReflect() protoreflect.Message
- func (x *DeleteUserExampleByIDsReply) Reset()
- func (x *DeleteUserExampleByIDsReply) String() string
- func (m *DeleteUserExampleByIDsReply) Validate() error
- func (m *DeleteUserExampleByIDsReply) ValidateAll() error
- type DeleteUserExampleByIDsReplyMultiError
- type DeleteUserExampleByIDsReplyValidationError
- func (e DeleteUserExampleByIDsReplyValidationError) Cause() error
- func (e DeleteUserExampleByIDsReplyValidationError) Error() string
- func (e DeleteUserExampleByIDsReplyValidationError) ErrorName() string
- func (e DeleteUserExampleByIDsReplyValidationError) Field() string
- func (e DeleteUserExampleByIDsReplyValidationError) Key() bool
- func (e DeleteUserExampleByIDsReplyValidationError) Reason() string
- type DeleteUserExampleByIDsRequest
- func (*DeleteUserExampleByIDsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserExampleByIDsRequest) GetIds() []uint64
- func (*DeleteUserExampleByIDsRequest) ProtoMessage()
- func (x *DeleteUserExampleByIDsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserExampleByIDsRequest) Reset()
- func (x *DeleteUserExampleByIDsRequest) String() string
- func (m *DeleteUserExampleByIDsRequest) Validate() error
- func (m *DeleteUserExampleByIDsRequest) ValidateAll() error
- type DeleteUserExampleByIDsRequestMultiError
- type DeleteUserExampleByIDsRequestValidationError
- func (e DeleteUserExampleByIDsRequestValidationError) Cause() error
- func (e DeleteUserExampleByIDsRequestValidationError) Error() string
- func (e DeleteUserExampleByIDsRequestValidationError) ErrorName() string
- func (e DeleteUserExampleByIDsRequestValidationError) Field() string
- func (e DeleteUserExampleByIDsRequestValidationError) Key() bool
- func (e DeleteUserExampleByIDsRequestValidationError) Reason() string
- type GenderType
- type GetUserExampleByConditionReply
- func (*GetUserExampleByConditionReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserExampleByConditionReply) GetUserExample() *UserExample
- func (*GetUserExampleByConditionReply) ProtoMessage()
- func (x *GetUserExampleByConditionReply) ProtoReflect() protoreflect.Message
- func (x *GetUserExampleByConditionReply) Reset()
- func (x *GetUserExampleByConditionReply) String() string
- func (m *GetUserExampleByConditionReply) Validate() error
- func (m *GetUserExampleByConditionReply) ValidateAll() error
- type GetUserExampleByConditionReplyMultiError
- type GetUserExampleByConditionReplyValidationError
- func (e GetUserExampleByConditionReplyValidationError) Cause() error
- func (e GetUserExampleByConditionReplyValidationError) Error() string
- func (e GetUserExampleByConditionReplyValidationError) ErrorName() string
- func (e GetUserExampleByConditionReplyValidationError) Field() string
- func (e GetUserExampleByConditionReplyValidationError) Key() bool
- func (e GetUserExampleByConditionReplyValidationError) Reason() string
- type GetUserExampleByConditionRequest
- func (*GetUserExampleByConditionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserExampleByConditionRequest) GetConditions() *types.Conditions
- func (*GetUserExampleByConditionRequest) ProtoMessage()
- func (x *GetUserExampleByConditionRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserExampleByConditionRequest) Reset()
- func (x *GetUserExampleByConditionRequest) String() string
- func (m *GetUserExampleByConditionRequest) Validate() error
- func (m *GetUserExampleByConditionRequest) ValidateAll() error
- type GetUserExampleByConditionRequestMultiError
- type GetUserExampleByConditionRequestValidationError
- func (e GetUserExampleByConditionRequestValidationError) Cause() error
- func (e GetUserExampleByConditionRequestValidationError) Error() string
- func (e GetUserExampleByConditionRequestValidationError) ErrorName() string
- func (e GetUserExampleByConditionRequestValidationError) Field() string
- func (e GetUserExampleByConditionRequestValidationError) Key() bool
- func (e GetUserExampleByConditionRequestValidationError) Reason() string
- type GetUserExampleByIDReply
- func (*GetUserExampleByIDReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserExampleByIDReply) GetUserExample() *UserExample
- func (*GetUserExampleByIDReply) ProtoMessage()
- func (x *GetUserExampleByIDReply) ProtoReflect() protoreflect.Message
- func (x *GetUserExampleByIDReply) Reset()
- func (x *GetUserExampleByIDReply) String() string
- func (m *GetUserExampleByIDReply) Validate() error
- func (m *GetUserExampleByIDReply) ValidateAll() error
- type GetUserExampleByIDReplyMultiError
- type GetUserExampleByIDReplyValidationError
- func (e GetUserExampleByIDReplyValidationError) Cause() error
- func (e GetUserExampleByIDReplyValidationError) Error() string
- func (e GetUserExampleByIDReplyValidationError) ErrorName() string
- func (e GetUserExampleByIDReplyValidationError) Field() string
- func (e GetUserExampleByIDReplyValidationError) Key() bool
- func (e GetUserExampleByIDReplyValidationError) Reason() string
- type GetUserExampleByIDRequest
- func (*GetUserExampleByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserExampleByIDRequest) GetId() uint64
- func (*GetUserExampleByIDRequest) ProtoMessage()
- func (x *GetUserExampleByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserExampleByIDRequest) Reset()
- func (x *GetUserExampleByIDRequest) String() string
- func (m *GetUserExampleByIDRequest) Validate() error
- func (m *GetUserExampleByIDRequest) ValidateAll() error
- type GetUserExampleByIDRequestMultiError
- type GetUserExampleByIDRequestValidationError
- func (e GetUserExampleByIDRequestValidationError) Cause() error
- func (e GetUserExampleByIDRequestValidationError) Error() string
- func (e GetUserExampleByIDRequestValidationError) ErrorName() string
- func (e GetUserExampleByIDRequestValidationError) Field() string
- func (e GetUserExampleByIDRequestValidationError) Key() bool
- func (e GetUserExampleByIDRequestValidationError) Reason() string
- type ListUserExampleByIDsReply
- func (*ListUserExampleByIDsReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserExampleByIDsReply) GetUserExamples() []*UserExample
- func (*ListUserExampleByIDsReply) ProtoMessage()
- func (x *ListUserExampleByIDsReply) ProtoReflect() protoreflect.Message
- func (x *ListUserExampleByIDsReply) Reset()
- func (x *ListUserExampleByIDsReply) String() string
- func (m *ListUserExampleByIDsReply) Validate() error
- func (m *ListUserExampleByIDsReply) ValidateAll() error
- type ListUserExampleByIDsReplyMultiError
- type ListUserExampleByIDsReplyValidationError
- func (e ListUserExampleByIDsReplyValidationError) Cause() error
- func (e ListUserExampleByIDsReplyValidationError) Error() string
- func (e ListUserExampleByIDsReplyValidationError) ErrorName() string
- func (e ListUserExampleByIDsReplyValidationError) Field() string
- func (e ListUserExampleByIDsReplyValidationError) Key() bool
- func (e ListUserExampleByIDsReplyValidationError) Reason() string
- type ListUserExampleByIDsRequest
- func (*ListUserExampleByIDsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserExampleByIDsRequest) GetIds() []uint64
- func (*ListUserExampleByIDsRequest) ProtoMessage()
- func (x *ListUserExampleByIDsRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserExampleByIDsRequest) Reset()
- func (x *ListUserExampleByIDsRequest) String() string
- func (m *ListUserExampleByIDsRequest) Validate() error
- func (m *ListUserExampleByIDsRequest) ValidateAll() error
- type ListUserExampleByIDsRequestMultiError
- type ListUserExampleByIDsRequestValidationError
- func (e ListUserExampleByIDsRequestValidationError) Cause() error
- func (e ListUserExampleByIDsRequestValidationError) Error() string
- func (e ListUserExampleByIDsRequestValidationError) ErrorName() string
- func (e ListUserExampleByIDsRequestValidationError) Field() string
- func (e ListUserExampleByIDsRequestValidationError) Key() bool
- func (e ListUserExampleByIDsRequestValidationError) Reason() string
- type ListUserExampleReply
- func (*ListUserExampleReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserExampleReply) GetTotal() int64
- func (x *ListUserExampleReply) GetUserExamples() []*UserExample
- func (*ListUserExampleReply) ProtoMessage()
- func (x *ListUserExampleReply) ProtoReflect() protoreflect.Message
- func (x *ListUserExampleReply) Reset()
- func (x *ListUserExampleReply) String() string
- func (m *ListUserExampleReply) Validate() error
- func (m *ListUserExampleReply) ValidateAll() error
- type ListUserExampleReplyMultiError
- type ListUserExampleReplyValidationError
- func (e ListUserExampleReplyValidationError) Cause() error
- func (e ListUserExampleReplyValidationError) Error() string
- func (e ListUserExampleReplyValidationError) ErrorName() string
- func (e ListUserExampleReplyValidationError) Field() string
- func (e ListUserExampleReplyValidationError) Key() bool
- func (e ListUserExampleReplyValidationError) Reason() string
- type ListUserExampleRequest
- func (*ListUserExampleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserExampleRequest) GetParams() *types.Params
- func (*ListUserExampleRequest) ProtoMessage()
- func (x *ListUserExampleRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserExampleRequest) Reset()
- func (x *ListUserExampleRequest) String() string
- func (m *ListUserExampleRequest) Validate() error
- func (m *ListUserExampleRequest) ValidateAll() error
- type ListUserExampleRequestMultiError
- type ListUserExampleRequestValidationError
- func (e ListUserExampleRequestValidationError) Cause() error
- func (e ListUserExampleRequestValidationError) Error() string
- func (e ListUserExampleRequestValidationError) ErrorName() string
- func (e ListUserExampleRequestValidationError) Field() string
- func (e ListUserExampleRequestValidationError) Key() bool
- func (e ListUserExampleRequestValidationError) Reason() string
- type UnimplementedUserExampleServer
- func (UnimplementedUserExampleServer) Create(context.Context, *CreateUserExampleRequest) (*CreateUserExampleReply, error)
- func (UnimplementedUserExampleServer) DeleteByID(context.Context, *DeleteUserExampleByIDRequest) (*DeleteUserExampleByIDReply, error)
- func (UnimplementedUserExampleServer) DeleteByIDs(context.Context, *DeleteUserExampleByIDsRequest) (*DeleteUserExampleByIDsReply, error)
- func (UnimplementedUserExampleServer) GetByCondition(context.Context, *GetUserExampleByConditionRequest) (*GetUserExampleByConditionReply, error)
- func (UnimplementedUserExampleServer) GetByID(context.Context, *GetUserExampleByIDRequest) (*GetUserExampleByIDReply, error)
- func (UnimplementedUserExampleServer) List(context.Context, *ListUserExampleRequest) (*ListUserExampleReply, error)
- func (UnimplementedUserExampleServer) ListByIDs(context.Context, *ListUserExampleByIDsRequest) (*ListUserExampleByIDsReply, error)
- func (UnimplementedUserExampleServer) UpdateByID(context.Context, *UpdateUserExampleByIDRequest) (*UpdateUserExampleByIDReply, error)
- type UnsafeUserExampleServer
- type UpdateUserExampleByIDReply
- func (*UpdateUserExampleByIDReply) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserExampleByIDReply) ProtoMessage()
- func (x *UpdateUserExampleByIDReply) ProtoReflect() protoreflect.Message
- func (x *UpdateUserExampleByIDReply) Reset()
- func (x *UpdateUserExampleByIDReply) String() string
- func (m *UpdateUserExampleByIDReply) Validate() error
- func (m *UpdateUserExampleByIDReply) ValidateAll() error
- type UpdateUserExampleByIDReplyMultiError
- type UpdateUserExampleByIDReplyValidationError
- func (e UpdateUserExampleByIDReplyValidationError) Cause() error
- func (e UpdateUserExampleByIDReplyValidationError) Error() string
- func (e UpdateUserExampleByIDReplyValidationError) ErrorName() string
- func (e UpdateUserExampleByIDReplyValidationError) Field() string
- func (e UpdateUserExampleByIDReplyValidationError) Key() bool
- func (e UpdateUserExampleByIDReplyValidationError) Reason() string
- type UpdateUserExampleByIDRequest
- func (*UpdateUserExampleByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserExampleByIDRequest) GetAge() int32
- func (x *UpdateUserExampleByIDRequest) GetAvatar() string
- func (x *UpdateUserExampleByIDRequest) GetEmail() string
- func (x *UpdateUserExampleByIDRequest) GetGender() GenderType
- func (x *UpdateUserExampleByIDRequest) GetId() uint64
- func (x *UpdateUserExampleByIDRequest) GetLoginAt() int64
- func (x *UpdateUserExampleByIDRequest) GetName() string
- func (x *UpdateUserExampleByIDRequest) GetPassword() string
- func (x *UpdateUserExampleByIDRequest) GetPhone() string
- func (x *UpdateUserExampleByIDRequest) GetStatus() int32
- func (*UpdateUserExampleByIDRequest) ProtoMessage()
- func (x *UpdateUserExampleByIDRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserExampleByIDRequest) Reset()
- func (x *UpdateUserExampleByIDRequest) String() string
- func (m *UpdateUserExampleByIDRequest) Validate() error
- func (m *UpdateUserExampleByIDRequest) ValidateAll() error
- type UpdateUserExampleByIDRequestMultiError
- type UpdateUserExampleByIDRequestValidationError
- func (e UpdateUserExampleByIDRequestValidationError) Cause() error
- func (e UpdateUserExampleByIDRequestValidationError) Error() string
- func (e UpdateUserExampleByIDRequestValidationError) ErrorName() string
- func (e UpdateUserExampleByIDRequestValidationError) Field() string
- func (e UpdateUserExampleByIDRequestValidationError) Key() bool
- func (e UpdateUserExampleByIDRequestValidationError) Reason() string
- type UserExample
- func (*UserExample) Descriptor() ([]byte, []int)deprecated
- func (x *UserExample) GetAge() int32
- func (x *UserExample) GetAvatar() string
- func (x *UserExample) GetCreatedAt() int64
- func (x *UserExample) GetEmail() string
- func (x *UserExample) GetGender() GenderType
- func (x *UserExample) GetId() uint64
- func (x *UserExample) GetLoginAt() int64
- func (x *UserExample) GetName() string
- func (x *UserExample) GetPhone() string
- func (x *UserExample) GetStatus() int32
- func (x *UserExample) GetUpdatedAt() int64
- func (*UserExample) ProtoMessage()
- func (x *UserExample) ProtoReflect() protoreflect.Message
- func (x *UserExample) Reset()
- func (x *UserExample) String() string
- func (m *UserExample) Validate() error
- func (m *UserExample) ValidateAll() error
- type UserExampleClient
- type UserExampleLogicer
- type UserExampleMultiError
- type UserExampleOption
- func WithUserExampleErrorToHTTPCode(e ...*errcode.Error) UserExampleOption
- func WithUserExampleHTTPResponse() UserExampleOption
- func WithUserExampleLogger(zapLog *zap.Logger) UserExampleOption
- func WithUserExampleRPCResponse() UserExampleOption
- func WithUserExampleRPCStatusToHTTPCode(s ...*errcode.RPCStatus) UserExampleOption
- func WithUserExampleResponser(responser errcode.Responser) UserExampleOption
- func WithUserExampleWrapCtx(wrapCtxFn func(c *gin.Context) context.Context) UserExampleOption
- type UserExampleServer
- type UserExampleValidationError
- func (e UserExampleValidationError) Cause() error
- func (e UserExampleValidationError) Error() string
- func (e UserExampleValidationError) ErrorName() string
- func (e UserExampleValidationError) Field() string
- func (e UserExampleValidationError) Key() bool
- func (e UserExampleValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( GenderType_name = map[int32]string{ 0: "UNKNOWN", 1: "MALE", 2: "FEMALE", } GenderType_value = map[string]int32{ "UNKNOWN": 0, "MALE": 1, "FEMALE": 2, } )
Enum value maps for GenderType.
var File_api_serverNameExample_v1_userExample_proto protoreflect.FileDescriptor
var UserExample_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.serverNameExample.v1.userExample", HandlerType: (*UserExampleServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _UserExample_Create_Handler, }, { MethodName: "DeleteByID", Handler: _UserExample_DeleteByID_Handler, }, { MethodName: "DeleteByIDs", Handler: _UserExample_DeleteByIDs_Handler, }, { MethodName: "UpdateByID", Handler: _UserExample_UpdateByID_Handler, }, { MethodName: "GetByID", Handler: _UserExample_GetByID_Handler, }, { MethodName: "GetByCondition", Handler: _UserExample_GetByCondition_Handler, }, { MethodName: "ListByIDs", Handler: _UserExample_ListByIDs_Handler, }, { MethodName: "List", Handler: _UserExample_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/serverNameExample/v1/userExample.proto", }
UserExample_ServiceDesc is the grpc.ServiceDesc for UserExample service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserExampleRouter ¶
func RegisterUserExampleRouter( iRouter gin.IRouter, groupPathMiddlewares map[string][]gin.HandlerFunc, singlePathMiddlewares map[string][]gin.HandlerFunc, iLogic UserExampleLogicer, opts ...UserExampleOption)
func RegisterUserExampleServer ¶
func RegisterUserExampleServer(s grpc.ServiceRegistrar, srv UserExampleServer)
Types ¶
type CreateUserExampleReply ¶
type CreateUserExampleReply struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // contains filtered or unexported fields }
func (*CreateUserExampleReply) Descriptor
deprecated
func (*CreateUserExampleReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserExampleReply.ProtoReflect.Descriptor instead.
func (*CreateUserExampleReply) GetId ¶
func (x *CreateUserExampleReply) GetId() uint64
func (*CreateUserExampleReply) ProtoMessage ¶
func (*CreateUserExampleReply) ProtoMessage()
func (*CreateUserExampleReply) ProtoReflect ¶
func (x *CreateUserExampleReply) ProtoReflect() protoreflect.Message
func (*CreateUserExampleReply) Reset ¶
func (x *CreateUserExampleReply) Reset()
func (*CreateUserExampleReply) String ¶
func (x *CreateUserExampleReply) String() string
func (*CreateUserExampleReply) Validate ¶
func (m *CreateUserExampleReply) Validate() error
Validate checks the field values on CreateUserExampleReply 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 (*CreateUserExampleReply) ValidateAll ¶
func (m *CreateUserExampleReply) ValidateAll() error
ValidateAll checks the field values on CreateUserExampleReply 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 CreateUserExampleReplyMultiError, or nil if none found.
type CreateUserExampleReplyMultiError ¶
type CreateUserExampleReplyMultiError []error
CreateUserExampleReplyMultiError is an error wrapping multiple validation errors returned by CreateUserExampleReply.ValidateAll() if the designated constraints aren't met.
func (CreateUserExampleReplyMultiError) AllErrors ¶
func (m CreateUserExampleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserExampleReplyMultiError) Error ¶
func (m CreateUserExampleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserExampleReplyValidationError ¶
type CreateUserExampleReplyValidationError struct {
// contains filtered or unexported fields
}
CreateUserExampleReplyValidationError is the validation error returned by CreateUserExampleReply.Validate if the designated constraints aren't met.
func (CreateUserExampleReplyValidationError) Cause ¶
func (e CreateUserExampleReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateUserExampleReplyValidationError) Error ¶
func (e CreateUserExampleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserExampleReplyValidationError) ErrorName ¶
func (e CreateUserExampleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserExampleReplyValidationError) Field ¶
func (e CreateUserExampleReplyValidationError) Field() string
Field function returns field value.
func (CreateUserExampleReplyValidationError) Key ¶
func (e CreateUserExampleReplyValidationError) Key() bool
Key function returns key value.
func (CreateUserExampleReplyValidationError) Reason ¶
func (e CreateUserExampleReplyValidationError) Reason() string
Reason function returns reason value.
type CreateUserExampleRequest ¶
type CreateUserExampleRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"` // name Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email"` // email Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password"` // password Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` // phone number Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar"` // avatar Age int32 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // age Gender GenderType `protobuf:"varint,7,opt,name=gender,proto3,enum=api.serverNameExample.v1.GenderType" json:"gender"` // gender, 1:Male, 2:Female, other values:unknown // contains filtered or unexported fields }
func (*CreateUserExampleRequest) Descriptor
deprecated
func (*CreateUserExampleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserExampleRequest.ProtoReflect.Descriptor instead.
func (*CreateUserExampleRequest) GetAge ¶
func (x *CreateUserExampleRequest) GetAge() int32
func (*CreateUserExampleRequest) GetAvatar ¶
func (x *CreateUserExampleRequest) GetAvatar() string
func (*CreateUserExampleRequest) GetEmail ¶
func (x *CreateUserExampleRequest) GetEmail() string
func (*CreateUserExampleRequest) GetGender ¶
func (x *CreateUserExampleRequest) GetGender() GenderType
func (*CreateUserExampleRequest) GetName ¶
func (x *CreateUserExampleRequest) GetName() string
func (*CreateUserExampleRequest) GetPassword ¶
func (x *CreateUserExampleRequest) GetPassword() string
func (*CreateUserExampleRequest) GetPhone ¶
func (x *CreateUserExampleRequest) GetPhone() string
func (*CreateUserExampleRequest) ProtoMessage ¶
func (*CreateUserExampleRequest) ProtoMessage()
func (*CreateUserExampleRequest) ProtoReflect ¶
func (x *CreateUserExampleRequest) ProtoReflect() protoreflect.Message
func (*CreateUserExampleRequest) Reset ¶
func (x *CreateUserExampleRequest) Reset()
func (*CreateUserExampleRequest) String ¶
func (x *CreateUserExampleRequest) String() string
func (*CreateUserExampleRequest) Validate ¶
func (m *CreateUserExampleRequest) Validate() error
Validate checks the field values on CreateUserExampleRequest 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 (*CreateUserExampleRequest) ValidateAll ¶
func (m *CreateUserExampleRequest) ValidateAll() error
ValidateAll checks the field values on CreateUserExampleRequest 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 CreateUserExampleRequestMultiError, or nil if none found.
type CreateUserExampleRequestMultiError ¶
type CreateUserExampleRequestMultiError []error
CreateUserExampleRequestMultiError is an error wrapping multiple validation errors returned by CreateUserExampleRequest.ValidateAll() if the designated constraints aren't met.
func (CreateUserExampleRequestMultiError) AllErrors ¶
func (m CreateUserExampleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserExampleRequestMultiError) Error ¶
func (m CreateUserExampleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserExampleRequestValidationError ¶
type CreateUserExampleRequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserExampleRequestValidationError is the validation error returned by CreateUserExampleRequest.Validate if the designated constraints aren't met.
func (CreateUserExampleRequestValidationError) Cause ¶
func (e CreateUserExampleRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserExampleRequestValidationError) Error ¶
func (e CreateUserExampleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserExampleRequestValidationError) ErrorName ¶
func (e CreateUserExampleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserExampleRequestValidationError) Field ¶
func (e CreateUserExampleRequestValidationError) Field() string
Field function returns field value.
func (CreateUserExampleRequestValidationError) Key ¶
func (e CreateUserExampleRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserExampleRequestValidationError) Reason ¶
func (e CreateUserExampleRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserExampleByIDReply ¶
type DeleteUserExampleByIDReply struct {
// contains filtered or unexported fields
}
func (*DeleteUserExampleByIDReply) Descriptor
deprecated
func (*DeleteUserExampleByIDReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserExampleByIDReply.ProtoReflect.Descriptor instead.
func (*DeleteUserExampleByIDReply) ProtoMessage ¶
func (*DeleteUserExampleByIDReply) ProtoMessage()
func (*DeleteUserExampleByIDReply) ProtoReflect ¶
func (x *DeleteUserExampleByIDReply) ProtoReflect() protoreflect.Message
func (*DeleteUserExampleByIDReply) Reset ¶
func (x *DeleteUserExampleByIDReply) Reset()
func (*DeleteUserExampleByIDReply) String ¶
func (x *DeleteUserExampleByIDReply) String() string
func (*DeleteUserExampleByIDReply) Validate ¶
func (m *DeleteUserExampleByIDReply) Validate() error
Validate checks the field values on DeleteUserExampleByIDReply 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 (*DeleteUserExampleByIDReply) ValidateAll ¶
func (m *DeleteUserExampleByIDReply) ValidateAll() error
ValidateAll checks the field values on DeleteUserExampleByIDReply 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 DeleteUserExampleByIDReplyMultiError, or nil if none found.
type DeleteUserExampleByIDReplyMultiError ¶
type DeleteUserExampleByIDReplyMultiError []error
DeleteUserExampleByIDReplyMultiError is an error wrapping multiple validation errors returned by DeleteUserExampleByIDReply.ValidateAll() if the designated constraints aren't met.
func (DeleteUserExampleByIDReplyMultiError) AllErrors ¶
func (m DeleteUserExampleByIDReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserExampleByIDReplyMultiError) Error ¶
func (m DeleteUserExampleByIDReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserExampleByIDReplyValidationError ¶
type DeleteUserExampleByIDReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteUserExampleByIDReplyValidationError is the validation error returned by DeleteUserExampleByIDReply.Validate if the designated constraints aren't met.
func (DeleteUserExampleByIDReplyValidationError) Cause ¶
func (e DeleteUserExampleByIDReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserExampleByIDReplyValidationError) Error ¶
func (e DeleteUserExampleByIDReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserExampleByIDReplyValidationError) ErrorName ¶
func (e DeleteUserExampleByIDReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserExampleByIDReplyValidationError) Field ¶
func (e DeleteUserExampleByIDReplyValidationError) Field() string
Field function returns field value.
func (DeleteUserExampleByIDReplyValidationError) Key ¶
func (e DeleteUserExampleByIDReplyValidationError) Key() bool
Key function returns key value.
func (DeleteUserExampleByIDReplyValidationError) Reason ¶
func (e DeleteUserExampleByIDReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteUserExampleByIDRequest ¶
type DeleteUserExampleByIDRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" uri:"id"` // contains filtered or unexported fields }
func (*DeleteUserExampleByIDRequest) Descriptor
deprecated
func (*DeleteUserExampleByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserExampleByIDRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserExampleByIDRequest) GetId ¶
func (x *DeleteUserExampleByIDRequest) GetId() uint64
func (*DeleteUserExampleByIDRequest) ProtoMessage ¶
func (*DeleteUserExampleByIDRequest) ProtoMessage()
func (*DeleteUserExampleByIDRequest) ProtoReflect ¶
func (x *DeleteUserExampleByIDRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserExampleByIDRequest) Reset ¶
func (x *DeleteUserExampleByIDRequest) Reset()
func (*DeleteUserExampleByIDRequest) String ¶
func (x *DeleteUserExampleByIDRequest) String() string
func (*DeleteUserExampleByIDRequest) Validate ¶
func (m *DeleteUserExampleByIDRequest) Validate() error
Validate checks the field values on DeleteUserExampleByIDRequest 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 (*DeleteUserExampleByIDRequest) ValidateAll ¶
func (m *DeleteUserExampleByIDRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserExampleByIDRequest 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 DeleteUserExampleByIDRequestMultiError, or nil if none found.
type DeleteUserExampleByIDRequestMultiError ¶
type DeleteUserExampleByIDRequestMultiError []error
DeleteUserExampleByIDRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserExampleByIDRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserExampleByIDRequestMultiError) AllErrors ¶
func (m DeleteUserExampleByIDRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserExampleByIDRequestMultiError) Error ¶
func (m DeleteUserExampleByIDRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserExampleByIDRequestValidationError ¶
type DeleteUserExampleByIDRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserExampleByIDRequestValidationError is the validation error returned by DeleteUserExampleByIDRequest.Validate if the designated constraints aren't met.
func (DeleteUserExampleByIDRequestValidationError) Cause ¶
func (e DeleteUserExampleByIDRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserExampleByIDRequestValidationError) Error ¶
func (e DeleteUserExampleByIDRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserExampleByIDRequestValidationError) ErrorName ¶
func (e DeleteUserExampleByIDRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserExampleByIDRequestValidationError) Field ¶
func (e DeleteUserExampleByIDRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserExampleByIDRequestValidationError) Key ¶
func (e DeleteUserExampleByIDRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserExampleByIDRequestValidationError) Reason ¶
func (e DeleteUserExampleByIDRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserExampleByIDsReply ¶
type DeleteUserExampleByIDsReply struct {
// contains filtered or unexported fields
}
func (*DeleteUserExampleByIDsReply) Descriptor
deprecated
func (*DeleteUserExampleByIDsReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserExampleByIDsReply.ProtoReflect.Descriptor instead.
func (*DeleteUserExampleByIDsReply) ProtoMessage ¶
func (*DeleteUserExampleByIDsReply) ProtoMessage()
func (*DeleteUserExampleByIDsReply) ProtoReflect ¶
func (x *DeleteUserExampleByIDsReply) ProtoReflect() protoreflect.Message
func (*DeleteUserExampleByIDsReply) Reset ¶
func (x *DeleteUserExampleByIDsReply) Reset()
func (*DeleteUserExampleByIDsReply) String ¶
func (x *DeleteUserExampleByIDsReply) String() string
func (*DeleteUserExampleByIDsReply) Validate ¶
func (m *DeleteUserExampleByIDsReply) Validate() error
Validate checks the field values on DeleteUserExampleByIDsReply 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 (*DeleteUserExampleByIDsReply) ValidateAll ¶
func (m *DeleteUserExampleByIDsReply) ValidateAll() error
ValidateAll checks the field values on DeleteUserExampleByIDsReply 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 DeleteUserExampleByIDsReplyMultiError, or nil if none found.
type DeleteUserExampleByIDsReplyMultiError ¶
type DeleteUserExampleByIDsReplyMultiError []error
DeleteUserExampleByIDsReplyMultiError is an error wrapping multiple validation errors returned by DeleteUserExampleByIDsReply.ValidateAll() if the designated constraints aren't met.
func (DeleteUserExampleByIDsReplyMultiError) AllErrors ¶
func (m DeleteUserExampleByIDsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserExampleByIDsReplyMultiError) Error ¶
func (m DeleteUserExampleByIDsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserExampleByIDsReplyValidationError ¶
type DeleteUserExampleByIDsReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteUserExampleByIDsReplyValidationError is the validation error returned by DeleteUserExampleByIDsReply.Validate if the designated constraints aren't met.
func (DeleteUserExampleByIDsReplyValidationError) Cause ¶
func (e DeleteUserExampleByIDsReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserExampleByIDsReplyValidationError) Error ¶
func (e DeleteUserExampleByIDsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserExampleByIDsReplyValidationError) ErrorName ¶
func (e DeleteUserExampleByIDsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserExampleByIDsReplyValidationError) Field ¶
func (e DeleteUserExampleByIDsReplyValidationError) Field() string
Field function returns field value.
func (DeleteUserExampleByIDsReplyValidationError) Key ¶
func (e DeleteUserExampleByIDsReplyValidationError) Key() bool
Key function returns key value.
func (DeleteUserExampleByIDsReplyValidationError) Reason ¶
func (e DeleteUserExampleByIDsReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteUserExampleByIDsRequest ¶
type DeleteUserExampleByIDsRequest struct { Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids"` // contains filtered or unexported fields }
func (*DeleteUserExampleByIDsRequest) Descriptor
deprecated
func (*DeleteUserExampleByIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserExampleByIDsRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserExampleByIDsRequest) GetIds ¶
func (x *DeleteUserExampleByIDsRequest) GetIds() []uint64
func (*DeleteUserExampleByIDsRequest) ProtoMessage ¶
func (*DeleteUserExampleByIDsRequest) ProtoMessage()
func (*DeleteUserExampleByIDsRequest) ProtoReflect ¶
func (x *DeleteUserExampleByIDsRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserExampleByIDsRequest) Reset ¶
func (x *DeleteUserExampleByIDsRequest) Reset()
func (*DeleteUserExampleByIDsRequest) String ¶
func (x *DeleteUserExampleByIDsRequest) String() string
func (*DeleteUserExampleByIDsRequest) Validate ¶
func (m *DeleteUserExampleByIDsRequest) Validate() error
Validate checks the field values on DeleteUserExampleByIDsRequest 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 (*DeleteUserExampleByIDsRequest) ValidateAll ¶
func (m *DeleteUserExampleByIDsRequest) ValidateAll() error
ValidateAll checks the field values on DeleteUserExampleByIDsRequest 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 DeleteUserExampleByIDsRequestMultiError, or nil if none found.
type DeleteUserExampleByIDsRequestMultiError ¶
type DeleteUserExampleByIDsRequestMultiError []error
DeleteUserExampleByIDsRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserExampleByIDsRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteUserExampleByIDsRequestMultiError) AllErrors ¶
func (m DeleteUserExampleByIDsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserExampleByIDsRequestMultiError) Error ¶
func (m DeleteUserExampleByIDsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserExampleByIDsRequestValidationError ¶
type DeleteUserExampleByIDsRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserExampleByIDsRequestValidationError is the validation error returned by DeleteUserExampleByIDsRequest.Validate if the designated constraints aren't met.
func (DeleteUserExampleByIDsRequestValidationError) Cause ¶
func (e DeleteUserExampleByIDsRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserExampleByIDsRequestValidationError) Error ¶
func (e DeleteUserExampleByIDsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserExampleByIDsRequestValidationError) ErrorName ¶
func (e DeleteUserExampleByIDsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserExampleByIDsRequestValidationError) Field ¶
func (e DeleteUserExampleByIDsRequestValidationError) Field() string
Field function returns field value.
func (DeleteUserExampleByIDsRequestValidationError) Key ¶
func (e DeleteUserExampleByIDsRequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserExampleByIDsRequestValidationError) Reason ¶
func (e DeleteUserExampleByIDsRequestValidationError) Reason() string
Reason function returns reason value.
type GenderType ¶
type GenderType int32
const ( GenderType_UNKNOWN GenderType = 0 GenderType_MALE GenderType = 1 GenderType_FEMALE GenderType = 2 )
func (GenderType) Descriptor ¶
func (GenderType) Descriptor() protoreflect.EnumDescriptor
func (GenderType) Enum ¶
func (x GenderType) Enum() *GenderType
func (GenderType) EnumDescriptor
deprecated
func (GenderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use GenderType.Descriptor instead.
func (GenderType) Number ¶
func (x GenderType) Number() protoreflect.EnumNumber
func (GenderType) String ¶
func (x GenderType) String() string
func (GenderType) Type ¶
func (GenderType) Type() protoreflect.EnumType
type GetUserExampleByConditionReply ¶
type GetUserExampleByConditionReply struct { UserExample *UserExample `protobuf:"bytes,1,opt,name=userExample,proto3" json:"userExample"` // contains filtered or unexported fields }
func (*GetUserExampleByConditionReply) Descriptor
deprecated
func (*GetUserExampleByConditionReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserExampleByConditionReply.ProtoReflect.Descriptor instead.
func (*GetUserExampleByConditionReply) GetUserExample ¶
func (x *GetUserExampleByConditionReply) GetUserExample() *UserExample
func (*GetUserExampleByConditionReply) ProtoMessage ¶
func (*GetUserExampleByConditionReply) ProtoMessage()
func (*GetUserExampleByConditionReply) ProtoReflect ¶
func (x *GetUserExampleByConditionReply) ProtoReflect() protoreflect.Message
func (*GetUserExampleByConditionReply) Reset ¶
func (x *GetUserExampleByConditionReply) Reset()
func (*GetUserExampleByConditionReply) String ¶
func (x *GetUserExampleByConditionReply) String() string
func (*GetUserExampleByConditionReply) Validate ¶
func (m *GetUserExampleByConditionReply) Validate() error
Validate checks the field values on GetUserExampleByConditionReply 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 (*GetUserExampleByConditionReply) ValidateAll ¶
func (m *GetUserExampleByConditionReply) ValidateAll() error
ValidateAll checks the field values on GetUserExampleByConditionReply 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 GetUserExampleByConditionReplyMultiError, or nil if none found.
type GetUserExampleByConditionReplyMultiError ¶
type GetUserExampleByConditionReplyMultiError []error
GetUserExampleByConditionReplyMultiError is an error wrapping multiple validation errors returned by GetUserExampleByConditionReply.ValidateAll() if the designated constraints aren't met.
func (GetUserExampleByConditionReplyMultiError) AllErrors ¶
func (m GetUserExampleByConditionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserExampleByConditionReplyMultiError) Error ¶
func (m GetUserExampleByConditionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserExampleByConditionReplyValidationError ¶
type GetUserExampleByConditionReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserExampleByConditionReplyValidationError is the validation error returned by GetUserExampleByConditionReply.Validate if the designated constraints aren't met.
func (GetUserExampleByConditionReplyValidationError) Cause ¶
func (e GetUserExampleByConditionReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserExampleByConditionReplyValidationError) Error ¶
func (e GetUserExampleByConditionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserExampleByConditionReplyValidationError) ErrorName ¶
func (e GetUserExampleByConditionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserExampleByConditionReplyValidationError) Field ¶
func (e GetUserExampleByConditionReplyValidationError) Field() string
Field function returns field value.
func (GetUserExampleByConditionReplyValidationError) Key ¶
func (e GetUserExampleByConditionReplyValidationError) Key() bool
Key function returns key value.
func (GetUserExampleByConditionReplyValidationError) Reason ¶
func (e GetUserExampleByConditionReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserExampleByConditionRequest ¶
type GetUserExampleByConditionRequest struct { Conditions *types.Conditions `protobuf:"bytes,1,opt,name=conditions,proto3" json:"conditions"` // contains filtered or unexported fields }
func (*GetUserExampleByConditionRequest) Descriptor
deprecated
func (*GetUserExampleByConditionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserExampleByConditionRequest.ProtoReflect.Descriptor instead.
func (*GetUserExampleByConditionRequest) GetConditions ¶
func (x *GetUserExampleByConditionRequest) GetConditions() *types.Conditions
func (*GetUserExampleByConditionRequest) ProtoMessage ¶
func (*GetUserExampleByConditionRequest) ProtoMessage()
func (*GetUserExampleByConditionRequest) ProtoReflect ¶
func (x *GetUserExampleByConditionRequest) ProtoReflect() protoreflect.Message
func (*GetUserExampleByConditionRequest) Reset ¶
func (x *GetUserExampleByConditionRequest) Reset()
func (*GetUserExampleByConditionRequest) String ¶
func (x *GetUserExampleByConditionRequest) String() string
func (*GetUserExampleByConditionRequest) Validate ¶
func (m *GetUserExampleByConditionRequest) Validate() error
Validate checks the field values on GetUserExampleByConditionRequest 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 (*GetUserExampleByConditionRequest) ValidateAll ¶
func (m *GetUserExampleByConditionRequest) ValidateAll() error
ValidateAll checks the field values on GetUserExampleByConditionRequest 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 GetUserExampleByConditionRequestMultiError, or nil if none found.
type GetUserExampleByConditionRequestMultiError ¶
type GetUserExampleByConditionRequestMultiError []error
GetUserExampleByConditionRequestMultiError is an error wrapping multiple validation errors returned by GetUserExampleByConditionRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserExampleByConditionRequestMultiError) AllErrors ¶
func (m GetUserExampleByConditionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserExampleByConditionRequestMultiError) Error ¶
func (m GetUserExampleByConditionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserExampleByConditionRequestValidationError ¶
type GetUserExampleByConditionRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserExampleByConditionRequestValidationError is the validation error returned by GetUserExampleByConditionRequest.Validate if the designated constraints aren't met.
func (GetUserExampleByConditionRequestValidationError) Cause ¶
func (e GetUserExampleByConditionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserExampleByConditionRequestValidationError) Error ¶
func (e GetUserExampleByConditionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserExampleByConditionRequestValidationError) ErrorName ¶
func (e GetUserExampleByConditionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserExampleByConditionRequestValidationError) Field ¶
func (e GetUserExampleByConditionRequestValidationError) Field() string
Field function returns field value.
func (GetUserExampleByConditionRequestValidationError) Key ¶
func (e GetUserExampleByConditionRequestValidationError) Key() bool
Key function returns key value.
func (GetUserExampleByConditionRequestValidationError) Reason ¶
func (e GetUserExampleByConditionRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserExampleByIDReply ¶
type GetUserExampleByIDReply struct { UserExample *UserExample `protobuf:"bytes,1,opt,name=userExample,proto3" json:"userExample"` // contains filtered or unexported fields }
func (*GetUserExampleByIDReply) Descriptor
deprecated
func (*GetUserExampleByIDReply) Descriptor() ([]byte, []int)
Deprecated: Use GetUserExampleByIDReply.ProtoReflect.Descriptor instead.
func (*GetUserExampleByIDReply) GetUserExample ¶
func (x *GetUserExampleByIDReply) GetUserExample() *UserExample
func (*GetUserExampleByIDReply) ProtoMessage ¶
func (*GetUserExampleByIDReply) ProtoMessage()
func (*GetUserExampleByIDReply) ProtoReflect ¶
func (x *GetUserExampleByIDReply) ProtoReflect() protoreflect.Message
func (*GetUserExampleByIDReply) Reset ¶
func (x *GetUserExampleByIDReply) Reset()
func (*GetUserExampleByIDReply) String ¶
func (x *GetUserExampleByIDReply) String() string
func (*GetUserExampleByIDReply) Validate ¶
func (m *GetUserExampleByIDReply) Validate() error
Validate checks the field values on GetUserExampleByIDReply 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 (*GetUserExampleByIDReply) ValidateAll ¶
func (m *GetUserExampleByIDReply) ValidateAll() error
ValidateAll checks the field values on GetUserExampleByIDReply 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 GetUserExampleByIDReplyMultiError, or nil if none found.
type GetUserExampleByIDReplyMultiError ¶
type GetUserExampleByIDReplyMultiError []error
GetUserExampleByIDReplyMultiError is an error wrapping multiple validation errors returned by GetUserExampleByIDReply.ValidateAll() if the designated constraints aren't met.
func (GetUserExampleByIDReplyMultiError) AllErrors ¶
func (m GetUserExampleByIDReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserExampleByIDReplyMultiError) Error ¶
func (m GetUserExampleByIDReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserExampleByIDReplyValidationError ¶
type GetUserExampleByIDReplyValidationError struct {
// contains filtered or unexported fields
}
GetUserExampleByIDReplyValidationError is the validation error returned by GetUserExampleByIDReply.Validate if the designated constraints aren't met.
func (GetUserExampleByIDReplyValidationError) Cause ¶
func (e GetUserExampleByIDReplyValidationError) Cause() error
Cause function returns cause value.
func (GetUserExampleByIDReplyValidationError) Error ¶
func (e GetUserExampleByIDReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserExampleByIDReplyValidationError) ErrorName ¶
func (e GetUserExampleByIDReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserExampleByIDReplyValidationError) Field ¶
func (e GetUserExampleByIDReplyValidationError) Field() string
Field function returns field value.
func (GetUserExampleByIDReplyValidationError) Key ¶
func (e GetUserExampleByIDReplyValidationError) Key() bool
Key function returns key value.
func (GetUserExampleByIDReplyValidationError) Reason ¶
func (e GetUserExampleByIDReplyValidationError) Reason() string
Reason function returns reason value.
type GetUserExampleByIDRequest ¶
type GetUserExampleByIDRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" uri:"id"` // contains filtered or unexported fields }
func (*GetUserExampleByIDRequest) Descriptor
deprecated
func (*GetUserExampleByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserExampleByIDRequest.ProtoReflect.Descriptor instead.
func (*GetUserExampleByIDRequest) GetId ¶
func (x *GetUserExampleByIDRequest) GetId() uint64
func (*GetUserExampleByIDRequest) ProtoMessage ¶
func (*GetUserExampleByIDRequest) ProtoMessage()
func (*GetUserExampleByIDRequest) ProtoReflect ¶
func (x *GetUserExampleByIDRequest) ProtoReflect() protoreflect.Message
func (*GetUserExampleByIDRequest) Reset ¶
func (x *GetUserExampleByIDRequest) Reset()
func (*GetUserExampleByIDRequest) String ¶
func (x *GetUserExampleByIDRequest) String() string
func (*GetUserExampleByIDRequest) Validate ¶
func (m *GetUserExampleByIDRequest) Validate() error
Validate checks the field values on GetUserExampleByIDRequest 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 (*GetUserExampleByIDRequest) ValidateAll ¶
func (m *GetUserExampleByIDRequest) ValidateAll() error
ValidateAll checks the field values on GetUserExampleByIDRequest 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 GetUserExampleByIDRequestMultiError, or nil if none found.
type GetUserExampleByIDRequestMultiError ¶
type GetUserExampleByIDRequestMultiError []error
GetUserExampleByIDRequestMultiError is an error wrapping multiple validation errors returned by GetUserExampleByIDRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserExampleByIDRequestMultiError) AllErrors ¶
func (m GetUserExampleByIDRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserExampleByIDRequestMultiError) Error ¶
func (m GetUserExampleByIDRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserExampleByIDRequestValidationError ¶
type GetUserExampleByIDRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserExampleByIDRequestValidationError is the validation error returned by GetUserExampleByIDRequest.Validate if the designated constraints aren't met.
func (GetUserExampleByIDRequestValidationError) Cause ¶
func (e GetUserExampleByIDRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserExampleByIDRequestValidationError) Error ¶
func (e GetUserExampleByIDRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserExampleByIDRequestValidationError) ErrorName ¶
func (e GetUserExampleByIDRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserExampleByIDRequestValidationError) Field ¶
func (e GetUserExampleByIDRequestValidationError) Field() string
Field function returns field value.
func (GetUserExampleByIDRequestValidationError) Key ¶
func (e GetUserExampleByIDRequestValidationError) Key() bool
Key function returns key value.
func (GetUserExampleByIDRequestValidationError) Reason ¶
func (e GetUserExampleByIDRequestValidationError) Reason() string
Reason function returns reason value.
type ListUserExampleByIDsReply ¶
type ListUserExampleByIDsReply struct { UserExamples []*UserExample `protobuf:"bytes,1,rep,name=userExamples,proto3" json:"userExamples"` // contains filtered or unexported fields }
func (*ListUserExampleByIDsReply) Descriptor
deprecated
func (*ListUserExampleByIDsReply) Descriptor() ([]byte, []int)
Deprecated: Use ListUserExampleByIDsReply.ProtoReflect.Descriptor instead.
func (*ListUserExampleByIDsReply) GetUserExamples ¶
func (x *ListUserExampleByIDsReply) GetUserExamples() []*UserExample
func (*ListUserExampleByIDsReply) ProtoMessage ¶
func (*ListUserExampleByIDsReply) ProtoMessage()
func (*ListUserExampleByIDsReply) ProtoReflect ¶
func (x *ListUserExampleByIDsReply) ProtoReflect() protoreflect.Message
func (*ListUserExampleByIDsReply) Reset ¶
func (x *ListUserExampleByIDsReply) Reset()
func (*ListUserExampleByIDsReply) String ¶
func (x *ListUserExampleByIDsReply) String() string
func (*ListUserExampleByIDsReply) Validate ¶
func (m *ListUserExampleByIDsReply) Validate() error
Validate checks the field values on ListUserExampleByIDsReply 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 (*ListUserExampleByIDsReply) ValidateAll ¶
func (m *ListUserExampleByIDsReply) ValidateAll() error
ValidateAll checks the field values on ListUserExampleByIDsReply 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 ListUserExampleByIDsReplyMultiError, or nil if none found.
type ListUserExampleByIDsReplyMultiError ¶
type ListUserExampleByIDsReplyMultiError []error
ListUserExampleByIDsReplyMultiError is an error wrapping multiple validation errors returned by ListUserExampleByIDsReply.ValidateAll() if the designated constraints aren't met.
func (ListUserExampleByIDsReplyMultiError) AllErrors ¶
func (m ListUserExampleByIDsReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserExampleByIDsReplyMultiError) Error ¶
func (m ListUserExampleByIDsReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserExampleByIDsReplyValidationError ¶
type ListUserExampleByIDsReplyValidationError struct {
// contains filtered or unexported fields
}
ListUserExampleByIDsReplyValidationError is the validation error returned by ListUserExampleByIDsReply.Validate if the designated constraints aren't met.
func (ListUserExampleByIDsReplyValidationError) Cause ¶
func (e ListUserExampleByIDsReplyValidationError) Cause() error
Cause function returns cause value.
func (ListUserExampleByIDsReplyValidationError) Error ¶
func (e ListUserExampleByIDsReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserExampleByIDsReplyValidationError) ErrorName ¶
func (e ListUserExampleByIDsReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserExampleByIDsReplyValidationError) Field ¶
func (e ListUserExampleByIDsReplyValidationError) Field() string
Field function returns field value.
func (ListUserExampleByIDsReplyValidationError) Key ¶
func (e ListUserExampleByIDsReplyValidationError) Key() bool
Key function returns key value.
func (ListUserExampleByIDsReplyValidationError) Reason ¶
func (e ListUserExampleByIDsReplyValidationError) Reason() string
Reason function returns reason value.
type ListUserExampleByIDsRequest ¶
type ListUserExampleByIDsRequest struct { Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids"` // contains filtered or unexported fields }
func (*ListUserExampleByIDsRequest) Descriptor
deprecated
func (*ListUserExampleByIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserExampleByIDsRequest.ProtoReflect.Descriptor instead.
func (*ListUserExampleByIDsRequest) GetIds ¶
func (x *ListUserExampleByIDsRequest) GetIds() []uint64
func (*ListUserExampleByIDsRequest) ProtoMessage ¶
func (*ListUserExampleByIDsRequest) ProtoMessage()
func (*ListUserExampleByIDsRequest) ProtoReflect ¶
func (x *ListUserExampleByIDsRequest) ProtoReflect() protoreflect.Message
func (*ListUserExampleByIDsRequest) Reset ¶
func (x *ListUserExampleByIDsRequest) Reset()
func (*ListUserExampleByIDsRequest) String ¶
func (x *ListUserExampleByIDsRequest) String() string
func (*ListUserExampleByIDsRequest) Validate ¶
func (m *ListUserExampleByIDsRequest) Validate() error
Validate checks the field values on ListUserExampleByIDsRequest 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 (*ListUserExampleByIDsRequest) ValidateAll ¶
func (m *ListUserExampleByIDsRequest) ValidateAll() error
ValidateAll checks the field values on ListUserExampleByIDsRequest 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 ListUserExampleByIDsRequestMultiError, or nil if none found.
type ListUserExampleByIDsRequestMultiError ¶
type ListUserExampleByIDsRequestMultiError []error
ListUserExampleByIDsRequestMultiError is an error wrapping multiple validation errors returned by ListUserExampleByIDsRequest.ValidateAll() if the designated constraints aren't met.
func (ListUserExampleByIDsRequestMultiError) AllErrors ¶
func (m ListUserExampleByIDsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserExampleByIDsRequestMultiError) Error ¶
func (m ListUserExampleByIDsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserExampleByIDsRequestValidationError ¶
type ListUserExampleByIDsRequestValidationError struct {
// contains filtered or unexported fields
}
ListUserExampleByIDsRequestValidationError is the validation error returned by ListUserExampleByIDsRequest.Validate if the designated constraints aren't met.
func (ListUserExampleByIDsRequestValidationError) Cause ¶
func (e ListUserExampleByIDsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserExampleByIDsRequestValidationError) Error ¶
func (e ListUserExampleByIDsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserExampleByIDsRequestValidationError) ErrorName ¶
func (e ListUserExampleByIDsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserExampleByIDsRequestValidationError) Field ¶
func (e ListUserExampleByIDsRequestValidationError) Field() string
Field function returns field value.
func (ListUserExampleByIDsRequestValidationError) Key ¶
func (e ListUserExampleByIDsRequestValidationError) Key() bool
Key function returns key value.
func (ListUserExampleByIDsRequestValidationError) Reason ¶
func (e ListUserExampleByIDsRequestValidationError) Reason() string
Reason function returns reason value.
type ListUserExampleReply ¶
type ListUserExampleReply struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"` UserExamples []*UserExample `protobuf:"bytes,2,rep,name=userExamples,proto3" json:"userExamples"` // contains filtered or unexported fields }
func (*ListUserExampleReply) Descriptor
deprecated
func (*ListUserExampleReply) Descriptor() ([]byte, []int)
Deprecated: Use ListUserExampleReply.ProtoReflect.Descriptor instead.
func (*ListUserExampleReply) GetTotal ¶
func (x *ListUserExampleReply) GetTotal() int64
func (*ListUserExampleReply) GetUserExamples ¶
func (x *ListUserExampleReply) GetUserExamples() []*UserExample
func (*ListUserExampleReply) ProtoMessage ¶
func (*ListUserExampleReply) ProtoMessage()
func (*ListUserExampleReply) ProtoReflect ¶
func (x *ListUserExampleReply) ProtoReflect() protoreflect.Message
func (*ListUserExampleReply) Reset ¶
func (x *ListUserExampleReply) Reset()
func (*ListUserExampleReply) String ¶
func (x *ListUserExampleReply) String() string
func (*ListUserExampleReply) Validate ¶
func (m *ListUserExampleReply) Validate() error
Validate checks the field values on ListUserExampleReply 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 (*ListUserExampleReply) ValidateAll ¶
func (m *ListUserExampleReply) ValidateAll() error
ValidateAll checks the field values on ListUserExampleReply 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 ListUserExampleReplyMultiError, or nil if none found.
type ListUserExampleReplyMultiError ¶
type ListUserExampleReplyMultiError []error
ListUserExampleReplyMultiError is an error wrapping multiple validation errors returned by ListUserExampleReply.ValidateAll() if the designated constraints aren't met.
func (ListUserExampleReplyMultiError) AllErrors ¶
func (m ListUserExampleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserExampleReplyMultiError) Error ¶
func (m ListUserExampleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserExampleReplyValidationError ¶
type ListUserExampleReplyValidationError struct {
// contains filtered or unexported fields
}
ListUserExampleReplyValidationError is the validation error returned by ListUserExampleReply.Validate if the designated constraints aren't met.
func (ListUserExampleReplyValidationError) Cause ¶
func (e ListUserExampleReplyValidationError) Cause() error
Cause function returns cause value.
func (ListUserExampleReplyValidationError) Error ¶
func (e ListUserExampleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserExampleReplyValidationError) ErrorName ¶
func (e ListUserExampleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserExampleReplyValidationError) Field ¶
func (e ListUserExampleReplyValidationError) Field() string
Field function returns field value.
func (ListUserExampleReplyValidationError) Key ¶
func (e ListUserExampleReplyValidationError) Key() bool
Key function returns key value.
func (ListUserExampleReplyValidationError) Reason ¶
func (e ListUserExampleReplyValidationError) Reason() string
Reason function returns reason value.
type ListUserExampleRequest ¶
type ListUserExampleRequest struct { Params *types.Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // contains filtered or unexported fields }
func (*ListUserExampleRequest) Descriptor
deprecated
func (*ListUserExampleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserExampleRequest.ProtoReflect.Descriptor instead.
func (*ListUserExampleRequest) GetParams ¶
func (x *ListUserExampleRequest) GetParams() *types.Params
func (*ListUserExampleRequest) ProtoMessage ¶
func (*ListUserExampleRequest) ProtoMessage()
func (*ListUserExampleRequest) ProtoReflect ¶
func (x *ListUserExampleRequest) ProtoReflect() protoreflect.Message
func (*ListUserExampleRequest) Reset ¶
func (x *ListUserExampleRequest) Reset()
func (*ListUserExampleRequest) String ¶
func (x *ListUserExampleRequest) String() string
func (*ListUserExampleRequest) Validate ¶
func (m *ListUserExampleRequest) Validate() error
Validate checks the field values on ListUserExampleRequest 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 (*ListUserExampleRequest) ValidateAll ¶
func (m *ListUserExampleRequest) ValidateAll() error
ValidateAll checks the field values on ListUserExampleRequest 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 ListUserExampleRequestMultiError, or nil if none found.
type ListUserExampleRequestMultiError ¶
type ListUserExampleRequestMultiError []error
ListUserExampleRequestMultiError is an error wrapping multiple validation errors returned by ListUserExampleRequest.ValidateAll() if the designated constraints aren't met.
func (ListUserExampleRequestMultiError) AllErrors ¶
func (m ListUserExampleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserExampleRequestMultiError) Error ¶
func (m ListUserExampleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserExampleRequestValidationError ¶
type ListUserExampleRequestValidationError struct {
// contains filtered or unexported fields
}
ListUserExampleRequestValidationError is the validation error returned by ListUserExampleRequest.Validate if the designated constraints aren't met.
func (ListUserExampleRequestValidationError) Cause ¶
func (e ListUserExampleRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserExampleRequestValidationError) Error ¶
func (e ListUserExampleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserExampleRequestValidationError) ErrorName ¶
func (e ListUserExampleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserExampleRequestValidationError) Field ¶
func (e ListUserExampleRequestValidationError) Field() string
Field function returns field value.
func (ListUserExampleRequestValidationError) Key ¶
func (e ListUserExampleRequestValidationError) Key() bool
Key function returns key value.
func (ListUserExampleRequestValidationError) Reason ¶
func (e ListUserExampleRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedUserExampleServer ¶
type UnimplementedUserExampleServer struct { }
UnimplementedUserExampleServer must be embedded to have forward compatible implementations.
func (UnimplementedUserExampleServer) Create ¶
func (UnimplementedUserExampleServer) Create(context.Context, *CreateUserExampleRequest) (*CreateUserExampleReply, error)
func (UnimplementedUserExampleServer) DeleteByID ¶
func (UnimplementedUserExampleServer) DeleteByID(context.Context, *DeleteUserExampleByIDRequest) (*DeleteUserExampleByIDReply, error)
func (UnimplementedUserExampleServer) DeleteByIDs ¶
func (UnimplementedUserExampleServer) DeleteByIDs(context.Context, *DeleteUserExampleByIDsRequest) (*DeleteUserExampleByIDsReply, error)
func (UnimplementedUserExampleServer) GetByCondition ¶
func (UnimplementedUserExampleServer) GetByCondition(context.Context, *GetUserExampleByConditionRequest) (*GetUserExampleByConditionReply, error)
func (UnimplementedUserExampleServer) GetByID ¶
func (UnimplementedUserExampleServer) GetByID(context.Context, *GetUserExampleByIDRequest) (*GetUserExampleByIDReply, error)
func (UnimplementedUserExampleServer) List ¶
func (UnimplementedUserExampleServer) List(context.Context, *ListUserExampleRequest) (*ListUserExampleReply, error)
func (UnimplementedUserExampleServer) ListByIDs ¶
func (UnimplementedUserExampleServer) ListByIDs(context.Context, *ListUserExampleByIDsRequest) (*ListUserExampleByIDsReply, error)
func (UnimplementedUserExampleServer) UpdateByID ¶
func (UnimplementedUserExampleServer) UpdateByID(context.Context, *UpdateUserExampleByIDRequest) (*UpdateUserExampleByIDReply, error)
type UnsafeUserExampleServer ¶
type UnsafeUserExampleServer interface {
// contains filtered or unexported methods
}
UnsafeUserExampleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserExampleServer will result in compilation errors.
type UpdateUserExampleByIDReply ¶
type UpdateUserExampleByIDReply struct {
// contains filtered or unexported fields
}
func (*UpdateUserExampleByIDReply) Descriptor
deprecated
func (*UpdateUserExampleByIDReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserExampleByIDReply.ProtoReflect.Descriptor instead.
func (*UpdateUserExampleByIDReply) ProtoMessage ¶
func (*UpdateUserExampleByIDReply) ProtoMessage()
func (*UpdateUserExampleByIDReply) ProtoReflect ¶
func (x *UpdateUserExampleByIDReply) ProtoReflect() protoreflect.Message
func (*UpdateUserExampleByIDReply) Reset ¶
func (x *UpdateUserExampleByIDReply) Reset()
func (*UpdateUserExampleByIDReply) String ¶
func (x *UpdateUserExampleByIDReply) String() string
func (*UpdateUserExampleByIDReply) Validate ¶
func (m *UpdateUserExampleByIDReply) Validate() error
Validate checks the field values on UpdateUserExampleByIDReply 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 (*UpdateUserExampleByIDReply) ValidateAll ¶
func (m *UpdateUserExampleByIDReply) ValidateAll() error
ValidateAll checks the field values on UpdateUserExampleByIDReply 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 UpdateUserExampleByIDReplyMultiError, or nil if none found.
type UpdateUserExampleByIDReplyMultiError ¶
type UpdateUserExampleByIDReplyMultiError []error
UpdateUserExampleByIDReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserExampleByIDReply.ValidateAll() if the designated constraints aren't met.
func (UpdateUserExampleByIDReplyMultiError) AllErrors ¶
func (m UpdateUserExampleByIDReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserExampleByIDReplyMultiError) Error ¶
func (m UpdateUserExampleByIDReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserExampleByIDReplyValidationError ¶
type UpdateUserExampleByIDReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateUserExampleByIDReplyValidationError is the validation error returned by UpdateUserExampleByIDReply.Validate if the designated constraints aren't met.
func (UpdateUserExampleByIDReplyValidationError) Cause ¶
func (e UpdateUserExampleByIDReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserExampleByIDReplyValidationError) Error ¶
func (e UpdateUserExampleByIDReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserExampleByIDReplyValidationError) ErrorName ¶
func (e UpdateUserExampleByIDReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserExampleByIDReplyValidationError) Field ¶
func (e UpdateUserExampleByIDReplyValidationError) Field() string
Field function returns field value.
func (UpdateUserExampleByIDReplyValidationError) Key ¶
func (e UpdateUserExampleByIDReplyValidationError) Key() bool
Key function returns key value.
func (UpdateUserExampleByIDReplyValidationError) Reason ¶
func (e UpdateUserExampleByIDReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateUserExampleByIDRequest ¶
type UpdateUserExampleByIDRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" uri:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` // name Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email"` // email Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password"` // password Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone"` // phone number Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar"` // avatar Age int32 `protobuf:"varint,7,opt,name=age,proto3" json:"age"` // age Gender GenderType `protobuf:"varint,8,opt,name=gender,proto3,enum=api.serverNameExample.v1.GenderType" json:"gender"` // gender, 1:Male, 2:Female, other values:unknown Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status"` // account status LoginAt int64 `protobuf:"varint,10,opt,name=loginAt,proto3" json:"loginAt"` // login timestamp // contains filtered or unexported fields }
func (*UpdateUserExampleByIDRequest) Descriptor
deprecated
func (*UpdateUserExampleByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserExampleByIDRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserExampleByIDRequest) GetAge ¶
func (x *UpdateUserExampleByIDRequest) GetAge() int32
func (*UpdateUserExampleByIDRequest) GetAvatar ¶
func (x *UpdateUserExampleByIDRequest) GetAvatar() string
func (*UpdateUserExampleByIDRequest) GetEmail ¶
func (x *UpdateUserExampleByIDRequest) GetEmail() string
func (*UpdateUserExampleByIDRequest) GetGender ¶
func (x *UpdateUserExampleByIDRequest) GetGender() GenderType
func (*UpdateUserExampleByIDRequest) GetId ¶
func (x *UpdateUserExampleByIDRequest) GetId() uint64
func (*UpdateUserExampleByIDRequest) GetLoginAt ¶
func (x *UpdateUserExampleByIDRequest) GetLoginAt() int64
func (*UpdateUserExampleByIDRequest) GetName ¶
func (x *UpdateUserExampleByIDRequest) GetName() string
func (*UpdateUserExampleByIDRequest) GetPassword ¶
func (x *UpdateUserExampleByIDRequest) GetPassword() string
func (*UpdateUserExampleByIDRequest) GetPhone ¶
func (x *UpdateUserExampleByIDRequest) GetPhone() string
func (*UpdateUserExampleByIDRequest) GetStatus ¶
func (x *UpdateUserExampleByIDRequest) GetStatus() int32
func (*UpdateUserExampleByIDRequest) ProtoMessage ¶
func (*UpdateUserExampleByIDRequest) ProtoMessage()
func (*UpdateUserExampleByIDRequest) ProtoReflect ¶
func (x *UpdateUserExampleByIDRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserExampleByIDRequest) Reset ¶
func (x *UpdateUserExampleByIDRequest) Reset()
func (*UpdateUserExampleByIDRequest) String ¶
func (x *UpdateUserExampleByIDRequest) String() string
func (*UpdateUserExampleByIDRequest) Validate ¶
func (m *UpdateUserExampleByIDRequest) Validate() error
Validate checks the field values on UpdateUserExampleByIDRequest 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 (*UpdateUserExampleByIDRequest) ValidateAll ¶
func (m *UpdateUserExampleByIDRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserExampleByIDRequest 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 UpdateUserExampleByIDRequestMultiError, or nil if none found.
type UpdateUserExampleByIDRequestMultiError ¶
type UpdateUserExampleByIDRequestMultiError []error
UpdateUserExampleByIDRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserExampleByIDRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserExampleByIDRequestMultiError) AllErrors ¶
func (m UpdateUserExampleByIDRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserExampleByIDRequestMultiError) Error ¶
func (m UpdateUserExampleByIDRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserExampleByIDRequestValidationError ¶
type UpdateUserExampleByIDRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserExampleByIDRequestValidationError is the validation error returned by UpdateUserExampleByIDRequest.Validate if the designated constraints aren't met.
func (UpdateUserExampleByIDRequestValidationError) Cause ¶
func (e UpdateUserExampleByIDRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserExampleByIDRequestValidationError) Error ¶
func (e UpdateUserExampleByIDRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserExampleByIDRequestValidationError) ErrorName ¶
func (e UpdateUserExampleByIDRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserExampleByIDRequestValidationError) Field ¶
func (e UpdateUserExampleByIDRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserExampleByIDRequestValidationError) Key ¶
func (e UpdateUserExampleByIDRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserExampleByIDRequestValidationError) Reason ¶
func (e UpdateUserExampleByIDRequestValidationError) Reason() string
Reason function returns reason value.
type UserExample ¶
type UserExample struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` // name Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email"` // email Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` // phone number Avatar string `protobuf:"bytes,5,opt,name=avatar,proto3" json:"avatar"` // avatar Age int32 `protobuf:"varint,6,opt,name=age,proto3" json:"age"` // age Gender GenderType `protobuf:"varint,7,opt,name=gender,proto3,enum=api.serverNameExample.v1.GenderType" json:"gender"` // gender, 1:Male, 2:Female, other values:unknown Status int32 `protobuf:"varint,8,opt,name=status,proto3" json:"status"` // account status LoginAt int64 `protobuf:"varint,9,opt,name=loginAt,proto3" json:"loginAt"` // login timestamp CreatedAt int64 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt"` // creation time UpdatedAt int64 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt"` // update time // contains filtered or unexported fields }
func (*UserExample) Descriptor
deprecated
func (*UserExample) Descriptor() ([]byte, []int)
Deprecated: Use UserExample.ProtoReflect.Descriptor instead.
func (*UserExample) GetAge ¶
func (x *UserExample) GetAge() int32
func (*UserExample) GetAvatar ¶
func (x *UserExample) GetAvatar() string
func (*UserExample) GetCreatedAt ¶
func (x *UserExample) GetCreatedAt() int64
func (*UserExample) GetEmail ¶
func (x *UserExample) GetEmail() string
func (*UserExample) GetGender ¶
func (x *UserExample) GetGender() GenderType
func (*UserExample) GetId ¶
func (x *UserExample) GetId() uint64
func (*UserExample) GetLoginAt ¶
func (x *UserExample) GetLoginAt() int64
func (*UserExample) GetName ¶
func (x *UserExample) GetName() string
func (*UserExample) GetPhone ¶
func (x *UserExample) GetPhone() string
func (*UserExample) GetStatus ¶
func (x *UserExample) GetStatus() int32
func (*UserExample) GetUpdatedAt ¶
func (x *UserExample) GetUpdatedAt() int64
func (*UserExample) ProtoMessage ¶
func (*UserExample) ProtoMessage()
func (*UserExample) ProtoReflect ¶
func (x *UserExample) ProtoReflect() protoreflect.Message
func (*UserExample) Reset ¶
func (x *UserExample) Reset()
func (*UserExample) String ¶
func (x *UserExample) String() string
func (*UserExample) Validate ¶
func (m *UserExample) Validate() error
Validate checks the field values on UserExample 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 (*UserExample) ValidateAll ¶
func (m *UserExample) ValidateAll() error
ValidateAll checks the field values on UserExample 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 UserExampleMultiError, or nil if none found.
type UserExampleClient ¶
type UserExampleClient interface { // create userExample Create(ctx context.Context, in *CreateUserExampleRequest, opts ...grpc.CallOption) (*CreateUserExampleReply, error) // delete userExample by id DeleteByID(ctx context.Context, in *DeleteUserExampleByIDRequest, opts ...grpc.CallOption) (*DeleteUserExampleByIDReply, error) // delete userExample by batch id DeleteByIDs(ctx context.Context, in *DeleteUserExampleByIDsRequest, opts ...grpc.CallOption) (*DeleteUserExampleByIDsReply, error) // update userExample by id UpdateByID(ctx context.Context, in *UpdateUserExampleByIDRequest, opts ...grpc.CallOption) (*UpdateUserExampleByIDReply, error) // get userExample by id GetByID(ctx context.Context, in *GetUserExampleByIDRequest, opts ...grpc.CallOption) (*GetUserExampleByIDReply, error) // get userExample by condition GetByCondition(ctx context.Context, in *GetUserExampleByConditionRequest, opts ...grpc.CallOption) (*GetUserExampleByConditionReply, error) // list of userExample by batch id ListByIDs(ctx context.Context, in *ListUserExampleByIDsRequest, opts ...grpc.CallOption) (*ListUserExampleByIDsReply, error) // list of userExample by query parameters List(ctx context.Context, in *ListUserExampleRequest, opts ...grpc.CallOption) (*ListUserExampleReply, error) }
UserExampleClient is the client API for UserExample service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserExampleClient ¶
func NewUserExampleClient(cc grpc.ClientConnInterface) UserExampleClient
type UserExampleLogicer ¶
type UserExampleLogicer interface { Create(ctx context.Context, req *CreateUserExampleRequest) (*CreateUserExampleReply, error) DeleteByID(ctx context.Context, req *DeleteUserExampleByIDRequest) (*DeleteUserExampleByIDReply, error) DeleteByIDs(ctx context.Context, req *DeleteUserExampleByIDsRequest) (*DeleteUserExampleByIDsReply, error) GetByCondition(ctx context.Context, req *GetUserExampleByConditionRequest) (*GetUserExampleByConditionReply, error) GetByID(ctx context.Context, req *GetUserExampleByIDRequest) (*GetUserExampleByIDReply, error) List(ctx context.Context, req *ListUserExampleRequest) (*ListUserExampleReply, error) ListByIDs(ctx context.Context, req *ListUserExampleByIDsRequest) (*ListUserExampleByIDsReply, error) UpdateByID(ctx context.Context, req *UpdateUserExampleByIDRequest) (*UpdateUserExampleByIDReply, error) }
type UserExampleMultiError ¶
type UserExampleMultiError []error
UserExampleMultiError is an error wrapping multiple validation errors returned by UserExample.ValidateAll() if the designated constraints aren't met.
func (UserExampleMultiError) AllErrors ¶
func (m UserExampleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserExampleMultiError) Error ¶
func (m UserExampleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserExampleOption ¶
type UserExampleOption func(*userExampleOptions)
func WithUserExampleErrorToHTTPCode ¶
func WithUserExampleErrorToHTTPCode(e ...*errcode.Error) UserExampleOption
func WithUserExampleHTTPResponse ¶
func WithUserExampleHTTPResponse() UserExampleOption
func WithUserExampleLogger ¶
func WithUserExampleLogger(zapLog *zap.Logger) UserExampleOption
func WithUserExampleRPCResponse ¶
func WithUserExampleRPCResponse() UserExampleOption
func WithUserExampleRPCStatusToHTTPCode ¶
func WithUserExampleRPCStatusToHTTPCode(s ...*errcode.RPCStatus) UserExampleOption
func WithUserExampleResponser ¶
func WithUserExampleResponser(responser errcode.Responser) UserExampleOption
func WithUserExampleWrapCtx ¶
func WithUserExampleWrapCtx(wrapCtxFn func(c *gin.Context) context.Context) UserExampleOption
type UserExampleServer ¶
type UserExampleServer interface { // create userExample Create(context.Context, *CreateUserExampleRequest) (*CreateUserExampleReply, error) // delete userExample by id DeleteByID(context.Context, *DeleteUserExampleByIDRequest) (*DeleteUserExampleByIDReply, error) // delete userExample by batch id DeleteByIDs(context.Context, *DeleteUserExampleByIDsRequest) (*DeleteUserExampleByIDsReply, error) // update userExample by id UpdateByID(context.Context, *UpdateUserExampleByIDRequest) (*UpdateUserExampleByIDReply, error) // get userExample by id GetByID(context.Context, *GetUserExampleByIDRequest) (*GetUserExampleByIDReply, error) // get userExample by condition GetByCondition(context.Context, *GetUserExampleByConditionRequest) (*GetUserExampleByConditionReply, error) // list of userExample by batch id ListByIDs(context.Context, *ListUserExampleByIDsRequest) (*ListUserExampleByIDsReply, error) // list of userExample by query parameters List(context.Context, *ListUserExampleRequest) (*ListUserExampleReply, error) // contains filtered or unexported methods }
UserExampleServer is the server API for UserExample service. All implementations must embed UnimplementedUserExampleServer for forward compatibility
type UserExampleValidationError ¶
type UserExampleValidationError struct {
// contains filtered or unexported fields
}
UserExampleValidationError is the validation error returned by UserExample.Validate if the designated constraints aren't met.
func (UserExampleValidationError) Cause ¶
func (e UserExampleValidationError) Cause() error
Cause function returns cause value.
func (UserExampleValidationError) Error ¶
func (e UserExampleValidationError) Error() string
Error satisfies the builtin error interface
func (UserExampleValidationError) ErrorName ¶
func (e UserExampleValidationError) ErrorName() string
ErrorName returns error name.
func (UserExampleValidationError) Field ¶
func (e UserExampleValidationError) Field() string
Field function returns field value.
func (UserExampleValidationError) Key ¶
func (e UserExampleValidationError) Key() bool
Key function returns key value.
func (UserExampleValidationError) Reason ¶
func (e UserExampleValidationError) Reason() string
Reason function returns reason value.