v1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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)

View Source
var File_v1_bugu_error_proto protoreflect.FileDescriptor
View Source
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 ErrorCreateConflict(format string, args ...interface{}) *errors.Error

func ErrorCreateFailed

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

func ErrorInternalServerError

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

func ErrorJsonUnmarshalFailed

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

func ErrorLoginFailed

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

func ErrorNotFoundError

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

func ErrorRegisterFailed

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

func ErrorUnknownError

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

func ErrorUuidGenerateFailed

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

func ErrorUuidParseFailed

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

func IsCreateConflict

func IsCreateConflict(err error) bool

func IsCreateFailed

func IsCreateFailed(err error) bool

func IsInternalServerError

func IsInternalServerError(err error) bool

func IsJsonUnmarshalFailed

func IsJsonUnmarshalFailed(err error) bool

func IsLoginFailed

func IsLoginFailed(err error) bool

func IsNotFoundError

func IsNotFoundError(err error) bool

func IsRegisterFailed

func IsRegisterFailed(err error) bool

func IsUnknownError

func IsUnknownError(err error) bool

func IsUuidGenerateFailed

func IsUuidGenerateFailed(err error) bool

func IsUuidParseFailed

func IsUuidParseFailed(err error) bool

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

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 BuguFileHTTPServer interface {
	UploadFile(http.Context) error
	DownloadFile(http.Context) error
}

type BuguFileServer

type BuguFileServer interface {
	UploadFile(http.Context) error
	DownloadFile(http.Context) error
	// contains filtered or unexported methods
}

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 (*BuguHTTPClientImpl) DeleteArtifactMetadata added in v1.0.1

func (*BuguHTTPClientImpl) DeleteFileMetadata added in v1.0.1

func (*BuguHTTPClientImpl) Detect

func (*BuguHTTPClientImpl) GetArtifactMetadata added in v1.0.1

func (*BuguHTTPClientImpl) GetArtifactMetadataByFileId added in v1.0.1

func (*BuguHTTPClientImpl) GetCurrentUser

func (*BuguHTTPClientImpl) GetFileMeta added in v1.0.1

func (*BuguHTTPClientImpl) GetFileMetaByUserId added in v1.0.1

func (*BuguHTTPClientImpl) Login

func (*BuguHTTPClientImpl) Register

func (*BuguHTTPClientImpl) UpdateUser

type BuguServer

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

Cause function returns cause value.

func (ConfusionReplyValidationError) Error

Error satisfies the builtin error interface

func (ConfusionReplyValidationError) ErrorName

func (e ConfusionReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ConfusionReplyValidationError) Field

Field function returns field value.

func (ConfusionReplyValidationError) Key

Key function returns key value.

func (ConfusionReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ConfusionRequestValidationError) Error

Error satisfies the builtin error interface

func (ConfusionRequestValidationError) ErrorName

ErrorName returns error name.

func (ConfusionRequestValidationError) Field

Field function returns field value.

func (ConfusionRequestValidationError) Key

Key function returns key value.

func (ConfusionRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (DeleteArtifactMetadataReplyMultiError) Error added in v1.0.1

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

Cause function returns cause value.

func (DeleteArtifactMetadataReplyValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (DeleteArtifactMetadataReplyValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (DeleteArtifactMetadataReplyValidationError) Field added in v1.0.1

Field function returns field value.

func (DeleteArtifactMetadataReplyValidationError) Key added in v1.0.1

Key function returns key value.

func (DeleteArtifactMetadataReplyValidationError) Reason added in v1.0.1

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 (*DeleteArtifactMetadataRequest) Reset added in v1.0.1

func (x *DeleteArtifactMetadataRequest) Reset()

func (*DeleteArtifactMetadataRequest) String added in v1.0.1

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

AllErrors returns a list of validation violation errors.

func (DeleteArtifactMetadataRequestMultiError) Error added in v1.0.1

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

Cause function returns cause value.

func (DeleteArtifactMetadataRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (DeleteArtifactMetadataRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (DeleteArtifactMetadataRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (DeleteArtifactMetadataRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (DeleteArtifactMetadataRequestValidationError) Reason added in v1.0.1

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

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

Cause function returns cause value.

func (DeleteFileMetadataReplyValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (DeleteFileMetadataReplyValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (DeleteFileMetadataReplyValidationError) Field added in v1.0.1

Field function returns field value.

func (DeleteFileMetadataReplyValidationError) Key added in v1.0.1

Key function returns key value.

func (DeleteFileMetadataReplyValidationError) Reason added in v1.0.1

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 (*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

AllErrors returns a list of validation violation errors.

func (DeleteFileMetadataRequestMultiError) Error added in v1.0.1

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

Cause function returns cause value.

func (DeleteFileMetadataRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (DeleteFileMetadataRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (DeleteFileMetadataRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (DeleteFileMetadataRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (DeleteFileMetadataRequestValidationError) Reason added in v1.0.1

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

Cause function returns cause value.

func (DetectReplyValidationError) Error

Error satisfies the builtin error interface

func (DetectReplyValidationError) ErrorName

func (e DetectReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DetectReplyValidationError) Field

Field function returns field value.

func (DetectReplyValidationError) Key

Key function returns key value.

func (DetectReplyValidationError) Reason

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

Cause function returns cause value.

func (DetectRequestValidationError) Error

Error satisfies the builtin error interface

func (DetectRequestValidationError) ErrorName

func (e DetectRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DetectRequestValidationError) Field

Field function returns field value.

func (DetectRequestValidationError) Key

Key function returns key value.

func (DetectRequestValidationError) Reason

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 (*GetArtifactMetadataByFileIdReply) Reset added in v1.0.1

func (*GetArtifactMetadataByFileIdReply) String added in v1.0.1

func (*GetArtifactMetadataByFileIdReply) Validate added in v1.0.1

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

AllErrors returns a list of validation violation errors.

func (GetArtifactMetadataByFileIdReplyMultiError) Error added in v1.0.1

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

Cause function returns cause value.

func (GetArtifactMetadataByFileIdReplyValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (GetArtifactMetadataByFileIdReplyValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (GetArtifactMetadataByFileIdReplyValidationError) Field added in v1.0.1

Field function returns field value.

func (GetArtifactMetadataByFileIdReplyValidationError) Key added in v1.0.1

Key function returns key value.

func (GetArtifactMetadataByFileIdReplyValidationError) Reason added in v1.0.1

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 (*GetArtifactMetadataByFileIdRequest) GetUserId added in v1.0.1

func (*GetArtifactMetadataByFileIdRequest) ProtoMessage added in v1.0.1

func (*GetArtifactMetadataByFileIdRequest) ProtoMessage()

func (*GetArtifactMetadataByFileIdRequest) ProtoReflect added in v1.0.1

func (*GetArtifactMetadataByFileIdRequest) Reset added in v1.0.1

func (*GetArtifactMetadataByFileIdRequest) String added in v1.0.1

func (*GetArtifactMetadataByFileIdRequest) Validate added in v1.0.1

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

AllErrors returns a list of validation violation errors.

func (GetArtifactMetadataByFileIdRequestMultiError) Error added in v1.0.1

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

Cause function returns cause value.

func (GetArtifactMetadataByFileIdRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (GetArtifactMetadataByFileIdRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (GetArtifactMetadataByFileIdRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (GetArtifactMetadataByFileIdRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (GetArtifactMetadataByFileIdRequestValidationError) Reason added in v1.0.1

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

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

Cause function returns cause value.

func (GetArtifactMetadataReplyValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (GetArtifactMetadataReplyValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (GetArtifactMetadataReplyValidationError) Field added in v1.0.1

Field function returns field value.

func (GetArtifactMetadataReplyValidationError) Key added in v1.0.1

Key function returns key value.

func (GetArtifactMetadataReplyValidationError) Reason added in v1.0.1

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 (*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

AllErrors returns a list of validation violation errors.

func (GetArtifactMetadataRequestMultiError) Error added in v1.0.1

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

Cause function returns cause value.

func (GetArtifactMetadataRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (GetArtifactMetadataRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (GetArtifactMetadataRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (GetArtifactMetadataRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (GetArtifactMetadataRequestValidationError) Reason added in v1.0.1

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

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

Cause function returns cause value.

func (GetCurrentUserReplyValidationError) Error

Error satisfies the builtin error interface

func (GetCurrentUserReplyValidationError) ErrorName

ErrorName returns error name.

func (GetCurrentUserReplyValidationError) Field

Field function returns field value.

func (GetCurrentUserReplyValidationError) Key

Key function returns key value.

func (GetCurrentUserReplyValidationError) Reason

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

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

Cause function returns cause value.

func (GetCurrentUserRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCurrentUserRequestValidationError) ErrorName

ErrorName returns error name.

func (GetCurrentUserRequestValidationError) Field

Field function returns field value.

func (GetCurrentUserRequestValidationError) Key

Key function returns key value.

func (GetCurrentUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetFileMetaByUserIdReplyValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (GetFileMetaByUserIdReplyValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (GetFileMetaByUserIdReplyValidationError) Field added in v1.0.1

Field function returns field value.

func (GetFileMetaByUserIdReplyValidationError) Key added in v1.0.1

Key function returns key value.

func (GetFileMetaByUserIdReplyValidationError) Reason added in v1.0.1

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 (*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

AllErrors returns a list of validation violation errors.

func (GetFileMetaByUserIdRequestMultiError) Error added in v1.0.1

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

Cause function returns cause value.

func (GetFileMetaByUserIdRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (GetFileMetaByUserIdRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (GetFileMetaByUserIdRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (GetFileMetaByUserIdRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (GetFileMetaByUserIdRequestValidationError) Reason added in v1.0.1

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

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

Cause function returns cause value.

func (GetFileMetaReplyValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (GetFileMetaReplyValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (GetFileMetaReplyValidationError) Field added in v1.0.1

Field function returns field value.

func (GetFileMetaReplyValidationError) Key added in v1.0.1

Key function returns key value.

func (GetFileMetaReplyValidationError) Reason added in v1.0.1

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

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

Cause function returns cause value.

func (GetFileMetaRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (GetFileMetaRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (GetFileMetaRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (GetFileMetaRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (GetFileMetaRequestValidationError) Reason added in v1.0.1

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

Error satisfies the builtin error interface

func (LoginReplyValidationError) ErrorName

func (e LoginReplyValidationError) ErrorName() string

ErrorName returns error name.

func (LoginReplyValidationError) Field

Field function returns field value.

func (LoginReplyValidationError) Key

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

Cause function returns cause value.

func (LoginRequestValidationError) Error

Error satisfies the builtin error interface

func (LoginRequestValidationError) ErrorName

func (e LoginRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LoginRequestValidationError) Field

Field function returns field value.

func (LoginRequestValidationError) Key

Key function returns key value.

func (LoginRequestValidationError) Reason

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

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

Cause function returns cause value.

func (LoginRequest_UserValidationError) Error

Error satisfies the builtin error interface

func (LoginRequest_UserValidationError) ErrorName

ErrorName returns error name.

func (LoginRequest_UserValidationError) Field

Field function returns field value.

func (LoginRequest_UserValidationError) Key

Key function returns key value.

func (LoginRequest_UserValidationError) Reason

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

Cause function returns cause value.

func (RegisterReplyValidationError) Error

Error satisfies the builtin error interface

func (RegisterReplyValidationError) ErrorName

func (e RegisterReplyValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterReplyValidationError) Field

Field function returns field value.

func (RegisterReplyValidationError) Key

Key function returns key value.

func (RegisterReplyValidationError) Reason

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

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

type RegisterRequestValidationError

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

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

func (RegisterRequestValidationError) Cause

Cause function returns cause value.

func (RegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterRequestValidationError) ErrorName

func (e RegisterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterRequestValidationError) Field

Field function returns field value.

func (RegisterRequestValidationError) Key

Key function returns key value.

func (RegisterRequestValidationError) Reason

Reason function returns reason value.

type 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

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

Cause function returns cause value.

func (RegisterRequest_UserValidationError) Error

Error satisfies the builtin error interface

func (RegisterRequest_UserValidationError) ErrorName

ErrorName returns error name.

func (RegisterRequest_UserValidationError) Field

Field function returns field value.

func (RegisterRequest_UserValidationError) Key

Key function returns key value.

func (RegisterRequest_UserValidationError) Reason

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) Enum added in v1.0.1

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated added in v1.0.1

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

Deprecated: Use Type.Descriptor instead.

func (Type) Number added in v1.0.1

func (x Type) Number() protoreflect.EnumNumber

func (Type) String added in v1.0.1

func (x Type) String() string

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

type UnimplementedBuguServer

type UnimplementedBuguServer struct {
}

UnimplementedBuguServer must be embedded to have forward compatible implementations.

func (UnimplementedBuguServer) Confusion

func (UnimplementedBuguServer) DeleteArtifactMetadata added in v1.0.1

func (UnimplementedBuguServer) DeleteFileMetadata added in v1.0.1

func (UnimplementedBuguServer) Detect

func (UnimplementedBuguServer) GetArtifactMetadata added in v1.0.1

func (UnimplementedBuguServer) GetArtifactMetadataByFileId added in v1.0.1

func (UnimplementedBuguServer) GetCurrentUser

func (UnimplementedBuguServer) GetFileMeta added in v1.0.1

func (UnimplementedBuguServer) GetFileMetaByUserId added in v1.0.1

func (UnimplementedBuguServer) Login

func (UnimplementedBuguServer) Register

func (UnimplementedBuguServer) UpdateUser

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

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

Cause function returns cause value.

func (UpdateUserReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserReplyValidationError) ErrorName

func (e UpdateUserReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateUserReplyValidationError) Field

Field function returns field value.

func (UpdateUserReplyValidationError) Key

Key function returns key value.

func (UpdateUserReplyValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (UpdateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserRequestValidationError) Field

Field function returns field value.

func (UpdateUserRequestValidationError) Key

Key function returns key value.

func (UpdateUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateUserRequest_UserValidationError) Error

Error satisfies the builtin error interface

func (UpdateUserRequest_UserValidationError) ErrorName

ErrorName returns error name.

func (UpdateUserRequest_UserValidationError) Field

Field function returns field value.

func (UpdateUserRequest_UserValidationError) Key

Key function returns key value.

func (UpdateUserRequest_UserValidationError) Reason

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) Enum

func (UserServiceErrorReason) EnumDescriptor deprecated

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

Deprecated: Use UserServiceErrorReason.Descriptor instead.

func (UserServiceErrorReason) Number

func (UserServiceErrorReason) String

func (x UserServiceErrorReason) String() string

func (UserServiceErrorReason) Type

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

Error satisfies the builtin error interface

func (UserStructValidationError) ErrorName

func (e UserStructValidationError) ErrorName() string

ErrorName returns error name.

func (UserStructValidationError) Field

Field function returns field value.

func (UserStructValidationError) Key

Key function returns key value.

func (UserStructValidationError) Reason

func (e UserStructValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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