Documentation ¶
Index ¶
- Variables
- func BuguDownloadFileHTTPHandler(srv BuguFileHTTPServer) func(ctx http.Context) error
- func BuguUploadFileHTTPHandler(srv BuguFileHTTPServer) func(ctx http.Context) error
- func ErrorCreateConflict(format string, args ...interface{}) *errors.Error
- func ErrorCreateFailed(format string, args ...interface{}) *errors.Error
- func ErrorInternalServerError(format string, args ...interface{}) *errors.Error
- func ErrorJsonUnmarshalFailed(format string, args ...interface{}) *errors.Error
- func ErrorLoginFailed(format string, args ...interface{}) *errors.Error
- func ErrorNotFoundError(format string, args ...interface{}) *errors.Error
- func ErrorRegisterFailed(format string, args ...interface{}) *errors.Error
- func ErrorUnknownError(format string, args ...interface{}) *errors.Error
- func ErrorUuidGenerateFailed(format string, args ...interface{}) *errors.Error
- func ErrorUuidParseFailed(format string, args ...interface{}) *errors.Error
- func IsCreateConflict(err error) bool
- func IsCreateFailed(err error) bool
- func IsInternalServerError(err error) bool
- func IsJsonUnmarshalFailed(err error) bool
- func IsLoginFailed(err error) bool
- func IsNotFoundError(err error) bool
- func IsRegisterFailed(err error) bool
- func IsUnknownError(err error) bool
- func IsUuidGenerateFailed(err error) bool
- func IsUuidParseFailed(err error) bool
- func RegisterBuguFileHTTPServer(s *http.Server, srv BuguFileHTTPServer, filter ...http.FilterFunc)
- func RegisterBuguHTTPServer(s *http.Server, srv BuguHTTPServer)
- func RegisterBuguServer(s grpc.ServiceRegistrar, srv BuguServer)
- type BuguClient
- type BuguFileHTTPServer
- type BuguFileServer
- type BuguHTTPClient
- type BuguHTTPClientImpl
- func (c *BuguHTTPClientImpl) Confusion(ctx context.Context, in *ConfusionRequest, opts ...http.CallOption) (*ConfusionReply, error)
- func (c *BuguHTTPClientImpl) DeleteArtifactMetadata(ctx context.Context, in *DeleteArtifactMetadataRequest, ...) (*DeleteArtifactMetadataReply, error)
- func (c *BuguHTTPClientImpl) DeleteFileMetadata(ctx context.Context, in *DeleteFileMetadataRequest, opts ...http.CallOption) (*DeleteFileMetadataReply, error)
- func (c *BuguHTTPClientImpl) Detect(ctx context.Context, in *DetectRequest, opts ...http.CallOption) (*DetectReply, error)
- func (c *BuguHTTPClientImpl) GetArtifactMetadata(ctx context.Context, in *GetArtifactMetadataRequest, opts ...http.CallOption) (*GetArtifactMetadataReply, error)
- func (c *BuguHTTPClientImpl) GetArtifactMetadataByFileId(ctx context.Context, in *GetArtifactMetadataByFileIdRequest, ...) (*GetArtifactMetadataByFileIdReply, error)
- func (c *BuguHTTPClientImpl) GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...http.CallOption) (*GetCurrentUserReply, error)
- func (c *BuguHTTPClientImpl) GetFileMeta(ctx context.Context, in *GetFileMetaRequest, opts ...http.CallOption) (*GetFileMetaReply, error)
- func (c *BuguHTTPClientImpl) GetFileMetaByUserId(ctx context.Context, in *GetFileMetaByUserIdRequest, opts ...http.CallOption) (*GetFileMetaByUserIdReply, error)
- func (c *BuguHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
- func (c *BuguHTTPClientImpl) Register(ctx context.Context, in *RegisterRequest, opts ...http.CallOption) (*RegisterReply, error)
- func (c *BuguHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserReply, error)
- type BuguHTTPServer
- type BuguServer
- type ConfusionReply
- func (*ConfusionReply) Descriptor() ([]byte, []int)deprecated
- func (x *ConfusionReply) GetAffiliatedFileId() string
- func (x *ConfusionReply) GetArtifactId() string
- func (x *ConfusionReply) GetFileId() string
- func (x *ConfusionReply) GetMethod() string
- func (*ConfusionReply) ProtoMessage()
- func (x *ConfusionReply) ProtoReflect() protoreflect.Message
- func (x *ConfusionReply) Reset()
- func (x *ConfusionReply) String() string
- func (m *ConfusionReply) Validate() error
- func (m *ConfusionReply) ValidateAll() error
- type ConfusionReplyMultiError
- type ConfusionReplyValidationError
- func (e ConfusionReplyValidationError) Cause() error
- func (e ConfusionReplyValidationError) Error() string
- func (e ConfusionReplyValidationError) ErrorName() string
- func (e ConfusionReplyValidationError) Field() string
- func (e ConfusionReplyValidationError) Key() bool
- func (e ConfusionReplyValidationError) Reason() string
- type ConfusionRequest
- func (*ConfusionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfusionRequest) GetFileId() string
- func (x *ConfusionRequest) GetUserId() string
- func (*ConfusionRequest) ProtoMessage()
- func (x *ConfusionRequest) ProtoReflect() protoreflect.Message
- func (x *ConfusionRequest) Reset()
- func (x *ConfusionRequest) String() string
- func (m *ConfusionRequest) Validate() error
- func (m *ConfusionRequest) ValidateAll() error
- type ConfusionRequestMultiError
- type ConfusionRequestValidationError
- func (e ConfusionRequestValidationError) Cause() error
- func (e ConfusionRequestValidationError) Error() string
- func (e ConfusionRequestValidationError) ErrorName() string
- func (e ConfusionRequestValidationError) Field() string
- func (e ConfusionRequestValidationError) Key() bool
- func (e ConfusionRequestValidationError) Reason() string
- type DeleteArtifactMetadataReply
- func (*DeleteArtifactMetadataReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteArtifactMetadataReply) ProtoMessage()
- func (x *DeleteArtifactMetadataReply) ProtoReflect() protoreflect.Message
- func (x *DeleteArtifactMetadataReply) Reset()
- func (x *DeleteArtifactMetadataReply) String() string
- func (m *DeleteArtifactMetadataReply) Validate() error
- func (m *DeleteArtifactMetadataReply) ValidateAll() error
- type DeleteArtifactMetadataReplyMultiError
- type DeleteArtifactMetadataReplyValidationError
- func (e DeleteArtifactMetadataReplyValidationError) Cause() error
- func (e DeleteArtifactMetadataReplyValidationError) Error() string
- func (e DeleteArtifactMetadataReplyValidationError) ErrorName() string
- func (e DeleteArtifactMetadataReplyValidationError) Field() string
- func (e DeleteArtifactMetadataReplyValidationError) Key() bool
- func (e DeleteArtifactMetadataReplyValidationError) Reason() string
- type DeleteArtifactMetadataRequest
- func (*DeleteArtifactMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteArtifactMetadataRequest) GetArtifactId() string
- func (x *DeleteArtifactMetadataRequest) GetUserId() string
- func (*DeleteArtifactMetadataRequest) ProtoMessage()
- func (x *DeleteArtifactMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteArtifactMetadataRequest) Reset()
- func (x *DeleteArtifactMetadataRequest) String() string
- func (m *DeleteArtifactMetadataRequest) Validate() error
- func (m *DeleteArtifactMetadataRequest) ValidateAll() error
- type DeleteArtifactMetadataRequestMultiError
- type DeleteArtifactMetadataRequestValidationError
- func (e DeleteArtifactMetadataRequestValidationError) Cause() error
- func (e DeleteArtifactMetadataRequestValidationError) Error() string
- func (e DeleteArtifactMetadataRequestValidationError) ErrorName() string
- func (e DeleteArtifactMetadataRequestValidationError) Field() string
- func (e DeleteArtifactMetadataRequestValidationError) Key() bool
- func (e DeleteArtifactMetadataRequestValidationError) Reason() string
- type DeleteFileMetadataReply
- func (*DeleteFileMetadataReply) Descriptor() ([]byte, []int)deprecated
- func (*DeleteFileMetadataReply) ProtoMessage()
- func (x *DeleteFileMetadataReply) ProtoReflect() protoreflect.Message
- func (x *DeleteFileMetadataReply) Reset()
- func (x *DeleteFileMetadataReply) String() string
- func (m *DeleteFileMetadataReply) Validate() error
- func (m *DeleteFileMetadataReply) ValidateAll() error
- type DeleteFileMetadataReplyMultiError
- type DeleteFileMetadataReplyValidationError
- func (e DeleteFileMetadataReplyValidationError) Cause() error
- func (e DeleteFileMetadataReplyValidationError) Error() string
- func (e DeleteFileMetadataReplyValidationError) ErrorName() string
- func (e DeleteFileMetadataReplyValidationError) Field() string
- func (e DeleteFileMetadataReplyValidationError) Key() bool
- func (e DeleteFileMetadataReplyValidationError) Reason() string
- type DeleteFileMetadataRequest
- func (*DeleteFileMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileMetadataRequest) GetFileId() string
- func (x *DeleteFileMetadataRequest) GetUserId() string
- func (*DeleteFileMetadataRequest) ProtoMessage()
- func (x *DeleteFileMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFileMetadataRequest) Reset()
- func (x *DeleteFileMetadataRequest) String() string
- func (m *DeleteFileMetadataRequest) Validate() error
- func (m *DeleteFileMetadataRequest) ValidateAll() error
- type DeleteFileMetadataRequestMultiError
- type DeleteFileMetadataRequestValidationError
- func (e DeleteFileMetadataRequestValidationError) Cause() error
- func (e DeleteFileMetadataRequestValidationError) Error() string
- func (e DeleteFileMetadataRequestValidationError) ErrorName() string
- func (e DeleteFileMetadataRequestValidationError) Field() string
- func (e DeleteFileMetadataRequestValidationError) Key() bool
- func (e DeleteFileMetadataRequestValidationError) Reason() string
- type DetectReply
- func (*DetectReply) Descriptor() ([]byte, []int)deprecated
- func (x *DetectReply) GetArtifactId() string
- func (*DetectReply) ProtoMessage()
- func (x *DetectReply) ProtoReflect() protoreflect.Message
- func (x *DetectReply) Reset()
- func (x *DetectReply) String() string
- func (m *DetectReply) Validate() error
- func (m *DetectReply) ValidateAll() error
- type DetectReplyMultiError
- type DetectReplyValidationError
- func (e DetectReplyValidationError) Cause() error
- func (e DetectReplyValidationError) Error() string
- func (e DetectReplyValidationError) ErrorName() string
- func (e DetectReplyValidationError) Field() string
- func (e DetectReplyValidationError) Key() bool
- func (e DetectReplyValidationError) Reason() string
- type DetectRequest
- func (*DetectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetectRequest) GetFileId() string
- func (x *DetectRequest) GetUserId() string
- func (*DetectRequest) ProtoMessage()
- func (x *DetectRequest) ProtoReflect() protoreflect.Message
- func (x *DetectRequest) Reset()
- func (x *DetectRequest) String() string
- func (m *DetectRequest) Validate() error
- func (m *DetectRequest) ValidateAll() error
- type DetectRequestMultiError
- type DetectRequestValidationError
- func (e DetectRequestValidationError) Cause() error
- func (e DetectRequestValidationError) Error() string
- func (e DetectRequestValidationError) ErrorName() string
- func (e DetectRequestValidationError) Field() string
- func (e DetectRequestValidationError) Key() bool
- func (e DetectRequestValidationError) Reason() string
- type GetArtifactMetadataByFileIdReply
- func (*GetArtifactMetadataByFileIdReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtifactMetadataByFileIdReply) GetArtifactMetadata() []*GetArtifactMetadataReply
- func (*GetArtifactMetadataByFileIdReply) ProtoMessage()
- func (x *GetArtifactMetadataByFileIdReply) ProtoReflect() protoreflect.Message
- func (x *GetArtifactMetadataByFileIdReply) Reset()
- func (x *GetArtifactMetadataByFileIdReply) String() string
- func (m *GetArtifactMetadataByFileIdReply) Validate() error
- func (m *GetArtifactMetadataByFileIdReply) ValidateAll() error
- type GetArtifactMetadataByFileIdReplyMultiError
- type GetArtifactMetadataByFileIdReplyValidationError
- func (e GetArtifactMetadataByFileIdReplyValidationError) Cause() error
- func (e GetArtifactMetadataByFileIdReplyValidationError) Error() string
- func (e GetArtifactMetadataByFileIdReplyValidationError) ErrorName() string
- func (e GetArtifactMetadataByFileIdReplyValidationError) Field() string
- func (e GetArtifactMetadataByFileIdReplyValidationError) Key() bool
- func (e GetArtifactMetadataByFileIdReplyValidationError) Reason() string
- type GetArtifactMetadataByFileIdRequest
- func (*GetArtifactMetadataByFileIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtifactMetadataByFileIdRequest) GetFileId() string
- func (x *GetArtifactMetadataByFileIdRequest) GetUserId() string
- func (*GetArtifactMetadataByFileIdRequest) ProtoMessage()
- func (x *GetArtifactMetadataByFileIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetArtifactMetadataByFileIdRequest) Reset()
- func (x *GetArtifactMetadataByFileIdRequest) String() string
- func (m *GetArtifactMetadataByFileIdRequest) Validate() error
- func (m *GetArtifactMetadataByFileIdRequest) ValidateAll() error
- type GetArtifactMetadataByFileIdRequestMultiError
- type GetArtifactMetadataByFileIdRequestValidationError
- func (e GetArtifactMetadataByFileIdRequestValidationError) Cause() error
- func (e GetArtifactMetadataByFileIdRequestValidationError) Error() string
- func (e GetArtifactMetadataByFileIdRequestValidationError) ErrorName() string
- func (e GetArtifactMetadataByFileIdRequestValidationError) Field() string
- func (e GetArtifactMetadataByFileIdRequestValidationError) Key() bool
- func (e GetArtifactMetadataByFileIdRequestValidationError) Reason() string
- type GetArtifactMetadataReply
- func (*GetArtifactMetadataReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtifactMetadataReply) GetAffiliatedFileId() string
- func (x *GetArtifactMetadataReply) GetArtifactId() string
- func (x *GetArtifactMetadataReply) GetFileId() string
- func (x *GetArtifactMetadataReply) GetMethod() string
- func (*GetArtifactMetadataReply) ProtoMessage()
- func (x *GetArtifactMetadataReply) ProtoReflect() protoreflect.Message
- func (x *GetArtifactMetadataReply) Reset()
- func (x *GetArtifactMetadataReply) String() string
- func (m *GetArtifactMetadataReply) Validate() error
- func (m *GetArtifactMetadataReply) ValidateAll() error
- type GetArtifactMetadataReplyMultiError
- type GetArtifactMetadataReplyValidationError
- func (e GetArtifactMetadataReplyValidationError) Cause() error
- func (e GetArtifactMetadataReplyValidationError) Error() string
- func (e GetArtifactMetadataReplyValidationError) ErrorName() string
- func (e GetArtifactMetadataReplyValidationError) Field() string
- func (e GetArtifactMetadataReplyValidationError) Key() bool
- func (e GetArtifactMetadataReplyValidationError) Reason() string
- type GetArtifactMetadataRequest
- func (*GetArtifactMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtifactMetadataRequest) GetArtifactId() string
- func (x *GetArtifactMetadataRequest) GetUserId() string
- func (*GetArtifactMetadataRequest) ProtoMessage()
- func (x *GetArtifactMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetArtifactMetadataRequest) Reset()
- func (x *GetArtifactMetadataRequest) String() string
- func (m *GetArtifactMetadataRequest) Validate() error
- func (m *GetArtifactMetadataRequest) ValidateAll() error
- type GetArtifactMetadataRequestMultiError
- type GetArtifactMetadataRequestValidationError
- func (e GetArtifactMetadataRequestValidationError) Cause() error
- func (e GetArtifactMetadataRequestValidationError) Error() string
- func (e GetArtifactMetadataRequestValidationError) ErrorName() string
- func (e GetArtifactMetadataRequestValidationError) Field() string
- func (e GetArtifactMetadataRequestValidationError) Key() bool
- func (e GetArtifactMetadataRequestValidationError) Reason() string
- type GetCurrentUserReply
- func (*GetCurrentUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentUserReply) GetUser() *UserStruct
- func (*GetCurrentUserReply) ProtoMessage()
- func (x *GetCurrentUserReply) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserReply) Reset()
- func (x *GetCurrentUserReply) String() string
- func (m *GetCurrentUserReply) Validate() error
- func (m *GetCurrentUserReply) ValidateAll() error
- type GetCurrentUserReplyMultiError
- type GetCurrentUserReplyValidationError
- func (e GetCurrentUserReplyValidationError) Cause() error
- func (e GetCurrentUserReplyValidationError) Error() string
- func (e GetCurrentUserReplyValidationError) ErrorName() string
- func (e GetCurrentUserReplyValidationError) Field() string
- func (e GetCurrentUserReplyValidationError) Key() bool
- func (e GetCurrentUserReplyValidationError) Reason() string
- type GetCurrentUserRequest
- func (*GetCurrentUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentUserRequest) GetId() string
- func (*GetCurrentUserRequest) ProtoMessage()
- func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetCurrentUserRequest) Reset()
- func (x *GetCurrentUserRequest) String() string
- func (m *GetCurrentUserRequest) Validate() error
- func (m *GetCurrentUserRequest) ValidateAll() error
- type GetCurrentUserRequestMultiError
- type GetCurrentUserRequestValidationError
- func (e GetCurrentUserRequestValidationError) Cause() error
- func (e GetCurrentUserRequestValidationError) Error() string
- func (e GetCurrentUserRequestValidationError) ErrorName() string
- func (e GetCurrentUserRequestValidationError) Field() string
- func (e GetCurrentUserRequestValidationError) Key() bool
- func (e GetCurrentUserRequestValidationError) Reason() string
- type GetFileMetaByUserIdReply
- func (*GetFileMetaByUserIdReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileMetaByUserIdReply) GetFileMetadata() []*GetFileMetaReply
- func (*GetFileMetaByUserIdReply) ProtoMessage()
- func (x *GetFileMetaByUserIdReply) ProtoReflect() protoreflect.Message
- func (x *GetFileMetaByUserIdReply) Reset()
- func (x *GetFileMetaByUserIdReply) String() string
- func (m *GetFileMetaByUserIdReply) Validate() error
- func (m *GetFileMetaByUserIdReply) ValidateAll() error
- type GetFileMetaByUserIdReplyMultiError
- type GetFileMetaByUserIdReplyValidationError
- func (e GetFileMetaByUserIdReplyValidationError) Cause() error
- func (e GetFileMetaByUserIdReplyValidationError) Error() string
- func (e GetFileMetaByUserIdReplyValidationError) ErrorName() string
- func (e GetFileMetaByUserIdReplyValidationError) Field() string
- func (e GetFileMetaByUserIdReplyValidationError) Key() bool
- func (e GetFileMetaByUserIdReplyValidationError) Reason() string
- type GetFileMetaByUserIdRequest
- func (*GetFileMetaByUserIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileMetaByUserIdRequest) GetUserId() string
- func (*GetFileMetaByUserIdRequest) ProtoMessage()
- func (x *GetFileMetaByUserIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileMetaByUserIdRequest) Reset()
- func (x *GetFileMetaByUserIdRequest) String() string
- func (m *GetFileMetaByUserIdRequest) Validate() error
- func (m *GetFileMetaByUserIdRequest) ValidateAll() error
- type GetFileMetaByUserIdRequestMultiError
- type GetFileMetaByUserIdRequestValidationError
- func (e GetFileMetaByUserIdRequestValidationError) Cause() error
- func (e GetFileMetaByUserIdRequestValidationError) Error() string
- func (e GetFileMetaByUserIdRequestValidationError) ErrorName() string
- func (e GetFileMetaByUserIdRequestValidationError) Field() string
- func (e GetFileMetaByUserIdRequestValidationError) Key() bool
- func (e GetFileMetaByUserIdRequestValidationError) Reason() string
- type GetFileMetaReply
- func (*GetFileMetaReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileMetaReply) GetFileAddr() string
- func (x *GetFileMetaReply) GetFileId() string
- func (x *GetFileMetaReply) GetFileSha_1() string
- func (x *GetFileMetaReply) GetFileSize() int64
- func (x *GetFileMetaReply) GetType() Type
- func (*GetFileMetaReply) ProtoMessage()
- func (x *GetFileMetaReply) ProtoReflect() protoreflect.Message
- func (x *GetFileMetaReply) Reset()
- func (x *GetFileMetaReply) String() string
- func (m *GetFileMetaReply) Validate() error
- func (m *GetFileMetaReply) ValidateAll() error
- type GetFileMetaReplyMultiError
- type GetFileMetaReplyValidationError
- func (e GetFileMetaReplyValidationError) Cause() error
- func (e GetFileMetaReplyValidationError) Error() string
- func (e GetFileMetaReplyValidationError) ErrorName() string
- func (e GetFileMetaReplyValidationError) Field() string
- func (e GetFileMetaReplyValidationError) Key() bool
- func (e GetFileMetaReplyValidationError) Reason() string
- type GetFileMetaRequest
- func (*GetFileMetaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileMetaRequest) GetFileId() string
- func (x *GetFileMetaRequest) GetUserId() string
- func (*GetFileMetaRequest) ProtoMessage()
- func (x *GetFileMetaRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileMetaRequest) Reset()
- func (x *GetFileMetaRequest) String() string
- func (m *GetFileMetaRequest) Validate() error
- func (m *GetFileMetaRequest) ValidateAll() error
- type GetFileMetaRequestMultiError
- type GetFileMetaRequestValidationError
- func (e GetFileMetaRequestValidationError) Cause() error
- func (e GetFileMetaRequestValidationError) Error() string
- func (e GetFileMetaRequestValidationError) ErrorName() string
- func (e GetFileMetaRequestValidationError) Field() string
- func (e GetFileMetaRequestValidationError) Key() bool
- func (e GetFileMetaRequestValidationError) Reason() string
- type LoginReply
- func (*LoginReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginReply) GetToken() string
- func (x *LoginReply) GetUser() *UserStruct
- func (*LoginReply) ProtoMessage()
- func (x *LoginReply) ProtoReflect() protoreflect.Message
- func (x *LoginReply) Reset()
- func (x *LoginReply) String() string
- func (m *LoginReply) Validate() error
- func (m *LoginReply) ValidateAll() error
- type LoginReplyMultiError
- type LoginReplyValidationError
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetUser() *LoginRequest_User
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LoginRequest_User
- func (*LoginRequest_User) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest_User) GetEmail() string
- func (x *LoginRequest_User) GetPassword() string
- func (*LoginRequest_User) ProtoMessage()
- func (x *LoginRequest_User) ProtoReflect() protoreflect.Message
- func (x *LoginRequest_User) Reset()
- func (x *LoginRequest_User) String() string
- func (m *LoginRequest_User) Validate() error
- func (m *LoginRequest_User) ValidateAll() error
- type LoginRequest_UserMultiError
- type LoginRequest_UserValidationError
- func (e LoginRequest_UserValidationError) Cause() error
- func (e LoginRequest_UserValidationError) Error() string
- func (e LoginRequest_UserValidationError) ErrorName() string
- func (e LoginRequest_UserValidationError) Field() string
- func (e LoginRequest_UserValidationError) Key() bool
- func (e LoginRequest_UserValidationError) Reason() string
- type RegisterReply
- func (*RegisterReply) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterReply) GetUser() *UserStruct
- func (*RegisterReply) ProtoMessage()
- func (x *RegisterReply) ProtoReflect() protoreflect.Message
- func (x *RegisterReply) Reset()
- func (x *RegisterReply) String() string
- func (m *RegisterReply) Validate() error
- func (m *RegisterReply) ValidateAll() error
- type RegisterReplyMultiError
- type RegisterReplyValidationError
- func (e RegisterReplyValidationError) Cause() error
- func (e RegisterReplyValidationError) Error() string
- func (e RegisterReplyValidationError) ErrorName() string
- func (e RegisterReplyValidationError) Field() string
- func (e RegisterReplyValidationError) Key() bool
- func (e RegisterReplyValidationError) Reason() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetUser() *RegisterRequest_User
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- func (m *RegisterRequest) Validate() error
- func (m *RegisterRequest) ValidateAll() error
- type RegisterRequestMultiError
- type RegisterRequestValidationError
- func (e RegisterRequestValidationError) Cause() error
- func (e RegisterRequestValidationError) Error() string
- func (e RegisterRequestValidationError) ErrorName() string
- func (e RegisterRequestValidationError) Field() string
- func (e RegisterRequestValidationError) Key() bool
- func (e RegisterRequestValidationError) Reason() string
- type RegisterRequest_User
- func (*RegisterRequest_User) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest_User) GetEmail() string
- func (x *RegisterRequest_User) GetPassword() string
- func (x *RegisterRequest_User) GetUsername() string
- func (*RegisterRequest_User) ProtoMessage()
- func (x *RegisterRequest_User) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest_User) Reset()
- func (x *RegisterRequest_User) String() string
- func (m *RegisterRequest_User) Validate() error
- func (m *RegisterRequest_User) ValidateAll() error
- type RegisterRequest_UserMultiError
- type RegisterRequest_UserValidationError
- func (e RegisterRequest_UserValidationError) Cause() error
- func (e RegisterRequest_UserValidationError) Error() string
- func (e RegisterRequest_UserValidationError) ErrorName() string
- func (e RegisterRequest_UserValidationError) Field() string
- func (e RegisterRequest_UserValidationError) Key() bool
- func (e RegisterRequest_UserValidationError) Reason() string
- type Type
- type UnimplementedBuguFileServer
- type UnimplementedBuguServer
- func (UnimplementedBuguServer) Confusion(context.Context, *ConfusionRequest) (*ConfusionReply, error)
- func (UnimplementedBuguServer) DeleteArtifactMetadata(context.Context, *DeleteArtifactMetadataRequest) (*DeleteArtifactMetadataReply, error)
- func (UnimplementedBuguServer) DeleteFileMetadata(context.Context, *DeleteFileMetadataRequest) (*DeleteFileMetadataReply, error)
- func (UnimplementedBuguServer) Detect(context.Context, *DetectRequest) (*DetectReply, error)
- func (UnimplementedBuguServer) GetArtifactMetadata(context.Context, *GetArtifactMetadataRequest) (*GetArtifactMetadataReply, error)
- func (UnimplementedBuguServer) GetArtifactMetadataByFileId(context.Context, *GetArtifactMetadataByFileIdRequest) (*GetArtifactMetadataByFileIdReply, error)
- func (UnimplementedBuguServer) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error)
- func (UnimplementedBuguServer) GetFileMeta(context.Context, *GetFileMetaRequest) (*GetFileMetaReply, error)
- func (UnimplementedBuguServer) GetFileMetaByUserId(context.Context, *GetFileMetaByUserIdRequest) (*GetFileMetaByUserIdReply, error)
- func (UnimplementedBuguServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
- func (UnimplementedBuguServer) Register(context.Context, *RegisterRequest) (*RegisterReply, error)
- func (UnimplementedBuguServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
- type UnsafeBuguFileServer
- type UnsafeBuguServer
- type UpdateUserReply
- func (*UpdateUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserReply) GetUser() *UserStruct
- func (*UpdateUserReply) ProtoMessage()
- func (x *UpdateUserReply) ProtoReflect() protoreflect.Message
- func (x *UpdateUserReply) Reset()
- func (x *UpdateUserReply) String() string
- func (m *UpdateUserReply) Validate() error
- func (m *UpdateUserReply) ValidateAll() error
- type UpdateUserReplyMultiError
- type UpdateUserReplyValidationError
- func (e UpdateUserReplyValidationError) Cause() error
- func (e UpdateUserReplyValidationError) Error() string
- func (e UpdateUserReplyValidationError) ErrorName() string
- func (e UpdateUserReplyValidationError) Field() string
- func (e UpdateUserReplyValidationError) Key() bool
- func (e UpdateUserReplyValidationError) Reason() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetUser() *UpdateUserRequest_User
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) ValidateAll() error
- type UpdateUserRequestMultiError
- type UpdateUserRequestValidationError
- func (e UpdateUserRequestValidationError) Cause() error
- func (e UpdateUserRequestValidationError) Error() string
- func (e UpdateUserRequestValidationError) ErrorName() string
- func (e UpdateUserRequestValidationError) Field() string
- func (e UpdateUserRequestValidationError) Key() bool
- func (e UpdateUserRequestValidationError) Reason() string
- type UpdateUserRequest_User
- func (*UpdateUserRequest_User) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest_User) GetEmail() string
- func (x *UpdateUserRequest_User) GetId() string
- func (x *UpdateUserRequest_User) GetPassword() string
- func (x *UpdateUserRequest_User) GetUsername() string
- func (*UpdateUserRequest_User) ProtoMessage()
- func (x *UpdateUserRequest_User) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest_User) Reset()
- func (x *UpdateUserRequest_User) String() string
- func (m *UpdateUserRequest_User) Validate() error
- func (m *UpdateUserRequest_User) ValidateAll() error
- type UpdateUserRequest_UserMultiError
- type UpdateUserRequest_UserValidationError
- func (e UpdateUserRequest_UserValidationError) Cause() error
- func (e UpdateUserRequest_UserValidationError) Error() string
- func (e UpdateUserRequest_UserValidationError) ErrorName() string
- func (e UpdateUserRequest_UserValidationError) Field() string
- func (e UpdateUserRequest_UserValidationError) Key() bool
- func (e UpdateUserRequest_UserValidationError) Reason() string
- type UserServiceErrorReason
- func (UserServiceErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x UserServiceErrorReason) Enum() *UserServiceErrorReason
- func (UserServiceErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserServiceErrorReason) Number() protoreflect.EnumNumber
- func (x UserServiceErrorReason) String() string
- func (UserServiceErrorReason) Type() protoreflect.EnumType
- type UserStruct
- func (*UserStruct) Descriptor() ([]byte, []int)deprecated
- func (x *UserStruct) GetEmail() string
- func (x *UserStruct) GetId() string
- func (x *UserStruct) GetUsername() string
- func (*UserStruct) ProtoMessage()
- func (x *UserStruct) ProtoReflect() protoreflect.Message
- func (x *UserStruct) Reset()
- func (x *UserStruct) String() string
- func (m *UserStruct) Validate() error
- func (m *UserStruct) ValidateAll() error
- type UserStructMultiError
- type UserStructValidationError
Constants ¶
This section is empty.
Variables ¶
var ( Type_name = map[int32]string{ 0: "TYPE_ADPOSHEL", 1: "TYPE_AGENT", 2: "TYPE_ALLAPLE", 3: "TYPE_AMONETIZE", 4: "TYPE_ANDROM", 5: "TYPE_AUTORUN", 6: "TYPE_BROWSE_FOX", 7: "TYPE_DINWOD", 8: "TYPE_ELEX", 9: "TYPE_EXPIRO", 10: "TYPE_FASONG", 11: "TYPE_HACK_KMS", 12: "TYPE_HLUX", 13: "TYPE_INJECTOR", 14: "TYPE_INSTALL_CORE", 15: "TYPE_MULTI_Plug", 16: "TYPE_NEOREKLAMI", 17: "TYPE_NESHTA", 18: "TYPE_OTHER", 19: "TYPE_REGRUN", 20: "TYPE_SALITY", 21: "TYPE_SNARASITE", 22: "TYPE_STABTINKO", 23: "TYPE_VBA", 24: "TYPE_VBKRYPT", 25: "TYPE_VILSEL", } Type_value = map[string]int32{ "TYPE_ADPOSHEL": 0, "TYPE_AGENT": 1, "TYPE_ALLAPLE": 2, "TYPE_AMONETIZE": 3, "TYPE_ANDROM": 4, "TYPE_AUTORUN": 5, "TYPE_BROWSE_FOX": 6, "TYPE_DINWOD": 7, "TYPE_ELEX": 8, "TYPE_EXPIRO": 9, "TYPE_FASONG": 10, "TYPE_HACK_KMS": 11, "TYPE_HLUX": 12, "TYPE_INJECTOR": 13, "TYPE_INSTALL_CORE": 14, "TYPE_MULTI_Plug": 15, "TYPE_NEOREKLAMI": 16, "TYPE_NESHTA": 17, "TYPE_OTHER": 18, "TYPE_REGRUN": 19, "TYPE_SALITY": 20, "TYPE_SNARASITE": 21, "TYPE_STABTINKO": 22, "TYPE_VBA": 23, "TYPE_VBKRYPT": 24, "TYPE_VILSEL": 25, } )
Enum value maps for Type.
var ( UserServiceErrorReason_name = map[int32]string{ 0: "UNKNOWN_ERROR", 1: "INTERNAL_SERVER_ERROR", 2: "NOT_FOUND_ERROR", 3: "LOGIN_FAILED", 4: "REGISTER_FAILED", 5: "CREATE_FAILED", 6: "CREATE_CONFLICT", 7: "UUID_GENERATE_FAILED", 8: "UUID_PARSE_FAILED", 9: "JSON_UNMARSHAL_FAILED", } UserServiceErrorReason_value = map[string]int32{ "UNKNOWN_ERROR": 0, "INTERNAL_SERVER_ERROR": 1, "NOT_FOUND_ERROR": 2, "LOGIN_FAILED": 3, "REGISTER_FAILED": 4, "CREATE_FAILED": 5, "CREATE_CONFLICT": 6, "UUID_GENERATE_FAILED": 7, "UUID_PARSE_FAILED": 8, "JSON_UNMARSHAL_FAILED": 9, } )
Enum value maps for UserServiceErrorReason.
var Bugu_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bugu.service.v1.Bugu", HandlerType: (*BuguServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _Bugu_Register_Handler, }, { MethodName: "Login", Handler: _Bugu_Login_Handler, }, { MethodName: "GetCurrentUser", Handler: _Bugu_GetCurrentUser_Handler, }, { MethodName: "UpdateUser", Handler: _Bugu_UpdateUser_Handler, }, { MethodName: "GetFileMeta", Handler: _Bugu_GetFileMeta_Handler, }, { MethodName: "GetFileMetaByUserId", Handler: _Bugu_GetFileMetaByUserId_Handler, }, { MethodName: "DeleteFileMetadata", Handler: _Bugu_DeleteFileMetadata_Handler, }, { MethodName: "Detect", Handler: _Bugu_Detect_Handler, }, { MethodName: "Confusion", Handler: _Bugu_Confusion_Handler, }, { MethodName: "GetArtifactMetadata", Handler: _Bugu_GetArtifactMetadata_Handler, }, { MethodName: "GetArtifactMetadataByFileId", Handler: _Bugu_GetArtifactMetadataByFileId_Handler, }, { MethodName: "DeleteArtifactMetadata", Handler: _Bugu_DeleteArtifactMetadata_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v1/bugu.proto", }
Bugu_ServiceDesc is the grpc.ServiceDesc for Bugu service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_v1_bugu_error_proto protoreflect.FileDescriptor
var File_v1_bugu_proto protoreflect.FileDescriptor
Functions ¶
func BuguDownloadFileHTTPHandler ¶
func BuguDownloadFileHTTPHandler(srv BuguFileHTTPServer) func(ctx http.Context) error
func BuguUploadFileHTTPHandler ¶
func BuguUploadFileHTTPHandler(srv BuguFileHTTPServer) func(ctx http.Context) error
func ErrorCreateConflict ¶
func ErrorCreateFailed ¶
func ErrorLoginFailed ¶
func ErrorNotFoundError ¶
func ErrorRegisterFailed ¶
func ErrorUnknownError ¶
func ErrorUuidGenerateFailed ¶
func ErrorUuidParseFailed ¶
func IsCreateConflict ¶
func IsCreateFailed ¶
func IsInternalServerError ¶
func IsJsonUnmarshalFailed ¶
func IsLoginFailed ¶
func IsNotFoundError ¶
func IsRegisterFailed ¶
func IsUnknownError ¶
func IsUuidGenerateFailed ¶
func IsUuidParseFailed ¶
func RegisterBuguFileHTTPServer ¶
func RegisterBuguFileHTTPServer(s *http.Server, srv BuguFileHTTPServer, filter ...http.FilterFunc)
func RegisterBuguHTTPServer ¶
func RegisterBuguHTTPServer(s *http.Server, srv BuguHTTPServer)
func RegisterBuguServer ¶
func RegisterBuguServer(s grpc.ServiceRegistrar, srv BuguServer)
Types ¶
type BuguClient ¶
type BuguClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterReply, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginReply, error) GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...grpc.CallOption) (*GetCurrentUserReply, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserReply, error) GetFileMeta(ctx context.Context, in *GetFileMetaRequest, opts ...grpc.CallOption) (*GetFileMetaReply, error) GetFileMetaByUserId(ctx context.Context, in *GetFileMetaByUserIdRequest, opts ...grpc.CallOption) (*GetFileMetaByUserIdReply, error) DeleteFileMetadata(ctx context.Context, in *DeleteFileMetadataRequest, opts ...grpc.CallOption) (*DeleteFileMetadataReply, error) Detect(ctx context.Context, in *DetectRequest, opts ...grpc.CallOption) (*DetectReply, error) Confusion(ctx context.Context, in *ConfusionRequest, opts ...grpc.CallOption) (*ConfusionReply, error) GetArtifactMetadata(ctx context.Context, in *GetArtifactMetadataRequest, opts ...grpc.CallOption) (*GetArtifactMetadataReply, error) GetArtifactMetadataByFileId(ctx context.Context, in *GetArtifactMetadataByFileIdRequest, opts ...grpc.CallOption) (*GetArtifactMetadataByFileIdReply, error) DeleteArtifactMetadata(ctx context.Context, in *DeleteArtifactMetadataRequest, opts ...grpc.CallOption) (*DeleteArtifactMetadataReply, error) }
BuguClient is the client API for Bugu 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 NewBuguClient ¶
func NewBuguClient(cc grpc.ClientConnInterface) BuguClient
type BuguFileHTTPServer ¶
type BuguFileServer ¶
type BuguHTTPClient ¶
type BuguHTTPClient interface { Confusion(ctx context.Context, req *ConfusionRequest, opts ...http.CallOption) (rsp *ConfusionReply, err error) DeleteArtifactMetadata(ctx context.Context, req *DeleteArtifactMetadataRequest, opts ...http.CallOption) (rsp *DeleteArtifactMetadataReply, err error) DeleteFileMetadata(ctx context.Context, req *DeleteFileMetadataRequest, opts ...http.CallOption) (rsp *DeleteFileMetadataReply, err error) Detect(ctx context.Context, req *DetectRequest, opts ...http.CallOption) (rsp *DetectReply, err error) GetArtifactMetadata(ctx context.Context, req *GetArtifactMetadataRequest, opts ...http.CallOption) (rsp *GetArtifactMetadataReply, err error) GetArtifactMetadataByFileId(ctx context.Context, req *GetArtifactMetadataByFileIdRequest, opts ...http.CallOption) (rsp *GetArtifactMetadataByFileIdReply, err error) GetCurrentUser(ctx context.Context, req *GetCurrentUserRequest, opts ...http.CallOption) (rsp *GetCurrentUserReply, err error) GetFileMeta(ctx context.Context, req *GetFileMetaRequest, opts ...http.CallOption) (rsp *GetFileMetaReply, err error) GetFileMetaByUserId(ctx context.Context, req *GetFileMetaByUserIdRequest, opts ...http.CallOption) (rsp *GetFileMetaByUserIdReply, err error) Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginReply, err error) Register(ctx context.Context, req *RegisterRequest, opts ...http.CallOption) (rsp *RegisterReply, err error) UpdateUser(ctx context.Context, req *UpdateUserRequest, opts ...http.CallOption) (rsp *UpdateUserReply, err error) }
func NewBuguHTTPClient ¶
func NewBuguHTTPClient(client *http.Client) BuguHTTPClient
type BuguHTTPClientImpl ¶
type BuguHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*BuguHTTPClientImpl) Confusion ¶
func (c *BuguHTTPClientImpl) Confusion(ctx context.Context, in *ConfusionRequest, opts ...http.CallOption) (*ConfusionReply, error)
func (*BuguHTTPClientImpl) DeleteArtifactMetadata ¶ added in v1.0.1
func (c *BuguHTTPClientImpl) DeleteArtifactMetadata(ctx context.Context, in *DeleteArtifactMetadataRequest, opts ...http.CallOption) (*DeleteArtifactMetadataReply, error)
func (*BuguHTTPClientImpl) DeleteFileMetadata ¶ added in v1.0.1
func (c *BuguHTTPClientImpl) DeleteFileMetadata(ctx context.Context, in *DeleteFileMetadataRequest, opts ...http.CallOption) (*DeleteFileMetadataReply, error)
func (*BuguHTTPClientImpl) Detect ¶
func (c *BuguHTTPClientImpl) Detect(ctx context.Context, in *DetectRequest, opts ...http.CallOption) (*DetectReply, error)
func (*BuguHTTPClientImpl) GetArtifactMetadata ¶ added in v1.0.1
func (c *BuguHTTPClientImpl) GetArtifactMetadata(ctx context.Context, in *GetArtifactMetadataRequest, opts ...http.CallOption) (*GetArtifactMetadataReply, error)
func (*BuguHTTPClientImpl) GetArtifactMetadataByFileId ¶ added in v1.0.1
func (c *BuguHTTPClientImpl) GetArtifactMetadataByFileId(ctx context.Context, in *GetArtifactMetadataByFileIdRequest, opts ...http.CallOption) (*GetArtifactMetadataByFileIdReply, error)
func (*BuguHTTPClientImpl) GetCurrentUser ¶
func (c *BuguHTTPClientImpl) GetCurrentUser(ctx context.Context, in *GetCurrentUserRequest, opts ...http.CallOption) (*GetCurrentUserReply, error)
func (*BuguHTTPClientImpl) GetFileMeta ¶ added in v1.0.1
func (c *BuguHTTPClientImpl) GetFileMeta(ctx context.Context, in *GetFileMetaRequest, opts ...http.CallOption) (*GetFileMetaReply, error)
func (*BuguHTTPClientImpl) GetFileMetaByUserId ¶ added in v1.0.1
func (c *BuguHTTPClientImpl) GetFileMetaByUserId(ctx context.Context, in *GetFileMetaByUserIdRequest, opts ...http.CallOption) (*GetFileMetaByUserIdReply, error)
func (*BuguHTTPClientImpl) Login ¶
func (c *BuguHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginReply, error)
func (*BuguHTTPClientImpl) Register ¶
func (c *BuguHTTPClientImpl) Register(ctx context.Context, in *RegisterRequest, opts ...http.CallOption) (*RegisterReply, error)
func (*BuguHTTPClientImpl) UpdateUser ¶
func (c *BuguHTTPClientImpl) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...http.CallOption) (*UpdateUserReply, error)
type BuguHTTPServer ¶
type BuguHTTPServer interface { Confusion(context.Context, *ConfusionRequest) (*ConfusionReply, error) DeleteArtifactMetadata(context.Context, *DeleteArtifactMetadataRequest) (*DeleteArtifactMetadataReply, error) DeleteFileMetadata(context.Context, *DeleteFileMetadataRequest) (*DeleteFileMetadataReply, error) Detect(context.Context, *DetectRequest) (*DetectReply, error) GetArtifactMetadata(context.Context, *GetArtifactMetadataRequest) (*GetArtifactMetadataReply, error) GetArtifactMetadataByFileId(context.Context, *GetArtifactMetadataByFileIdRequest) (*GetArtifactMetadataByFileIdReply, error) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error) GetFileMeta(context.Context, *GetFileMetaRequest) (*GetFileMetaReply, error) GetFileMetaByUserId(context.Context, *GetFileMetaByUserIdRequest) (*GetFileMetaByUserIdReply, error) Login(context.Context, *LoginRequest) (*LoginReply, error) Register(context.Context, *RegisterRequest) (*RegisterReply, error) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error) }
type BuguServer ¶
type BuguServer interface { Register(context.Context, *RegisterRequest) (*RegisterReply, error) Login(context.Context, *LoginRequest) (*LoginReply, error) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error) GetFileMeta(context.Context, *GetFileMetaRequest) (*GetFileMetaReply, error) GetFileMetaByUserId(context.Context, *GetFileMetaByUserIdRequest) (*GetFileMetaByUserIdReply, error) DeleteFileMetadata(context.Context, *DeleteFileMetadataRequest) (*DeleteFileMetadataReply, error) Detect(context.Context, *DetectRequest) (*DetectReply, error) Confusion(context.Context, *ConfusionRequest) (*ConfusionReply, error) GetArtifactMetadata(context.Context, *GetArtifactMetadataRequest) (*GetArtifactMetadataReply, error) GetArtifactMetadataByFileId(context.Context, *GetArtifactMetadataByFileIdRequest) (*GetArtifactMetadataByFileIdReply, error) DeleteArtifactMetadata(context.Context, *DeleteArtifactMetadataRequest) (*DeleteArtifactMetadataReply, error) // contains filtered or unexported methods }
BuguServer is the server API for Bugu service. All implementations must embed UnimplementedBuguServer for forward compatibility
type ConfusionReply ¶
type ConfusionReply struct { ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` AffiliatedFileId string `protobuf:"bytes,3,opt,name=affiliated_file_id,json=affiliatedFileId,proto3" json:"affiliated_file_id,omitempty"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*ConfusionReply) Descriptor
deprecated
func (*ConfusionReply) Descriptor() ([]byte, []int)
Deprecated: Use ConfusionReply.ProtoReflect.Descriptor instead.
func (*ConfusionReply) GetAffiliatedFileId ¶
func (x *ConfusionReply) GetAffiliatedFileId() string
func (*ConfusionReply) GetArtifactId ¶
func (x *ConfusionReply) GetArtifactId() string
func (*ConfusionReply) GetFileId ¶
func (x *ConfusionReply) GetFileId() string
func (*ConfusionReply) GetMethod ¶
func (x *ConfusionReply) GetMethod() string
func (*ConfusionReply) ProtoMessage ¶
func (*ConfusionReply) ProtoMessage()
func (*ConfusionReply) ProtoReflect ¶
func (x *ConfusionReply) ProtoReflect() protoreflect.Message
func (*ConfusionReply) Reset ¶
func (x *ConfusionReply) Reset()
func (*ConfusionReply) String ¶
func (x *ConfusionReply) String() string
func (*ConfusionReply) Validate ¶
func (m *ConfusionReply) Validate() error
Validate checks the field values on ConfusionReply 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 (*ConfusionReply) ValidateAll ¶
func (m *ConfusionReply) ValidateAll() error
ValidateAll checks the field values on ConfusionReply 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 ConfusionReplyMultiError, or nil if none found.
type ConfusionReplyMultiError ¶
type ConfusionReplyMultiError []error
ConfusionReplyMultiError is an error wrapping multiple validation errors returned by ConfusionReply.ValidateAll() if the designated constraints aren't met.
func (ConfusionReplyMultiError) AllErrors ¶
func (m ConfusionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfusionReplyMultiError) Error ¶
func (m ConfusionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfusionReplyValidationError ¶
type ConfusionReplyValidationError struct {
// contains filtered or unexported fields
}
ConfusionReplyValidationError is the validation error returned by ConfusionReply.Validate if the designated constraints aren't met.
func (ConfusionReplyValidationError) Cause ¶
func (e ConfusionReplyValidationError) Cause() error
Cause function returns cause value.
func (ConfusionReplyValidationError) Error ¶
func (e ConfusionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ConfusionReplyValidationError) ErrorName ¶
func (e ConfusionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ConfusionReplyValidationError) Field ¶
func (e ConfusionReplyValidationError) Field() string
Field function returns field value.
func (ConfusionReplyValidationError) Key ¶
func (e ConfusionReplyValidationError) Key() bool
Key function returns key value.
func (ConfusionReplyValidationError) Reason ¶
func (e ConfusionReplyValidationError) Reason() string
Reason function returns reason value.
type ConfusionRequest ¶
type ConfusionRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*ConfusionRequest) Descriptor
deprecated
func (*ConfusionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfusionRequest.ProtoReflect.Descriptor instead.
func (*ConfusionRequest) GetFileId ¶
func (x *ConfusionRequest) GetFileId() string
func (*ConfusionRequest) GetUserId ¶
func (x *ConfusionRequest) GetUserId() string
func (*ConfusionRequest) ProtoMessage ¶
func (*ConfusionRequest) ProtoMessage()
func (*ConfusionRequest) ProtoReflect ¶
func (x *ConfusionRequest) ProtoReflect() protoreflect.Message
func (*ConfusionRequest) Reset ¶
func (x *ConfusionRequest) Reset()
func (*ConfusionRequest) String ¶
func (x *ConfusionRequest) String() string
func (*ConfusionRequest) Validate ¶
func (m *ConfusionRequest) Validate() error
Validate checks the field values on ConfusionRequest 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 (*ConfusionRequest) ValidateAll ¶
func (m *ConfusionRequest) ValidateAll() error
ValidateAll checks the field values on ConfusionRequest 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 ConfusionRequestMultiError, or nil if none found.
type ConfusionRequestMultiError ¶
type ConfusionRequestMultiError []error
ConfusionRequestMultiError is an error wrapping multiple validation errors returned by ConfusionRequest.ValidateAll() if the designated constraints aren't met.
func (ConfusionRequestMultiError) AllErrors ¶
func (m ConfusionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfusionRequestMultiError) Error ¶
func (m ConfusionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfusionRequestValidationError ¶
type ConfusionRequestValidationError struct {
// contains filtered or unexported fields
}
ConfusionRequestValidationError is the validation error returned by ConfusionRequest.Validate if the designated constraints aren't met.
func (ConfusionRequestValidationError) Cause ¶
func (e ConfusionRequestValidationError) Cause() error
Cause function returns cause value.
func (ConfusionRequestValidationError) Error ¶
func (e ConfusionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ConfusionRequestValidationError) ErrorName ¶
func (e ConfusionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ConfusionRequestValidationError) Field ¶
func (e ConfusionRequestValidationError) Field() string
Field function returns field value.
func (ConfusionRequestValidationError) Key ¶
func (e ConfusionRequestValidationError) Key() bool
Key function returns key value.
func (ConfusionRequestValidationError) Reason ¶
func (e ConfusionRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteArtifactMetadataReply ¶ added in v1.0.1
type DeleteArtifactMetadataReply struct {
// contains filtered or unexported fields
}
func (*DeleteArtifactMetadataReply) Descriptor
deprecated
added in
v1.0.1
func (*DeleteArtifactMetadataReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteArtifactMetadataReply.ProtoReflect.Descriptor instead.
func (*DeleteArtifactMetadataReply) ProtoMessage ¶ added in v1.0.1
func (*DeleteArtifactMetadataReply) ProtoMessage()
func (*DeleteArtifactMetadataReply) ProtoReflect ¶ added in v1.0.1
func (x *DeleteArtifactMetadataReply) ProtoReflect() protoreflect.Message
func (*DeleteArtifactMetadataReply) Reset ¶ added in v1.0.1
func (x *DeleteArtifactMetadataReply) Reset()
func (*DeleteArtifactMetadataReply) String ¶ added in v1.0.1
func (x *DeleteArtifactMetadataReply) String() string
func (*DeleteArtifactMetadataReply) Validate ¶ added in v1.0.1
func (m *DeleteArtifactMetadataReply) Validate() error
Validate checks the field values on DeleteArtifactMetadataReply 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 (*DeleteArtifactMetadataReply) ValidateAll ¶ added in v1.0.1
func (m *DeleteArtifactMetadataReply) ValidateAll() error
ValidateAll checks the field values on DeleteArtifactMetadataReply 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 DeleteArtifactMetadataReplyMultiError, or nil if none found.
type DeleteArtifactMetadataReplyMultiError ¶ added in v1.0.1
type DeleteArtifactMetadataReplyMultiError []error
DeleteArtifactMetadataReplyMultiError is an error wrapping multiple validation errors returned by DeleteArtifactMetadataReply.ValidateAll() if the designated constraints aren't met.
func (DeleteArtifactMetadataReplyMultiError) AllErrors ¶ added in v1.0.1
func (m DeleteArtifactMetadataReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteArtifactMetadataReplyMultiError) Error ¶ added in v1.0.1
func (m DeleteArtifactMetadataReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteArtifactMetadataReplyValidationError ¶ added in v1.0.1
type DeleteArtifactMetadataReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteArtifactMetadataReplyValidationError is the validation error returned by DeleteArtifactMetadataReply.Validate if the designated constraints aren't met.
func (DeleteArtifactMetadataReplyValidationError) Cause ¶ added in v1.0.1
func (e DeleteArtifactMetadataReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteArtifactMetadataReplyValidationError) Error ¶ added in v1.0.1
func (e DeleteArtifactMetadataReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteArtifactMetadataReplyValidationError) ErrorName ¶ added in v1.0.1
func (e DeleteArtifactMetadataReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteArtifactMetadataReplyValidationError) Field ¶ added in v1.0.1
func (e DeleteArtifactMetadataReplyValidationError) Field() string
Field function returns field value.
func (DeleteArtifactMetadataReplyValidationError) Key ¶ added in v1.0.1
func (e DeleteArtifactMetadataReplyValidationError) Key() bool
Key function returns key value.
func (DeleteArtifactMetadataReplyValidationError) Reason ¶ added in v1.0.1
func (e DeleteArtifactMetadataReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteArtifactMetadataRequest ¶ added in v1.0.1
type DeleteArtifactMetadataRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteArtifactMetadataRequest) Descriptor
deprecated
added in
v1.0.1
func (*DeleteArtifactMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteArtifactMetadataRequest.ProtoReflect.Descriptor instead.
func (*DeleteArtifactMetadataRequest) GetArtifactId ¶ added in v1.0.1
func (x *DeleteArtifactMetadataRequest) GetArtifactId() string
func (*DeleteArtifactMetadataRequest) GetUserId ¶ added in v1.0.1
func (x *DeleteArtifactMetadataRequest) GetUserId() string
func (*DeleteArtifactMetadataRequest) ProtoMessage ¶ added in v1.0.1
func (*DeleteArtifactMetadataRequest) ProtoMessage()
func (*DeleteArtifactMetadataRequest) ProtoReflect ¶ added in v1.0.1
func (x *DeleteArtifactMetadataRequest) ProtoReflect() protoreflect.Message
func (*DeleteArtifactMetadataRequest) Reset ¶ added in v1.0.1
func (x *DeleteArtifactMetadataRequest) Reset()
func (*DeleteArtifactMetadataRequest) String ¶ added in v1.0.1
func (x *DeleteArtifactMetadataRequest) String() string
func (*DeleteArtifactMetadataRequest) Validate ¶ added in v1.0.1
func (m *DeleteArtifactMetadataRequest) Validate() error
Validate checks the field values on DeleteArtifactMetadataRequest 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 (*DeleteArtifactMetadataRequest) ValidateAll ¶ added in v1.0.1
func (m *DeleteArtifactMetadataRequest) ValidateAll() error
ValidateAll checks the field values on DeleteArtifactMetadataRequest 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 DeleteArtifactMetadataRequestMultiError, or nil if none found.
type DeleteArtifactMetadataRequestMultiError ¶ added in v1.0.1
type DeleteArtifactMetadataRequestMultiError []error
DeleteArtifactMetadataRequestMultiError is an error wrapping multiple validation errors returned by DeleteArtifactMetadataRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteArtifactMetadataRequestMultiError) AllErrors ¶ added in v1.0.1
func (m DeleteArtifactMetadataRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteArtifactMetadataRequestMultiError) Error ¶ added in v1.0.1
func (m DeleteArtifactMetadataRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteArtifactMetadataRequestValidationError ¶ added in v1.0.1
type DeleteArtifactMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteArtifactMetadataRequestValidationError is the validation error returned by DeleteArtifactMetadataRequest.Validate if the designated constraints aren't met.
func (DeleteArtifactMetadataRequestValidationError) Cause ¶ added in v1.0.1
func (e DeleteArtifactMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteArtifactMetadataRequestValidationError) Error ¶ added in v1.0.1
func (e DeleteArtifactMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteArtifactMetadataRequestValidationError) ErrorName ¶ added in v1.0.1
func (e DeleteArtifactMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteArtifactMetadataRequestValidationError) Field ¶ added in v1.0.1
func (e DeleteArtifactMetadataRequestValidationError) Field() string
Field function returns field value.
func (DeleteArtifactMetadataRequestValidationError) Key ¶ added in v1.0.1
func (e DeleteArtifactMetadataRequestValidationError) Key() bool
Key function returns key value.
func (DeleteArtifactMetadataRequestValidationError) Reason ¶ added in v1.0.1
func (e DeleteArtifactMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteFileMetadataReply ¶ added in v1.0.1
type DeleteFileMetadataReply struct {
// contains filtered or unexported fields
}
func (*DeleteFileMetadataReply) Descriptor
deprecated
added in
v1.0.1
func (*DeleteFileMetadataReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileMetadataReply.ProtoReflect.Descriptor instead.
func (*DeleteFileMetadataReply) ProtoMessage ¶ added in v1.0.1
func (*DeleteFileMetadataReply) ProtoMessage()
func (*DeleteFileMetadataReply) ProtoReflect ¶ added in v1.0.1
func (x *DeleteFileMetadataReply) ProtoReflect() protoreflect.Message
func (*DeleteFileMetadataReply) Reset ¶ added in v1.0.1
func (x *DeleteFileMetadataReply) Reset()
func (*DeleteFileMetadataReply) String ¶ added in v1.0.1
func (x *DeleteFileMetadataReply) String() string
func (*DeleteFileMetadataReply) Validate ¶ added in v1.0.1
func (m *DeleteFileMetadataReply) Validate() error
Validate checks the field values on DeleteFileMetadataReply 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 (*DeleteFileMetadataReply) ValidateAll ¶ added in v1.0.1
func (m *DeleteFileMetadataReply) ValidateAll() error
ValidateAll checks the field values on DeleteFileMetadataReply 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 DeleteFileMetadataReplyMultiError, or nil if none found.
type DeleteFileMetadataReplyMultiError ¶ added in v1.0.1
type DeleteFileMetadataReplyMultiError []error
DeleteFileMetadataReplyMultiError is an error wrapping multiple validation errors returned by DeleteFileMetadataReply.ValidateAll() if the designated constraints aren't met.
func (DeleteFileMetadataReplyMultiError) AllErrors ¶ added in v1.0.1
func (m DeleteFileMetadataReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteFileMetadataReplyMultiError) Error ¶ added in v1.0.1
func (m DeleteFileMetadataReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteFileMetadataReplyValidationError ¶ added in v1.0.1
type DeleteFileMetadataReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteFileMetadataReplyValidationError is the validation error returned by DeleteFileMetadataReply.Validate if the designated constraints aren't met.
func (DeleteFileMetadataReplyValidationError) Cause ¶ added in v1.0.1
func (e DeleteFileMetadataReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteFileMetadataReplyValidationError) Error ¶ added in v1.0.1
func (e DeleteFileMetadataReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteFileMetadataReplyValidationError) ErrorName ¶ added in v1.0.1
func (e DeleteFileMetadataReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteFileMetadataReplyValidationError) Field ¶ added in v1.0.1
func (e DeleteFileMetadataReplyValidationError) Field() string
Field function returns field value.
func (DeleteFileMetadataReplyValidationError) Key ¶ added in v1.0.1
func (e DeleteFileMetadataReplyValidationError) Key() bool
Key function returns key value.
func (DeleteFileMetadataReplyValidationError) Reason ¶ added in v1.0.1
func (e DeleteFileMetadataReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteFileMetadataRequest ¶ added in v1.0.1
type DeleteFileMetadataRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileMetadataRequest) Descriptor
deprecated
added in
v1.0.1
func (*DeleteFileMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileMetadataRequest.ProtoReflect.Descriptor instead.
func (*DeleteFileMetadataRequest) GetFileId ¶ added in v1.0.1
func (x *DeleteFileMetadataRequest) GetFileId() string
func (*DeleteFileMetadataRequest) GetUserId ¶ added in v1.0.1
func (x *DeleteFileMetadataRequest) GetUserId() string
func (*DeleteFileMetadataRequest) ProtoMessage ¶ added in v1.0.1
func (*DeleteFileMetadataRequest) ProtoMessage()
func (*DeleteFileMetadataRequest) ProtoReflect ¶ added in v1.0.1
func (x *DeleteFileMetadataRequest) ProtoReflect() protoreflect.Message
func (*DeleteFileMetadataRequest) Reset ¶ added in v1.0.1
func (x *DeleteFileMetadataRequest) Reset()
func (*DeleteFileMetadataRequest) String ¶ added in v1.0.1
func (x *DeleteFileMetadataRequest) String() string
func (*DeleteFileMetadataRequest) Validate ¶ added in v1.0.1
func (m *DeleteFileMetadataRequest) Validate() error
Validate checks the field values on DeleteFileMetadataRequest 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 (*DeleteFileMetadataRequest) ValidateAll ¶ added in v1.0.1
func (m *DeleteFileMetadataRequest) ValidateAll() error
ValidateAll checks the field values on DeleteFileMetadataRequest 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 DeleteFileMetadataRequestMultiError, or nil if none found.
type DeleteFileMetadataRequestMultiError ¶ added in v1.0.1
type DeleteFileMetadataRequestMultiError []error
DeleteFileMetadataRequestMultiError is an error wrapping multiple validation errors returned by DeleteFileMetadataRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteFileMetadataRequestMultiError) AllErrors ¶ added in v1.0.1
func (m DeleteFileMetadataRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteFileMetadataRequestMultiError) Error ¶ added in v1.0.1
func (m DeleteFileMetadataRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteFileMetadataRequestValidationError ¶ added in v1.0.1
type DeleteFileMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteFileMetadataRequestValidationError is the validation error returned by DeleteFileMetadataRequest.Validate if the designated constraints aren't met.
func (DeleteFileMetadataRequestValidationError) Cause ¶ added in v1.0.1
func (e DeleteFileMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteFileMetadataRequestValidationError) Error ¶ added in v1.0.1
func (e DeleteFileMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteFileMetadataRequestValidationError) ErrorName ¶ added in v1.0.1
func (e DeleteFileMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteFileMetadataRequestValidationError) Field ¶ added in v1.0.1
func (e DeleteFileMetadataRequestValidationError) Field() string
Field function returns field value.
func (DeleteFileMetadataRequestValidationError) Key ¶ added in v1.0.1
func (e DeleteFileMetadataRequestValidationError) Key() bool
Key function returns key value.
func (DeleteFileMetadataRequestValidationError) Reason ¶ added in v1.0.1
func (e DeleteFileMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type DetectReply ¶
type DetectReply struct { ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // contains filtered or unexported fields }
func (*DetectReply) Descriptor
deprecated
func (*DetectReply) Descriptor() ([]byte, []int)
Deprecated: Use DetectReply.ProtoReflect.Descriptor instead.
func (*DetectReply) GetArtifactId ¶
func (x *DetectReply) GetArtifactId() string
func (*DetectReply) ProtoMessage ¶
func (*DetectReply) ProtoMessage()
func (*DetectReply) ProtoReflect ¶
func (x *DetectReply) ProtoReflect() protoreflect.Message
func (*DetectReply) Reset ¶
func (x *DetectReply) Reset()
func (*DetectReply) String ¶
func (x *DetectReply) String() string
func (*DetectReply) Validate ¶
func (m *DetectReply) Validate() error
Validate checks the field values on DetectReply 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 (*DetectReply) ValidateAll ¶
func (m *DetectReply) ValidateAll() error
ValidateAll checks the field values on DetectReply 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 DetectReplyMultiError, or nil if none found.
type DetectReplyMultiError ¶
type DetectReplyMultiError []error
DetectReplyMultiError is an error wrapping multiple validation errors returned by DetectReply.ValidateAll() if the designated constraints aren't met.
func (DetectReplyMultiError) AllErrors ¶
func (m DetectReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DetectReplyMultiError) Error ¶
func (m DetectReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DetectReplyValidationError ¶
type DetectReplyValidationError struct {
// contains filtered or unexported fields
}
DetectReplyValidationError is the validation error returned by DetectReply.Validate if the designated constraints aren't met.
func (DetectReplyValidationError) Cause ¶
func (e DetectReplyValidationError) Cause() error
Cause function returns cause value.
func (DetectReplyValidationError) Error ¶
func (e DetectReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DetectReplyValidationError) ErrorName ¶
func (e DetectReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DetectReplyValidationError) Field ¶
func (e DetectReplyValidationError) Field() string
Field function returns field value.
func (DetectReplyValidationError) Key ¶
func (e DetectReplyValidationError) Key() bool
Key function returns key value.
func (DetectReplyValidationError) Reason ¶
func (e DetectReplyValidationError) Reason() string
Reason function returns reason value.
type DetectRequest ¶
type DetectRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*DetectRequest) Descriptor
deprecated
func (*DetectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetectRequest.ProtoReflect.Descriptor instead.
func (*DetectRequest) GetFileId ¶
func (x *DetectRequest) GetFileId() string
func (*DetectRequest) GetUserId ¶
func (x *DetectRequest) GetUserId() string
func (*DetectRequest) ProtoMessage ¶
func (*DetectRequest) ProtoMessage()
func (*DetectRequest) ProtoReflect ¶
func (x *DetectRequest) ProtoReflect() protoreflect.Message
func (*DetectRequest) Reset ¶
func (x *DetectRequest) Reset()
func (*DetectRequest) String ¶
func (x *DetectRequest) String() string
func (*DetectRequest) Validate ¶
func (m *DetectRequest) Validate() error
Validate checks the field values on DetectRequest 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 (*DetectRequest) ValidateAll ¶
func (m *DetectRequest) ValidateAll() error
ValidateAll checks the field values on DetectRequest 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 DetectRequestMultiError, or nil if none found.
type DetectRequestMultiError ¶
type DetectRequestMultiError []error
DetectRequestMultiError is an error wrapping multiple validation errors returned by DetectRequest.ValidateAll() if the designated constraints aren't met.
func (DetectRequestMultiError) AllErrors ¶
func (m DetectRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DetectRequestMultiError) Error ¶
func (m DetectRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DetectRequestValidationError ¶
type DetectRequestValidationError struct {
// contains filtered or unexported fields
}
DetectRequestValidationError is the validation error returned by DetectRequest.Validate if the designated constraints aren't met.
func (DetectRequestValidationError) Cause ¶
func (e DetectRequestValidationError) Cause() error
Cause function returns cause value.
func (DetectRequestValidationError) Error ¶
func (e DetectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DetectRequestValidationError) ErrorName ¶
func (e DetectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DetectRequestValidationError) Field ¶
func (e DetectRequestValidationError) Field() string
Field function returns field value.
func (DetectRequestValidationError) Key ¶
func (e DetectRequestValidationError) Key() bool
Key function returns key value.
func (DetectRequestValidationError) Reason ¶
func (e DetectRequestValidationError) Reason() string
Reason function returns reason value.
type GetArtifactMetadataByFileIdReply ¶ added in v1.0.1
type GetArtifactMetadataByFileIdReply struct { ArtifactMetadata []*GetArtifactMetadataReply `protobuf:"bytes,1,rep,name=artifact_metadata,json=artifactMetadata,proto3" json:"artifact_metadata,omitempty"` // contains filtered or unexported fields }
func (*GetArtifactMetadataByFileIdReply) Descriptor
deprecated
added in
v1.0.1
func (*GetArtifactMetadataByFileIdReply) Descriptor() ([]byte, []int)
Deprecated: Use GetArtifactMetadataByFileIdReply.ProtoReflect.Descriptor instead.
func (*GetArtifactMetadataByFileIdReply) GetArtifactMetadata ¶ added in v1.0.1
func (x *GetArtifactMetadataByFileIdReply) GetArtifactMetadata() []*GetArtifactMetadataReply
func (*GetArtifactMetadataByFileIdReply) ProtoMessage ¶ added in v1.0.1
func (*GetArtifactMetadataByFileIdReply) ProtoMessage()
func (*GetArtifactMetadataByFileIdReply) ProtoReflect ¶ added in v1.0.1
func (x *GetArtifactMetadataByFileIdReply) ProtoReflect() protoreflect.Message
func (*GetArtifactMetadataByFileIdReply) Reset ¶ added in v1.0.1
func (x *GetArtifactMetadataByFileIdReply) Reset()
func (*GetArtifactMetadataByFileIdReply) String ¶ added in v1.0.1
func (x *GetArtifactMetadataByFileIdReply) String() string
func (*GetArtifactMetadataByFileIdReply) Validate ¶ added in v1.0.1
func (m *GetArtifactMetadataByFileIdReply) Validate() error
Validate checks the field values on GetArtifactMetadataByFileIdReply 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 (*GetArtifactMetadataByFileIdReply) ValidateAll ¶ added in v1.0.1
func (m *GetArtifactMetadataByFileIdReply) ValidateAll() error
ValidateAll checks the field values on GetArtifactMetadataByFileIdReply 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 GetArtifactMetadataByFileIdReplyMultiError, or nil if none found.
type GetArtifactMetadataByFileIdReplyMultiError ¶ added in v1.0.1
type GetArtifactMetadataByFileIdReplyMultiError []error
GetArtifactMetadataByFileIdReplyMultiError is an error wrapping multiple validation errors returned by GetArtifactMetadataByFileIdReply.ValidateAll() if the designated constraints aren't met.
func (GetArtifactMetadataByFileIdReplyMultiError) AllErrors ¶ added in v1.0.1
func (m GetArtifactMetadataByFileIdReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetArtifactMetadataByFileIdReplyMultiError) Error ¶ added in v1.0.1
func (m GetArtifactMetadataByFileIdReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetArtifactMetadataByFileIdReplyValidationError ¶ added in v1.0.1
type GetArtifactMetadataByFileIdReplyValidationError struct {
// contains filtered or unexported fields
}
GetArtifactMetadataByFileIdReplyValidationError is the validation error returned by GetArtifactMetadataByFileIdReply.Validate if the designated constraints aren't met.
func (GetArtifactMetadataByFileIdReplyValidationError) Cause ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdReplyValidationError) Cause() error
Cause function returns cause value.
func (GetArtifactMetadataByFileIdReplyValidationError) Error ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetArtifactMetadataByFileIdReplyValidationError) ErrorName ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetArtifactMetadataByFileIdReplyValidationError) Field ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdReplyValidationError) Field() string
Field function returns field value.
func (GetArtifactMetadataByFileIdReplyValidationError) Key ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdReplyValidationError) Key() bool
Key function returns key value.
func (GetArtifactMetadataByFileIdReplyValidationError) Reason ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdReplyValidationError) Reason() string
Reason function returns reason value.
type GetArtifactMetadataByFileIdRequest ¶ added in v1.0.1
type GetArtifactMetadataByFileIdRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*GetArtifactMetadataByFileIdRequest) Descriptor
deprecated
added in
v1.0.1
func (*GetArtifactMetadataByFileIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArtifactMetadataByFileIdRequest.ProtoReflect.Descriptor instead.
func (*GetArtifactMetadataByFileIdRequest) GetFileId ¶ added in v1.0.1
func (x *GetArtifactMetadataByFileIdRequest) GetFileId() string
func (*GetArtifactMetadataByFileIdRequest) GetUserId ¶ added in v1.0.1
func (x *GetArtifactMetadataByFileIdRequest) GetUserId() string
func (*GetArtifactMetadataByFileIdRequest) ProtoMessage ¶ added in v1.0.1
func (*GetArtifactMetadataByFileIdRequest) ProtoMessage()
func (*GetArtifactMetadataByFileIdRequest) ProtoReflect ¶ added in v1.0.1
func (x *GetArtifactMetadataByFileIdRequest) ProtoReflect() protoreflect.Message
func (*GetArtifactMetadataByFileIdRequest) Reset ¶ added in v1.0.1
func (x *GetArtifactMetadataByFileIdRequest) Reset()
func (*GetArtifactMetadataByFileIdRequest) String ¶ added in v1.0.1
func (x *GetArtifactMetadataByFileIdRequest) String() string
func (*GetArtifactMetadataByFileIdRequest) Validate ¶ added in v1.0.1
func (m *GetArtifactMetadataByFileIdRequest) Validate() error
Validate checks the field values on GetArtifactMetadataByFileIdRequest 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 (*GetArtifactMetadataByFileIdRequest) ValidateAll ¶ added in v1.0.1
func (m *GetArtifactMetadataByFileIdRequest) ValidateAll() error
ValidateAll checks the field values on GetArtifactMetadataByFileIdRequest 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 GetArtifactMetadataByFileIdRequestMultiError, or nil if none found.
type GetArtifactMetadataByFileIdRequestMultiError ¶ added in v1.0.1
type GetArtifactMetadataByFileIdRequestMultiError []error
GetArtifactMetadataByFileIdRequestMultiError is an error wrapping multiple validation errors returned by GetArtifactMetadataByFileIdRequest.ValidateAll() if the designated constraints aren't met.
func (GetArtifactMetadataByFileIdRequestMultiError) AllErrors ¶ added in v1.0.1
func (m GetArtifactMetadataByFileIdRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetArtifactMetadataByFileIdRequestMultiError) Error ¶ added in v1.0.1
func (m GetArtifactMetadataByFileIdRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetArtifactMetadataByFileIdRequestValidationError ¶ added in v1.0.1
type GetArtifactMetadataByFileIdRequestValidationError struct {
// contains filtered or unexported fields
}
GetArtifactMetadataByFileIdRequestValidationError is the validation error returned by GetArtifactMetadataByFileIdRequest.Validate if the designated constraints aren't met.
func (GetArtifactMetadataByFileIdRequestValidationError) Cause ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdRequestValidationError) Cause() error
Cause function returns cause value.
func (GetArtifactMetadataByFileIdRequestValidationError) Error ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetArtifactMetadataByFileIdRequestValidationError) ErrorName ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetArtifactMetadataByFileIdRequestValidationError) Field ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdRequestValidationError) Field() string
Field function returns field value.
func (GetArtifactMetadataByFileIdRequestValidationError) Key ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdRequestValidationError) Key() bool
Key function returns key value.
func (GetArtifactMetadataByFileIdRequestValidationError) Reason ¶ added in v1.0.1
func (e GetArtifactMetadataByFileIdRequestValidationError) Reason() string
Reason function returns reason value.
type GetArtifactMetadataReply ¶ added in v1.0.1
type GetArtifactMetadataReply struct { ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` AffiliatedFileId string `protobuf:"bytes,3,opt,name=affiliated_file_id,json=affiliatedFileId,proto3" json:"affiliated_file_id,omitempty"` Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*GetArtifactMetadataReply) Descriptor
deprecated
added in
v1.0.1
func (*GetArtifactMetadataReply) Descriptor() ([]byte, []int)
Deprecated: Use GetArtifactMetadataReply.ProtoReflect.Descriptor instead.
func (*GetArtifactMetadataReply) GetAffiliatedFileId ¶ added in v1.0.1
func (x *GetArtifactMetadataReply) GetAffiliatedFileId() string
func (*GetArtifactMetadataReply) GetArtifactId ¶ added in v1.0.1
func (x *GetArtifactMetadataReply) GetArtifactId() string
func (*GetArtifactMetadataReply) GetFileId ¶ added in v1.0.1
func (x *GetArtifactMetadataReply) GetFileId() string
func (*GetArtifactMetadataReply) GetMethod ¶ added in v1.0.1
func (x *GetArtifactMetadataReply) GetMethod() string
func (*GetArtifactMetadataReply) ProtoMessage ¶ added in v1.0.1
func (*GetArtifactMetadataReply) ProtoMessage()
func (*GetArtifactMetadataReply) ProtoReflect ¶ added in v1.0.1
func (x *GetArtifactMetadataReply) ProtoReflect() protoreflect.Message
func (*GetArtifactMetadataReply) Reset ¶ added in v1.0.1
func (x *GetArtifactMetadataReply) Reset()
func (*GetArtifactMetadataReply) String ¶ added in v1.0.1
func (x *GetArtifactMetadataReply) String() string
func (*GetArtifactMetadataReply) Validate ¶ added in v1.0.1
func (m *GetArtifactMetadataReply) Validate() error
Validate checks the field values on GetArtifactMetadataReply 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 (*GetArtifactMetadataReply) ValidateAll ¶ added in v1.0.1
func (m *GetArtifactMetadataReply) ValidateAll() error
ValidateAll checks the field values on GetArtifactMetadataReply 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 GetArtifactMetadataReplyMultiError, or nil if none found.
type GetArtifactMetadataReplyMultiError ¶ added in v1.0.1
type GetArtifactMetadataReplyMultiError []error
GetArtifactMetadataReplyMultiError is an error wrapping multiple validation errors returned by GetArtifactMetadataReply.ValidateAll() if the designated constraints aren't met.
func (GetArtifactMetadataReplyMultiError) AllErrors ¶ added in v1.0.1
func (m GetArtifactMetadataReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetArtifactMetadataReplyMultiError) Error ¶ added in v1.0.1
func (m GetArtifactMetadataReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetArtifactMetadataReplyValidationError ¶ added in v1.0.1
type GetArtifactMetadataReplyValidationError struct {
// contains filtered or unexported fields
}
GetArtifactMetadataReplyValidationError is the validation error returned by GetArtifactMetadataReply.Validate if the designated constraints aren't met.
func (GetArtifactMetadataReplyValidationError) Cause ¶ added in v1.0.1
func (e GetArtifactMetadataReplyValidationError) Cause() error
Cause function returns cause value.
func (GetArtifactMetadataReplyValidationError) Error ¶ added in v1.0.1
func (e GetArtifactMetadataReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetArtifactMetadataReplyValidationError) ErrorName ¶ added in v1.0.1
func (e GetArtifactMetadataReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetArtifactMetadataReplyValidationError) Field ¶ added in v1.0.1
func (e GetArtifactMetadataReplyValidationError) Field() string
Field function returns field value.
func (GetArtifactMetadataReplyValidationError) Key ¶ added in v1.0.1
func (e GetArtifactMetadataReplyValidationError) Key() bool
Key function returns key value.
func (GetArtifactMetadataReplyValidationError) Reason ¶ added in v1.0.1
func (e GetArtifactMetadataReplyValidationError) Reason() string
Reason function returns reason value.
type GetArtifactMetadataRequest ¶ added in v1.0.1
type GetArtifactMetadataRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // contains filtered or unexported fields }
func (*GetArtifactMetadataRequest) Descriptor
deprecated
added in
v1.0.1
func (*GetArtifactMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArtifactMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetArtifactMetadataRequest) GetArtifactId ¶ added in v1.0.1
func (x *GetArtifactMetadataRequest) GetArtifactId() string
func (*GetArtifactMetadataRequest) GetUserId ¶ added in v1.0.1
func (x *GetArtifactMetadataRequest) GetUserId() string
func (*GetArtifactMetadataRequest) ProtoMessage ¶ added in v1.0.1
func (*GetArtifactMetadataRequest) ProtoMessage()
func (*GetArtifactMetadataRequest) ProtoReflect ¶ added in v1.0.1
func (x *GetArtifactMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetArtifactMetadataRequest) Reset ¶ added in v1.0.1
func (x *GetArtifactMetadataRequest) Reset()
func (*GetArtifactMetadataRequest) String ¶ added in v1.0.1
func (x *GetArtifactMetadataRequest) String() string
func (*GetArtifactMetadataRequest) Validate ¶ added in v1.0.1
func (m *GetArtifactMetadataRequest) Validate() error
Validate checks the field values on GetArtifactMetadataRequest 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 (*GetArtifactMetadataRequest) ValidateAll ¶ added in v1.0.1
func (m *GetArtifactMetadataRequest) ValidateAll() error
ValidateAll checks the field values on GetArtifactMetadataRequest 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 GetArtifactMetadataRequestMultiError, or nil if none found.
type GetArtifactMetadataRequestMultiError ¶ added in v1.0.1
type GetArtifactMetadataRequestMultiError []error
GetArtifactMetadataRequestMultiError is an error wrapping multiple validation errors returned by GetArtifactMetadataRequest.ValidateAll() if the designated constraints aren't met.
func (GetArtifactMetadataRequestMultiError) AllErrors ¶ added in v1.0.1
func (m GetArtifactMetadataRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetArtifactMetadataRequestMultiError) Error ¶ added in v1.0.1
func (m GetArtifactMetadataRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetArtifactMetadataRequestValidationError ¶ added in v1.0.1
type GetArtifactMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
GetArtifactMetadataRequestValidationError is the validation error returned by GetArtifactMetadataRequest.Validate if the designated constraints aren't met.
func (GetArtifactMetadataRequestValidationError) Cause ¶ added in v1.0.1
func (e GetArtifactMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (GetArtifactMetadataRequestValidationError) Error ¶ added in v1.0.1
func (e GetArtifactMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetArtifactMetadataRequestValidationError) ErrorName ¶ added in v1.0.1
func (e GetArtifactMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetArtifactMetadataRequestValidationError) Field ¶ added in v1.0.1
func (e GetArtifactMetadataRequestValidationError) Field() string
Field function returns field value.
func (GetArtifactMetadataRequestValidationError) Key ¶ added in v1.0.1
func (e GetArtifactMetadataRequestValidationError) Key() bool
Key function returns key value.
func (GetArtifactMetadataRequestValidationError) Reason ¶ added in v1.0.1
func (e GetArtifactMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type GetCurrentUserReply ¶
type GetCurrentUserReply struct { User *UserStruct `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetCurrentUserReply) Descriptor
deprecated
func (*GetCurrentUserReply) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserReply.ProtoReflect.Descriptor instead.
func (*GetCurrentUserReply) GetUser ¶
func (x *GetCurrentUserReply) GetUser() *UserStruct
func (*GetCurrentUserReply) ProtoMessage ¶
func (*GetCurrentUserReply) ProtoMessage()
func (*GetCurrentUserReply) ProtoReflect ¶
func (x *GetCurrentUserReply) ProtoReflect() protoreflect.Message
func (*GetCurrentUserReply) Reset ¶
func (x *GetCurrentUserReply) Reset()
func (*GetCurrentUserReply) String ¶
func (x *GetCurrentUserReply) String() string
func (*GetCurrentUserReply) Validate ¶
func (m *GetCurrentUserReply) Validate() error
Validate checks the field values on GetCurrentUserReply 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 (*GetCurrentUserReply) ValidateAll ¶
func (m *GetCurrentUserReply) ValidateAll() error
ValidateAll checks the field values on GetCurrentUserReply 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 GetCurrentUserReplyMultiError, or nil if none found.
type GetCurrentUserReplyMultiError ¶
type GetCurrentUserReplyMultiError []error
GetCurrentUserReplyMultiError is an error wrapping multiple validation errors returned by GetCurrentUserReply.ValidateAll() if the designated constraints aren't met.
func (GetCurrentUserReplyMultiError) AllErrors ¶
func (m GetCurrentUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCurrentUserReplyMultiError) Error ¶
func (m GetCurrentUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCurrentUserReplyValidationError ¶
type GetCurrentUserReplyValidationError struct {
// contains filtered or unexported fields
}
GetCurrentUserReplyValidationError is the validation error returned by GetCurrentUserReply.Validate if the designated constraints aren't met.
func (GetCurrentUserReplyValidationError) Cause ¶
func (e GetCurrentUserReplyValidationError) Cause() error
Cause function returns cause value.
func (GetCurrentUserReplyValidationError) Error ¶
func (e GetCurrentUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetCurrentUserReplyValidationError) ErrorName ¶
func (e GetCurrentUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetCurrentUserReplyValidationError) Field ¶
func (e GetCurrentUserReplyValidationError) Field() string
Field function returns field value.
func (GetCurrentUserReplyValidationError) Key ¶
func (e GetCurrentUserReplyValidationError) Key() bool
Key function returns key value.
func (GetCurrentUserReplyValidationError) Reason ¶
func (e GetCurrentUserReplyValidationError) Reason() string
Reason function returns reason value.
type GetCurrentUserRequest ¶
type GetCurrentUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetCurrentUserRequest) Descriptor
deprecated
func (*GetCurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead.
func (*GetCurrentUserRequest) GetId ¶
func (x *GetCurrentUserRequest) GetId() string
func (*GetCurrentUserRequest) ProtoMessage ¶
func (*GetCurrentUserRequest) ProtoMessage()
func (*GetCurrentUserRequest) ProtoReflect ¶
func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message
func (*GetCurrentUserRequest) Reset ¶
func (x *GetCurrentUserRequest) Reset()
func (*GetCurrentUserRequest) String ¶
func (x *GetCurrentUserRequest) String() string
func (*GetCurrentUserRequest) Validate ¶
func (m *GetCurrentUserRequest) Validate() error
Validate checks the field values on GetCurrentUserRequest 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 (*GetCurrentUserRequest) ValidateAll ¶
func (m *GetCurrentUserRequest) ValidateAll() error
ValidateAll checks the field values on GetCurrentUserRequest 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 GetCurrentUserRequestMultiError, or nil if none found.
type GetCurrentUserRequestMultiError ¶
type GetCurrentUserRequestMultiError []error
GetCurrentUserRequestMultiError is an error wrapping multiple validation errors returned by GetCurrentUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetCurrentUserRequestMultiError) AllErrors ¶
func (m GetCurrentUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCurrentUserRequestMultiError) Error ¶
func (m GetCurrentUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCurrentUserRequestValidationError ¶
type GetCurrentUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetCurrentUserRequestValidationError is the validation error returned by GetCurrentUserRequest.Validate if the designated constraints aren't met.
func (GetCurrentUserRequestValidationError) Cause ¶
func (e GetCurrentUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCurrentUserRequestValidationError) Error ¶
func (e GetCurrentUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCurrentUserRequestValidationError) ErrorName ¶
func (e GetCurrentUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCurrentUserRequestValidationError) Field ¶
func (e GetCurrentUserRequestValidationError) Field() string
Field function returns field value.
func (GetCurrentUserRequestValidationError) Key ¶
func (e GetCurrentUserRequestValidationError) Key() bool
Key function returns key value.
func (GetCurrentUserRequestValidationError) Reason ¶
func (e GetCurrentUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetFileMetaByUserIdReply ¶ added in v1.0.1
type GetFileMetaByUserIdReply struct { FileMetadata []*GetFileMetaReply `protobuf:"bytes,1,rep,name=file_metadata,json=fileMetadata,proto3" json:"file_metadata,omitempty"` // contains filtered or unexported fields }
func (*GetFileMetaByUserIdReply) Descriptor
deprecated
added in
v1.0.1
func (*GetFileMetaByUserIdReply) Descriptor() ([]byte, []int)
Deprecated: Use GetFileMetaByUserIdReply.ProtoReflect.Descriptor instead.
func (*GetFileMetaByUserIdReply) GetFileMetadata ¶ added in v1.0.1
func (x *GetFileMetaByUserIdReply) GetFileMetadata() []*GetFileMetaReply
func (*GetFileMetaByUserIdReply) ProtoMessage ¶ added in v1.0.1
func (*GetFileMetaByUserIdReply) ProtoMessage()
func (*GetFileMetaByUserIdReply) ProtoReflect ¶ added in v1.0.1
func (x *GetFileMetaByUserIdReply) ProtoReflect() protoreflect.Message
func (*GetFileMetaByUserIdReply) Reset ¶ added in v1.0.1
func (x *GetFileMetaByUserIdReply) Reset()
func (*GetFileMetaByUserIdReply) String ¶ added in v1.0.1
func (x *GetFileMetaByUserIdReply) String() string
func (*GetFileMetaByUserIdReply) Validate ¶ added in v1.0.1
func (m *GetFileMetaByUserIdReply) Validate() error
Validate checks the field values on GetFileMetaByUserIdReply 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 (*GetFileMetaByUserIdReply) ValidateAll ¶ added in v1.0.1
func (m *GetFileMetaByUserIdReply) ValidateAll() error
ValidateAll checks the field values on GetFileMetaByUserIdReply 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 GetFileMetaByUserIdReplyMultiError, or nil if none found.
type GetFileMetaByUserIdReplyMultiError ¶ added in v1.0.1
type GetFileMetaByUserIdReplyMultiError []error
GetFileMetaByUserIdReplyMultiError is an error wrapping multiple validation errors returned by GetFileMetaByUserIdReply.ValidateAll() if the designated constraints aren't met.
func (GetFileMetaByUserIdReplyMultiError) AllErrors ¶ added in v1.0.1
func (m GetFileMetaByUserIdReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFileMetaByUserIdReplyMultiError) Error ¶ added in v1.0.1
func (m GetFileMetaByUserIdReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFileMetaByUserIdReplyValidationError ¶ added in v1.0.1
type GetFileMetaByUserIdReplyValidationError struct {
// contains filtered or unexported fields
}
GetFileMetaByUserIdReplyValidationError is the validation error returned by GetFileMetaByUserIdReply.Validate if the designated constraints aren't met.
func (GetFileMetaByUserIdReplyValidationError) Cause ¶ added in v1.0.1
func (e GetFileMetaByUserIdReplyValidationError) Cause() error
Cause function returns cause value.
func (GetFileMetaByUserIdReplyValidationError) Error ¶ added in v1.0.1
func (e GetFileMetaByUserIdReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetFileMetaByUserIdReplyValidationError) ErrorName ¶ added in v1.0.1
func (e GetFileMetaByUserIdReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetFileMetaByUserIdReplyValidationError) Field ¶ added in v1.0.1
func (e GetFileMetaByUserIdReplyValidationError) Field() string
Field function returns field value.
func (GetFileMetaByUserIdReplyValidationError) Key ¶ added in v1.0.1
func (e GetFileMetaByUserIdReplyValidationError) Key() bool
Key function returns key value.
func (GetFileMetaByUserIdReplyValidationError) Reason ¶ added in v1.0.1
func (e GetFileMetaByUserIdReplyValidationError) Reason() string
Reason function returns reason value.
type GetFileMetaByUserIdRequest ¶ added in v1.0.1
type GetFileMetaByUserIdRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetFileMetaByUserIdRequest) Descriptor
deprecated
added in
v1.0.1
func (*GetFileMetaByUserIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileMetaByUserIdRequest.ProtoReflect.Descriptor instead.
func (*GetFileMetaByUserIdRequest) GetUserId ¶ added in v1.0.1
func (x *GetFileMetaByUserIdRequest) GetUserId() string
func (*GetFileMetaByUserIdRequest) ProtoMessage ¶ added in v1.0.1
func (*GetFileMetaByUserIdRequest) ProtoMessage()
func (*GetFileMetaByUserIdRequest) ProtoReflect ¶ added in v1.0.1
func (x *GetFileMetaByUserIdRequest) ProtoReflect() protoreflect.Message
func (*GetFileMetaByUserIdRequest) Reset ¶ added in v1.0.1
func (x *GetFileMetaByUserIdRequest) Reset()
func (*GetFileMetaByUserIdRequest) String ¶ added in v1.0.1
func (x *GetFileMetaByUserIdRequest) String() string
func (*GetFileMetaByUserIdRequest) Validate ¶ added in v1.0.1
func (m *GetFileMetaByUserIdRequest) Validate() error
Validate checks the field values on GetFileMetaByUserIdRequest 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 (*GetFileMetaByUserIdRequest) ValidateAll ¶ added in v1.0.1
func (m *GetFileMetaByUserIdRequest) ValidateAll() error
ValidateAll checks the field values on GetFileMetaByUserIdRequest 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 GetFileMetaByUserIdRequestMultiError, or nil if none found.
type GetFileMetaByUserIdRequestMultiError ¶ added in v1.0.1
type GetFileMetaByUserIdRequestMultiError []error
GetFileMetaByUserIdRequestMultiError is an error wrapping multiple validation errors returned by GetFileMetaByUserIdRequest.ValidateAll() if the designated constraints aren't met.
func (GetFileMetaByUserIdRequestMultiError) AllErrors ¶ added in v1.0.1
func (m GetFileMetaByUserIdRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFileMetaByUserIdRequestMultiError) Error ¶ added in v1.0.1
func (m GetFileMetaByUserIdRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFileMetaByUserIdRequestValidationError ¶ added in v1.0.1
type GetFileMetaByUserIdRequestValidationError struct {
// contains filtered or unexported fields
}
GetFileMetaByUserIdRequestValidationError is the validation error returned by GetFileMetaByUserIdRequest.Validate if the designated constraints aren't met.
func (GetFileMetaByUserIdRequestValidationError) Cause ¶ added in v1.0.1
func (e GetFileMetaByUserIdRequestValidationError) Cause() error
Cause function returns cause value.
func (GetFileMetaByUserIdRequestValidationError) Error ¶ added in v1.0.1
func (e GetFileMetaByUserIdRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetFileMetaByUserIdRequestValidationError) ErrorName ¶ added in v1.0.1
func (e GetFileMetaByUserIdRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetFileMetaByUserIdRequestValidationError) Field ¶ added in v1.0.1
func (e GetFileMetaByUserIdRequestValidationError) Field() string
Field function returns field value.
func (GetFileMetaByUserIdRequestValidationError) Key ¶ added in v1.0.1
func (e GetFileMetaByUserIdRequestValidationError) Key() bool
Key function returns key value.
func (GetFileMetaByUserIdRequestValidationError) Reason ¶ added in v1.0.1
func (e GetFileMetaByUserIdRequestValidationError) Reason() string
Reason function returns reason value.
type GetFileMetaReply ¶ added in v1.0.1
type GetFileMetaReply struct { FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` FileSha_1 string `protobuf:"bytes,2,opt,name=file_sha_1,json=fileSha1,proto3" json:"file_sha_1,omitempty"` FileSize int64 `protobuf:"varint,3,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` FileAddr string `protobuf:"bytes,4,opt,name=file_addr,json=fileAddr,proto3" json:"file_addr,omitempty"` Type Type `protobuf:"varint,5,opt,name=type,proto3,enum=bugu.service.v1.Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetFileMetaReply) Descriptor
deprecated
added in
v1.0.1
func (*GetFileMetaReply) Descriptor() ([]byte, []int)
Deprecated: Use GetFileMetaReply.ProtoReflect.Descriptor instead.
func (*GetFileMetaReply) GetFileAddr ¶ added in v1.0.1
func (x *GetFileMetaReply) GetFileAddr() string
func (*GetFileMetaReply) GetFileId ¶ added in v1.0.1
func (x *GetFileMetaReply) GetFileId() string
func (*GetFileMetaReply) GetFileSha_1 ¶ added in v1.0.1
func (x *GetFileMetaReply) GetFileSha_1() string
func (*GetFileMetaReply) GetFileSize ¶ added in v1.0.1
func (x *GetFileMetaReply) GetFileSize() int64
func (*GetFileMetaReply) GetType ¶ added in v1.0.1
func (x *GetFileMetaReply) GetType() Type
func (*GetFileMetaReply) ProtoMessage ¶ added in v1.0.1
func (*GetFileMetaReply) ProtoMessage()
func (*GetFileMetaReply) ProtoReflect ¶ added in v1.0.1
func (x *GetFileMetaReply) ProtoReflect() protoreflect.Message
func (*GetFileMetaReply) Reset ¶ added in v1.0.1
func (x *GetFileMetaReply) Reset()
func (*GetFileMetaReply) String ¶ added in v1.0.1
func (x *GetFileMetaReply) String() string
func (*GetFileMetaReply) Validate ¶ added in v1.0.1
func (m *GetFileMetaReply) Validate() error
Validate checks the field values on GetFileMetaReply 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 (*GetFileMetaReply) ValidateAll ¶ added in v1.0.1
func (m *GetFileMetaReply) ValidateAll() error
ValidateAll checks the field values on GetFileMetaReply 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 GetFileMetaReplyMultiError, or nil if none found.
type GetFileMetaReplyMultiError ¶ added in v1.0.1
type GetFileMetaReplyMultiError []error
GetFileMetaReplyMultiError is an error wrapping multiple validation errors returned by GetFileMetaReply.ValidateAll() if the designated constraints aren't met.
func (GetFileMetaReplyMultiError) AllErrors ¶ added in v1.0.1
func (m GetFileMetaReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFileMetaReplyMultiError) Error ¶ added in v1.0.1
func (m GetFileMetaReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFileMetaReplyValidationError ¶ added in v1.0.1
type GetFileMetaReplyValidationError struct {
// contains filtered or unexported fields
}
GetFileMetaReplyValidationError is the validation error returned by GetFileMetaReply.Validate if the designated constraints aren't met.
func (GetFileMetaReplyValidationError) Cause ¶ added in v1.0.1
func (e GetFileMetaReplyValidationError) Cause() error
Cause function returns cause value.
func (GetFileMetaReplyValidationError) Error ¶ added in v1.0.1
func (e GetFileMetaReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetFileMetaReplyValidationError) ErrorName ¶ added in v1.0.1
func (e GetFileMetaReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetFileMetaReplyValidationError) Field ¶ added in v1.0.1
func (e GetFileMetaReplyValidationError) Field() string
Field function returns field value.
func (GetFileMetaReplyValidationError) Key ¶ added in v1.0.1
func (e GetFileMetaReplyValidationError) Key() bool
Key function returns key value.
func (GetFileMetaReplyValidationError) Reason ¶ added in v1.0.1
func (e GetFileMetaReplyValidationError) Reason() string
Reason function returns reason value.
type GetFileMetaRequest ¶ added in v1.0.1
type GetFileMetaRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*GetFileMetaRequest) Descriptor
deprecated
added in
v1.0.1
func (*GetFileMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileMetaRequest.ProtoReflect.Descriptor instead.
func (*GetFileMetaRequest) GetFileId ¶ added in v1.0.1
func (x *GetFileMetaRequest) GetFileId() string
func (*GetFileMetaRequest) GetUserId ¶ added in v1.0.1
func (x *GetFileMetaRequest) GetUserId() string
func (*GetFileMetaRequest) ProtoMessage ¶ added in v1.0.1
func (*GetFileMetaRequest) ProtoMessage()
func (*GetFileMetaRequest) ProtoReflect ¶ added in v1.0.1
func (x *GetFileMetaRequest) ProtoReflect() protoreflect.Message
func (*GetFileMetaRequest) Reset ¶ added in v1.0.1
func (x *GetFileMetaRequest) Reset()
func (*GetFileMetaRequest) String ¶ added in v1.0.1
func (x *GetFileMetaRequest) String() string
func (*GetFileMetaRequest) Validate ¶ added in v1.0.1
func (m *GetFileMetaRequest) Validate() error
Validate checks the field values on GetFileMetaRequest 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 (*GetFileMetaRequest) ValidateAll ¶ added in v1.0.1
func (m *GetFileMetaRequest) ValidateAll() error
ValidateAll checks the field values on GetFileMetaRequest 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 GetFileMetaRequestMultiError, or nil if none found.
type GetFileMetaRequestMultiError ¶ added in v1.0.1
type GetFileMetaRequestMultiError []error
GetFileMetaRequestMultiError is an error wrapping multiple validation errors returned by GetFileMetaRequest.ValidateAll() if the designated constraints aren't met.
func (GetFileMetaRequestMultiError) AllErrors ¶ added in v1.0.1
func (m GetFileMetaRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetFileMetaRequestMultiError) Error ¶ added in v1.0.1
func (m GetFileMetaRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetFileMetaRequestValidationError ¶ added in v1.0.1
type GetFileMetaRequestValidationError struct {
// contains filtered or unexported fields
}
GetFileMetaRequestValidationError is the validation error returned by GetFileMetaRequest.Validate if the designated constraints aren't met.
func (GetFileMetaRequestValidationError) Cause ¶ added in v1.0.1
func (e GetFileMetaRequestValidationError) Cause() error
Cause function returns cause value.
func (GetFileMetaRequestValidationError) Error ¶ added in v1.0.1
func (e GetFileMetaRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetFileMetaRequestValidationError) ErrorName ¶ added in v1.0.1
func (e GetFileMetaRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetFileMetaRequestValidationError) Field ¶ added in v1.0.1
func (e GetFileMetaRequestValidationError) Field() string
Field function returns field value.
func (GetFileMetaRequestValidationError) Key ¶ added in v1.0.1
func (e GetFileMetaRequestValidationError) Key() bool
Key function returns key value.
func (GetFileMetaRequestValidationError) Reason ¶ added in v1.0.1
func (e GetFileMetaRequestValidationError) Reason() string
Reason function returns reason value.
type LoginReply ¶
type LoginReply struct { User *UserStruct `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginReply) Descriptor
deprecated
func (*LoginReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
func (*LoginReply) GetToken ¶
func (x *LoginReply) GetToken() string
func (*LoginReply) GetUser ¶
func (x *LoginReply) GetUser() *UserStruct
func (*LoginReply) ProtoMessage ¶
func (*LoginReply) ProtoMessage()
func (*LoginReply) ProtoReflect ¶
func (x *LoginReply) ProtoReflect() protoreflect.Message
func (*LoginReply) Reset ¶
func (x *LoginReply) Reset()
func (*LoginReply) String ¶
func (x *LoginReply) String() string
func (*LoginReply) Validate ¶
func (m *LoginReply) Validate() error
Validate checks the field values on LoginReply 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 (*LoginReply) ValidateAll ¶
func (m *LoginReply) ValidateAll() error
ValidateAll checks the field values on LoginReply 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 LoginReplyMultiError, or nil if none found.
type LoginReplyMultiError ¶
type LoginReplyMultiError []error
LoginReplyMultiError is an error wrapping multiple validation errors returned by LoginReply.ValidateAll() if the designated constraints aren't met.
func (LoginReplyMultiError) AllErrors ¶
func (m LoginReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginReplyMultiError) Error ¶
func (m LoginReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginReplyValidationError ¶
type LoginReplyValidationError struct {
// contains filtered or unexported fields
}
LoginReplyValidationError is the validation error returned by LoginReply.Validate if the designated constraints aren't met.
func (LoginReplyValidationError) Cause ¶
func (e LoginReplyValidationError) Cause() error
Cause function returns cause value.
func (LoginReplyValidationError) Error ¶
func (e LoginReplyValidationError) Error() string
Error satisfies the builtin error interface
func (LoginReplyValidationError) ErrorName ¶
func (e LoginReplyValidationError) ErrorName() string
ErrorName returns error name.
func (LoginReplyValidationError) Field ¶
func (e LoginReplyValidationError) Field() string
Field function returns field value.
func (LoginReplyValidationError) Key ¶
func (e LoginReplyValidationError) Key() bool
Key function returns key value.
func (LoginReplyValidationError) Reason ¶
func (e LoginReplyValidationError) Reason() string
Reason function returns reason value.
type LoginRequest ¶
type LoginRequest struct { User *LoginRequest_User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetUser ¶
func (x *LoginRequest) GetUser() *LoginRequest_User
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest 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 (*LoginRequest) ValidateAll ¶
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest 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 LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type LoginRequest_User ¶
type LoginRequest_User struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest_User) Descriptor
deprecated
func (*LoginRequest_User) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest_User.ProtoReflect.Descriptor instead.
func (*LoginRequest_User) GetEmail ¶
func (x *LoginRequest_User) GetEmail() string
func (*LoginRequest_User) GetPassword ¶
func (x *LoginRequest_User) GetPassword() string
func (*LoginRequest_User) ProtoMessage ¶
func (*LoginRequest_User) ProtoMessage()
func (*LoginRequest_User) ProtoReflect ¶
func (x *LoginRequest_User) ProtoReflect() protoreflect.Message
func (*LoginRequest_User) Reset ¶
func (x *LoginRequest_User) Reset()
func (*LoginRequest_User) String ¶
func (x *LoginRequest_User) String() string
func (*LoginRequest_User) Validate ¶
func (m *LoginRequest_User) Validate() error
Validate checks the field values on LoginRequest_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 (*LoginRequest_User) ValidateAll ¶
func (m *LoginRequest_User) ValidateAll() error
ValidateAll checks the field values on LoginRequest_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 LoginRequest_UserMultiError, or nil if none found.
type LoginRequest_UserMultiError ¶
type LoginRequest_UserMultiError []error
LoginRequest_UserMultiError is an error wrapping multiple validation errors returned by LoginRequest_User.ValidateAll() if the designated constraints aren't met.
func (LoginRequest_UserMultiError) AllErrors ¶
func (m LoginRequest_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequest_UserMultiError) Error ¶
func (m LoginRequest_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequest_UserValidationError ¶
type LoginRequest_UserValidationError struct {
// contains filtered or unexported fields
}
LoginRequest_UserValidationError is the validation error returned by LoginRequest_User.Validate if the designated constraints aren't met.
func (LoginRequest_UserValidationError) Cause ¶
func (e LoginRequest_UserValidationError) Cause() error
Cause function returns cause value.
func (LoginRequest_UserValidationError) Error ¶
func (e LoginRequest_UserValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequest_UserValidationError) ErrorName ¶
func (e LoginRequest_UserValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequest_UserValidationError) Field ¶
func (e LoginRequest_UserValidationError) Field() string
Field function returns field value.
func (LoginRequest_UserValidationError) Key ¶
func (e LoginRequest_UserValidationError) Key() bool
Key function returns key value.
func (LoginRequest_UserValidationError) Reason ¶
func (e LoginRequest_UserValidationError) Reason() string
Reason function returns reason value.
type RegisterReply ¶
type RegisterReply struct { User *UserStruct `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*RegisterReply) Descriptor
deprecated
func (*RegisterReply) Descriptor() ([]byte, []int)
Deprecated: Use RegisterReply.ProtoReflect.Descriptor instead.
func (*RegisterReply) GetUser ¶
func (x *RegisterReply) GetUser() *UserStruct
func (*RegisterReply) ProtoMessage ¶
func (*RegisterReply) ProtoMessage()
func (*RegisterReply) ProtoReflect ¶
func (x *RegisterReply) ProtoReflect() protoreflect.Message
func (*RegisterReply) Reset ¶
func (x *RegisterReply) Reset()
func (*RegisterReply) String ¶
func (x *RegisterReply) String() string
func (*RegisterReply) Validate ¶
func (m *RegisterReply) Validate() error
Validate checks the field values on RegisterReply 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 (*RegisterReply) ValidateAll ¶
func (m *RegisterReply) ValidateAll() error
ValidateAll checks the field values on RegisterReply 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 RegisterReplyMultiError, or nil if none found.
type RegisterReplyMultiError ¶
type RegisterReplyMultiError []error
RegisterReplyMultiError is an error wrapping multiple validation errors returned by RegisterReply.ValidateAll() if the designated constraints aren't met.
func (RegisterReplyMultiError) AllErrors ¶
func (m RegisterReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterReplyMultiError) Error ¶
func (m RegisterReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterReplyValidationError ¶
type RegisterReplyValidationError struct {
// contains filtered or unexported fields
}
RegisterReplyValidationError is the validation error returned by RegisterReply.Validate if the designated constraints aren't met.
func (RegisterReplyValidationError) Cause ¶
func (e RegisterReplyValidationError) Cause() error
Cause function returns cause value.
func (RegisterReplyValidationError) Error ¶
func (e RegisterReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterReplyValidationError) ErrorName ¶
func (e RegisterReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterReplyValidationError) Field ¶
func (e RegisterReplyValidationError) Field() string
Field function returns field value.
func (RegisterReplyValidationError) Key ¶
func (e RegisterReplyValidationError) Key() bool
Key function returns key value.
func (RegisterReplyValidationError) Reason ¶
func (e RegisterReplyValidationError) Reason() string
Reason function returns reason value.
type RegisterRequest ¶
type RegisterRequest struct { User *RegisterRequest_User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetUser ¶
func (x *RegisterRequest) GetUser() *RegisterRequest_User
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 ¶
func (m RegisterRequestMultiError) Error() string
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 ¶
func (e RegisterRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterRequestValidationError) Error ¶
func (e RegisterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterRequestValidationError) ErrorName ¶
func (e RegisterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterRequestValidationError) Field ¶
func (e RegisterRequestValidationError) Field() string
Field function returns field value.
func (RegisterRequestValidationError) Key ¶
func (e RegisterRequestValidationError) Key() bool
Key function returns key value.
func (RegisterRequestValidationError) Reason ¶
func (e RegisterRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterRequest_User ¶
type RegisterRequest_User struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest_User) Descriptor
deprecated
func (*RegisterRequest_User) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest_User.ProtoReflect.Descriptor instead.
func (*RegisterRequest_User) GetEmail ¶
func (x *RegisterRequest_User) GetEmail() string
func (*RegisterRequest_User) GetPassword ¶
func (x *RegisterRequest_User) GetPassword() string
func (*RegisterRequest_User) GetUsername ¶
func (x *RegisterRequest_User) GetUsername() string
func (*RegisterRequest_User) ProtoMessage ¶
func (*RegisterRequest_User) ProtoMessage()
func (*RegisterRequest_User) ProtoReflect ¶
func (x *RegisterRequest_User) ProtoReflect() protoreflect.Message
func (*RegisterRequest_User) Reset ¶
func (x *RegisterRequest_User) Reset()
func (*RegisterRequest_User) String ¶
func (x *RegisterRequest_User) String() string
func (*RegisterRequest_User) Validate ¶
func (m *RegisterRequest_User) Validate() error
Validate checks the field values on RegisterRequest_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 (*RegisterRequest_User) ValidateAll ¶
func (m *RegisterRequest_User) ValidateAll() error
ValidateAll checks the field values on RegisterRequest_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 RegisterRequest_UserMultiError, or nil if none found.
type RegisterRequest_UserMultiError ¶
type RegisterRequest_UserMultiError []error
RegisterRequest_UserMultiError is an error wrapping multiple validation errors returned by RegisterRequest_User.ValidateAll() if the designated constraints aren't met.
func (RegisterRequest_UserMultiError) AllErrors ¶
func (m RegisterRequest_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterRequest_UserMultiError) Error ¶
func (m RegisterRequest_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterRequest_UserValidationError ¶
type RegisterRequest_UserValidationError struct {
// contains filtered or unexported fields
}
RegisterRequest_UserValidationError is the validation error returned by RegisterRequest_User.Validate if the designated constraints aren't met.
func (RegisterRequest_UserValidationError) Cause ¶
func (e RegisterRequest_UserValidationError) Cause() error
Cause function returns cause value.
func (RegisterRequest_UserValidationError) Error ¶
func (e RegisterRequest_UserValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterRequest_UserValidationError) ErrorName ¶
func (e RegisterRequest_UserValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterRequest_UserValidationError) Field ¶
func (e RegisterRequest_UserValidationError) Field() string
Field function returns field value.
func (RegisterRequest_UserValidationError) Key ¶
func (e RegisterRequest_UserValidationError) Key() bool
Key function returns key value.
func (RegisterRequest_UserValidationError) Reason ¶
func (e RegisterRequest_UserValidationError) Reason() string
Reason function returns reason value.
type Type ¶ added in v1.0.1
type Type int32
const ( Type_TYPE_ADPOSHEL Type = 0 Type_TYPE_AGENT Type = 1 Type_TYPE_ALLAPLE Type = 2 Type_TYPE_AMONETIZE Type = 3 Type_TYPE_ANDROM Type = 4 Type_TYPE_AUTORUN Type = 5 Type_TYPE_BROWSE_FOX Type = 6 Type_TYPE_DINWOD Type = 7 Type_TYPE_ELEX Type = 8 Type_TYPE_EXPIRO Type = 9 Type_TYPE_FASONG Type = 10 Type_TYPE_HACK_KMS Type = 11 Type_TYPE_HLUX Type = 12 Type_TYPE_INJECTOR Type = 13 Type_TYPE_INSTALL_CORE Type = 14 Type_TYPE_MULTI_Plug Type = 15 Type_TYPE_NEOREKLAMI Type = 16 Type_TYPE_NESHTA Type = 17 Type_TYPE_OTHER Type = 18 Type_TYPE_REGRUN Type = 19 Type_TYPE_SALITY Type = 20 Type_TYPE_SNARASITE Type = 21 Type_TYPE_STABTINKO Type = 22 Type_TYPE_VBA Type = 23 Type_TYPE_VBKRYPT Type = 24 Type_TYPE_VILSEL Type = 25 )
func (Type) Descriptor ¶ added in v1.0.1
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
added in
v1.0.1
func (Type) Number ¶ added in v1.0.1
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶ added in v1.0.1
func (Type) Type() protoreflect.EnumType
type UnimplementedBuguFileServer ¶
type UnimplementedBuguFileServer struct{}
UnimplementedBuguFileServer must be embedded to have forward compatible implementations.
func (UnimplementedBuguFileServer) DownloadFile ¶
func (UnimplementedBuguFileServer) DownloadFile(ctx http.Context) error
func (UnimplementedBuguFileServer) UploadFile ¶
func (UnimplementedBuguFileServer) UploadFile(ctx http.Context) error
type UnimplementedBuguServer ¶
type UnimplementedBuguServer struct { }
UnimplementedBuguServer must be embedded to have forward compatible implementations.
func (UnimplementedBuguServer) Confusion ¶
func (UnimplementedBuguServer) Confusion(context.Context, *ConfusionRequest) (*ConfusionReply, error)
func (UnimplementedBuguServer) DeleteArtifactMetadata ¶ added in v1.0.1
func (UnimplementedBuguServer) DeleteArtifactMetadata(context.Context, *DeleteArtifactMetadataRequest) (*DeleteArtifactMetadataReply, error)
func (UnimplementedBuguServer) DeleteFileMetadata ¶ added in v1.0.1
func (UnimplementedBuguServer) DeleteFileMetadata(context.Context, *DeleteFileMetadataRequest) (*DeleteFileMetadataReply, error)
func (UnimplementedBuguServer) Detect ¶
func (UnimplementedBuguServer) Detect(context.Context, *DetectRequest) (*DetectReply, error)
func (UnimplementedBuguServer) GetArtifactMetadata ¶ added in v1.0.1
func (UnimplementedBuguServer) GetArtifactMetadata(context.Context, *GetArtifactMetadataRequest) (*GetArtifactMetadataReply, error)
func (UnimplementedBuguServer) GetArtifactMetadataByFileId ¶ added in v1.0.1
func (UnimplementedBuguServer) GetArtifactMetadataByFileId(context.Context, *GetArtifactMetadataByFileIdRequest) (*GetArtifactMetadataByFileIdReply, error)
func (UnimplementedBuguServer) GetCurrentUser ¶
func (UnimplementedBuguServer) GetCurrentUser(context.Context, *GetCurrentUserRequest) (*GetCurrentUserReply, error)
func (UnimplementedBuguServer) GetFileMeta ¶ added in v1.0.1
func (UnimplementedBuguServer) GetFileMeta(context.Context, *GetFileMetaRequest) (*GetFileMetaReply, error)
func (UnimplementedBuguServer) GetFileMetaByUserId ¶ added in v1.0.1
func (UnimplementedBuguServer) GetFileMetaByUserId(context.Context, *GetFileMetaByUserIdRequest) (*GetFileMetaByUserIdReply, error)
func (UnimplementedBuguServer) Login ¶
func (UnimplementedBuguServer) Login(context.Context, *LoginRequest) (*LoginReply, error)
func (UnimplementedBuguServer) Register ¶
func (UnimplementedBuguServer) Register(context.Context, *RegisterRequest) (*RegisterReply, error)
func (UnimplementedBuguServer) UpdateUser ¶
func (UnimplementedBuguServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserReply, error)
type UnsafeBuguFileServer ¶
type UnsafeBuguFileServer interface {
// contains filtered or unexported methods
}
type UnsafeBuguServer ¶
type UnsafeBuguServer interface {
// contains filtered or unexported methods
}
UnsafeBuguServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BuguServer will result in compilation errors.
type UpdateUserReply ¶
type UpdateUserReply struct { User *UserStruct `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserReply) Descriptor
deprecated
func (*UpdateUserReply) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserReply.ProtoReflect.Descriptor instead.
func (*UpdateUserReply) GetUser ¶
func (x *UpdateUserReply) GetUser() *UserStruct
func (*UpdateUserReply) ProtoMessage ¶
func (*UpdateUserReply) ProtoMessage()
func (*UpdateUserReply) ProtoReflect ¶
func (x *UpdateUserReply) ProtoReflect() protoreflect.Message
func (*UpdateUserReply) Reset ¶
func (x *UpdateUserReply) Reset()
func (*UpdateUserReply) String ¶
func (x *UpdateUserReply) String() string
func (*UpdateUserReply) Validate ¶
func (m *UpdateUserReply) Validate() error
Validate checks the field values on UpdateUserReply 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 (*UpdateUserReply) ValidateAll ¶
func (m *UpdateUserReply) ValidateAll() error
ValidateAll checks the field values on UpdateUserReply 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 UpdateUserReplyMultiError, or nil if none found.
type UpdateUserReplyMultiError ¶
type UpdateUserReplyMultiError []error
UpdateUserReplyMultiError is an error wrapping multiple validation errors returned by UpdateUserReply.ValidateAll() if the designated constraints aren't met.
func (UpdateUserReplyMultiError) AllErrors ¶
func (m UpdateUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserReplyMultiError) Error ¶
func (m UpdateUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserReplyValidationError ¶
type UpdateUserReplyValidationError struct {
// contains filtered or unexported fields
}
UpdateUserReplyValidationError is the validation error returned by UpdateUserReply.Validate if the designated constraints aren't met.
func (UpdateUserReplyValidationError) Cause ¶
func (e UpdateUserReplyValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserReplyValidationError) Error ¶
func (e UpdateUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserReplyValidationError) ErrorName ¶
func (e UpdateUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserReplyValidationError) Field ¶
func (e UpdateUserReplyValidationError) Field() string
Field function returns field value.
func (UpdateUserReplyValidationError) Key ¶
func (e UpdateUserReplyValidationError) Key() bool
Key function returns key value.
func (UpdateUserReplyValidationError) Reason ¶
func (e UpdateUserReplyValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest ¶
type UpdateUserRequest struct { User *UpdateUserRequest_User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetUser ¶
func (x *UpdateUserRequest) GetUser() *UpdateUserRequest_User
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
func (*UpdateUserRequest) Validate ¶
func (m *UpdateUserRequest) Validate() error
Validate checks the field values on UpdateUserRequest 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 (*UpdateUserRequest) ValidateAll ¶
func (m *UpdateUserRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserRequest 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 UpdateUserRequestMultiError, or nil if none found.
type UpdateUserRequestMultiError ¶
type UpdateUserRequestMultiError []error
UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserRequestMultiError) AllErrors ¶
func (m UpdateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserRequestMultiError) Error ¶
func (m UpdateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserRequestValidationError ¶
type UpdateUserRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.
func (UpdateUserRequestValidationError) Cause ¶
func (e UpdateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequestValidationError) Error ¶
func (e UpdateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequestValidationError) ErrorName ¶
func (e UpdateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequestValidationError) Field ¶
func (e UpdateUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRequestValidationError) Key ¶
func (e UpdateUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequestValidationError) Reason ¶
func (e UpdateUserRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest_User ¶
type UpdateUserRequest_User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest_User) Descriptor
deprecated
func (*UpdateUserRequest_User) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest_User.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest_User) GetEmail ¶
func (x *UpdateUserRequest_User) GetEmail() string
func (*UpdateUserRequest_User) GetId ¶
func (x *UpdateUserRequest_User) GetId() string
func (*UpdateUserRequest_User) GetPassword ¶
func (x *UpdateUserRequest_User) GetPassword() string
func (*UpdateUserRequest_User) GetUsername ¶
func (x *UpdateUserRequest_User) GetUsername() string
func (*UpdateUserRequest_User) ProtoMessage ¶
func (*UpdateUserRequest_User) ProtoMessage()
func (*UpdateUserRequest_User) ProtoReflect ¶
func (x *UpdateUserRequest_User) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest_User) Reset ¶
func (x *UpdateUserRequest_User) Reset()
func (*UpdateUserRequest_User) String ¶
func (x *UpdateUserRequest_User) String() string
func (*UpdateUserRequest_User) Validate ¶
func (m *UpdateUserRequest_User) Validate() error
Validate checks the field values on UpdateUserRequest_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 (*UpdateUserRequest_User) ValidateAll ¶
func (m *UpdateUserRequest_User) ValidateAll() error
ValidateAll checks the field values on UpdateUserRequest_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 UpdateUserRequest_UserMultiError, or nil if none found.
type UpdateUserRequest_UserMultiError ¶
type UpdateUserRequest_UserMultiError []error
UpdateUserRequest_UserMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest_User.ValidateAll() if the designated constraints aren't met.
func (UpdateUserRequest_UserMultiError) AllErrors ¶
func (m UpdateUserRequest_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserRequest_UserMultiError) Error ¶
func (m UpdateUserRequest_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserRequest_UserValidationError ¶
type UpdateUserRequest_UserValidationError struct {
// contains filtered or unexported fields
}
UpdateUserRequest_UserValidationError is the validation error returned by UpdateUserRequest_User.Validate if the designated constraints aren't met.
func (UpdateUserRequest_UserValidationError) Cause ¶
func (e UpdateUserRequest_UserValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequest_UserValidationError) Error ¶
func (e UpdateUserRequest_UserValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequest_UserValidationError) ErrorName ¶
func (e UpdateUserRequest_UserValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequest_UserValidationError) Field ¶
func (e UpdateUserRequest_UserValidationError) Field() string
Field function returns field value.
func (UpdateUserRequest_UserValidationError) Key ¶
func (e UpdateUserRequest_UserValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequest_UserValidationError) Reason ¶
func (e UpdateUserRequest_UserValidationError) Reason() string
Reason function returns reason value.
type UserServiceErrorReason ¶
type UserServiceErrorReason int32
const ( UserServiceErrorReason_UNKNOWN_ERROR UserServiceErrorReason = 0 UserServiceErrorReason_INTERNAL_SERVER_ERROR UserServiceErrorReason = 1 UserServiceErrorReason_NOT_FOUND_ERROR UserServiceErrorReason = 2 UserServiceErrorReason_LOGIN_FAILED UserServiceErrorReason = 3 UserServiceErrorReason_REGISTER_FAILED UserServiceErrorReason = 4 UserServiceErrorReason_CREATE_FAILED UserServiceErrorReason = 5 UserServiceErrorReason_CREATE_CONFLICT UserServiceErrorReason = 6 UserServiceErrorReason_UUID_GENERATE_FAILED UserServiceErrorReason = 7 UserServiceErrorReason_UUID_PARSE_FAILED UserServiceErrorReason = 8 UserServiceErrorReason_JSON_UNMARSHAL_FAILED UserServiceErrorReason = 9 )
func (UserServiceErrorReason) Descriptor ¶
func (UserServiceErrorReason) Descriptor() protoreflect.EnumDescriptor
func (UserServiceErrorReason) Enum ¶
func (x UserServiceErrorReason) Enum() *UserServiceErrorReason
func (UserServiceErrorReason) EnumDescriptor
deprecated
func (UserServiceErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserServiceErrorReason.Descriptor instead.
func (UserServiceErrorReason) Number ¶
func (x UserServiceErrorReason) Number() protoreflect.EnumNumber
func (UserServiceErrorReason) String ¶
func (x UserServiceErrorReason) String() string
func (UserServiceErrorReason) Type ¶
func (UserServiceErrorReason) Type() protoreflect.EnumType
type UserStruct ¶
type UserStruct struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*UserStruct) Descriptor
deprecated
func (*UserStruct) Descriptor() ([]byte, []int)
Deprecated: Use UserStruct.ProtoReflect.Descriptor instead.
func (*UserStruct) GetEmail ¶
func (x *UserStruct) GetEmail() string
func (*UserStruct) GetId ¶
func (x *UserStruct) GetId() string
func (*UserStruct) GetUsername ¶
func (x *UserStruct) GetUsername() string
func (*UserStruct) ProtoMessage ¶
func (*UserStruct) ProtoMessage()
func (*UserStruct) ProtoReflect ¶
func (x *UserStruct) ProtoReflect() protoreflect.Message
func (*UserStruct) Reset ¶
func (x *UserStruct) Reset()
func (*UserStruct) String ¶
func (x *UserStruct) String() string
func (*UserStruct) Validate ¶
func (m *UserStruct) Validate() error
Validate checks the field values on UserStruct 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 (*UserStruct) ValidateAll ¶
func (m *UserStruct) ValidateAll() error
ValidateAll checks the field values on UserStruct 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 UserStructMultiError, or nil if none found.
type UserStructMultiError ¶
type UserStructMultiError []error
UserStructMultiError is an error wrapping multiple validation errors returned by UserStruct.ValidateAll() if the designated constraints aren't met.
func (UserStructMultiError) AllErrors ¶
func (m UserStructMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserStructMultiError) Error ¶
func (m UserStructMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserStructValidationError ¶
type UserStructValidationError struct {
// contains filtered or unexported fields
}
UserStructValidationError is the validation error returned by UserStruct.Validate if the designated constraints aren't met.
func (UserStructValidationError) Cause ¶
func (e UserStructValidationError) Cause() error
Cause function returns cause value.
func (UserStructValidationError) Error ¶
func (e UserStructValidationError) Error() string
Error satisfies the builtin error interface
func (UserStructValidationError) ErrorName ¶
func (e UserStructValidationError) ErrorName() string
ErrorName returns error name.
func (UserStructValidationError) Field ¶
func (e UserStructValidationError) Field() string
Field function returns field value.
func (UserStructValidationError) Key ¶
func (e UserStructValidationError) Key() bool
Key function returns key value.
func (UserStructValidationError) Reason ¶
func (e UserStructValidationError) Reason() string
Reason function returns reason value.